maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] Xomap with OpenGL and USB mouse support? (https://talk.maemo.org/showthread.php?t=23086)

Capn_Fish 2008-08-23 00:46

[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.

pycage 2008-08-23 09:55

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/

Capn_Fish 2008-08-23 15:04

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.

pycage 2008-08-23 16:13

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.

lardman 2008-08-23 17:20

Re: Xomap with OpenGL and USB mouse support?
 
http://www.unrealvoodoo.org/hiteck/projects/maemo/

Might be worth a look, or an ask.

qole 2008-08-23 18:16

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.

Capn_Fish 2008-08-25 05:01

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!

fatalsaint 2008-08-25 05:33

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.

Capn_Fish 2008-08-27 16:37

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?

qole 2008-08-27 17:16

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.


All times are GMT. The time now is 09:22.

vBulletin® Version 3.8.8