Help - Search - Members - Calendar
Full Version: "couldn't Find Matching Glx Visual"
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Debian
Capn_Fish
I wrote a small OpenGL/SDL app that I compiled on my Z. It build without complaint, but when I tried to run it, it said

CODE
Couldn't find matching GLX visual


Am I missing a package? Or is a package already installed just not configured with OpenGL?

Thanks.
cortez
I had the same problem with the Ubuntu UME launcher. I replaced the xserver-kdrive by xserver-xorg and used the glx module.
At least that works. I don't know of any other options
Capn_Fish
I kind of figured that that was the case. Oh, well...
canguy247
How much slower do things run with xorg?

Canguy
Capn_Fish
I just installed Xorg (apt-get install xorg-core, I believe), but it doesn't work correctly:

-The mouse is weird (you tap 50% off center of the screen, and it registers as being tapped on the very edge)
-I can't get it to start with "startx," even after linking it to /usr/bin/X, Xfbdev still loads
-When I try to run "/usr/bin/Xorg & sh ~/.xinitrc," it crashes saying "FBIOPUT_VSCREENINFO succeeded but modified mode" and "mode initialization failed"

Could somebody post a how-to?

Thanks.

EDIT: It also says "Xlib: extension "RANDR" missing on display ":0.0"
radiochickenwax
QUOTE(Capn_Fish @ Oct 5 2008, 08:02 PM) *
I just installed Xorg (apt-get install xorg-core, I believe), but it doesn't work correctly:
-I can't get it to start with "startx," even after linking it to /usr/bin/X, Xfbdev still loads


I had the above problem.

Changed ~/.xserverrc

to exec "Xorg" instead of "Xfbdev" and Xorg works instead. Much nicer,and much much heavier. Fonts are nicer, opengl/mesa works, but really slow.

glxgears gives about 15 fps max, and more like 4 fps average at a guess. Everything is prettier though. This works a lot smoother than debian's prebuilt binary in pdaxrom and probably angstrom too. How did they do it?

QUOTE(Capn_Fish @ Oct 5 2008, 08:02 PM) *
Could somebody post a how-to?


I second this. A how-to would be nice. A rebuilt xserver/drivers would be very nice.

http://www.linuxfromscratch.org/blfs/view/svn/x/x-setup.html

http://www.linuxfromscratch.org/blfs/view/...installing.html

The 2 links above have some info on rebuilding, but I can't afford to tie my machine up that long.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.