Black screen when configuring NVidia Driver

Hi there,
I’m new to Endeavour and have some issues. Here are my specs…

  • NVidia GeForce GTX 980 Ti GPU
  • EVGA X99 Classified Motherboard
  • 32GB Memory
  • Intel i7-5820K CPU

First off, this doesn’t matter if I do an “Online” or “Offline” install, but when I try to install from USBLive and choose “Online” install, it gives me an error saying “No Internet Connection” and then gives me an option to either “Cancel” or “Continue Anyway”, even though my internet is connected and I’m able to browse the internet.
So, I choose to do an “Online” install and select “Continue Anyway” and everything seems to work fine. I’m able to install the OS just fine. I choose to install the XFCE DE with the NVidia Drivers and when I restart everything boots fine except my resolution isn’t correct and I have no other option but 1 resolution to choose from. I can see the NVidia Settings Manager is installed but won’t load when clicking on it. If I LogOut of the session the NVidia Drivers seems to be working because my resolution has changed to the correct setting. If I LogIn to my XFCE session everything seems to be working fine.
I can fire up NVidia Settings Manager except there is no xorg.conf in /etc/X11 or other folders under X11. (Is EndeavourOS saving this somewhere else?) If I generate an xorg.conf file and save it under X11 and do a restart, I get a black screen and computer is completely unresponsive. I can’t get to a TTY screen or do anything. Only option is to press reset on my case.
Any help would be appreciated here. Thanks!!

Sounds to me like you are not getting the right drivers installed. Are you sure your card is supported by the default NVIDIA drivers or do you have an ancient card?

Also, in this case I would reinstall using NO nvidia drivers and then run nvidia-installer-dkms from terminal promt after logging into xfce.

inxi -Fxxxzac --no-host

Post the output of above command (use blockquote) here, please.

1 Like

This. Except there is no need for --no-host as the -z option (i.e. --filter) will already mask the hostname.

1 Like

Welcome to EnOS’ forum @guido!

guido

1 Like
> guido@endeavourOS Desktop]$ inxi -Fxxxzac --no-host
> System:
>   Kernel: 5.10.4-arch2-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 
>   parameters: BOOT_IMAGE=/boot/vmlinuz-linux 
>   root=UUID=55808fc2-dbd4-4e5a-bb0d-467001d5028e rw quiet 
>   resume=UUID=8921d8f2-cb58-4819-9c8e-2a13b0256872 loglevel=3 nowatchdog 
>   Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 
>   dm: LightDM 1.30.0 Distro: EndeavourOS 
> Machine:
>   Type: Desktop System: EVGA product: N/A v: N/A serial: <filter> 
>   Chassis: type: 3 serial: <filter> 
>   Mobo: EVGA model: 151-HE-E999 v: 1.0 serial: <filter> 
>   UEFI: American Megatrends v: 2.09 date: 06/28/2019 
> CPU:
>   Info: 6-Core model: Intel Core i7-5820K bits: 64 type: MT MCP 
>   arch: Haswell family: 6 model-id: 3F (63) stepping: 2 microcode: 44 
>   L2 cache: 15 MiB 
>   flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
>   bogomips: 90060 
>   Speed: 3751 MHz min/max: 1200/3000 MHz Core speeds (MHz): 1: 3751 
>   2: 1500 3: 2501 4: 1501 5: 2440 6: 1501 7: 2501 8: 1501 9: 3751 
>   10: 1500 11: 2383 12: 1500 
>   Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
>   Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, 
>   SMT vulnerable 
>   Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
>   Type: meltdown mitigation: PTI 
>   Type: spec_store_bypass 
>   mitigation: Speculative Store Bypass disabled via prctl and seccomp 
>   Type: spectre_v1 
>   mitigation: usercopy/swapgs barriers and __user pointer sanitization 
>   Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
>   IBRS_FW, STIBP: conditional, RSB filling 
>   Type: srbds status: Not affected 
>   Type: tsx_async_abort status: Not affected 
> Graphics:
>   Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: eVga.com. 
>   driver: nvidia v: 455.45.01 alternate: nouveau,nvidia_drm 
>   bus ID: 01:00.0 chip ID: 10de:17c8 
>   Display: x11 server: X.org 1.20.10 driver: modesetting,vesa 
>   unloaded: fbdev alternate: nouveau,nv resolution: <missing: xdpyinfo> 
>   Message: Unable to show advanced data. Required tool glxinfo missing. 
> Audio:
>   Device-1: Intel C610/X99 series HD Audio vendor: eVga.com. 
>   driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:8d20 
>   Device-2: NVIDIA GM200 High Definition Audio vendor: eVga.com. 
>   driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:0fb0 
>   Device-3: Apogee JAM 96k type: USB driver: snd-usb-audio bus ID: 3-1:2 
>   chip ID: 0c60:0019 
>   Sound Server: ALSA v: k5.10.4-arch2-1 
> Network:
>   Device-1: Intel I210 Gigabit Network driver: igb v: kernel port: d000 
>   bus ID: 05:00.0 chip ID: 8086:1533 
>   IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
> Drives:
>   Local Storage: total: 953.88 GiB used: 7.41 GiB (0.8%) 
>   SMART Message: Unable to run smartctl. Root privileges required. 
>   ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung 
>   model: SSD 950 PRO 512GB size: 476.94 GiB block size: physical: 512 B 
>   logical: 512 B speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: 2B0QBXX7 
>   temp: 25.9 C 
>   ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH3512G 
>   size: 476.94 GiB block size: physical: 512 B logical: 512 B 
>   speed: 6.0 Gb/s serial: <filter> rev: 4000 
> Partition:
>   ID-1: / raw size: 459.96 GiB size: 451.74 GiB (98.21%) 
>   used: 7.41 GiB (1.6%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
>   ID-2: /boot/efi raw size: 1024 MiB size: 1022 MiB (99.80%) 
>   used: 300 KiB (0.0%) fs: vfat dev: /dev/sda3 maj-min: 8:3 
> Swap:
>   Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
>   ID-1: swap-1 type: partition size: 15.97 GiB used: 0 KiB (0.0%) 
>   priority: -2 dev: /dev/sda2 maj-min: 8:2 
> Sensors:
>   System Temperatures: cpu: 31.0 C mobo: N/A 
>   Fan Speeds (RPM): N/A 
> Info:
>   Processes: 254 Uptime: 2m wakeups: 0 Memory: 31.28 GiB 
>   used: 1.3 GiB (4.2%) Init: systemd v: 247 Compilers: gcc: 10.2.0 
>   Packages: pacman: 869 lib: 249 Shell: Bash v: 5.1.4 
>   running in: xfce4-terminal inxi: 3.2.00

Sorry! Not sure if I’m using the BlockQuote correctly.

1 Like

Welcome to the forums! You got it right :+1: for the most part. All you have to do is run the command in the terminal and then copy and paste it here. Then highlight it and click the </> button above.

System:    Kernel: 5.10.4-arch2-1 x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=0252cfdb-dacb-4313-8001-3f91dee36ce4 rw quiet loglevel=3 
           nowatchdog 
           Desktop: i3 4.19 info: i3bar dm: LightDM 1.30.0 Distro: EndeavourOS 
Machine:   Type: Desktop System: LENOVO product: 10CV0003US v: ThinkCentre M79 serial: <filter> 
           Mobo: LENOVO model: Bantry CRB v: SDK0E50510 WIN serial: <filter> UEFI: LENOVO v: FPKT36AUS date: 07/01/2015 
CPU:       Info: Dual Core model: AMD A4-6300B APU with Radeon HD Graphics bits: 64 type: MCP arch: Piledriver family: 15 (21) 
           model-id: 13 (19) stepping: 1 microcode: 6001119 L2 cache: 1024 KiB 
           flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 14779 
           Speed: 1796 MHz min/max: 1800/3700 MHz boost: enabled Core speeds (MHz): 1: 1796 2: 1797 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Richland [Radeon HD 8370D] vendor: Lenovo driver: radeon v: kernel 
           bus ID: 00:01.0 chip ID: 1002:9998 
           Display: x11 server: X.Org 1.20.10 compositor: picom v: git-dac85 driver: ati,radeon 
           unloaded: fbdev,modesetting,vesa display ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: VGA-0 res: 1920x1080 hz: 60 dpi: 102 size: 477x268mm (18.8x10.6") diag: 547mm (21.5") 
           Message: Unable to show advanced data. Required tool glxinfo missing. 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Trinity HDMI Audio vendor: Lenovo driver: snd_hda_intel v: kernel 
           bus ID: 00:01.1 chip ID: 1002:9902 
           Device-2: Advanced Micro Devices [AMD] FCH Azalia vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:14.2 
           chip ID: 1022:780d 
           Sound Server: ALSA v: k5.10.4-arch2-1 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8168 v: 8.048.03-NAPI 
           modules: r8169 port: e300 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: enp3s0f0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: D-Link System DWA-130 802.11n Wireless N Adapter(rev.E) [Realtek RTL8191SU] type: USB driver: r8712u 
           bus ID: 1-1:2 chip ID: 07d1:3300 serial: <filter> 
           IF: wlan0 state: down mac: <filter> 
Drives:    Local Storage: total: 465.76 GiB used: 8.63 GiB (1.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500DM002-1BD142 size: 465.76 GiB block size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s serial: <filter> rev: KC66 
Partition: ID-1: / raw size: 465.46 GiB size: 457.16 GiB (98.22%) used: 8.63 GiB (1.9%) fs: ext4 dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 280 KiB (0.1%) fs: vfat dev: /dev/sda1 
           maj-min: 8:1 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) priority: -2 file: /swapfile 
Sensors:   System Temperatures: cpu: 11.9 C mobo: N/A gpu: radeon temp: 4.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 145 Uptime: 1h 11m wakeups: 0 Memory: 3.58 GiB used: 1.7 GiB (47.5%) Init: systemd v: 247 Compilers: 
           gcc: 10.2.0 Packages: pacman: 819 lib: 253 Shell: Bash v: 5.1.4 running in: xfce4-terminal inxi: 3.2.00 
[elloquin@elloquin-i3 i3]$

Thanks

Thanks!

1 Like

It looks like you installed Nvidia but xorg is saying modestting. I don’t think the the x11 conf file set up correct.

Try adding this file

sudo nano /etc/X11/xorg.conf.d/20-nvidia.conf

Add the following

Section "Device"
    Identifier "Nvidia Card"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
EndSection

Section "Screen"
        Identifier      "nvidia"
        Option         "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

        Option          "TripleBuffer"                  "on"
        Option          "AllowIndirectGLXProtocol"      "off"
EndSection

ctrl x to save

Reboot

Hi Rick,
I will try this later today. I have to run into work.
Thanks

Welcome to the community :beers:

1 Like

:+1:
Thanks ramblinwreck!

ricklinux,

Just curious. Before I try your suggestion, this is the xorg.conf file nvidia-settings generates. Why won’t this work? Do you see anything wrong with this?

nvidia-settings: X configuration file generated by nvidia-settings

nvidia-settings: version 455.45.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "LG Electronics 27GN950"
    HorizSync       135.0 - 135.0
    VertRefresh     40.0 - 60.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 980 Ti"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "nvidia-auto-select +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Update…
This is the weirdest thing. I don’t know what changed, but after having nvidia-settings generate the above xorg.conf file, things seem to be working so far. I’ve done the same steps previously and it never worked. Hmmmm!!! I’ll update this if things change.
Thanks for everyone’s advice.

1 Like

The definiton of Insanity (“Do the same thing repeatedly and expect different results”) also is one of the basic IT Support mantras: It is amazing how many times things just start working if you repeat the same thing that didn’t work 2-10 times…

afaik xorg.conf will not be used if you have a conf under /etc/X11/xorg.conf.d/ already…
plus most of the setting from nvidia-settings are unset and not needed, but if you want them to run you need to put them into /etc/X11/xorg.conf.d/20-nvidia.conf

1 Like

So true, but I’m noticing my gpu performance is really poor.

1 Like

I don’t have any other .conf in other folders.
So what is the correct way to generate the .conf file with optimal settings for a card like mine?