You are not logged in.

#1 2020-08-15 19:45:16

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

[SOLVED] Update made system use llvmpipe instead of Nvidia

First off, hello all!
This is my first post, so I hope I angry nobody.

Minor backstory: a few weeks ago (maybe 2 months) during an update (pacman -Syu) I vaguely remember being asked something regarding mesa (32bit - 64bit), maybe. I remembered because it was the first and only time pacman asked me something during an update and I think I made the wrong choice.
I believe eversince then I was using llvmpipe software rendering, but I did not notice because I rarely play any games lately and everything else kinda works the same.

But I really want to fix it now and after a few days of searching and trying, I am out of ideas.
Already tried removing xorg.conf. No dice. All I get is a bad resolution.
Already tried checking/reinstalling most of nvidia related packages, removing most of 32bit mesa/GL/EV stuff.
I am up to date (did a -Syu and reboot right before posting).

The only thing I noticed fixes the issue is removing /usr/lib32 path from ld.so.conf.d/* . Ofc doing that breaks other things (ironically, the steam launcher), but it might be useful info in debugging.

Logs:

$ glxinfo -B
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 10.0.1, 256 bits) (0xffffffff)
    Version: 20.1.5
    Accelerated: no
    Video memory: 15929MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.1
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 10.0.1, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 20.1.5
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 3.1 Mesa 20.1.5
OpenGL shading language version string: 1.40
OpenGL context flags: (none)

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 20.1.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
$ cat /var/log/Xorg.0.log
[    15.165] 
X.Org X Server 1.20.8
X Protocol Version 11, Revision 0
[    15.165] Build Operating System: Linux Arch Linux
[    15.165] Current Operating System: Linux pluto 5.8.1-arch1-1 #1 SMP PREEMPT Wed, 12 Aug 2020 18:50:43 +0000 x86_64
[    15.165] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/mapper/cryptvg-root rw cryptdevice=UUID=8cb2de53-a93b-4d98-a6b9-d64f20bf19ef:cryptroot root=/dev/mapper/cryptvg-root verbose loglevel=5 acpi_backlight=vendor
[    15.165] Build Date: 31 July 2020  04:00:57PM
[    15.166]  
[    15.166] Current version of pixman: 0.40.0
[    15.166] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    15.166] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    15.166] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Aug 15 22:15:29 2020
[    15.169] (==) Using config file: "/etc/X11/xorg.conf"
[    15.169] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    15.169] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    15.170] (==) ServerLayout "Layout0"
[    15.170] (**) |-->Screen "Screen0" (0)
[    15.170] (**) |   |-->Monitor "Monitor0"
[    15.171] (**) |   |-->Device "Device0"
[    15.171] (**) |-->Input Device "Keyboard0"
[    15.171] (**) |-->Input Device "Mouse0"
[    15.171] (==) Automatically adding devices
[    15.171] (==) Automatically enabling devices
[    15.171] (==) Automatically adding GPU devices
[    15.171] (==) Automatically binding GPU devices
[    15.171] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    15.175] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    15.175] 	Entry deleted from font path.
[    15.175] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    15.175] 	Entry deleted from font path.
[    15.176] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    15.176] (==) ModulePath set to "/usr/lib/xorg/modules"
[    15.176] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    15.176] (WW) Disabling Keyboard0
[    15.176] (WW) Disabling Mouse0
[    15.176] (II) Module ABI versions:
[    15.176] 	X.Org ANSI C Emulation: 0.4
[    15.176] 	X.Org Video Driver: 24.1
[    15.176] 	X.Org XInput driver : 24.1
[    15.176] 	X.Org Server Extension : 10.0
[    15.177] (++) using VT number 1

[    15.177] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    15.181] (--) PCI:*(1@0:0:0) 10de:1f91:17aa:3ffb rev 161, Mem @ 0xb2000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/131072
[    15.181] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    15.181] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    15.181] (II) LoadModule: "glx"
[    15.184] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    15.194] (II) Module glx: vendor="X.Org Foundation"
[    15.194] 	compiled for 1.20.8, module version = 1.0.0
[    15.194] 	ABI class: X.Org Server Extension, version 10.0
[    15.194] (II) LoadModule: "nvidia"
[    15.194] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    15.199] (II) Module nvidia: vendor="NVIDIA Corporation"
[    15.199] 	compiled for 1.6.99.901, module version = 1.0.0
[    15.199] 	Module class: X.Org Video Driver
[    15.200] (II) NVIDIA dlloader X Driver  450.57  Sun Jul  5 14:40:23 UTC 2020
[    15.200] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    15.201] (II) Loading sub module "fb"
[    15.201] (II) LoadModule: "fb"
[    15.201] (II) Loading /usr/lib/xorg/modules/libfb.so
[    15.202] (II) Module fb: vendor="X.Org Foundation"
[    15.202] 	compiled for 1.20.8, module version = 1.0.0
[    15.202] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    15.202] (II) Loading sub module "wfb"
[    15.202] (II) LoadModule: "wfb"
[    15.202] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    15.204] (II) Module wfb: vendor="X.Org Foundation"
[    15.204] 	compiled for 1.20.8, module version = 1.0.0
[    15.204] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    15.204] (II) Loading sub module "ramdac"
[    15.204] (II) LoadModule: "ramdac"
[    15.204] (II) Module "ramdac" already built-in
[    16.042] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[    16.042] (==) NVIDIA(0): RGB weight 888
[    16.042] (==) NVIDIA(0): Default visual is TrueColor
[    16.042] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.042] (**) NVIDIA(0): Enabling 2D acceleration
[    16.042] (II) Loading sub module "glxserver_nvidia"
[    16.042] (II) LoadModule: "glxserver_nvidia"
[    16.042] (WW) Warning, couldn't open module glxserver_nvidia
[    16.042] (EE) NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)
[    16.042] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[    16.042] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[    16.042] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[    16.042] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[    16.042] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[    16.042] (II) NVIDIA: The X server does not support PRIME Render Offload.
[    16.876] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    16.876] (--) NVIDIA(0):     DFP-0
[    16.876] (--) NVIDIA(0):     DFP-1
[    16.876] (--) NVIDIA(0):     DFP-2
[    16.876] (--) NVIDIA(0):     DFP-3
[    16.876] (--) NVIDIA(0):     DFP-4 (boot)
[    16.876] (--) NVIDIA(0):     DFP-5
[    16.877] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1650 (TU117-A) at PCI:1:0:0 (GPU-0)
[    16.877] (--) NVIDIA(0): Memory: 4194304 kBytes
[    16.877] (--) NVIDIA(0): VideoBIOS: 90.17.1c.00.b2
[    16.877] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    16.877] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    16.877] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    16.877] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    16.877] (--) NVIDIA(GPU-0): 
[    16.878] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    16.878] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    16.878] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    16.878] (--) NVIDIA(GPU-0): 
[    16.878] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    16.878] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    16.878] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    16.878] (--) NVIDIA(GPU-0): 
[    16.878] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    16.878] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    16.878] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    16.878] (--) NVIDIA(GPU-0): 
[    16.879] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): connected
[    16.879] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): Internal DisplayPort
[    16.879] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): 2660.0 MHz maximum pixel clock
[    16.879] (--) NVIDIA(GPU-0): 
[    16.879] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    16.879] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    16.879] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    16.879] (--) NVIDIA(GPU-0): 
[    16.882] (==) NVIDIA(0): 
[    16.882] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    16.882] (==) NVIDIA(0):     will be used as the requested mode.
[    16.882] (==) NVIDIA(0): 
[    16.883] (II) NVIDIA(0): Validated MetaModes:
[    16.883] (II) NVIDIA(0):     "DFP-4:nvidia-auto-select"
[    16.883] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[    16.899] (--) NVIDIA(0): DPI set to (128, 130); computed from "UseEdidDpi" X config
[    16.899] (--) NVIDIA(0):     option
[    16.899] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[    16.899] (II) NVIDIA:     access.
[    16.911] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[    16.911] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[    16.911] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[    16.911] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[    16.911] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[    16.911] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[    16.911] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    16.911] (II) NVIDIA(0):     Config Options in the README.
[    17.318] (II) NVIDIA(0): Setting mode "DFP-4:nvidia-auto-select"
[    18.373] (==) NVIDIA(0): Disabling shared memory pixmaps
[    18.373] (==) NVIDIA(0): Backing store enabled
[    18.373] (==) NVIDIA(0): Silken mouse disabled
[    18.373] (**) NVIDIA(0): DPMS enabled
[    18.373] (II) Loading sub module "dri2"
[    18.373] (II) LoadModule: "dri2"
[    18.373] (II) Module "dri2" already built-in
[    18.373] (II) NVIDIA(0): [DRI2] Setup complete
[    18.373] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    18.375] (II) Initializing extension Generic Event Extension
[    18.375] (II) Initializing extension SHAPE
[    18.375] (II) Initializing extension MIT-SHM
[    18.375] (II) Initializing extension XInputExtension
[    18.375] (II) Initializing extension XTEST
[    18.375] (II) Initializing extension BIG-REQUESTS
[    18.375] (II) Initializing extension SYNC
[    18.376] (II) Initializing extension XKEYBOARD
[    18.376] (II) Initializing extension XC-MISC
[    18.376] (II) Initializing extension SECURITY
[    18.376] (II) Initializing extension XFIXES
[    18.376] (II) Initializing extension RENDER
[    18.376] (II) Initializing extension RANDR
[    18.376] (II) Initializing extension COMPOSITE
[    18.376] (II) Initializing extension DAMAGE
[    18.377] (II) Initializing extension MIT-SCREEN-SAVER
[    18.377] (II) Initializing extension DOUBLE-BUFFER
[    18.377] (II) Initializing extension RECORD
[    18.377] (II) Initializing extension DPMS
[    18.377] (II) Initializing extension Present
[    18.377] (II) Initializing extension DRI3
[    18.377] (II) Initializing extension X-Resource
[    18.377] (II) Initializing extension XVideo
[    18.377] (II) Initializing extension XVideo-MotionCompensation
[    18.377] (II) Initializing extension GLX
[    18.377] (II) AIGLX: Screen 0 is not DRI2 capable
[    18.710] (II) IGLX: Loaded and initialized swrast
[    18.710] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    18.710] (II) Initializing extension XFree86-VidModeExtension
[    18.710] (II) Initializing extension XFree86-DGA
[    18.710] (II) Initializing extension XFree86-DRI
[    18.710] (II) Initializing extension DRI2
[    18.711] (II) Initializing extension NV-GLX
[    18.711] (II) Initializing extension NV-CONTROL
[    18.711] (II) Initializing extension XINERAMA
[    18.798] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[    18.798] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    18.798] (II) LoadModule: "libinput"
[    18.799] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    18.804] (II) Module libinput: vendor="X.Org Foundation"
[    18.804] 	compiled for 1.20.8, module version = 0.30.0
[    18.804] 	Module class: X.Org XInput Driver
[    18.804] 	ABI class: X.Org XInput driver, version 24.1
[    18.804] (II) Using input driver 'libinput' for 'Video Bus'
[    18.804] (**) Video Bus: always reports core events
[    18.804] (**) Option "Device" "/dev/input/event2"
[    18.804] (**) Option "_source" "server/udev"
[    18.812] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    18.812] (II) event2  - Video Bus: device is a keyboard
[    18.812] (II) event2  - Video Bus: device removed
[    18.883] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input2/event2"
[    18.883] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[    18.885] (II) event2  - Video Bus: is tagged by udev as: Keyboard
[    18.886] (II) event2  - Video Bus: device is a keyboard
[    18.887] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    18.887] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    18.887] (II) Using input driver 'libinput' for 'Power Button'
[    18.887] (**) Power Button: always reports core events
[    18.887] (**) Option "Device" "/dev/input/event1"
[    18.887] (**) Option "_source" "server/udev"
[    18.889] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    18.889] (II) event1  - Power Button: device is a keyboard
[    18.889] (II) event1  - Power Button: device removed
[    18.923] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[    18.923] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[    18.925] (II) event1  - Power Button: is tagged by udev as: Keyboard
[    18.925] (II) event1  - Power Button: device is a keyboard
[    18.926] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[    18.926] (II) No input driver specified, ignoring this device.
[    18.926] (II) This device may have been added with another device file.
[    18.926] (II) config/udev: Adding drm device (/dev/dri/card0)
[    18.926] (II) xfree86: Adding drm device (/dev/dri/card0)
[    18.926] (II) LoadModule: "modesetting"
[    18.927] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    18.932] (II) Module modesetting: vendor="X.Org Foundation"
[    18.932] 	compiled for 1.20.8, module version = 1.20.8
[    18.932] 	Module class: X.Org Video Driver
[    18.932] 	ABI class: X.Org Video Driver, version 24.1
[    18.932] xf86: found device 0
[    18.933] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event12)
[    18.933] (II) No input driver specified, ignoring this device.
[    18.933] (II) This device may have been added with another device file.
[    18.934] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event13)
[    18.934] (II) No input driver specified, ignoring this device.
[    18.934] (II) This device may have been added with another device file.
[    18.935] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event14)
[    18.935] (II) No input driver specified, ignoring this device.
[    18.935] (II) This device may have been added with another device file.
[    18.936] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event15)
[    18.936] (II) No input driver specified, ignoring this device.
[    18.936] (II) This device may have been added with another device file.
[    18.936] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event16)
[    18.936] (II) No input driver specified, ignoring this device.
[    18.936] (II) This device may have been added with another device file.
[    18.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event17)
[    18.937] (II) No input driver specified, ignoring this device.
[    18.937] (II) This device may have been added with another device file.
[    18.938] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event11)
[    18.938] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    18.938] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    18.938] (**) Integrated Camera: Integrated C: always reports core events
[    18.938] (**) Option "Device" "/dev/input/event11"
[    18.938] (**) Option "_source" "server/udev"
[    18.941] (II) event11 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    18.941] (II) event11 - Integrated Camera: Integrated C: device is a keyboard
[    18.941] (II) event11 - Integrated Camera: Integrated C: device removed
[    18.989] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input12/event11"
[    18.989] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 8)
[    18.993] (II) event11 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    18.993] (II) event11 - Integrated Camera: Integrated C: device is a keyboard
[    18.994] (II) config/udev: Adding input device ITE Tech. Inc. ITE Device(8910) Keyboard (/dev/input/event4)
[    18.994] (**) ITE Tech. Inc. ITE Device(8910) Keyboard: Applying InputClass "libinput keyboard catchall"
[    18.994] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8910) Keyboard'
[    18.994] (**) ITE Tech. Inc. ITE Device(8910) Keyboard: always reports core events
[    18.994] (**) Option "Device" "/dev/input/event4"
[    18.994] (**) Option "_source" "server/udev"
[    18.997] (II) event4  - ITE Tech. Inc. ITE Device(8910) Keyboard: is tagged by udev as: Keyboard
[    18.998] (II) event4  - ITE Tech. Inc. ITE Device(8910) Keyboard: device is a keyboard
[    18.998] (II) event4  - ITE Tech. Inc. ITE Device(8910) Keyboard: device removed
[    19.029] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:048D:C100.0001/input/input4/event4"
[    19.029] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8910) Keyboard" (type: KEYBOARD, id 9)
[    19.033] (II) event4  - ITE Tech. Inc. ITE Device(8910) Keyboard: is tagged by udev as: Keyboard
[    19.033] (II) event4  - ITE Tech. Inc. ITE Device(8910) Keyboard: device is a keyboard
[    19.035] (II) config/udev: Adding input device ITE Tech. Inc. ITE Device(8910) Consumer Control (/dev/input/event5)
[    19.035] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: Applying InputClass "libinput keyboard catchall"
[    19.036] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8910) Consumer Control'
[    19.036] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: always reports core events
[    19.036] (**) Option "Device" "/dev/input/event5"
[    19.036] (**) Option "_source" "server/udev"
[    19.039] (II) event5  - ITE Tech. Inc. ITE Device(8910) Consumer Control: is tagged by udev as: Keyboard
[    19.039] (II) event5  - ITE Tech. Inc. ITE Device(8910) Consumer Control: device is a keyboard
[    19.039] (II) event5  - ITE Tech. Inc. ITE Device(8910) Consumer Control: device removed
[    19.069] (II) libinput: ITE Tech. Inc. ITE Device(8910) Consumer Control: needs a virtual subdevice
[    19.069] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:048D:C100.0001/input/input5/event5"
[    19.069] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8910) Consumer Control" (type: MOUSE, id 10)
[    19.070] (**) Option "AccelerationScheme" "none"
[    19.070] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: (accel) selected scheme none/0
[    19.070] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: (accel) acceleration factor: 2.000
[    19.070] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: (accel) acceleration threshold: 4
[    19.073] (II) event5  - ITE Tech. Inc. ITE Device(8910) Consumer Control: is tagged by udev as: Keyboard
[    19.073] (II) event5  - ITE Tech. Inc. ITE Device(8910) Consumer Control: device is a keyboard
[    19.075] (II) config/udev: Adding input device ITE Tech. Inc. ITE Device(8910) Wireless Radio Control (/dev/input/event6)
[    19.075] (**) ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: Applying InputClass "libinput keyboard catchall"
[    19.075] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8910) Wireless Radio Control'
[    19.075] (**) ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: always reports core events
[    19.075] (**) Option "Device" "/dev/input/event6"
[    19.075] (**) Option "_source" "server/udev"
[    19.078] (II) event6  - ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: is tagged by udev as: Keyboard
[    19.078] (II) event6  - ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: device is a keyboard
[    19.079] (II) event6  - ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: device removed
[    19.136] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:048D:C100.0001/input/input6/event6"
[    19.136] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8910) Wireless Radio Control" (type: KEYBOARD, id 11)
[    19.140] (II) event6  - ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: is tagged by udev as: Keyboard
[    19.140] (II) event6  - ITE Tech. Inc. ITE Device(8910) Wireless Radio Control: device is a keyboard
[    19.142] (II) config/udev: Adding input device MSFT0001:01 06CB:CD5F Mouse (/dev/input/event8)
[    19.142] (**) MSFT0001:01 06CB:CD5F Mouse: Applying InputClass "libinput pointer catchall"
[    19.142] (II) Using input driver 'libinput' for 'MSFT0001:01 06CB:CD5F Mouse'
[    19.142] (**) MSFT0001:01 06CB:CD5F Mouse: always reports core events
[    19.142] (**) Option "Device" "/dev/input/event8"
[    19.142] (**) Option "_source" "server/udev"
[    19.145] (II) event8  - MSFT0001:01 06CB:CD5F Mouse: is tagged by udev as: Mouse Pointingstick
[    19.145] (II) event8  - MSFT0001:01 06CB:CD5F Mouse: device is a pointer
[    19.147] (II) event8  - MSFT0001:01 06CB:CD5F Mouse: device removed
[    19.203] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-MSFT0001:01/0018:06CB:CD5F.0002/input/input22/event8"
[    19.203] (II) XINPUT: Adding extended input device "MSFT0001:01 06CB:CD5F Mouse" (type: MOUSE, id 12)
[    19.203] (**) Option "AccelerationScheme" "none"
[    19.203] (**) MSFT0001:01 06CB:CD5F Mouse: (accel) selected scheme none/0
[    19.203] (**) MSFT0001:01 06CB:CD5F Mouse: (accel) acceleration factor: 2.000
[    19.203] (**) MSFT0001:01 06CB:CD5F Mouse: (accel) acceleration threshold: 4
[    19.206] (II) event8  - MSFT0001:01 06CB:CD5F Mouse: is tagged by udev as: Mouse Pointingstick
[    19.207] (II) event8  - MSFT0001:01 06CB:CD5F Mouse: device is a pointer
[    19.210] (II) config/udev: Adding input device MSFT0001:01 06CB:CD5F Mouse (/dev/input/mouse0)
[    19.210] (II) No input driver specified, ignoring this device.
[    19.210] (II) This device may have been added with another device file.
[    19.211] (II) config/udev: Adding input device MSFT0001:01 06CB:CD5F Touchpad (/dev/input/event9)
[    19.211] (**) MSFT0001:01 06CB:CD5F Touchpad: Applying InputClass "libinput touchpad catchall"
[    19.211] (**) MSFT0001:01 06CB:CD5F Touchpad: Applying InputClass "touchpad"
[    19.211] (II) Using input driver 'libinput' for 'MSFT0001:01 06CB:CD5F Touchpad'
[    19.211] (**) MSFT0001:01 06CB:CD5F Touchpad: always reports core events
[    19.211] (**) Option "Device" "/dev/input/event9"
[    19.211] (**) Option "_source" "server/udev"
[    19.214] (II) event9  - MSFT0001:01 06CB:CD5F Touchpad: is tagged by udev as: Touchpad
[    19.216] (II) event9  - MSFT0001:01 06CB:CD5F Touchpad: device is a touchpad
[    19.216] (II) event9  - MSFT0001:01 06CB:CD5F Touchpad: device removed
[    19.269] (**) Option "Tapping" "on"
[    19.269] (**) Option "TappingButtonMap" "lrm"
[    19.270] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-MSFT0001:01/0018:06CB:CD5F.0002/input/input23/event9"
[    19.270] (II) XINPUT: Adding extended input device "MSFT0001:01 06CB:CD5F Touchpad" (type: TOUCHPAD, id 13)
[    19.271] (**) Option "AccelerationScheme" "none"
[    19.271] (**) MSFT0001:01 06CB:CD5F Touchpad: (accel) selected scheme none/0
[    19.271] (**) MSFT0001:01 06CB:CD5F Touchpad: (accel) acceleration factor: 2.000
[    19.271] (**) MSFT0001:01 06CB:CD5F Touchpad: (accel) acceleration threshold: 4
[    19.275] (II) event9  - MSFT0001:01 06CB:CD5F Touchpad: is tagged by udev as: Touchpad
[    19.277] (II) event9  - MSFT0001:01 06CB:CD5F Touchpad: device is a touchpad
[    19.279] (II) config/udev: Adding input device MSFT0001:01 06CB:CD5F Touchpad (/dev/input/mouse1)
[    19.279] (**) MSFT0001:01 06CB:CD5F Touchpad: Applying InputClass "touchpad"
[    19.279] (II) Using input driver 'libinput' for 'MSFT0001:01 06CB:CD5F Touchpad'
[    19.279] (**) MSFT0001:01 06CB:CD5F Touchpad: always reports core events
[    19.279] (**) Option "Device" "/dev/input/mouse1"
[    19.279] (**) Option "_source" "server/udev"
[    19.336] (II) mouse1  - failed to create input device '/dev/input/mouse1'.
[    19.336] (EE) libinput: MSFT0001:01 06CB:CD5F Touchpad: Failed to create a device for /dev/input/mouse1
[    19.336] (EE) PreInit returned 2 for "MSFT0001:01 06CB:CD5F Touchpad"
[    19.336] (II) UnloadModule: "libinput"
[    19.337] (II) config/udev: Adding input device Ideapad extra buttons (/dev/input/event7)
[    19.338] (**) Ideapad extra buttons: Applying InputClass "libinput keyboard catchall"
[    19.338] (II) Using input driver 'libinput' for 'Ideapad extra buttons'
[    19.338] (**) Ideapad extra buttons: always reports core events
[    19.338] (**) Option "Device" "/dev/input/event7"
[    19.338] (**) Option "_source" "server/udev"
[    19.340] (II) event7  - Ideapad extra buttons: is tagged by udev as: Keyboard
[    19.340] (II) event7  - Ideapad extra buttons: device is a keyboard
[    19.340] (II) event7  - Ideapad extra buttons: device removed
[    19.402] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1f.0/PNP0C09:00/VPC2004:00/input/input7/event7"
[    19.402] (II) XINPUT: Adding extended input device "Ideapad extra buttons" (type: KEYBOARD, id 14)
[    19.403] (II) event7  - Ideapad extra buttons: is tagged by udev as: Keyboard
[    19.403] (II) event7  - Ideapad extra buttons: device is a keyboard
[    19.403] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event18)
[    19.403] (II) No input driver specified, ignoring this device.
[    19.403] (II) This device may have been added with another device file.
[    19.403] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event19)
[    19.403] (II) No input driver specified, ignoring this device.
[    19.403] (II) This device may have been added with another device file.
[    19.404] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event20)
[    19.404] (II) No input driver specified, ignoring this device.
[    19.404] (II) This device may have been added with another device file.
[    19.404] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    19.404] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    19.404] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    19.404] (**) AT Translated Set 2 keyboard: always reports core events
[    19.404] (**) Option "Device" "/dev/input/event3"
[    19.404] (**) Option "_source" "server/udev"
[    19.404] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    19.404] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    19.405] (II) event3  - AT Translated Set 2 keyboard: device removed
[    19.429] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    19.429] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[    19.430] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    19.430] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    19.431] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[    19.431] (II) No input driver specified, ignoring this device.
[    19.431] (II) This device may have been added with another device file.
[    19.434] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: Applying InputClass "libinput keyboard catchall"
[    19.434] (II) Using input driver 'libinput' for 'ITE Tech. Inc. ITE Device(8910) Consumer Control'
[    19.434] (**) ITE Tech. Inc. ITE Device(8910) Consumer Control: always reports core events
[    19.434] (**) Option "Device" "/dev/input/event5"
[    19.434] (**) Option "_source" "_driver/libinput"
[    19.434] (II) libinput: ITE Tech. Inc. ITE Device(8910) Consumer Control: is a virtual subdevice
[    19.434] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:048D:C100.0001/input/input5/event5"
[    19.434] (II) XINPUT: Adding extended input device "ITE Tech. Inc. ITE Device(8910) Consumer Control" (type: KEYBOARD, id 16)
[    19.435] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): connected
[    19.435] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): Internal DisplayPort
[    19.435] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): 2660.0 MHz maximum pixel clock
[    19.435] (--) NVIDIA(GPU-0): 
[    19.435] (II) config/udev: removing GPU device /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0 /dev/dri/card0
[    19.435] (II) config/udev: Adding drm device (/dev/dri/card0)
[    19.435] (II) xfree86: Adding drm device (/dev/dri/card0)
[    19.435] (II) LoadModule: "modesetting"
[    19.435] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    19.435] (II) Module modesetting: vendor="X.Org Foundation"
[    19.435] 	compiled for 1.20.8, module version = 1.20.8
[    19.435] 	Module class: X.Org Video Driver
[    19.435] 	ABI class: X.Org Video Driver, version 24.1
[    19.435] (II) UnloadModule: "modesetting"
[    19.435] (II) Unloading modesetting
[    19.435] (II) Failed to load module "modesetting" (already loaded, 0)
[    19.435] xf86: found device 0
[    34.430] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    34.430] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    34.430] (--) NVIDIA(GPU-0): DFP-0: 2660.0 MHz maximum pixel clock
[    34.430] (--) NVIDIA(GPU-0): 
[    34.431] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    34.431] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    34.431] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    34.431] (--) NVIDIA(GPU-0): 
[    34.431] (--) NVIDIA(GPU-0): DFP-2: disconnected
[    34.431] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[    34.431] (--) NVIDIA(GPU-0): DFP-2: 2660.0 MHz maximum pixel clock
[    34.431] (--) NVIDIA(GPU-0): 
[    34.431] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    34.431] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[    34.431] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[    34.431] (--) NVIDIA(GPU-0): 
[    34.431] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): connected
[    34.431] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): Internal DisplayPort
[    34.431] (--) NVIDIA(GPU-0): BOE Technology Group Co., Ltd (DFP-4): 2660.0 MHz maximum pixel clock
[    34.431] (--) NVIDIA(GPU-0): 
[    34.431] (--) NVIDIA(GPU-0): DFP-5: disconnected
[    34.431] (--) NVIDIA(GPU-0): DFP-5: Internal TMDS
[    34.431] (--) NVIDIA(GPU-0): DFP-5: 165.0 MHz maximum pixel clock
[    34.431] (--) NVIDIA(GPU-0):
$ pacman -Q | grep nvidia
lib32-opencl-nvidia 450.57-1
nvidia 450.57-9
nvidia-dkms 450.57-2
nvidia-settings 450.57-1
nvidia-utils 450.57-2
opencl-nvidia 450.57-2
$ pacman -Q | grep mesa
libva-mesa-driver 20.1.5-1
mesa 20.1.5-1
mesa-demos 8.4.0-4
mesa-vdpau 20.1.5-1
$ cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection
$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 440.82

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"
EndSection

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

Section "Module"
        Load  "glx"
EndSection

I'd be very thankful if anyone would have any ideas to go from here...
Thanks in advance!

Last edited by cupid_stunt (2020-08-16 15:48:47)

Offline

#2 2020-08-15 21:20:45

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

Remove the /etc/X11/xorg.conf and retry. Nothing of use happens there, and there's some potential loading conflict with what it should load from the drm-outputclass conf.

Should that not suffice you might need to enable early KMS to ensure that the display is ready before xorg loads: https://wiki.archlinux.org/index.php/NV … de_setting

FWIW you have confirmed in dmesg/update logs that the kernel module for nvidia loads properly?

Offline

#3 2020-08-15 22:56:54

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

Remove the /etc/X11/xorg.conf and retry. Nothing of use happens there, and there's some potential loading conflict with what it should load from the drm-outputclass conf.

I already tried that. I stated in the initial post that the only thing changing is the resolution (to something like 800x600). glxinfo still shows llvmpipe as being used.


Should that not suffice you might need to enable early KMS to ensure that the display is ready before xorg loads: https://wiki.archlinux.org/index.php/NV … de_setting

Will look into this and come back with an update.



FWIW you have confirmed in dmesg/update logs that the kernel module for nvidia loads properly?

$ lsmod | grep nvidia
nvidia_drm             57344  1
nvidia_modeset       1187840  2 nvidia_drm
nvidia              19726336  76 nvidia_modeset
drm_kms_helper        262144  1 nvidia_drm
drm                   585728  4 drm_kms_helper,nvidia_drm
$ dmesg | grep vidia
[   21.055380] nvidia: loading out-of-tree module taints kernel.
[   21.055388] nvidia: module license 'NVIDIA' taints kernel.
[   21.059901] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[   21.075428] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[   21.078011] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[   21.153018] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  450.57  Sun Jul  5 14:52:29 UTC 2020
[   21.156804] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[   21.156806] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
[   22.273891] nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[   22.871037] nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[   23.732420] nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[   24.665174] nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.
[   48.122775] nvidia-modeset: WARNING: GPU:0: BOE Technology Group Co., Ltd (DP-4): G-SYNC Compatible: EDID min refresh rate invalid, disabling G-SYNC Compatible.

Offline

#4 2020-08-15 23:15:22

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

V1del wrote:

Should that not suffice you might need to enable early KMS to ensure that the display is ready before xorg loads: https://wiki.archlinux.org/index.php/NV…de_setting

Tried that. No dice.


I should probably re-state that removing the /usr/lib32 path from the ls.so.conf.d/* files fixes the software rendering (llvmppe) issue, while creating others (the only one I saw before reverting was the text in the steam login was garbled and no input was possible in the fields of that window. Probably other applications were impacted too, but didn't get a chance to notice them.

Offline

#5 2020-08-16 01:05:21

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

cupid_stunt wrote:

I should probably re-state that removing the /usr/lib32 path from the ls.so.conf.d/* files fixes the software rendering (llvmppe) issue, while creating others (the only one I saw before reverting was the text in the steam login was garbled and no input was possible in the fields of that window. Probably other applications were impacted too, but didn't get a chance to notice them.

This does NOT happen anymore.
I removed some lib32  GL-related packages (and what depended on them) since then

sudo pacman -Rs lib32-mesa lib32-libglvnd lib32-glu lib32-nvidia-cg-toolkit lib32-nvidia-utils lib32-sdl2 steam lib32-faudio lib32-glew pcsx2 wine winetricks
sudo pacman -Rs lib32-llvm-libs lib32-mesa-vdpau 

  and I cannot reproduce it anymore.

Offline

#6 2020-08-16 12:24:47

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

I just realised something in the quick overlooking of my last message. Just in case anyone read my previous post in a hurry:

I still have the issue. Still stuck to software rendering.

It's just the "fix" I previously found that became not reproducible.
Where else could I look and trace/investigate this ?

Offline

#7 2020-08-16 13:29:18

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

Found a solution that works.

Make the xorg.conf contain something like this:

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

In my case that is the path needed for the missing "glxserver_nvidia"  ( pointed out in the Xorg log at this line:    NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)    )

Those paths can be found in :

$ cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

I have absolutely no clue why the config from /usr/share is ignored. Long live X11, NVIDIA, linux, linux distros and the convoluted mess web of config files  ....

Offline

#8 2020-08-16 13:54:47

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

a) because in doubt your xorg.conf overrides the outputclass match
b) because your early KMS efforts went wong: "lsinitcpio /boot/initramfs-linux.img | grep nvidia"?

Offline

#9 2020-08-16 14:07:43

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

seth wrote:

a) because in doubt your xorg.conf overrides the outputclass match
b) because your early KMS efforts went wong: "lsinitcpio /boot/initramfs-linux.img | grep nvidia"?

a) even without the xorg.conf file, I still have software accel. I just have an incorrect resolution.

b)

$ lsinitcpio /boot/initramfs-linux.img | grep nvidia
etc/modprobe.d/nvidia-installer-disable-nouveau.conf
usr/lib/modprobe.d/nvidia.conf
usr/lib/modprobe.d/nvidia-dkms.conf
usr/lib/modprobe.d/nvidia-installer-disable-nouveau.conf

Offline

#10 2020-08-16 14:23:38

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

The nvidia modules are not in the initramfs.
How exactly did you "try" that?

Offline

#11 2020-08-16 15:48:22

cupid_stunt
Member
Registered: 2020-08-15
Posts: 19

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

I only tested the modesetting kernel argument. My bad. I figured that if I never needed nvidia modules in the initramfs before, and everything worked, I shouldn't need them now. Silly me.

Thanks for pushing me into putting the nvidia modules into the initramfs. Now everything works properly. No more Files section in xorg.conf. Also, the kernel argument is not needed in my case (modesetting = 1).


So for everyone that will hit a snag like this one, put your nvidia modules into the initramfs, like it said here .
DO NOT forget the pacman hook.



Thank you to everyone that gave up part of their time in order to help others.
Virtual beers on me!

Offline

#12 2021-01-30 18:08:49

tethys
Member
Registered: 2019-08-13
Posts: 94

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

cupid_stunt wrote:

DO NOT forget the pacman hook.

I have encountered the same problem as the OP and solved it by adding the nvidia modules to initramfs.
However, I have question: is the pacman hook really needed?

Every time I upgrade with "pacman -Syu" the files "/boot/initramfs-linux.img" and "/boot/initramfs-linux-fallback.img" are regenerated. These same files are recreated also when using "mkinitcpio -P" from the above mentioned pacman hook.  Am I missing something?

Offline

#13 2021-01-30 21:49:12

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

No, he was just updating the mkinitcpio.conf and didn't re-create the initramfs (which is explicitly required if you merely want to account for "vim /etc/mkinitcpio.conf")

Offline

#14 2021-04-05 14:12:24

lm808
Member
Registered: 2018-08-31
Posts: 4

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

I have recently experienced a very similar issue, which is temporarily resolved using the suggestions in this thread (as quoted below) and I have filed a bug report:

https://bugs.archlinux.org/task/70287

Not sure if it is indeed a bug, but hopefully this helps whoever gets here by the direction of Google.

-----------------------

cupid_stunt wrote:

Found a solution that works.

Make the xorg.conf contain something like this:

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

In my case that is the path needed for the missing "glxserver_nvidia"  ( pointed out in the Xorg log at this line:    NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)    )

Those paths can be found in :

$ cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

I have absolutely no clue why the config from /usr/share is ignored. Long live X11, NVIDIA, linux, linux distros and the convoluted mess web of config files  ....

Offline

#15 2021-04-10 03:28:19

kormpu
Member
Registered: 2020-08-18
Posts: 30

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

lm808 wrote:

I have recently experienced a very similar issue, which is temporarily resolved using the suggestions in this thread (as quoted below) and I have filed a bug report:

https://bugs.archlinux.org/task/70287

Not sure if it is indeed a bug, but hopefully this helps whoever gets here by the direction of Google.

-----------------------

cupid_stunt wrote:

Found a solution that works.

Make the xorg.conf contain something like this:

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

In my case that is the path needed for the missing "glxserver_nvidia"  ( pointed out in the Xorg log at this line:    NVIDIA: Failed to load module "glxserver_nvidia" (module does not exist, 0)    )

Those paths can be found in :

$ cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

I have absolutely no clue why the config from /usr/share is ignored. Long live X11, NVIDIA, linux, linux distros and the convoluted mess web of config files  ....

I also had the same issue and this fixed it,. Seems like more than a coincidence especially considering the timeframe between us having the same issue.

Offline

#16 2021-04-10 05:44:47

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Update made system use llvmpipe instead of Nvidia

Explicitly configuring the module path is a fragile workaround for the race condition that causes your GPU to not 'MatchDriver "nvidia-drm"' and that is properly better fixed by configuring the system for early KMS as V1del promoted in #2

Please stop perpetuating bad advices and stop writing static server layouts into your xorg.conf.
This will only come back to bite you.

Offline

Board footer

Powered by FluxBB