amonakov / primus

Low-overhead client-side GPU offloading
ISC License
216 stars 20 forks source link

Threaded openGL #200

Open 12crowns opened 6 years ago

12crowns commented 6 years ago

OS: linux NV driver: 390.25

X-Plane 11 will not run using primus. It needs threaded openGL Error: WARNING: could not set vsync - this machine's video drivers do not support the extension glXSwapIntervalSGI. X-System Error: X-Plane cannot run on your machine because it is missing needed GLX extensions. You must have GLX_SGIX_fbconfig and GLX_SGIX_pbuffer available to run X-Plane 11. Sorry.

GLX_SGIX_fbconfig and GLX_SGIX_pbuffer are available according to glxinfo

X-Plane 11 runs fine using xrandr graphics offloading https://us.download.nvidia.com/XFree86/Linux-x86/375.39/README/randr14.html

Thanks

juliotux commented 6 years ago

Same problem here.

coot commented 5 years ago

I get the same problem using nvidia-drivers-418.56. When I run through opriun -v I also get the following warning:

WARNING: could not set vsync - this machine's video drivers do not support the extension glXSwapIntervalSGI.

It also seems my card/nvidia-driver supports both GLX_SGIX_fbconfig and GLX_SGIX_pbuffer:

optirun glxinfo          
name of display: :1
display: :1  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
server glx extensions:
    ...
    GLX_NV_swap_group, GLX_NV_video_capture, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGI_swap_control, GLX_SGI_video_sync
schenlap commented 2 years ago

Same problem here with debian, could anyone solve the issue yet?

optirun -vv ./X-Plane-x86_64 --verbose --force_run

[53949.703938] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[53949.704239] [DEBUG]optirun version 3.2.1 starting...
[53949.704248] [DEBUG]Active configuration:
[53949.704251] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[53949.704254] [DEBUG] X display: :8
[53949.704257] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
[53949.704261] [DEBUG] Socket path: /var/run/bumblebee.socket
[53949.704265] [DEBUG] Accel/display bridge: auto
[53949.704269] [DEBUG] VGL Compression: proxy
[53949.704273] [DEBUG] VGLrun extra options: 
[53949.704280] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[53949.704331] [DEBUG]Using auto-detected bridge primus
[53950.233439] [INFO]Response: Yes. X is active.

[53950.233453] [INFO]Running application using primus.
[53950.233636] [DEBUG]Process ./X-Plane-x86_64 started, PID 121547.
WARNING: could not set vsync - this machine's video drivers do not support the extension glXSwapIntervalSGI.
[53956.538678] [DEBUG]SIGCHILD received, but wait failed with No child processes
[53956.538751] [DEBUG]Socket closed.
[53956.538795] [DEBUG]Killing all remaining processes.