Segmentation Fault: "XGetVisualsInfo returns 0"

Started by
-1 comments, last by Vincent_M 10 years, 2 months ago

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.

This topic is closed to new replies.

Advertisement