Author Topic: Weird graphics issues  (Read 2038 times)

rudivs

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Weird graphics issues
« on: March 04, 2008, 10:53:03 am »
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:



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?

Mordraugion

  • Hydlaa Notable
  • *
  • Posts: 816
  • Ex Dev and GM
    • View Profile
Re: Weird graphics issues
« Reply #1 on: March 05, 2008, 03:38:36 am »
 First check the your drivers Intel has had problems with OpenGL recently, second dont install fglrx its for ATI graphics :)
No longer a member of the PlanShift Development Team
Hokinon or Hoki on IRC

PS is not a democracy, nor will it ever be -- Karyuu 2006
http://www.hydlaaplaza.com/smf/index.php?topic=21049.msg230947#msg230947

Vornne

  • Testers
  • Hydlaa Resident
  • *
  • Posts: 189
    • View Profile
Re: Weird graphics issues
« Reply #2 on: March 05, 2008, 05: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\.." />

Barius

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Weird graphics issues
« Reply #3 on: March 06, 2008, 01:49:00 pm »
thanx a lot, it worked perfectly

Barius

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Weird graphics issues
« Reply #4 on: March 07, 2008, 04: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

rudivs

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Weird graphics issues
« Reply #5 on: March 09, 2008, 02: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\.." />

duncanbell

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Weird graphics issues
« Reply #6 on: March 09, 2008, 05: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 :)

Bluch

  • Traveller
  • *
  • Posts: 14
  • Nipossa Glukk
    • View Profile
Re: Weird graphics issues
« Reply #7 on: March 15, 2008, 08:42:25 pm »
for me it diddnt change the inventory thing i changed both lines
Pekida Perrakithor

Barius

  • Wayfarer
  • *
  • Posts: 5
    • View Profile
Re: Weird graphics issues
« Reply #8 on: March 16, 2008, 06:20:50 am »
@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 :-)

Bluch

  • Traveller
  • *
  • Posts: 14
  • Nipossa Glukk
    • View Profile
Re: Weird graphics issues
« Reply #9 on: March 16, 2008, 10:13:09 am »
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
Pekida Perrakithor

Jenya

  • Traveller
  • *
  • Posts: 28
    • View Profile
Re: Weird graphics issues
« Reply #10 on: March 30, 2008, 05:11:17 am »
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 :)

LinuxNoob

  • Wayfarer
  • *
  • Posts: 2
    • View Profile
Re: Weird graphics issues
« Reply #11 on: April 01, 2008, 02: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