![]() |
[Debian] Xomap with OpenGL and USB mouse support?
Could somebody compile an X server with OpenGL support (I know it's not accelerated, I just want to be able to do simple OpenGL dev work on my tablet) and USB mouse support (if it needs to be enabled at compile-time)? I tried (on my N810 running Debian), but got errors, and I don't have Scratchbox set up ATM.
Thanks in advance. |
Re: Xomap with OpenGL and USB mouse support?
Non-accelerated OpenGL doesn't need a special X-server. The Mesa project provides a free OpenGL-compliant implementation.
http://www.mesa3d.org/ |
Re: Xomap with OpenGL and USB mouse support?
I know that, but it DOES need stuff like GLX/DRI or whatever extensions (which is the error I got trying to run a simple OpenGL app I wrote), unless I'm mistaken? I'm still new to OpenGL.
|
Re: Xomap with OpenGL and USB mouse support?
No, AFAIK GLX/DRI is only needed when running hardware-accelerated OpenGL. But I'm not an OpenGL expert either.
|
Re: Xomap with OpenGL and USB mouse support?
|
Re: Xomap with OpenGL and USB mouse support?
I've run OpenGL stuff with mesa sw renderer. Slow as heck, but it only uses standard Debian packages and xomap.
http://farm4.static.flickr.com/3080/...81fe4ed0_o.png got about 10 fps... You need the libgl1-mesa-swx11 package. |
Re: Xomap with OpenGL and USB mouse support?
OK, cool! I should have known I was missing a package...
Now how about USB mouse support? Does the standard build support that too? Thanks a lot! |
Re: Xomap with OpenGL and USB mouse support?
I had to load the same usbMouse.deb package that is floating around here for Maemo to get mouse support.. and it was really slow and shakey.. and everytime I clicked the left mouse button it clicked 2-3 times.. was very annoying.
|
Re: Xomap with OpenGL and USB mouse support?
If the mouse is buggy, I don't care to use it. Seems like one more thing Nokia ruined on these tablets...
On the topic of OpenGL, I still get a "glx extension not supported on display :0.0" message when I try to run my OpenGL app (not the exact error, but close enough). Do I need to do anything special to use Mesa? |
Re: Xomap with OpenGL and USB mouse support?
No, seriously, OpenGL should work with the Mesa software renderer, just slowly. Simple shapes should be fine, however. Maybe install an OpenGL game (I installed Armagetron) and let it pull in all of the right dependencies for you. If the game ... erm, ... "runs" (if you can call 2 fps "running" :D ), then you've got things set up right.
|
Re: Xomap with OpenGL and USB mouse support?
Quote:
:D |
Re: Xomap with OpenGL and USB mouse support?
I installed mesa-utils and armagetron, but glxgears says that "the extention "GLX" is missing from display :0.0"
Perhaps I have a package installed that's overriding the Mesa usage? |
Re: Xomap with OpenGL and USB mouse support?
Hmm, are you sure you don't need to recompile some part of the Xserver? Extension GLX sounds awfully like you do.
|
Re: Xomap with OpenGL and USB mouse support?
From the debian/rules of the diablo xserver:
--disable-xgl ... \ --disable-glx --disable-dri I think I can safely rule that the xserver doesn't ship with opengl support :P. |
Re: Xomap with OpenGL and USB mouse support?
Which brings back my original question: Would somebody be willing to compile one with OpenGL support?
|
Re: Xomap with OpenGL and USB mouse support?
OK, if that's true, then it works on mine because I have the rotation-enabled xserver. It must also have the glx extension. That's what you wanna grab.
|
Re: Xomap with OpenGL and USB mouse support?
glx is not needed. You need libgl1-mesa-swx11, libosmesa6 pure software renderer. glxgears runs at 10 fps, one game which I tried run at <1 fps.
|
All times are GMT. The time now is 15:11. |
vBulletin® Version 3.8.8