LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   "MTRR allocation failed. Graphics performance may suffer." warning on Intel graphic (http://www.linuxquestions.org/questions/slackware-14/mtrr-allocation-failed-graphics-performance-may-suffer-warning-on-intel-graphic-887537/)

parcox 06-21-2011 08:22 AM

"MTRR allocation failed. Graphics performance may suffer." warning on Intel graphic
 
3 Attachment(s)
running on slackware-current 64bit, intel graphics with 4Gigs RAM
I got this warning message on boot

#dmesg | grep mtrr
[ 0.000000] MTRR default type: uncachable
[ 0.000000] MTRR fixed ranges enabled:
[ 0.000000] MTRR variable ranges enabled:
[ 7.634953] mtrr: no more MTRRs available
[ 7.635064] [drm] MTRR allocation failed. Graphics performance may suffer.

and this is my /proc/mtrr:
#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=0x0dc000000 ( 3520MB), size= 64MB, count=1: uncachable
reg04: base=0x0db000000 ( 3504MB), size= 16MB, count=1: uncachable
reg05: base=0x100000000 ( 4096MB), size= 512MB, count=1: write-back
reg06: base=0x11f000000 ( 4592MB), size= 16MB, count=1: uncachable
reg07: base=0x11e800000 ( 4584MB), size= 8MB, count=1: uncachable
reg08: base=0x11e600000 ( 4582MB), size= 2MB, count=1: uncachable
reg09: base=0x0ffc00000 ( 4092MB), size= 4MB, count=1: write-protect

I've tried some workaround by adding kernel parameters like enable_mtrr_cleanup mtrr_spare_reg_nr=1 nopat, but it changes nothing. mtrr-uncover terminated with this error message:

#./mtrr-uncover --debug
Region 0: base: 0x000000000, size: 0x080000000, type: write-back, count: 1
Region 1: base: 0x080000000, size: 0x040000000, type: write-back, count: 1
Region 2: base: 0x0c0000000, size: 0x020000000, type: write-back, count: 1
Region 3: base: 0x0dc000000, size: 0x004000000, type: uncachable, count: 1
Region 4: base: 0x0db000000, size: 0x001000000, type: uncachable, count: 1
Region 5: base: 0x100000000, size: 0x020000000, type: write-back, count: 1
Region 6: base: 0x11f000000, size: 0x001000000, type: uncachable, count: 1
Region 7: base: 0x11e800000, size: 0x000800000, type: uncachable, count: 1
./mtrr-uncover: error reading /proc/mtrr line 9: region number 0 is repeated

What is the problem exactly? anyone can explain? :( I attached my hardware info too.
Thanks in advance.

jostber 06-21-2011 02:04 PM

You can try adding this to the lilo boot command line:

mtrr_gran_size=8M mtrr_chunk_size=32M

You can also try this:

enable_mtrr_cleanup mtrr_spare_reg_nr=1


All times are GMT -5. The time now is 05:57 AM.