Author Topic: How to fix graphics lag on intel laptops  (Read 2752 times)

Rizin

  • Hydlaa Citizen
  • *
  • Posts: 474
    • View Profile
How to fix graphics lag on intel laptops
« on: April 26, 2008, 10:45:25 pm »
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)

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\.." />

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)

Nightw0lf

  • Traveller
  • *
  • Posts: 19
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #1 on: July 09, 2008, 04:00:24 pm »
when I put edit/data/config/gldrivers.xml it sais "no write permissions for this file"  help.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: How to fix graphics lag on intel laptops
« Reply #2 on: July 09, 2008, 04:52:53 pm »
when I put edit/data/config/gldrivers.xml it sais "no write permissions for this file"  help.

open it as root in your editor

Nightw0lf

  • Traveller
  • *
  • Posts: 19
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #3 on: July 09, 2008, 05:52:33 pm »
how do I do that?

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: How to fix graphics lag on intel laptops
« Reply #4 on: July 09, 2008, 06:11:19 pm »
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.

Nightw0lf

  • Traveller
  • *
  • Posts: 19
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #5 on: July 09, 2008, 06:21:22 pm »
all the lines that say  <regexp string="glversion" pattern="Mesa 6\.5\.." /> 

do I change all of them to 7/.0?
« Last Edit: July 09, 2008, 06:33:52 pm by Nightw0lf »

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: How to fix graphics lag on intel laptops
« Reply #6 on: July 09, 2008, 06:43:52 pm »
if glxinfo | grep Mesa says you have 7 then yes do that if not do whatever number it says.

Nightw0lf

  • Traveller
  • *
  • Posts: 19
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #7 on: July 09, 2008, 06:46:11 pm »
i got 1.4 Mesa 7.0.3-rc2 so what do i put?
« Last Edit: July 09, 2008, 06:50:07 pm by Nightw0lf »

Vorodie

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #8 on: August 22, 2008, 06:32:02 pm »
i used
Code: [Select]
<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)
« Last Edit: August 22, 2008, 06:36:52 pm by Vorodie »

Vorodie

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #9 on: November 30, 2008, 06:38:07 pm »
this solution no longer works with the latest update.
i get the following error:
Code: [Select]
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 ***

Rizin

  • Hydlaa Citizen
  • *
  • Posts: 474
    • View Profile
Re: How to fix graphics lag on intel laptops
« Reply #10 on: November 30, 2008, 08:21:07 pm »
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.

Caarrie

  • Forum Addict
  • *
  • Posts: 3369
  • We want no UNFIXED bugs!!!!!!!!!!!!!
    • View Profile
    • PlaneShift3dMods
Re: How to fix graphics lag on intel laptops
« Reply #11 on: November 30, 2008, 08:34:00 pm »
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)

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\.." />