Summary: | x11-base/xorg-server-1.17.4 and x11-drivers/nvidia-drivers - broken OpenGL with ssh x11forwarding | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | yury fedorchenko <yfdrnchk> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jer, xdev52 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
yury fedorchenko
2015-12-10 09:08:05 UTC
Please add emerge --info. Created attachment 418922 [details]
emerge --info
Is this still a problem with current stable versions? yes, problem not solved. (In reply to yury fedorchenko from comment #4) > yes, problem not solved. What versions of xorg-server do not work? What version of nvidia-drivers are you using? last stable x11-drivers/nvidia-drivers-375.26 x11-base/xorg-server-1.18.4 starting from x11-base/xorg-server-1.17.4 ssh X11forwarding for opengl apps stoped work. I try another comp with current noueavu driver - all works. x11-base/xorg-server Latest version available: 1.19.2 x11-drivers/nvidia-drivers Latest version available: 378.13 It's because from xorg 1.7 parameter "iglx" is off so it disables indirect opengl... add +iglx to parameters when enabling X session but moreover I struggle now with intel + nvidia and bumblebee... root user has opengl and DRI but normal user (in video group) has not. I added to xorg.conf : Section "ServerFlags" Option "IndirectGLX" "on" Option "AllowIndirectGLXProtocol" "true" EndSection but still has some errors: optirun -vv glxinfo -B [ 2471.070584] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 2471.070724] [INFO]Configured driver: nvidia [ 2471.070861] [DEBUG]optirun version 3.2.1-2016-11-07-Format:%h$ starting... [ 2471.070872] [DEBUG]Active configuration: [ 2471.070880] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 2471.070889] [DEBUG] X display: :8 [ 2471.070897] [DEBUG] LD_LIBRARY_PATH: /usr/lib64/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/extensions [ 2471.070907] [DEBUG] Socket path: /var/run/bumblebee.socket [ 2471.070913] [DEBUG] Accel/display bridge: virtualgl [ 2471.070918] [DEBUG] VGL Compression: proxy [ 2471.070925] [DEBUG] VGLrun extra options: [ 2471.070932] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus [ 2471.828778] [INFO]Response: Yes. X is active. [ 2471.828802] [INFO]Running application using virtualgl. [ 2471.828916] [DEBUG]Process vglrun started, PID 14799. name of display: :0 [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :8 is indirect, which may cause performance to suffer. [VGL] If :8 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly. [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :8 is indirect, which may cause performance to suffer. [VGL] If :8 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly. display: :0 screen: 0 direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose) OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 540M/PCIe/SSE2 OpenGL version string: 3.0.0 NVIDIA 378.13 OpenGL shading language version string: 1.30 NVIDIA via Cg compiler OpenGL context flags: forward-compatible,robust-access Warning: GL error 0x500 at line 575 [ 2471.920314] [DEBUG]SIGCHILD received, but wait failed with No child processes [ 2471.920347] [DEBUG]Socket closed. [ 2471.920360] [DEBUG]Killing all remaining processes. I can't also change for permanent permissions for group video to r/w access to /dev/nvidia0 and nvidiactl ... still permision denied. (In reply to xdev52 from comment #7) > x11-base/xorg-server > Latest version available: 1.19.2 > > x11-drivers/nvidia-drivers > Latest version available: 378.13 > > It's because from xorg 1.7 parameter "iglx" is off so it disables indirect > opengl... > > add +iglx to parameters when enabling X session > > but moreover I struggle now with intel + nvidia and bumblebee... > root user has opengl and DRI but normal user (in video group) has not. > I added to xorg.conf : > > Section "ServerFlags" > Option "IndirectGLX" "on" > Option "AllowIndirectGLXProtocol" "true" > EndSection > > thanks. it's solve my problem Dang, right, I should have remembered that indirect GLX is disabled by default in >xorg-server-1.17. Sorry for not remembering. |