#42 Can't set Video Mode - SDL apps only

closed-works-for-me
DRC
VirtualGL (44)
5
2013-07-24
2012-03-10
dunric
No

Hi,

I did installed bumblebee 3.0, bbswitch 0.4.1, nvidia-bumblebee drivers 295.20, VirtualGL 2.3 and SDL 1.2.14 .

Pure OpenGL apps like glxspheres do work:

[INFO]Running application through vglrun.
[DEBUG]Process vglrun started, PID 5890.
Polygons in scene: 62464
Visual ID of window: 0x21
Context is Direct
OpenGL Renderer: GeForce GT 540M/PCIe/SSE2
122.324255 frames/sec - 81.196394 Mpixels/sec

The issue is with games written with SDL libraries like XMoto or BZFlag:

dunric@myhost:~$ optirun -vv bzflag
[DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[DEBUG]Process /sbin/modinfo started, PID 1883.
[DEBUG]Hiding stderr for execution of /sbin/modinfo
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Detected nvidia driver (module nvidia)
[DEBUG]Active configuration:
[DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[DEBUG] X display: :8
[DEBUG] LD_LIBRARY_PATH: /usr/lib64/nvidia-bumblebee:/usr/lib/nvidia-bumblebee
[DEBUG] Socket path: /var/run/bumblebee.socket
[DEBUG] VGL Compression: proxy
[DEBUG]optirun version 3.0 starting...
[INFO]Response: Yes. X is active.
[INFO]Running application through vglrun.
[DEBUG]Process vglrun started, PID 1888.
Could not set Video Mode: Couldn't find matching GLX visual.
[DEBUG]SIGCHILD received, but wait failed with No child processes
[DEBUG]Socket closed.
[DEBUG]Killing all remaining processes.

Every case fails with "Could not set Video Mode: Couldn't find matching GLX visual." error message.

Any idea what's wrong ?

Discussion

  • dunric

    dunric - 2012-03-12

    Unfortunately even with latest SVN version of VirtualGL the issue persists - "Could not set Video Mode: Couldn't find matching GLX visual." error message.

     
  • DRC

    DRC - 2012-03-12

    Please attach a simple SDL application that reproduces the failure and indicate what operating system you are running. We have no other reports of SDL issues since fixing the bug I linked to below (nor can I personally reproduce any issues), so there must be something different about your system.

     
  • DRC

    DRC - 2012-05-25

    Any word on this?

     
  • DRC

    DRC - 2013-07-24

    Problem reproduced. Apparently this just occurs on GeForce hardware. Doesn't occur on Quadro. Investigating.

     
  • DRC

    DRC - 2013-07-24

    Hmmm... Well, I think I might have been seeing a different issue from the one you described. In my case, the issue was that I had an improper xorg.conf file. My xorg.conf was still referencing the ATI driver, even though I was running nVidia hardware. I run Ubuntu 12.04 off of an external USB drive, and for whatever reason, it worked fine on my Quadro-based system, even with the errant xorg.conf file, but when I booted on my GeForce-based system, every OpenGL app (not just SDL-based ones) failed.

    Once I ran 'nvidia-xconfig' to create a new xorg.conf and restarted the system, everything worked properly, and I could successfully run xmoto and bzflag in VGL and TurboVNC. So I guess unless there is any further information, at the moment this falls into the "works for me" category.

     
  • DRC

    DRC - 2013-07-24
    • status: open --> closed-works-for-me
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks