The module is setup for use as much memory as it finds and it uses the whole 32 MB of ram in my G550. I see this with
- Code: Select all
dmesg |grep matroxfb
[ 0.000000] Kernel command line: root=UUID=a7d9cee3-6792-4f7b-8a5a-add40668c432 ro quiet splash video=matroxfb:vesa:0x115 locale=it_IT
[ 19.917894] matroxfb: Matrox G550 detected
[ 19.920617] matroxfb: MTRR's turned on
[ 19.920636] matroxfb: 800x600x32bpp (virtual: 800x5242)
[ 19.920639] matroxfb: framebuffer at 0xD8000000, mapped to 0xe0880000, size 33554432
[ 24.262150] matroxfb_crtc2: secondary head of fb0 was registered as fb1
After that, in xorg.conf I use the option:
- Code: Select all
"UseFBDev" "Enable"
to ensure xorg can use some frame buffer feature (the tv output, i guess). This is what I know from my readings about mga-xorg driver (by the way, i'm using your mga driver 4.4.4 x86).
Now, when i look into Xorg.0.log i see xorg is using only 16 MB of my videoram.
- Code: Select all
cat /var/log/Xorg.0.log |grep VideoRAM
(--) MGA(0): VideoRAM: 16384 kByte
Why? My G550 mounts 32 MB of video memory!
While xorg is using half the memory, some game doesn't even start anymore!
I don't understand why this happens and I did another test, setting matrox framebuffer for using just 4 MB.
(Since I need text consoles at 800x600 with 32bpp, this means about 2MB, and I assume tv output needs almost the same).
Well, the result is xorg uses just those 4 MB and doesn't see the remaining memory. Of course, my desktop is just ugly this way (1280x800 and VERY poor 3D features) and i went back to giving framebuffer the whole 32 MB.
But, again, xorg sees only 16 MB of ram.
I thought the video card memory was shared between the framebuffer and the video "areas", so
(framebuffer memory) + (video memory) = 32 MB
but, I see, my assumptions are wrong.
Can you help me having 32 MB for xorg again?
The setup line for matrox framebuffer is
- Code: Select all
video=matroxfb:vesa:0x115
and I attach my xorg.conf.