|
|
|
 |

October 25th, 2006, 04:22 AM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
Could you list the output of the commands "ldd ~/dominions3/dom3" and "ldd `which glxgears`"?
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

October 25th, 2006, 05:13 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
Sure.
[duchon RandomFPL]$ ldd `which dom3`
linux-gate.so.1 => (0x001eb000)
libGL.so.1 => /usr/lib/libGL.so.1 (0x00278000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00886000)
libpthread.so.0 => /lib/libpthread.so.0 (0x007f5000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x0455c000)
libc.so.6 => /lib/libc.so.6 (0x005a1000)
libm.so.6 => /lib/libm.so.6 (0x006cd000)
libdl.so.2 => /lib/libdl.so.2 (0x006f3000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x007e4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00113000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00a0d000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x009da000)
/lib/ld-linux.so.2 (0x00583000)
[duchon RandomFPL]$ ldd `which glxgears`
linux-gate.so.1 => (0x00c1c000)
libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x008bf000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x007e4000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0070e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x007f5000)
libm.so.6 => /lib/libm.so.6 (0x006cd000)
libc.so.6 => /lib/libc.so.6 (0x005a1000)
libdl.so.2 => /lib/libdl.so.2 (0x006f3000)
/lib/ld-linux.so.2 (0x00583000)
|

October 25th, 2006, 05:28 AM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
There's your problem. Dominions link to a different version of the OpenGL libraries than GLXgears do. Most likely the version in /usr/lib/ is the Mesa software-based version. I'm not sure how to sort it -- you can try to move all files starting with libGL under /usr/lib to a backup directory and see if that sorts it. It might cause some issues, in which case you'll have to copy the files back again.
I also notice that neither program depends on the libnvidia-tls library, so am I right in assuming that you haven't installed NVidia's own Linux drivers on your system?
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

October 25th, 2006, 06:21 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
Quote:
Leif_- said:
There's your problem. Dominions link to a different version of the OpenGL libraries than GLXgears do. Most likely the version in /usr/lib/ is the Mesa software-based version. I'm not sure how to sort it -- you can try to move all files starting with libGL under /usr/lib to a backup directory and see if that sorts it. It might cause some issues, in which case you'll have to copy the files back again.
|
Will try that. Nice to have an expert on board
Quote:
I also notice that neither program depends on the libnvidia-tls library, so am I right in assuming that you haven't installed NVidia's own Linux drivers on your system?
|
Well, considering this laptop happens to have an ATI graphic card, this seems reasonable to me...
|

October 25th, 2006, 06:34 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
I tried moving the /usr/lib/libGL* files to another directory, and now ldd `which dom3` reports the same libGL.so.1 link as glxgears uses, but dom3 graphics on the title page are still just as slow.
Running the video preferences, the terrain just doesn't show at all (black background), and the FPS are almost as low (9 FPS on lowest setting). The "Benchmark" reports 130 FPS, only I get a (sky-)blue screen.
In other words, it's not much better 
|

October 25th, 2006, 06:39 AM
|
Sergeant
|
|
Join Date: Sep 2003
Location: Norway
Posts: 346
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
Hmm. Strange. The only other piece of advice I can give you is to try and reinstall the hardware driver for your video card. That sometimes clears up weird bits like that.
__________________
"Freefall, my old nemesis! All I have to do is activate my compressed gas rocket boots and I will cheat you once again! Belt control ON!…On?" [i]Othar Trygvasson[i]
|

October 25th, 2006, 08:20 AM
|
 |
Major General
|
|
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
|
|
Re: Very poor performance under Linux
Quote:
PhilD said:
The "Benchmark" reports 130 FPS, only I get a (sky-)blue screen.
|
Did you turn off "animated backgrounds" (-a) ?
Though this was fixed, but it is not for the Linux version, somehow..
18th august
* Version 3.00
15th august
* Battle graphics settings screen always runs with background on.
__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
|

October 25th, 2006, 09:19 AM
|
 |
First Lieutenant
|
|
Join Date: Sep 2003
Location: Bordeaux, France
Posts: 794
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
I tried playing with the command-line switches, and nothing seems to make things better. The -x switch does make graphics faster, but then the terrain doesn't show up at all during battles (I get a few unit sprites on a black background), and main screen display is messed up.
|

July 18th, 2007, 01:52 PM
|
Private
|
|
Join Date: Oct 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Very poor performance under Linux
Has this been resolved? I note this thread is 6 months old. I have the identical to problem to Chazar (above, who happily resolved my dom2 issue).
|
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|