PlaneShift

Support => Linux Specific Issues => Topic started by: rudivs on March 04, 2008, 04:53:03 pm

Title: Weird graphics issues
Post by: rudivs on March 04, 2008, 04:53:03 pm
Hi,

I installed PlaneShift fine on Ubuntu 7.10 (Gutsy), but it seems a lot of the textures are not loading. I couldn't see much when I was creating a character, but it seems that hair and beards render okay. Once I got to the training area it did not load any background, and the pointer (and a random beard it seems) create trails when they move. Here's a screenshot of the game:

(http://www.familyofthings.com/files/ps_weirdness.jpg)

Here's the output of glxinfo | grep render:
Code: [Select]
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017 x86/MMX/SSE2

Any way to get it working?
Title: Re: Weird graphics issues
Post by: Mordraugion on March 05, 2008, 09:38:36 am
 First check the your drivers Intel has had problems with OpenGL recently, second dont install fglrx its for ATI graphics :)
Title: Re: Weird graphics issues
Post by: Vornne on March 05, 2008, 11:03:02 pm
From irc in #planeshift a few days ago: (I hope kayden does not mind)

Code: [Select]
Kayden: glxinfo | grep Mesa     ....I'm presuming you have Mesa 7.x
Kayden: edit data/config/gldrivers.xml
Kayden: near the bottom there should be a rule
Kayden:     <rule description="Intel DRI: Disable ARB_fragment_program">
Kayden: change the pattern from 6\.5\.. to 7\.0\..
Kayden:         <regexp string="glversion" pattern="Mesa 7\.0\.." />
Title: Re: Weird graphics issues
Post by: Barius on March 06, 2008, 07:49:00 pm
thanx a lot, it worked perfectly
Title: Re: Weird graphics issues
Post by: Barius on March 07, 2008, 10:07:21 pm
After fixing this i can play but all the items in my inventory are white rectangles, i see everything like it should be just in my inventory or for example the furnace every item is a white rectangle.

Does anyone know a solution to this, i looked around on the forums but didn't find anything
Thanks
Title: Re: Weird graphics issues
Post by: rudivs on March 09, 2008, 08:13:15 pm
@Vornne (and by implication @Kayden):
Thanks, your suggestion worked perfectly! I had resorted to running the client under Windows XP, but now it's working on both (actually I think the graphics is a bit smoother in linux, but there's maybe a bit more lag). Great to actually be able to play worthwhile game on Linux though!!

@Barius:
I don't have an answer, but I did see in the data/config/gldrivers.xml file there was another rule which might need to be changed -
Code: [Select]
<rule description="Intel DRI: Disable texture compression">
try also changing that pattern to
 
Code: [Select]
<regexp string="glversion" pattern="Mesa 7\.0\.." />
Title: Re: Weird graphics issues
Post by: duncanbell on March 09, 2008, 11:36:03 pm
@Barius:
I don't have an answer, but I did see in the data/config/gldrivers.xml file there was another rule which might need to be changed -
Code: [Select]
<rule description="Intel DRI: Disable texture compression">
try also changing that pattern to
 
Code: [Select]
<regexp string="glversion" pattern="Mesa 7\.0\.." />

this change fixes the white box inventory bug, thanks a lot :)
Title: Re: Weird graphics issues
Post by: Bluch on March 16, 2008, 02:42:25 am
for me it diddnt change the inventory thing i changed both lines
Title: Re: Weird graphics issues
Post by: Barius on March 16, 2008, 12:20:50 pm
@Barius:
I don't have an answer, but I did see in the data/config/gldrivers.xml file there was another rule which might need to be changed -
Code: [Select]
<rule description="Intel DRI: Disable texture compression">
try also changing that pattern to
 
Code: [Select]
<regexp string="glversion" pattern="Mesa 7\.0\.." />

Thanks a million. It worked!!!

The white squares didn't stop me from playing but it's a lot easier this way :-)
Title: Re: Weird graphics issues
Post by: Bluch on March 16, 2008, 04:13:09 pm
I fixed the white box problem by changing in ../data/config/r3dopengl.cfg

in the ; disable the use of certain opengl extentions

delete the ; in front of Video.OpenGL.UseExtension.GL_ARB_texture_compression  = false

sorry don't know how to insert this nice code boxes in the message.

good luck with it
Title: Re: Weird graphics issues
Post by: Jenya on March 30, 2008, 12:11:17 pm
From irc in #planeshift a few days ago: (I hope kayden does not mind)

Code: [Select]
Kayden: glxinfo | grep Mesa     ....I'm presuming you have Mesa 7.x
Kayden: edit data/config/gldrivers.xml
Kayden: near the bottom there should be a rule
Kayden:     <rule description="Intel DRI: Disable ARB_fragment_program">
Kayden: change the pattern from 6\.5\.. to 7\.0\..
Kayden:         <regexp string="glversion" pattern="Mesa 7\.0\.." />

thanx that worked for me :)
Title: Re: Weird graphics issues
Post by: LinuxNoob on April 01, 2008, 09:21:26 pm
I'm new to the whole Linux thing and I don't know how to change the numbers to something else. I can get there but I cant change them