Mercurial > mplayer.hg
comparison DOCS/MTRR @ 96:2c04d6650bc9
very much changes
author | gabucino |
---|---|
date | Mon, 12 Mar 2001 14:56:55 +0000 |
parents | a016e986f755 |
children | 34c1a9fb631b |
comparison
equal
deleted
inserted
replaced
95:2c2d82db06ef | 96:2c04d6650bc9 |
---|---|
1 Setting up MTRR for X11 or mga_vid: | 1 Setting up MTRR for X11 or mga_vid: |
2 =================================== | 2 =================================== |
3 | 3 |
4 1. find the base address | 4 1. find the base address |
5 ~~~~~~~~~~~~~~~~~~~~~~~~ | 5 ~~~~~~~~~~~~~~~~~~~~~~~~ |
6 You have 3 cases to find it: | 6 You have 3 ways to find it: |
7 | 7 |
8 - from X11 startup messages, for example: | 8 - from X11 startup messages, for example: |
9 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000 | 9 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000 |
10 (--) SVGA: Linear framebuffer at 0xD8000000 | 10 (--) SVGA: Linear framebuffer at 0xD8000000 |
11 | 11 |
16 - from mga_vid kernel driver messages (use dmesg): | 16 - from mga_vid kernel driver messages (use dmesg): |
17 mga_mem_base = d8000000 | 17 mga_mem_base = d8000000 |
18 | 18 |
19 2. find memory size | 19 2. find memory size |
20 ~~~~~~~~~~~~~~~~~~~ | 20 ~~~~~~~~~~~~~~~~~~~ |
21 This is much easier, just convert video ram size to hexadecimal, or | 21 This is very easy, just convert video ram size to hexadecimal, or |
22 use this table: | 22 use this table: |
23 1 MB 0x100000 | 23 1 MB 0x100000 |
24 2 MB 0x200000 | 24 2 MB 0x200000 |
25 4 MB 0x400000 | 25 4 MB 0x400000 |
26 8 MB 0x800000 | 26 8 MB 0x800000 |
33 | 33 |
34 For example, for the matrox card above (base=0xd8000000) with 32MB | 34 For example, for the matrox card above (base=0xd8000000) with 32MB |
35 ram (size=0x2000000) just execute: | 35 ram (size=0x2000000) just execute: |
36 echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr | 36 echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr |
37 | 37 |
38 - Older K6-2's [around 266Mhz, stepping 0] may not support MTRR. | 38 - Older K6-2's [around 266Mhz, stepping 0] doesn't support MTRR. |
39 - K6-2 with 'stepping 12' (do a cat /proc/cpuinfo) supports MTRR. | 39 - K6-2 with 'stepping 12' (do a cat /proc/cpuinfo) supports MTRR. |