PlaneShift
Support => Linux Specific Issues => Topic started by: Rizin on April 27, 2008, 05:45:25 am
-
Possible fix for graphics based sluggishness when running PS on a laptop with intel video.
This worked for me, and another person willing to test. We can now both run PS without any lag, and this includes Hydlaa and the Bronze Doors area.
Step 1:
Follow the directions from another post, copied here for ease of access:
From irc in #planeshift a few days ago: (I hope kayden does not mind)
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\.." />
I actually changed all lines that had "6\.5\.." to match "7\.0\.." for Mesa.
Step 2:
Install Driconf (I used synaptic package manager on kubuntu and searched for driconf).
Step 3:
Go into your main menu > settings > 3D Acceleration (DRI Icon) and disable both options for graphic quality (texture compression, support for big textures)
Step 4:
Start PS and enjoy! Might be a bit bright overall, but it should run smoothly. 8)
-
when I put edit/data/config/gldrivers.xml it sais "no write permissions for this file" help.
-
when I put edit/data/config/gldrivers.xml it sais "no write permissions for this file" help.
open it as root in your editor
-
how do I do that?
-
sudo gedit /opt/PlaneShift/data/config/gldrivers.xml
enter your password
edit file
save
if you dont use gedit put in other text editor in place.
-
all the lines that say <regexp string="glversion" pattern="Mesa 6\.5\.." />
do I change all of them to 7/.0?
-
if glxinfo | grep Mesa says you have 7 then yes do that if not do whatever number it says.
-
i got 1.4 Mesa 7.0.3-rc2 so what do i put?
-
i used
<regexp string="glversion" pattern="Mesa 7\.0\..*" />and it worked for me... meaning that i was able to run the client (issue in this thread http://hydlaa.com/smf/index.php?topic=32333.0 )
i still get some lag in DR and Hydlaa. i'm heading to BD, so i'll check the lagging there as well.
(i use distance 90)
-
this solution no longer works with the latest update.
i get the following error:
psclient.bin: intel_regions.c:231: intel_region_data: Assertion `dst_offset + dstx + width + (dsty + height - 1) * dst->pitch * dst->cpp <= dst->pitch * dst->cpp * dst->height' failed.
(0) : fatal error C9999: *** exception during compilation ***
-
I haven't had the chance to test the update on this configuration, and unless I replace some parts I will not be able to. However, if I do get the chance I'll provide any info I learn.
-
Looks like with the release of Intrepid mesa is now 7.2 not 7.0 so maybe changing that in the rule might help http://packages.ubuntu.com/source/intrepid/mesa
From irc in #planeshift a few days ago: (I hope kayden does not mind)
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\.." />