2001-05-18 19:21:37 +00:00
|
|
|
|
MTRR be<62>ll<6C>t<EFBFBD>sa X11 <20>s/vagy mga_vid-hez:
|
2001-05-11 07:10:44 +00:00
|
|
|
|
========================================
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
1. b<>zisc<73>m megkeres<65>se
|
2001-05-11 07:10:44 +00:00
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~
|
2001-05-18 19:21:37 +00:00
|
|
|
|
3 m<>dszer is van r<>:
|
2001-05-11 07:10:44 +00:00
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
- az X11 <20>zeneteib<69>l, p<>ld<6C>ul:
|
2001-05-11 07:10:44 +00:00
|
|
|
|
(--) SVGA: PCI: Matrox MGA G400 AGP rev 4, Memory @ 0xd8000000, 0xd4000000
|
|
|
|
|
(--) SVGA: Linear framebuffer at 0xD8000000
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
- /proc/pci-b<>l (haszn<7A>ld az 'lspci -v' parancsot):
|
2001-05-11 07:10:44 +00:00
|
|
|
|
01:00.0 VGA compatible controller: Matrox Graphics, Inc.: Unknown device 0525
|
|
|
|
|
Memory at d8000000 (32-bit, prefetchable)
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
- az mga_vid <20>zeneteib<69>l (pl. 'dmesg' parancs):
|
2001-05-11 07:10:44 +00:00
|
|
|
|
mga_mem_base = d8000000
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
2. mem<65>ria m<>rete
|
2001-05-11 07:10:44 +00:00
|
|
|
|
~~~~~~~~~~~~~~~~~
|
2001-05-18 19:21:37 +00:00
|
|
|
|
Nagyon k<>nny<6E>, csak <20>t kell konvert<72>lni a videomem<65>ria m<>ret<65>t
|
|
|
|
|
hexadecim<EFBFBD>lisba, vagy haszn<7A>ld ezt a t<>bl<62>zatot:
|
2001-05-11 07:10:44 +00:00
|
|
|
|
1 MB 0x100000
|
|
|
|
|
2 MB 0x200000
|
|
|
|
|
4 MB 0x400000
|
|
|
|
|
8 MB 0x800000
|
|
|
|
|
16 MB 0x1000000
|
|
|
|
|
32 MB 0x2000000
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
3. MTRR be<62>ll<6C>t<EFBFBD>sa
|
2001-05-11 07:10:44 +00:00
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
2001-05-18 19:21:37 +00:00
|
|
|
|
Most, hogy megvan a b<>zisc<73>m <20>s a m<>ret, <20>ll<6C>tsuk be a regisztereket!
|
2001-05-11 07:10:44 +00:00
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
P<>ld<6C>ul, a fenti Matrox k<>rty<74>hoz (base=0xd8000000) 32Mb rammal
|
|
|
|
|
(size=0x2000000) a k<>vetkez<65>t kell be<62>rni:
|
2001-05-11 07:10:44 +00:00
|
|
|
|
echo "base=0xd8000000 size=0x2000000 type=write-combining" >| /proc/mtrr
|
|
|
|
|
|
2001-05-18 19:21:37 +00:00
|
|
|
|
- R<>gebbi K6/2-k [a 266Mhz-k<>r<EFBFBD>liek, stepping 0] nem t<>mogatj<74>k az MTRR-t,
|
|
|
|
|
m<>g a stepping 12-k ('cat /proc/cpuinfo' ki<6B>rja) igen.
|