New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VirtualGL stopped working after Fedora 29 to 30 upgrade #102
Comments
You are using Fedora's distribution of VirtualGL, not ours. Please try our official package. If that works but Fedora's doesn't, then this is their bug. |
Thanks for the update, I didn't know your official package was a thing! The window manager and Firefox work alright now, Chrome fails: $ rpm -q VirtualGL
VirtualGL-2.6.1-20190101.x86_64 $ google-chrome --version
Google Chrome 74.0.3729.131 $ VGL_VERBOSE=1 google-chrome
[VGL] Shared memory segment ID for vglconfig: 109150228
[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
[VGL] Shared memory segment ID for vglconfig: 109215785
[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
[VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("libvglfaker.so")
[VGL] Opening connection to 3D X server :0
[VGL] Selecting structure notify events in window 0x04c00002
[VGL] Using Pbuffers for rendering
[6349:6349:0506/174854.543138:ERROR:gl_surface_glx.cc(809)] Failed to get GLXConfig
[6349:6349:0506/174854.543197:ERROR:gpu_info_collector.cc(51)] gl::GLContext::CreateOffscreenGLSurface failed
[6349:6349:0506/174854.543204:ERROR:gpu_info_collector.cc(181)] Could not create surface for info collection.
[6349:6349:0506/174854.543212:ERROR:gpu_init.cc(62)] gpu::CollectGraphicsInfo failed.
[6349:6349:0506/174854.545469:ERROR:viz_main_impl.cc(170)] Exiting GPU process due to errors during initialization If I try to follow advice from https://cdn.rawgit.com/VirtualGL/virtualgl/2.6.1/doc/index.html the error message is different: $ VGL_DEFAULTFBCONFIG=GLX_ALPHA_SIZE,8 VGL_VERBOSE=1 google-chrome
[VGL] Shared memory segment ID for vglconfig: 116260891
[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
[VGL] Shared memory segment ID for vglconfig: 116293664
[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
[VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("libvglfaker.so")
[VGL] Opening connection to 3D X server :0
[10049:10049:0506/175538.683005:ERROR:gl_surface_glx.cc(127)] Failed to get GLXConfig
[10049:10049:0506/175538.683153:ERROR:gl_surface_glx.cc(447)] CreateDummyWindow(gfx::GetXDisplay()) failed
[10049:10049:0506/175538.683191:ERROR:gl_initializer_x11.cc(147)] GLSurfaceGLX::InitializeOneOff failed.
[10049:10049:0506/175538.693019:ERROR:viz_main_impl.cc(170)] Exiting GPU process due to errors during initialization
[VGL] Shared memory segment ID for vglconfig: 116424737
[VGL] VirtualGL v2.6.1 64-bit (Build 20190101) but still no OpenGL. (again, before the update it worked out of box, without any workarounds). Thanks in advance for any suggestions! |
Try the 2.6.x stable pre-release build: There are several visual matching fixes in that build relative to 2.6.1, and one of those fixes may be affecting the issue you're experiencing with Chrome. |
All good now, thanks! Running Chrome causes this error: $ rpm -q VirtualGL
VirtualGL-2.6.2-20190418.x86_64 $ VGL_VERBOSE=1 google-chrome
[VGL] Shared memory segment ID for vglconfig: 131039260
[VGL] VirtualGL v2.6.2 64-bit (Build 20190418)
[VGL] Shared memory segment ID for vglconfig: 131072031
[VGL] VirtualGL v2.6.2 64-bit (Build 20190418)
[VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("libvglfaker.so")
[VGL] Opening connection to 3D X server :0
[VGL] Selecting structure notify events in window 0x03400002
[VGL] Using Pbuffers for rendering
[VGL] Selecting structure notify events in window 0x03400003
[VGL] Selecting structure notify events in window 0x03400004
[VGL] Selecting structure notify events in window 0x03400005
[27352:27352:0506/185434.076011:ERROR:sandbox_linux.cc(368)] InitializeSandbox() called with multiple threads in process gpu-process.
[VGL] Selecting structure notify events in window 0x03400006
[27352:27352:0506/185435.013379:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
[VGL] Using pixel buffer objects for readback (BGRA --> BGRA) which is something I haven't seen before, but it does not seem to affect anything, and WebGL pages work like they should. |
Urrr... I just noticed that you're not launching Chrome with VirtualGL, because you didn't use vglrun. |
I'm running the window manager using Running with |
Ah, yes it is. Sorry I didn't register that aspect of your setup. |
The easiest way to verify whether VirtualGL is active is to set |
I'm running a headless server with an integrated Intel graphics board using XRDP/Xorg and VirtualGL.
Some applications (Chrome, Firefox, the XFCE4 display manager itself) stopped working with OpenGL after upgrade from Fedora 29 to Fedora 30:
Chrome falls back to software rendering, Firefox does not render the WebGL parts, the window manager just refuses to start.
The demo apps (glxgears, glxspheres64 etc.) work alright, without any errors and with the hardware acceleration in effect.
The symptoms are exactly like in this post: #60, however mine is an XCFE4 over XRDP/Xorg, not SSH.
The exact same config (as far as I can tell) used to work before the upgrade. I didn't change any configuration files manually. All I did was run
dnf system-upgrade
When I attach the monitor to the machine and run the same programs on native X display (without VirtualGL of course), everything (Chrome, Firefox, the window manager) works smoothly and the hardware acceleration is in effect.
Running with the debug flag on shows this:
, however this symbol is indeed exported both by
/usr/lib64/libGL.so.1
and/usr/lib64/VirtualGL/libvglfaker.so
:$ nm -D /usr/lib64/VirtualGL/libvglfaker.so | egrep glXGetProcAddressARB 0000000000021920 T glXGetProcAddressARB
$ nm -D /usr/lib64/libGL.so.1 | egrep glXGetProcAddressARB 00000000000448a0 T glXGetProcAddressARB
Honestly I'm at loss here and don't know how to debug further.
Here's some system configs which might help:
vglrun +v glxinfo
cat /var/log/Xorg.0.log
lshw -c video
cat /etc/xrdp/xrdp.ini
The text was updated successfully, but these errors were encountered: