[Kernel 5.4 / 5.10] Only video-nvidia-390xx work on my 1080ti

Hello everyone, let me start by prefacing that yes i have read the stable-update message, the legacy driver removal and related issues.

I’ve tried everything, deleting all nvidia drivers, syncing pacman’s mirrors then reinstalling, i uninstalled 5.10 and reinstalled 5.4, tried on 5.9, 5.10.

The only thing that ever worked was re-installing video-nvidia-390xx.

I tried installing just video-nvidia, didn’t work (even on 5.4)

I booting using my intel iGPU (plugged my HDMI to the motherboard, properly set it in the bios).

Nothing worked but 390xx. On video-nvidia (not the 390xx) it just boots to a black screen, no mouse, no nothing. (I can Ctrl+Alt+F2 into another session though)

$ mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
     video-modesetting            2020.01.13                true            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI



$ mhwd -l

0000:01:00.0 (0300:10de:1b06) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

my /var/etc/Xorg.0.log file:

The reason why I do not want to run the 390xx is because
A) the fans are constantly on
B) hardware acceleration doesn’t work
C) power consumption on it is messed up

Please help, thank you! :slight_smile:

Please reinstall the mhwd-db package, then remove video-nvidia-390xx, then run sudo mhwd -a pci nonfree 0300.

I will try this right now! Will report back ASAP

Ok so, I’ve tried this before (removing mhwd-db, mhwd and reinstalling them) but I figured i’d try again just cause, why not.

I had to uninstall mhwd because mhwd-db was dependent on it, and i had to remove video-nvidia-390xx before mhwd because it depended on that as well…

λ y4my4m [~] → sudo pacman -R mhwd        
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mhwd breaks dependency 'mhwd' required by lib32-nvidia-390xx-utils
:: removing mhwd breaks dependency 'mhwd' required by nvidia-390xx-utils 

λ y4my4m [~] → sudo mhwd -r pci video-nvidia-390xx
> Removing video-nvidia-390xx...

Just for precaution, i redid sudo pacman-mirrors -f3 and sudo pacman -Syyu after uninstalling mhwd/mhwd-db.

Then I did sudo pacman -S mhwd

λ y4my4m [~] → sudo mhwd -a pci nonfree 0300                                                                                                                                                                                                                                                     
> Using config 'video-nvidia' for device: 0000:01:00.0 (0300:10de:1b06) Display controller nVidia Corporation GP102 [GeForce GTX 1080 Ti]                                                                                                                                                        
> Installing video-nvidia...                                                                                                                                                                                                                                                                     
Sourcing /etc/mhwd-x86_64.conf                                                                                                                                                                                                                                                                   
Has lib32 support: true                                                                                                                                                                                                                                                                          
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG                                                                                                                                                                                                                                  
Processing classid: 0300                                                                                                                                                                                                                                                                         
Sourcing /var/lib/mhwd/scripts/include/0300                                                                                                                                                                                                                                                      
Processing classid: 0302                                                                                                                                                                                                                                                                         
:: Synchronizing package databases...                                                                                                                                                                                                                                                            
 core is up to date                                                                                                                                                                                                                                                                              
 extra is up to date                                                                                                                                                                                                                                                                             
 community is up to date                                                                                                                                                                                                                                                                         
 multilib is up to date                                                                                                                                                                                                                                                                          
resolving dependencies...                                                                                                                                                                                                                                                                        
looking for conflicting packages...                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                 
Packages (4) lib32-nvidia-utils-455.45.01-3  linux510-nvidia-455.45.01-10.0  linux54-nvidia-455.45.01-6  nvidia-utils-455.45.01-2                                                                                                                                                                
                                                                                                                                                                                                                                                                                                 
Total Installed Size:  473.51 MiB                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                 
:: Proceed with installation? [Y/n]                                                                                                                                                                                                                                                              
checking keyring...                                                                                                                                                                                                                                                                              
checking package integrity...                                                                                                                                                                                                                                                                    
loading package files...                                                                                                                                                                                                                                                                         
checking for file conflicts...                                                                                                                                                                                                                                                                   
checking available disk space...                                                                                                                                                                                                                                                                 
:: Processing package changes...                                                                                                                                                                                                                                                                 
installing nvidia-utils...                                                                                                                                                                                                                                                                       
==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.                                                                                                                                                                                                            
Optional dependencies for nvidia-utils                                                                                                                                                                                                                                                           
    gtk3: nvidia-settings [installed]                                                                                                                                                                                                                                                            
    xorg-server-devel: nvidia-xconfig                                                                                                                                                                                                                                                            
    opencl-nvidia: OpenCL support                                                                                                                                                                                                                                                                
installing lib32-nvidia-utils...                                                                                                                                                                                                                                                                 
Optional dependencies for lib32-nvidia-utils                                                                                                                                                                                                                                                     
    lib32-opencl-nvidia                                                                                                                                                                                                                                                                          
installing linux510-nvidia...                 
...
(6/6) Updating the desktop file MIME type cache...
nvidia-utils: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
linux510-nvidia: install reason has been set to 'explicitly installed'
linux54-nvidia: install reason has been set to 'explicitly installed'
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
> Successfully installed video-nvidia

Rebooting now

Same thing…booted to a black screen

I had to open another session and remove video-nvidia and reinstall 390xx

(Before i removed and reinstalled 390xx i copied my mhwd -li output)

re[1me[31m> e[mInstalled PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
     video-modesetting            2020.01.13                true            PCI
           video-linux            2018.05.04                true            PCI


e[1me[31mWarning: e[mNo installed USB configs!

:frowning:

By reinstalling I meant simply running sudo pacman -Syu mhwd-db. What’s the output of pacman -Qs nvidia?

λ y4my4m [~] → pacman -Qs nvidia 
local/egl-wayland 1.1.6-1
    EGLStream-based Wayland external platform
local/lib32-libvdpau 1.4-1
    Nvidia VDPAU library
local/lib32-nvidia-390xx-utils 390.138-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/linux510-nvidia-390xx 390.138-2.0 (linux510-extramodules)
    NVIDIA drivers for linux.
local/linux54-nvidia-390xx 390.138-2 (linux54-extramodules)
    NVIDIA drivers for linux.
local/mhwd-nvidia 455.45.01-3
    MHWD module-ids for nvidia 455.45.01
local/mhwd-nvidia-390xx 390.138-1
    MHWD module-ids for nvidia 390.138
local/nvidia-390xx-utils 390.138-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.16-2 (xorg-drivers)
    Open Source 3D acceleration driver for nVidia cards
sudo pacman -Syu mhwd-db
sudo mhwd -r pci video-nvidia-390xx
sudo mhwd -a pci nonfree 0300

What about this?

I will try right now, but i’m not confident it will make a difference (says zero upgrade difference)

Also I keep seeing this when i’m installing an nvidia driver, is this something I should worry about?

==> If you run into trouble with CUDA not being available, run nvidia-modprobe first.

Rebooting now~

It is not.

Sadly no difference… black screen again

Here is what sudo pacman -Ss nvidia | grep installed gave before i uninstalled/reinstalled

core/mhwd-nvidia 455.45.01-3 [installed]
core/mhwd-nvidia-390xx 390.138-1 [installed]
extra/libvdpau 1.4-1 [installed]
extra/linux510-nvidia 455.45.01-10.0 (linux510-extramodules) [installed]
extra/linux54-nvidia 455.45.01-6 (linux54-extramodules) [installed]
extra/nvidia-utils 455.45.01-2 [installed]
extra/xf86-video-nouveau 1.0.16-2 (xorg-drivers) [installed]
multilib/lib32-libvdpau 1.4-1 [installed]
multilib/lib32-nvidia-utils 455.45.01-3 [installed]

Are there more logs I could share with you to help? My grub configs are quite normal (no nomodeset or anything like that…). As far as I know nothing is blacklisted, etc.

At least now it seems the correct driver is installed. Please find the latest Xorg log in either /var/log/ or /home/.local/share/xorg/.

At least now it seems the correct driver is installed.

It is not anymore… i had to uninstall it because my screen was black (and then could not write to back to you here because no GUI).

Xorg.0.log from latest boot (5min ago, most recent file) that was in /var/log

By the way, and this is just my gut feeling and I may be talking non-sense here but, considering that even booting on the iGPU with video-linux or whatever does not show any GUI and that only 390xx seems to work… it must be that somewhere, somehow, 390xx drivers are being forced? Like it’s expecting 390xx no matter what, so even if 455 is properly installed it’s still trying to use 390xx ?

I don’t think so. Can you get the Xorg logs when the 455.45.01 driver was installed?

Sorry, sending you the latest Xorg.0.log made little sense, this must be from when it booted successfully with the 390xx

Here is what I believe is the log when it failed to boot on the 455: [ 59.785] (--) Log file renamed from "/var/log/Xorg.pid-1057.log" to "/var/lo - Pastebin.com

Can you do these again? But do not reboot yet. And post the output of head -n 999 /etc/X11/mhwd.d/* /etc/X11/xorg.conf.d/*.

Woops, accidently deleted my previous message

==> /etc/X11/mhwd.d/nvidia.conf <==
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 455.45.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
 

==> /etc/X11/mhwd.d/nvidia.conf.nvidia-xconfig-original <==

==> /etc/X11/xorg.conf.d/00-keyboard.conf <==
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "pc105"
EndSection

==> /etc/X11/xorg.conf.d/10-dummy.conf <==
Section "Monitor"
  Identifier "Monitor0"
  HorizSync 28.0-80.0
  VertRefresh 48.0-75.0
  # https://arachnoid.com/modelines/
  # 1280x720 @ 60.00 Hz (GTF) hsync: 44.76 kHz; pclk: 74.48 MHz
  Modeline "1280x720_60.00" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
EndSection
Section "Device"
  Identifier "Card0"
  Driver "dummy"
  VideoRam 256000
EndSection
Section "Screen"
  DefaultDepth 24
  Identifier "Screen1"
  Device "Card0"
  Monitor "Monitor1"
  SubSection "Display"
    Depth 24
    Modes "1280x720_60.00"
  EndSubSection
EndSection

==> /etc/X11/xorg.conf.d/90-mhwd.conf <==
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 455.45.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

You can restore it, but anyways…

1 Like

Please delete /etc/X11/xorg.conf.d/10-dummy.conf and /etc/X11/xorg.conf.d/90-mhwd.conf, and reboot, and let’s see what happens.

2 Likes