Gnome slow, GLUT fast
Posted: 29.10.2008, 22:25
Hi!
I am having a frustrating time with Celestia. I installed Celestia 1.5.0-1 on Ubuntu 8.04, both Gnome and GLUT frontends. Both worked for a little while, then Gnome dropped to 0.3fps, with menus taking more than 5 seconds to display. GLUT stayed at 200fps. Thinking it was a config problem, I deleted the Celestia entry under ~/.gconf and suddenly the Gnome version was super fast again.
Then I decided to try compiling 1.5.1 . I compiled Gnome, GTK and GLUT versions. Only GLUT worked, Gnome and GTK were at 0.3fps, the same as before. This time there was nothing under .gconf to delete. There seems to be no way to set velocity or turn on comet orbits or run scripts in the GLUT version. Much documentation lists command-line options that don't exist. --url and -gldebug don't work with any of the versions and there seems to be no log file - OH, I just discovered a log file in /tmp/celestia-shaders.log using strace... but it's empty. I resorted to the 'strings' command to guess command line options but that was no help. I'll have to look at the source.
Strangely, as I type this, the GTK version is now fast (60fps). Gnome is still slow. A few minutes ago the GTK version was unusable. GLUT is still up at 200fps.
Its all very perplexing! I am downloading the latest SVN version to try that now.
I wouldn't mind using the GLUT version exclusively if I could just get some of the functions to work.
My system:
Compaq 6730b laptop with display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07). No other OpenGL programs have been slow (Oolite runs well) direct rendering is enabled.
Details (lspci -vvnn):
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
Subsystem: Hewlett-Packard Company Unknown device [103c:30dd]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at 98400000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
I am willing to do detailed debugging if someone wants to help me with this.
I am having a frustrating time with Celestia. I installed Celestia 1.5.0-1 on Ubuntu 8.04, both Gnome and GLUT frontends. Both worked for a little while, then Gnome dropped to 0.3fps, with menus taking more than 5 seconds to display. GLUT stayed at 200fps. Thinking it was a config problem, I deleted the Celestia entry under ~/.gconf and suddenly the Gnome version was super fast again.
Then I decided to try compiling 1.5.1 . I compiled Gnome, GTK and GLUT versions. Only GLUT worked, Gnome and GTK were at 0.3fps, the same as before. This time there was nothing under .gconf to delete. There seems to be no way to set velocity or turn on comet orbits or run scripts in the GLUT version. Much documentation lists command-line options that don't exist. --url and -gldebug don't work with any of the versions and there seems to be no log file - OH, I just discovered a log file in /tmp/celestia-shaders.log using strace... but it's empty. I resorted to the 'strings' command to guess command line options but that was no help. I'll have to look at the source.
Strangely, as I type this, the GTK version is now fast (60fps). Gnome is still slow. A few minutes ago the GTK version was unusable. GLUT is still up at 200fps.
Its all very perplexing! I am downloading the latest SVN version to try that now.
I wouldn't mind using the GLUT version exclusively if I could just get some of the functions to work.
My system:
Compaq 6730b laptop with display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07). No other OpenGL programs have been slow (Oolite runs well) direct rendering is enabled.
Details (lspci -vvnn):
00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)
Subsystem: Hewlett-Packard Company Unknown device [103c:30dd]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Region 0: Memory at 98400000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [d0] Power Management version 3
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
I am willing to do detailed debugging if someone wants to help me with this.