GLX/EGL X11 clients of Xmir get software rendered (LLVMpipe)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg-server (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
GLX clients of Xmir get software rendered (LLVMpipe). No idea why...
$ glxinfo | grep OpenGL
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)
OpenGL version string: 3.0 Mesa 10.6.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
$ glmark2
** GLX does not support GLX_EXT_
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======
glmark2 2014.03+
=======
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: Gallium 0.4 on llvmpipe (LLVM 3.6, 256 bits)
GL_VERSION: 3.0 Mesa 10.6.3
=======
Still, LLVMpipe rocks and things are generally smooth.
WORKAROUND:
$ sudo chown $USER /dev/dri/*
Changed in xorg-server (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Triaged |
description: | updated |
Found the problem. It's just the GLX/EGL clients don't have correct permissions configured to access /dev/dri/*
If you run your GLX apps with sudo, it works and you get full hardware acceleration.