Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualVincent_M

Posted 18 February 2014 - 11:38 AM

I built the basic shell to my GLUT OpenGL app for a Debian VM using LightDM and OpenBox. The code compiles, but I'll get a seg fault right after the terminal tells me "XGetVisualsInfo returns 0 visuals for 0xXXXXXX". Some Googling revealed that there could be 3D acceleration issues with the VM's settings (I'm using VirtualBox). I downloaded and ran Super Tux and Super Tux Kart, which both run fine, and in full screen. They both appear to be using SDL.

 

I'm unable to post the source right now, but I can later on if needed.

 

EDIT: I solved this issue. This happens on my VM when I enable 3D acceleration. If I disable it, I don't have any problems. I also realized that I installed the wrong graphics drivers on my VM when setting up a desktop environment. I installed Intel drivers on my VM since it was to be a testbed for my i3 + HD4000 NUC. I'd would probably have to install the correct drivers to get the benefits of the 3D hardware.


#1Vincent_M

Posted 17 February 2014 - 04:45 PM

I built the basic shell to my GLUT OpenGL app for a Debian VM using LightDM and OpenBox. The code compiles, but I'll get a seg fault right after the terminal tells me "XGetVisualsInfo returns 0 visuals for 0xXXXXXX". Some Googling revealed that there could be 3D acceleration issues with the VM's settings (I'm using VirtualBox). I downloaded and ran Super Tux and Super Tux Kart, which both run fine, and in full screen. They both appear to be using SDL.

 

I'm unable to post the source right now, but I can later on if needed.


PARTNERS