Re: Removing in-race messages

Bernhard Wymann <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
Hi

Aha, I see something confusing:
plib seems to be a shared library on your system (I compile this statically, because plibs design is not intended for shared use), so this could be as well use mesa accidently, can you check this (just use "ldd" with the lib file)?
FX5200 with 128 MB should be ok if you run not too much cars and too texture rich tracks, so with one car on one nice track it should work like a charm.

I guess you have not enabled FSAA or something like that (did nvidia-settings already exist back with this drivers?), or do you disable explicitly direct rendering for applications (NVIDIA defines some environment variables which can set this, maybe you played with them, check with "env"? Maybe you can find some hints in the README of the nvidia driver package (there is a large problem solving section IIRC). Is you desktop set to 24bit color (I guess so, have not seen something else sine 10 years).  

Best regards

Bernhard

On Sep 2, 2012, at 16:02 , [email protected] wrote:

> 
> 
> 
> On Sat, Sep 1, 2012, at 02:51 PM, Bernhard Wymann wrote:
>> Hi
>> 
>> Hmm, hardware spec seems ok... weird. How many memory has your 5200, I 
>> guess at least 256MB, this is ok then... You could try to enable 
>> "texture compression" in the TORCS OpenGL settings, this helps 
>> potentially with the thin memory bus (I guess 64 bit) of the card.
>> 
>> When you run torcs -l, is torcs linked to the nvidia OpenGL library (it 
>> could be that you have OpenGL and Mesa installed, and TORCS is linked 
>> partially/completely with wrong libraries, I had this problem almost 10 
>> years ago with two conflicting GLU libraries on my system).
>> 
>> Do you have an OpenGL driven desktop in use or is the "composite 
>> extension of the x-server enabled, this caused on my systems trouble 
>> back then (GeForce3 and 5800 IIRC) with some old drivers?
>> 
>> Section "Extensions"
>>     Option         "Composite" "Enable" <-- Disable this eventually
>> EndSection
>> 
>> Do you have any otherwise special set up, Xinerama, some other multi 
>> screen set up, this can be troublesome as well?
>> 
>> Try to set the Display section to "compatible", do you have problems in 
>> Fullscreen and window mode (occasionly TORCS does not get an accelerated 
>> OpenGL context on buggy drivers/environments)?
>> 
>> After that I run out of ideas...
>> 
>> Best regards
>> 
>> Bernhard
>> 
>> 
> 
> Another update:
> 
> There was no "Composite" option in my xorg.conf, so I didn't change the
> file. Nor did the nvidia x server settings app I ran show anything
> related to compositing. I checked the libraries in /usr/lib, and there
> was a symbolic link libGL.so, which pointed to a mesa library instead of
> the nvidia library. Well, I removed the wrong symlink and created a new
> one to the libGl.so in /usr/lib/nvidia-173 folder (correct?), and then
> ran torcs -l with the following output:
> 
> 	linux-gate.so.1 =>  (0x00fbf000)
> 	libalut.so.0 => /usr/lib/libalut.so.0 (0x002e7000)
> 	libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x0089c000)
> 	libracescreens.so =>
> 	/home/myhome/torcs/lib/torcs/lib/libracescreens.so (0x00495000)
> 	librobottools.so =>
> 	/home/myhome/torcs/lib/torcs/lib/librobottools.so (0x00fc9000)
> 	libclient.so => /home/myhome/torcs/lib/torcs/lib/libclient.so
> 	(0x0048d000)
> 	libconfscreens.so =>
> 	/home/myhome/torcs/lib/torcs/lib/libconfscreens.so (0x00d40000)
> 	libtgf.so => /home/myhome/torcs/lib/torcs/lib/libtgf.so
> 	(0x00a31000)
> 	libtgfclient.so =>
> 	/home/myhome/torcs/lib/torcs/lib/libtgfclient.so (0x006f4000)
> 	libtxml.so => /home/myhome/torcs/lib/torcs/lib/libtxml.so
> 	(0x00110000)
> 	libplibul.so.1 => /usr/lib/libplibul.so.1 (0x005dc000)
> 	libraceengine.so =>
> 	/home/myhome/torcs/lib/torcs/lib/libraceengine.so (0x00ca2000)
> 	libmusicplayer.so =>
> 	/home/myhome/torcs/lib/torcs/lib/libmusicplayer.so (0x00eba000)
> 	liblearning.so =>
> 	/home/myhome/torcs/lib/torcs/lib/liblearning.so (0x00305000)
> 	libplibjs.so.1 => /usr/lib/libplibjs.so.1 (0x00b4c000)
> 	libplibssgaux.so.1 => /usr/lib/libplibssgaux.so.1 (0x00130000)
> 	libplibssg.so.1 => /usr/lib/libplibssg.so.1 (0x00fce000)
> 	libplibsm.so.1 => /usr/lib/libplibsm.so.1 (0x00bbb000)
> 	libplibsl.so.1 => /usr/lib/libplibsl.so.1 (0x00be0000)
> 	libplibsg.so.1 => /usr/lib/libplibsg.so.1 (0x00163000)
> 	libglut.so.3 => /usr/lib/libglut.so.3 (0x007af000)
> 	libGLU.so.1 => /usr/lib/libGLU.so.1 (0x001f5000)
> 	libGL.so.1 => /usr/lib/nvidia-173/libGL.so.1 (0x00a7d000)
> 	libpng12.so.0 => /lib/libpng12.so.0 (0x00512000)
> 	libz.so.1 => /lib/libz.so.1 (0x00176000)
> 	libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0x00811000)
> 	libopenal.so.1 => /usr/lib/libopenal.so.1 (0x0018b000)
> 	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00404000)
> 	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x001d9000)
> 	libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00852000)
> 	libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00c34000)
> 	libXi.so.6 => /usr/lib/libXi.so.6 (0x00ddd000)
> 	libXt.so.6 => /usr/lib/libXt.so.6 (0x00414000)
> 	libSM.so.6 => /usr/lib/libSM.so.6 (0x001e3000)
> 	libICE.so.6 => /usr/lib/libICE.so.6 (0x00c4f000)
> 	libXext.so.6 => /usr/lib/libXext.so.6 (0x00679000)
> 	libX11.so.6 => /usr/lib/libX11.so.6 (0x008a5000)
> 	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00ec0000)
> 	libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0x00266000)
> 	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x004bc000)
> 	libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0x17dae000)
> 	libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
> 	(0x0028c000)
> 	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x00385000)
> 	libogg.so.0 => /usr/lib/libogg.so.0 (0x00a57000)
> 	libGLcore.so.1 => /usr/lib/nvidia-173/libGLcore.so.1
> 	(0x0c042000)
> 	libnvidia-tls.so.1 => /usr/lib/nvidia-173/tls/libnvidia-tls.so.1
> 	(0x001ec000)
> 	/lib/ld-linux.so.2 (0x00620000)
> 	librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0x002a5000)
> 	libuuid.so.1 => /lib/libuuid.so.1 (0x003b7000)
> 	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x002ae000)
> 	libXau.so.6 => /usr/lib/libXau.so.6 (0x001ee000)
> 	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x002c8000)
> 
> 
> There wasn't any libGLU.so.1 in the nvidia folder, so that symlink in
> /usr/lib was left untouched. I don't know if it should've been there.
> Anyway, then off to the races, with a trickle of optimism in the tank.
> But it happened again, another robot pit stop and dramatic drop in FPS
> below 10, engine sound disturbed, and back to square one. Even after
> replacing the false symlink with the correct one, the FPS in general
> didn't really change, and as I've repeated numerous times, this doesn't
> even happen on every pit stop, which would at least be predictable if
> annoying. 
> 
> If I only run top in the terminal to observe CPU usage, hald,
> hald-addon-stor, scsi_eh_1 and ata/0 appear at some random intervals
> (not all at the same time), but their use of CPU is minimal (like 0.3%),
> so can they really be responsible for messing with the game graphics?
> BTW, I've disabled update-notifier, updatedb.mlocate or whatever it's
> called (rather pointless to look automatically for updates if the
> computer is offline), so that can't start itself in the middle of
> everything and hog resources. Another usual suspect, apt-xapian-index,
> I've removed altogether. So, there shouldn't be any background processes
> running during a race. 
> 
> Maybe this won't resolve itself and I just have to deal with it, since
> I'm not eager to buy a new video card (TORCS being the only game I play
> that requires some sort of OpenGL acceleration). The current card's
> perfectly fine for other usual needs.
> 
> -- 
> http://www.fastmail.fm - IMAP accessible web-mail
> 


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.