Jump to content
  • Advertisement
Sign in to follow this  

OpenGL Segmentation Fault: "XGetVisualsInfo returns 0"

This topic is 2067 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Edited by Vincent_M

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!