You are not logged in.

#26 2010-02-20 21:51:36

djolk
Member
Registered: 2008-03-07
Posts: 59

Re: [Solved] Poor quality dvd play back - intel GM45 Express Chipset

So using the mtrr-uncover script from ftp://ftp.cs.utoronto.ca/pub/hugh/mtrr- … gust14.tgz and the fixmtrr.sh from http://launchpadlibrarian.net/26193373/fixmtrr.sh I've come up with a /proc/mtrr that looks like this:

[djolk@tunamelt ~]$ cat /proc/mtrr
reg00: base=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size=  512MB, count=1: write-back
reg03: base=0x100000000 ( 4096MB), size= 4096MB, count=1: write-back
reg04: base=0x200000000 ( 8192MB), size= 8192MB, count=1: write-back
reg05: base=0x400000000 (16384MB), size=16384MB, count=1: write-back
reg06: base=0x0e0000000 ( 3584MB), size=  256MB, count=1: write-combining

I've written a little script that is executed from rc.local:

#!/bin/bash

#Remove existing mtrr entires.  Order matters!

echo "disable=3" >| /proc/mtrr
echo "disable=2" >| /proc/mtrr
echo "disable=0" >| /proc/mtrr
echo "disable=1" >| /proc/mtrr

echo "base=0x000000000 size=0x080000000 type=write-back" >| /proc/mtrr 
echo "base=0x080000000 size=0x040000000 type=write-back" >| /proc/mtrr
echo "base=0x0c0000000 size=0x020000000 type=write-back" >| /proc/mtrr
echo "base=0x100000000 size=0x100000000 type=write-back" >| /proc/mtrr
echo "base=0x200000000 size=0x200000000 type=write-back" >| /proc/mtrr
echo "base=0x400000000 size=0x400000000 type=write-back" >| /proc/mtrr
echo "base=0xe0000000 size=0x10000000 type=write-combining" >| /proc/mtrr

I'm a bit curious if leaving out the writing combining line will allow X to set this line.

Again I don't really have any benchmarks but KDE feels much more responsive.

Offline

#27 2010-02-20 22:14:16

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: [Solved] Poor quality dvd play back - intel GM45 Express Chipset

Not sure, but glad to see everything got working. I didn't hear from you in forever, and I wasn't sure what had happened. I take it you have no more DVD problems?

Offline

#28 2010-02-20 22:47:23

djolk
Member
Registered: 2008-03-07
Posts: 59

Re: [Solved] Poor quality dvd play back - intel GM45 Express Chipset

Sorry about that, I had to send the computer back for repairs...

The tearing disappears if I use the vync in KDE graphics setup. Tearning persists in XFCE4. However graphics performance is definitly better and with this mtrr table KDEmod performs okay and there is no distortation of desktop effects anymore.

Offline

#29 2010-02-20 23:48:57

alex_dc
Member
Registered: 2009-12-27
Posts: 37

Re: [Solved] Poor quality dvd play back - intel GM45 Express Chipset

Awesome. Can you edit your first post and mark this as solved, then. Unless you want the honor, when I get some time I might write an Arch Wiki article on this.

Offline

#30 2010-02-21 00:36:35

djolk
Member
Registered: 2008-03-07
Posts: 59

Re: [Solved] Poor quality dvd play back - intel GM45 Express Chipset

The honour is all yours. If you remind me I can add my two cents worth but I've got way too much going on with school to  do it all.

I will just for reference try and find if X will set the write-combining line or if it needs to be manually set.

Offline

Board footer

Powered by FluxBB