You are not logged in.

#1 2026-01-09 11:52:10

ChrisHall
Member
Registered: 2026-01-09
Posts: 2

Brand new install and nvidia-drm fails to load

I have just installed Arch on a brand new PC and all seems to be working ok apart from some of the NVIDIA kernel modules.

I get this output from glxgears:

[leela] 11:34:58 /home/chris % glxgears
pci id for fd 4: 10de:2c02, driver (null)
pci id for fd 5: 10de:2c02, driver (null)
pci id for fd 6: 10de:2c02, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drm
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.

Which is odd as nvidia-drm is definite loaded:

[leela] 11:35:06 /home/chris % lsmod | grep nvidia
nvidia_drm            147456  104
nvidia_modeset       2121728  45 nvidia_drm
nvidia_uvm           2568192  0
nvidia              16306176  863 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  3 amdgpu,nvidia_drm
video                  81920  2 amdgpu,nvidia_modeset

After many attempts at different releases of the NVIDIA modules, I thought (way too late) maybe it's a permission problem and when I tried running it with sudo everything worked:

[leela] 11:46:52 /home/chris % sudo glxgears      
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
308 frames in 5.0 seconds = 61.550 FPS
300 frames in 5.0 seconds = 59.974 FPS
300 frames in 5.0 seconds = 59.930 FPS
300 frames in 5.0 seconds = 59.972 FPS

I have tried adding myself to every single group and that had no effect and I tried using a non Wayland DM (XFCE) to see if that would work but it made no difference.

I'm completely outy of ideas now.

Offline

#2 2026-01-09 12:53:10

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: Brand new install and nvidia-drm fails to load

Might just be noise https://bbs.archlinux.org/viewtopic.php … 9#p2281599

glxinfo -B
eglinfo -B
vulkaninfo --summary
nvidia-smi

You can also try to "sudo glxinfo -B" in case you're running into this because you're defaulting your regular user to PRIME (but the relevant environment isn't preserved by sudo)

Offline

#3 2026-01-09 13:05:18

ChrisHall
Member
Registered: 2026-01-09
Posts: 2

Re: Brand new install and nvidia-drm fails to load

Thanks for the reply, outputs as requested:

[leela] 12:58:09 /home/chris % glxinfo -B
name of display: :1
pci id for fd 4: 10de:2c02, driver (null)
pci id for fd 5: 10de:2c02, driver (null)
pci id for fd 6: 10de:2c02, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drm
display: :1  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0x10de)
    Device: zink Vulkan 1.4(NVIDIA GeForce RTX 5080 (NVIDIA_PROPRIETARY)) (0x2c02)
    Version: 25.3.3
    Accelerated: yes
    Video memory: 16303MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 16298 MB, largest block: 16298 MB
    VBO free aux. memory - total: 46400 MB, largest block: 46400 MB
    Texture free memory - total: 16298 MB, largest block: 16298 MB
    Texture free aux. memory - total: 46400 MB, largest block: 46400 MB
    Renderbuffer free memory - total: 16298 MB, largest block: 16298 MB
    Renderbuffer free aux. memory - total: 46400 MB, largest block: 46400 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16303 MB
    Total available memory: 62711 MB
    Currently available dedicated video memory: 16298 MB
OpenGL vendor string: Mesa
OpenGL renderer string: zink Vulkan 1.4(NVIDIA GeForce RTX 5080 (NVIDIA_PROPRIETARY))
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.3.3-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.3.3-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.3.3-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
[leela] 12:58:11 /home/chris % eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 590.48.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 590.48.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 590.48.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 590.48.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 590.48.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 590.48.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 590.48.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 590.48.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
OpenGL core profile vendor: NVIDIA Corporation
OpenGL core profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version: 4.60 NVIDIA
OpenGL compatibility profile vendor: NVIDIA Corporation
OpenGL compatibility profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL compatibility profile version: 4.6.0 NVIDIA 590.48.01
OpenGL compatibility profile shading language version: 4.60 NVIDIA
OpenGL ES profile vendor: NVIDIA Corporation
OpenGL ES profile renderer: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL ES profile version: OpenGL ES 3.2 NVIDIA 590.48.01
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
libEGL warning: pci id for fd 26: 10de:2c02, driver (null)

pci id for fd 28: 10de:2c02, driver (null)
pci id for fd 29: 10de:2c02, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 26: 10de:2c02, driver (null)

pci id for fd 28: 10de:2c02, driver (null)
pci id for fd 29: 10de:2c02, driver (null)
libEGL warning: egl: failed to create dri2 screen
libEGL warning: pci id for fd 26: 10de:2c02, driver (null)

eglinfo: eglInitialize failed

Device #2:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: AMD
OpenGL core profile renderer: AMD Ryzen 9 9950X 16-Core Processor (radeonsi, raphael_mendocino, LLVM 21.1.6, DRM 3.64, 6.18.3-arch1-1)
OpenGL core profile version: 4.6 (Core Profile) Mesa 25.3.3-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: AMD
OpenGL compatibility profile renderer: AMD Ryzen 9 9950X 16-Core Processor (radeonsi, raphael_mendocino, LLVM 21.1.6, DRM 3.64, 6.18.3-arch1-1)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 25.3.3-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: AMD
OpenGL ES profile renderer: AMD Ryzen 9 9950X 16-Core Processor (radeonsi, raphael_mendocino, LLVM 21.1.6, DRM 3.64, 6.18.3-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.3.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #3:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES 
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 21.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 25.3.3-arch1.1
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 21.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 25.3.3-arch1.1
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 21.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 25.3.3-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.2
[leela] 12:58:42 /home/chris % vulkaninfo --summary
==========
VULKANINFO
==========

Vulkan Instance Version: 1.4.335


Instance Extensions: count = 25
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_maintenance1            : extension revision 1
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1
VK_NV_display_stereo                   : extension revision 1

Instance Layers: count = 6
--------------------------
VK_LAYER_NV_optimus               NVIDIA Optimus layer         1.4.325  version 1
VK_LAYER_NV_present               NVIDIA Presentation Layer    1.4.325  version 1
VK_LAYER_VALVE_steam_fossilize_32 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64 Steam Pipeline Caching Layer 1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32   Steam Overlay Layer          1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64   Steam Overlay Layer          1.3.207  version 1

Devices:
========
GPU0:
        apiVersion         = 1.4.325
        driverVersion      = 590.48.1.0
        vendorID           = 0x10de
        deviceID           = 0x2c02
        deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
        deviceName         = NVIDIA GeForce RTX 5080
        driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
        driverName         = NVIDIA
        driverInfo         = 590.48.01
        conformanceVersion = 1.4.3.0
        deviceUUID         = e5c69b93-d790-aa79-0de5-350420e9fcf0
        driverUUID         = cacc304f-7167-5cf5-a6bd-293f0657ef84
[leela] 13:00:06 /home/chris % nvidia-smi
Fri Jan  9 13:00:08 2026       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 590.48.01              Driver Version: 590.48.01      CUDA Version: 13.1     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 5080        Off |   00000000:01:00.0  On |                  N/A |
|  0%   35C    P5             16W /  360W |    1793MiB /  16303MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2651      G   /usr/lib/Xorg                            69MiB |
|    0   N/A  N/A            2717      G   /usr/bin/ksecretd                         4MiB |
|    0   N/A  N/A            2785      G   /usr/bin/kwin_wayland                   274MiB |
|    0   N/A  N/A            2840      G   /usr/bin/Xwayland                         6MiB |
|    0   N/A  N/A            2862      G   /usr/bin/ksmserver                        4MiB |
|    0   N/A  N/A            2864      G   /usr/bin/kded6                            4MiB |
|    0   N/A  N/A            2882      G   /usr/bin/plasmashell                    243MiB |
|    0   N/A  N/A            2955      G   /usr/bin/kaccess                          4MiB |
|    0   N/A  N/A            2956      G   ...it-kde-authentication-agent-1          4MiB |
|    0   N/A  N/A            3047      G   /usr/bin/kdeconnectd                      4MiB |
|    0   N/A  N/A            3132      G   /usr/lib/DiscoverNotifier                 4MiB |
|    0   N/A  N/A            3133      G   /usr/bin/kalendarac                       4MiB |
|    0   N/A  N/A            3141      G   /usr/bin/kmix                             4MiB |
|    0   N/A  N/A            3237      G   /usr/bin/konsole                          4MiB |
|    0   N/A  N/A            3444      G   /opt/google/chrome/chrome                 4MiB |
|    0   N/A  N/A            3501      G   ...rack-uuid=3190708988185955192        224MiB |
|    0   N/A  N/A            3505      G   /usr/bin/kwalletd6                        4MiB |
|    0   N/A  N/A            3754      G   ...asma-browser-integration-host          4MiB |
|    0   N/A  N/A            4208      G   /usr/bin/krunner                         12MiB |
|    0   N/A  N/A            4511      G   /usr/lib/baloorunner                      4MiB |
|    0   N/A  N/A            4644      G   .../thunderbird-beta/thunderbird        227MiB |
+-----------------------------------------------------------------------------------------+
[leela] 13:00:19 /home/chris % sudo glxinfo -B
[sudo] password for chris: 
name of display: :1
display: :1  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16303 MB
    Total available memory: 16303 MB
    Currently available dedicated video memory: 13995 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 5080/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 590.48.01
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  146 ()
  Minor opcode of failed request:  5
  Resource id in failed request:  0x1000003
  Serial number of failed request:  56
  Current serial number in output stream:  57

I'm sorry but I have no idea what this means:

... in case you're running into this because you're defaulting your regular user to PRIME (but the relevant environment isn't preserved by sudo)

Offline

Board footer

Powered by FluxBB