Author Topic: Stellarium For Rc11  (Read 3954 times)

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
Stellarium For Rc11
« on: October 05, 2005, 04:21:03 pm »
Hello everybody

I've posted this problem already on another thread, but I think it was probably the wrong one
(and it was too old) so I post again.

I tried to compile Stellarium, an application that needs opengl and sdl.
I used the cross-compiling sdk for rc11 and the program compiled fine.

However, when I try to run it on the my C750 I get the message:

sdl: Couldn't set 640x480 video mode (X11 driver not configured with OpenGL), retrying with stencil size 0
sdl: Couldn't set 640x480 video mode: X11 driver not configured with OpenGL!

(the message is the same for resolution 320x240).

glxinfo however reports that openGL is enabled and glxgears runs (although at a mere 17 fps).
I have also the "mesa3d" package installed.

You can find the ipk I made at stellarium_0.7.1_armv5tel.ipk if you want to have a try at it (it is a little heavy, 16MB, i didn't strip the constellation art and stuff...)

I would be really grateful for any help. Stellarium is a really cool "desktop planetarium" app, with a very beautiful rendition of the night sky (as seen from any point on earth).

Thanks for any pointers,
-grigoris
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

cs_jacky

  • Full Member
  • ***
  • Posts: 143
    • View Profile
    • http://
Stellarium For Rc11
« Reply #1 on: October 06, 2005, 07:41:43 pm »
Have you ever tried to run it without X server running? I cannot test it as I have not migrated to RC11 yet.

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Stellarium For Rc11
« Reply #2 on: October 06, 2005, 10:24:20 pm »
Stellarium is in my queue of things to try and compile.  Maybe I'll have better luck with it since I compile everything native on my 6000.

In the past, I have seen the same type of error if I try and run apps that need 640x480 when my display is in portrait mode fullscreen (480x640).  Usually, runnnig in a window or rotating the screen solved the problem.

On another note I was under the impression that openGL was for hardware accel where the graphic chip was supported.  Mesa is a software version/openGL compatible lib.  I don't think openGL will provide any benefit, so just go with mesa.  Someone correct me if this is wrong.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

sashz

  • Sr. Member
  • ****
  • Posts: 388
    • View Profile
    • http://
Stellarium For Rc11
« Reply #3 on: October 07, 2005, 12:29:19 am »
Quote
sdl: Couldn't set 640x480 video mode (X11 driver not configured with OpenGL), retrying with stencil size 0
sdl: Couldn't set 640x480 video mode: X11 driver not configured with OpenGL!


i think need patch sources like as bzflag, because TinyX server havent some specific function as full version XFree86.

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
Stellarium For Rc11
« Reply #4 on: October 07, 2005, 11:27:45 am »
Thanks for the responses.

I tried to run it on different orientations or outside X but with no success. I'll have a look in bzflag sources.

Is there a place where I could download the modified sources so that I understand what modifications must be made?

It is a pity that I can't get it to run, it is a really cool program!
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Stellarium For Rc11
« Reply #5 on: October 07, 2005, 12:19:12 pm »
Quote
Thanks for the responses.

I tried to run it on different orientations or outside X but with no success. I'll have a look in bzflag sources.

Is there a place where I could download the modified sources so that I understand what modifications must be made?

It is a pity that I can't get it to run, it is a really cool program!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

I've confirmed that it will not run.  I compiled the package and got the same results as you.  The reason is that there is no openGL support compiled into the pdaXrom X server.

Here are alternatives that may work.  I'll try some later and post the results.

[a href=\"http://clearskyinstitute.com/xephem/]http://clearskyinstitute.com/xephem/[/url]

http://www.astrotrf.net:8080/xsky_blurb.html

http://nova.sourceforge.net/

http://www.shatters.net/celestia/

http://openuniverse.sourceforge.net/
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1