framebuffer trouble with AGP MGA G450 and PCI MGA 2064W videocards.
i have two matrox videocard. The primary is dualhead AGP MGA G450 and the secondary is PCI MGA 2064W. I have a 2.6 kernel compiled with options
CONFIG_FB_MATROX=yCONFIG_FB_MATROX_MILLENIUM=yCONFIG_FB_MATROX_G450=yCONFIG_FB_MATROX_G100=yCONFIG_FB_MATROX_MULTIHEAD=y
CONFIG_VGA_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_PCI_CONSOLE=y
In BIOS I select AGP card as primary, but framebuffer initialise PCI card first. So fb0 point to PCI card, fb1 and fb2 point to AGP card. As a result framebuffer console working on another monitor. How can I link fb0 and fb1 with AGP card and fb2 with PCI card ?
Please CC me, as i am not subscribed to the list
Mikhail Kshevetskiy
Quoted 14 lines · Mikhail Kshevetskiy
i have two matrox videocard. The primary is dualhead AGP MGA G450 and the secondary is PCI MGA 2064W. I have a 2.6 kernel compiled with options
CONFIG_FB_MATROX=yCONFIG_FB_MATROX_MILLENIUM=yCONFIG_FB_MATROX_G450=yCONFIG_FB_MATROX_G100=yCONFIG_FB_MATROX_MULTIHEAD=y
CONFIG_VGA_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_FRAMEBUFFER_CONSOLE=yCONFIG_PCI_CONSOLE=y
Quoted 7 lines
In BIOS I select AGP card as primary, but framebuffer initialise PCI card first. So fb0 point to PCI card, fb1 and fb2 point to AGP card. As a result framebuffer console working on another monitor. How can I link fb0 and fb1 with AGP card and fb2 with PCI card ?
Please CC me, as i am not subscribed to the list
Several solutions:
1. Don't do it.
Is it really a problem? How about using fb1 when you want to use the AGP card?
2. Use modules, and load the AGP module first. It will then grap fb0. Then load the pci module, which becomes fb1
3. Use the flexibility that /dev offers. fb0 don't have to be the first framebuffer, in other words:
cd /dev
mv fb0 temp
mv fb1 fb0
mv temp fb1
Quoted 1 line
From now on, the name "fb0" actually refer to the second framebuffer.
any program that wants "fb0" get the AGP card, even if it is initialized last.
4. Or use udev to achieve the same as in (3).
Helge Hafting