System use llvmpipe instead of nvidia

Operating System: EndeavourOS
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2
Kernel Version: 5.9.14-zen1-1-zen
OS Type: 64-bit
Processors: 8 × AMD FX™-8350 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: llvmpipe

maybe something went wrong during an upgrade …
Graphics Processor shows llvmpipe instead of nvidia

installed:
nvidia-dkms-455.45.01-1-x86_64

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

yesterday I also switched from sddm to lightdm, could it have something to do with that?

Depends on how you uninstalled it. Llvm is a software fallback gpu driver. Are the nvidia drivers still installed?

1 Like

yes, the drivers are still installed and during re-installing it shows virtualbox & nvidia-dkms are compiled …

# lsmod | grep nvidia
nvidia_drm             61440  1
nvidia_modeset       1220608  2 nvidia_drm
nvidia              28299264  72 nvidia_modeset
drm_kms_helper        282624  1 nvidia_drm
drm                   643072  4 drm_kms_helper,nvidia_drm

# lsinitcpio /boot/initramfs-linux.img | grep nvidia
usr/lib/modprobe.d/nvidia-dkms.conf

shoud I re-run “nvidia-installer-dkms” ?

You’ll need to wait for someone else at this point I don’t use nvidia hardware.

More information on what you are trying to do will help?

Is it a virtual or hardware install?

1 Like

EOS is running on hardware, I’m sure it was still using the nvidia driver until last week

26.12.20 17:45	kernel	NVRM: loading NVIDIA UNIX x86_64 Kernel Module  455.45.01  Thu Nov  5 23:03:56 UTC 2020
26.12.20 17:45	kernel	nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  455.45.01  Thu Nov  5 22:55:44 UTC 2020
26.12.20 17:45	kernel	[drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
26.12.20 17:45	kernel	[drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0

strange … when I switch back from lightdm to sddm it shows
Graphics Processor: GeForce GT 630/PCIe/SSE2

did I miss something during the lightdm installation, lightdm seems to ignore the X11 files (20-nvidia.conf)

Did you enable lightdm?

1 Like

yes, I have activated lightdm via welcome … it works well but it seems to ignore or conflict w/ 20-nvidia.conf (there is no xorg.conf), nvidia drivers are loaded but not used after a lightdm boot.

x-0.log shows using /etc/X11/xorg.conf.d

(==) Log file: "/var/log/Xorg.0.log", Time: Sat Dec 26 19:12:53 2020
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86: found device 0
xf86: found device 0
(II) Server terminated successfully (0). Closing log file.

lightdm.log and seat0-greeter.log do not contain any error or nvidia messages

Maybe run the nvidia-installer-dkms -t which is in test mode to see if it shows any errors. Then you could re-install it if you think it might correct the issue. Just drop the -t and i think you need to use sudo if you are going to run the install.

1 Like

got it solved!
the ModulePath part was missing in 20-nvidia.conf

Section "Files"
    ModulePath  "/usr/lib/nvidia/xorg"
    ModulePath  "/usr/lib/xorg/modules"
EndSection
1 Like