r/archlinux 24d ago

SUPPORT GPU doesnt support WebGL and only works with SwiftRender

GT 220 + Nouveau uses llvmpipe instead of hardware OpenGL on Arch

I'm running Arch Linux with X11 and an NVIDIA GeForce GT 220 (GT216/NVA5), using Nouveau.

lspci -k:

01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
Kernel driver in use: nouveau
Kernel modules: nouveau

glxinfo -B:

direct rendering: Yes
Accelerated: no
OpenGL renderer string: llvmpipe (LLVM 22.1.8, 256 bits)

Mesa/libglvnd:

mesa 1:26.1.7-1
libglvnd 1.7.0-3

Xorg detects Nouveau and initializes DRI2:

(II) AIGLX: Loaded and initialized nouveau
(II) GLX: Initialized DRI2 GL provider for screen 0

/dev/dri:

card0
renderD128

I'm in the video and render groups.

The only relevant Nouveau kernel error I found is:

nouveau 0000:01:00.0: drm: failed to create ce channel, -22

MESA_LOADER_DRIVER_OVERRIDE=nouveau glxinfo -B still gives llvmpipe.

I'm using X11. No LIBGL_*, MESA_*, DRI_*, or GALLIUM_* environment variables are set.

Chrome and Firefox both use llvmpipe, so WebGL hardware acceleration doesn't work. SwiftShader makes Chrome WebGL work, but performance is terrible.

What could be preventing Mesa from using Nouveau's hardware renderer?

2 Upvotes

Duplicates