You are not logged in.
Hi,
My system76 laptop with both an NVIDIA and integrated GPU are defaulting to llvmpipe except when prime-run is used. This happened after an update a few weeks ago but I have not had time to debug it until today. Additionally, steam games don't work at all anymore weather or not they run though proton which is what prompted me to create this thread. This computer was working fine for over a year and a half and I had another laptop with a similar configuration that worked for much longer than that. I have tried most of the various fixes suggested by a web search with little success (however, I don't think I have found anybody with my exact issue). I have verified my system is up to date along including any relevant AUR packages.
Example:
$ glxinfo | grep -E "renderer|vendor"
pci id for fd 4: 10de:28a0, driver (null)
pci id for fd 5: 10de:28a0, driver (null)
pci id for fd 6: 10de:28a0, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drm
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
GLX_MESA_copy_sub_buffer, GLX_MESA_gl_interop, GLX_MESA_query_renderer,
GLX_MESA_gl_interop, GLX_MESA_query_renderer, GLX_SGIS_multisample,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 21.1.5, 256 bits)$ prime-run glxinfo | grep -E "renderer|vendor"
server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2The following segment from glxinfo appears in the output of basically any opengl application I try to run
pci id for fd 4: 10de:28a0, driver (null)
pci id for fd 5: 10de:28a0, driver (null)
pci id for fd 6: 10de:28a0, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drmI don't really know how to make sense of this. I should have DRM enabled and all of the kernel modules are loaded:
$ cat /proc/cmdline
initrd=\initramfs-linux-lts.img root=UUID=033315eb-3aab-425f-8a98-6e6ff7506be0 nvidia_drm.modeset=1
$ sudo lsmod | grep nvidia
[sudo: authenticate] Password:
nvidia_drm 147456 46
nvidia_modeset 2277376 13 nvidia_drm
nvidia_uvm 4030464 0
nvidia 15900672 295 nvidia_uvm,nvidia_modeset
drm_ttm_helper 16384 2 nvidia_drm,xe
video 81920 3 xe,i915,nvidia_modesetInterestingly vulkan is mostly working as expected:
$ vulkaninfo
<---- WALL OF SUPPORTED VULKAN EXTENSIONS -->
Devices:
========
GPU0:
apiVersion = 1.4.312
driverVersion = 580.105.8.0
vendorID = 0x10de
deviceID = 0x28a0
deviceType = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
deviceName = NVIDIA GeForce RTX 4060 Laptop GPU
driverID = DRIVER_ID_NVIDIA_PROPRIETARY
driverName = NVIDIA
driverInfo = 580.105.08
conformanceVersion = 1.4.1.3
deviceUUID = 3941ec95-258e-fbf7-dfa1-0d86739ff1dd
driverUUID = 72b7aad8-3131-56b3-9bf3-fe41c3e1bd81
GPU1:
apiVersion = 1.4.318
driverVersion = 25.2.7
vendorID = 0x8086
deviceID = 0xa788
deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
deviceName = Intel(R) Graphics (RPL-S)
driverID = DRIVER_ID_INTEL_OPEN_SOURCE_MESA
driverName = Intel open-source Mesa driver
driverInfo = Mesa 25.2.7-arch1.1
conformanceVersion = 1.4.0.0
deviceUUID = 868088a7-0400-0000-0002-000000000000
driverUUID = 5d4dd73d-77e4-9ab8-98bb-a7b72f326797However, I am unable to run any vulkan games though steam. Some games running though wine report being unable to create a vulkan device but it was impossible to find anything relevant in the logs. Vulkan programs outside of the steam runtime such as vkcube work fine and correctly use the NVIDIA gpu.
This is my X11 config. I have some scripts that rotate X11 config files depending on what mode I have set in system76-power. I have verified these are the only files in my x11 config directory so the script cannot be what is causing the issues.
https://gist.github.com/dffdff2423/9ff6 … 632703d2e1 (this was a bit long for the forum)
I start my X server with startx and have the following in my .xinitrc:
xrandr --setprovideroutputsource modesetting NVIDIA-0
#xrandr --setprovideroutputsource modesetting NVIDIA-G0
#xrandr --setprovideroutputsource NVIDIA-G0 modesetting
xrandr --auto
export SSH_ASKPASS=lxqt-openssh-askpass
exec awesomeHere is a copy of the X11 log file:
https://gist.github.com/dffdff2423/ba55 … f638916e4c
This section stood out to me as possibly relevant:
[ 263.171] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 263.234] (--) NVIDIA(GPU-0): Acer XFA240 (DFP-0): connected
[ 263.234] (--) NVIDIA(GPU-0): Acer XFA240 (DFP-0): Internal TMDS
[ 263.234] (--) NVIDIA(GPU-0): Acer XFA240 (DFP-0): 300.0 MHz maximum pixel clock
[ 263.234] (--) NVIDIA(GPU-0):
[ 263.234] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 263.234] (--) NVIDIA(GPU-0): DFP-1: Internal DisplayPort
[ 263.234] (--) NVIDIA(GPU-0): DFP-1: 2670.0 MHz maximum pixel clock
[ 263.234] (--) NVIDIA(GPU-0):
[ 263.242] randr: falling back to unsynchronized pixmap sharing
[ 263.251] (EE) modeset(G1): failed to set mode: Input/output error
[ 263.252] (II) NVIDIA(0): Setting mode "NULL"
[ 263.300] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1920x1080 +0+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"
[ 267.907] (II) NVIDIA(0): Setting mode "HDMI-0: nvidia-auto-select @1920x1080 +1920+0 {ViewPortIn=1920x1080, ViewPortOut=1920x1080+0+0}"Let me know if you need any more information. I have also tried tweaking the X11 config quite a bit with various things suggested online with no result. I can't remember most of what I have tried or I would have listed the different things here.
Last edited by dffdff2423 (2025-11-25 14:15:40)
Offline
[ 262.097] (II) IGLX: Loaded and initialized swrastOnline
Must have somehow missed that. I honestly just ended up switching to wayland since I am sick of all of the x11 related issues I have been having the past few months so I am going to mark this as a dupe.
Offline