annotate DOCS/Polish/MTRR @ 3023:7d6a1fd5bbab

Bring into alphabetical order and add mencoder.
author atmos4
date Tue, 20 Nov 2001 12:51:57 +0000
parents 8dbc156c9467
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1333
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
1 Ustawienie MTTR dla X11 3.3.x, SVGAlib lub mga_vid:
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
2 ===================================================
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
3
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
4 1. Znajdź adresy bazowe.
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
5 ~~~~~~~~~~~~~~~~~~~~~~~~
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
6 Istnieją trzy sposoby znalezienia tego:
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
7
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
8 - w startowych komunikatach X11, np.:
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
9 (--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
10 (--) SVGA: Linear framebuffer at 0xD8000000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
11
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
12 - w /proc/pci (użyj polecenia lspci -v ):
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
13 01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
14 Memory at d8000000 (32-bit, prefetchable)
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
15
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
16 - w komunikatach sterownika jądra dla mga_vid (użyj dmesg):
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
17 mga_mem_base = d8000000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
18
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
19 2. Określ rozmiar pamięci.
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
20 ~~~~~~~~~~~~~~~~~~~~~~~~~~
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
21 To bardzo proste: zwyczajnie przekonwertuj rozmiar video ram na system
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
22 szesnastkowy, bądź użyj tabeli:
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
23 1 MB 0x100000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
24 2 MB 0x200000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
25 4 MB 0x400000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
26 8 MB 0x800000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
27 16 MB 0x1000000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
28 32 MB 0x2000000
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
29
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
30 3. Ustaw MTRR.
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
31 ~~~~~~~~~~~~~~
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
32 Znasz już bazowe adresy i rozmiar pamięci, ustawmy więc teraz rejestry mtrr!
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
33
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
34 Na przykład dla powyższej karty matrox (adres bazowy=0xd8000000) z 32MB pamięci
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
35 ram (rozmiar=0x2000000) wywołaj:
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
36 echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
37
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
38 - Starsze K6-2 [około 266Mhz, stepping 0] nie wspomagają MTRR, jednak stepping
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
39 12 tak ('cat /proc/cpuinfo' aby to sprawdzić).
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
40
8dbc156c9467 Translated by Justyna Biala <nell@skrzynka.pl>
eyck
parents:
diff changeset
41 (tłum. nell)