Skip to content

Wayland using llvmpipe for rendering instead of Nvidia GPU #2612

@LordHDL

Description

@LordHDL

What Happened?

When I login using Wayland, I'm unable to get any high performance from the GPU. glxinfo reports that the system is using llvmpipe from Mesa instead of the GPU, for which I have tried both proprietary and open drivers.

For context, logging in with "Classic Session" and X11 uses my GPU and I'm able to get accelerated graphics, but I get a separate issue that negatively impacts gaming. The X11 issue does not exist with Wayland, but then I run into the above problem. I am new to Linux and this installation is a week old.

Steps to Reproduce

  1. Installed Nvidia drivers (currently using 580)
  2. Rebooted and logged into Wayland
  3. Run demanding graphics app, like a 3D game (in this case I have tried both native Linux games and Wine)

Expected Behavior

Nvidia GPU is used for graphically intense apps.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland)

Software Version

Latest release (I have run all updates)

Log Output

`glxinfo | grep render
direct rendering: Yes
    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 renderer string: llvmpipe (LLVM 20.1.2, 256 bits)
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_alpha_to_coverage_dither_control, GL_NV_conditional_render, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_copy_depth_to_color, 
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control, 
    GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,`

And this:

`glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Mesa (0xffffffff)
    Device: llvmpipe (LLVM 20.1.2, 256 bits) (0xffffffff)
    Version: 25.0.7
    Accelerated: no
    Video memory: 48072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 0 MB, largest block: 0 MB
    VBO free aux. memory - total: 43700 MB, largest block: 43700 MB
    Texture free memory - total: 0 MB, largest block: 0 MB
    Texture free aux. memory - total: 43700 MB, largest block: 43700 MB
    Renderbuffer free memory - total: 0 MB, largest block: 0 MB
    Renderbuffer free aux. memory - total: 43700 MB, largest block: 43700 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 0 MB
    Total available memory: 48072 MB
    Currently available dedicated video memory: 0 MB
OpenGL vendor string: Mesa
OpenGL renderer string: llvmpipe (LLVM 20.1.2, 256 bits)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 25.0.7-0ubuntu0.24.04.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.5 (Compatibility Profile) Mesa 25.0.7-0ubuntu0.24.04.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.7-0ubuntu0.24.04.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20`

nvidia-smi

`nvidia-smi
Thu Oct 30 15:19:40 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05              Driver Version: 580.95.05      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| 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 3070 Ti     On  |   00000000:09:00.0  On |                  N/A |
|  0%   39C    P8             14W /  290W |     396MiB /   8192MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI              PID   Type   Process name                        GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A            2909      G   /usr/bin/gnome-shell                    110MiB |
|    0   N/A  N/A            3138    C+G   /usr/bin/io.elementary.appcenter         22MiB |
|    0   N/A  N/A            4391      G   /app/lib/librewolf/librewolf            197MiB |
+-----------------------------------------------------------------------------------------+`

Hardware Info

Driver version is currently 580.95.05, and the GPU is Nvidia RTX 3070 Ti.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions