G200 MMS missing one fbX when used as secondary card

This forum is used for all questions regarding the use of Matrox graphics hardware with framebuffer drivers

G200 MMS missing one fbX when used as secondary card

Postby S. Neuwirth » Tue Jan 02, 2007 6:19 pm

I have a G200MMS card, that is working fine, when the card is initialized by the BIOS.

Code: Select all
Dec 26 22:25:13 deepthought kernel: mga_vid: Cleaning up module
Dec 26 22:25:13 deepthought kernel: mtrr: no MTRR for f9000000,800000 found
Dec 26 22:26:37 deepthought kernel: ACPI: PCI Interrupt 0000:09:00.0[A] -> GSI 21 (level, low) -> IRQ 82
Dec 26 22:26:37 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 26 22:26:37 deepthought kernel: PInS memtype = 5
Dec 26 22:26:37 deepthought kernel: matroxfb: MTRR's turned on
Dec 26 22:26:37 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 26 22:26:37 deepthought kernel: matroxfb: framebuffer at 0xF9000000, mapped to 0xf9e00000, size 4194304
Dec 26 22:26:37 deepthought kernel: fb0: MATROX frame buffer device
Dec 26 22:26:37 deepthought kernel: fb0: initializing hardware
Dec 26 22:26:37 deepthought kernel: ACPI: PCI Interrupt 0000:09:04.0[A] -> GSI 21 (level, low) -> IRQ 82
Dec 26 22:26:37 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 26 22:26:37 deepthought kernel: PInS memtype = 5
Dec 26 22:26:37 deepthought kernel: matroxfb: MTRR's turned on
Dec 26 22:26:37 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 26 22:26:37 deepthought kernel: matroxfb: framebuffer at 0xFA000000, mapped to 0xfa280000, size 4194304
Dec 26 22:26:37 deepthought kernel: fb1: MATROX frame buffer device
Dec 26 22:26:37 deepthought kernel: fb1: initializing hardware
Dec 26 22:26:37 deepthought kernel: ACPI: PCI Interrupt 0000:09:08.0[A] -> GSI 21 (level, low) -> IRQ 82
Dec 26 22:26:37 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 26 22:26:37 deepthought kernel: PInS memtype = 5
Dec 26 22:26:37 deepthought kernel: matroxfb: MTRR's turned on
Dec 26 22:26:37 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 26 22:26:37 deepthought kernel: matroxfb: framebuffer at 0xFB000000, mapped to 0xfa700000, size 4194304
Dec 26 22:26:37 deepthought kernel: fb2: MATROX frame buffer device
Dec 26 22:26:37 deepthought kernel: fb2: initializing hardware
Dec 26 22:26:37 deepthought kernel: ACPI: PCI Interrupt 0000:09:0c.0[A] -> GSI 21 (level, low) -> IRQ 82
Dec 26 22:26:37 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 26 22:26:37 deepthought kernel: PInS memtype = 5
Dec 26 22:26:37 deepthought kernel: matroxfb: MTRR's turned on
Dec 26 22:26:37 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 26 22:26:37 deepthought kernel: matroxfb: framebuffer at 0xFC000000, mapped to 0xfab80000, size 4194304
Dec 26 22:26:37 deepthought kernel: fb3: MATROX frame buffer device
Dec 26 22:26:37 deepthought kernel: fb3: initializing hardware


When using the AGP card as boot card and modprobing matroxfb later on, the second farmebuffer is not recognized and the memorytype of some heads is detected wrong. Parameters to matroxfb_base: vesa=0x1bb mem=4,4,4,4

Code: Select all
Dec 27 11:22:11 deepthought kernel: PCI: Enabling device 0000:09:00.0 (0004 -> 0006)
Dec 27 11:22:11 deepthought kernel: ACPI: PCI Interrupt 0000:09:00.0[A] -> GSI 21 (level, low) -> IRQ 74
Dec 27 11:22:11 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 27 11:22:11 deepthought kernel: PInS memtype = 5
Dec 27 11:22:11 deepthought kernel: matroxfb: MTRR's turned on
Dec 27 11:22:11 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 27 11:22:11 deepthought kernel: matroxfb: framebuffer at 0xFC000000, mapped to 0xf9d80000, size 4194304
Dec 27 11:22:11 deepthought kernel: fb0: MATROX frame buffer device
Dec 27 11:22:11 deepthought kernel: fb0: initializing hardware
Dec 27 11:22:11 deepthought kernel: ACPI: PCI Interrupt 0000:09:04.0[A] -> GSI 21 (level, low) -> IRQ 74
Dec 27 11:22:11 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 27 11:22:11 deepthought kernel: matroxfb: Legacy BIOS is for 102B:0527, while this device is 102B:0521
Dec 27 11:22:11 deepthought kernel: matroxfb: Your Matrox device does not have BIOS
Dec 27 11:22:11 deepthought kernel: PInS memtype = 3
Dec 27 11:22:11 deepthought kernel: matroxfb: cannot determine memory size
Dec 27 11:22:11 deepthought kernel: matroxfb: probe of 0000:09:04.0 failed with error -1
Dec 27 11:22:11 deepthought kernel: ACPI: PCI Interrupt 0000:09:08.0[A] -> GSI 21 (level, low) -> IRQ 74
Dec 27 11:22:11 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 27 11:22:11 deepthought kernel: matroxfb: Legacy BIOS is for 102B:0527, while this device is 102B:0521
Dec 27 11:22:11 deepthought kernel: matroxfb: Your Matrox device does not have BIOS
Dec 27 11:22:11 deepthought kernel: PInS memtype = 3
Dec 27 11:22:11 deepthought kernel: matroxfb: MTRR's turned on
Dec 27 11:22:11 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 27 11:22:11 deepthought kernel: matroxfb: framebuffer at 0xFA000000, mapped to 0xfa200000, size 4194304
Dec 27 11:22:11 deepthought kernel: fb1: MATROX frame buffer device
Dec 27 11:22:11 deepthought kernel: fb1: initializing hardware
Dec 27 11:22:11 deepthought kernel: ACPI: PCI Interrupt 0000:09:0c.0[A] -> GSI 21 (level, low) -> IRQ 74
Dec 27 11:22:11 deepthought kernel: matroxfb: Matrox G200 (AGP) detected
Dec 27 11:22:11 deepthought kernel: matroxfb: Legacy BIOS is for 102B:0527, while this device is 102B:0521
Dec 27 11:22:11 deepthought kernel: matroxfb: Your Matrox device does not have BIOS
Dec 27 11:22:11 deepthought kernel: PInS memtype = 3
Dec 27 11:22:11 deepthought kernel: matroxfb: MTRR's turned on
Dec 27 11:22:11 deepthought kernel: matroxfb: 1280x1024x24bpp (virtual: 1280x1092)
Dec 27 11:22:11 deepthought kernel: matroxfb: framebuffer at 0xFB000000, mapped to 0xfa680000, size 4194304
Dec 27 11:22:11 deepthought kernel: fb2: MATROX frame buffer device
Dec 27 11:22:11 deepthought kernel: fb2: initializing hardware
S. Neuwirth
Sergeant
Sergeant
 
Posts: 12
Joined: Mon Jan 01, 2007 2:20 pm

Postby tuxx-home.at » Tue Jan 02, 2007 10:44 pm

Please give me some time, I'll have a look at this tomorrow, alright? :)
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby S. Neuwirth » Wed Jan 03, 2007 9:47 pm

tuxx-home.at wrote:Please give me some time, I'll have a look at this tomorrow, alright? :)


Oh, ok you have any time you need, I din't expect you to work at the framebuffer - BTW I wrote a mail to Petr Vandrovec and pointed him to this forum.

Back to my problem, I think it's possible that the BIOS did a bad job when setting up the card. I will check lspci in diffrent cases (PCI/AGP as BIOS first card) and post the output.
S. Neuwirth
Sergeant
Sergeant
 
Posts: 12
Joined: Mon Jan 01, 2007 2:20 pm

Postby tuxx-home.at » Thu Jan 04, 2007 9:09 am

I din't expect you to work at the framebuffer


I'll work on everything, that's related to Matrox if it is of any help :)

BTW I wrote a mail to Petr Vandrovec and pointed him to this forum.


Great, maybe he is able to give some additional information about this
issue.

What does your "video" parameter look like that is passed to the kernel
before booting?
There are some options available that sound like as if they could help you
with your problem, e.g.:

Code: Select all
Configuration
=============

You can pass kernel command line options to matroxfb with
`video=matroxfb:option1,option2:value2,option3' (multiple options should be
separated by comma, values are separated from options by `:').
Accepted options:
[...]
noinit   - tells driver, that devices were already initialized. You should use
           it if you have G100 and/or if driver cannot detect memory, you see
           strange pattern on screen and so on. Devices not enabled by BIOS
           are still initialized. It is default.
init     - driver initializes every device it knows about.
[...]


All options can be found in /usr/src/linux/Documentation/fb/matroxfb.txt.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Postby S. Neuwirth » Sat Jan 13, 2007 4:18 pm

S. Neuwirth wrote:
tuxx-home.at wrote:Please give me some time, I'll have a look at this tomorrow, alright? :)


Oh, ok you have any time you need, I din't expect you to work at the framebuffer - BTW I wrote a mail to Petr Vandrovec and pointed him to this forum.

Back to my problem, I think it's possible that the BIOS did a bad job when setting up the card. I will check lspci in diffrent cases (PCI/AGP as BIOS first card) and post the output.


Sorry for the delay, but now the lspci with G200 as primary card:

Code: Select all
0000:09:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, medium devsel, latency 128, IRQ 3
        Memory at f9000000 (32-bit, prefetchable) [size=da810000]
        Memory at da800000 (32-bit, non-prefetchable) [size=16K]
        Memory at d8800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:04.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, VGA palette snoop, medium devsel, latency 128, IRQ 3
        Memory at fa000000 (32-bit, prefetchable) [size=da820000]
        Memory at da804000 (32-bit, non-prefetchable) [size=16K]
        Memory at d9000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:08.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, VGA palette snoop, medium devsel, latency 128, IRQ 3
        Memory at fb000000 (32-bit, prefetchable) [size=da830000]
        Memory at da808000 (32-bit, non-prefetchable) [size=16K]
        Memory at d9800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:0c.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, VGA palette snoop, medium devsel, latency 128, IRQ 3
        Memory at fc000000 (32-bit, prefetchable) [size=da840000]
        Memory at da80c000 (32-bit, non-prefetchable) [size=16K]
        Memory at da000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>


and here comes the G200 as secondary card:

Code: Select all
0000:09:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03) (prog-if 00 [VGA])
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, medium devsel, latency 128, IRQ 3
        Memory at fc000000 (32-bit, prefetchable) [disabled] [size=da010000]
        Memory at da00c000 (32-bit, non-prefetchable) [disabled] [size=16K]
        Memory at da800000 (32-bit, non-prefetchable) [disabled] [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:04.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, VGA palette snoop, medium devsel, latency 128, IRQ 3
        Memory at f9000000 (32-bit, prefetchable) [size=da020000]
        Memory at da000000 (32-bit, non-prefetchable) [size=16K]
        Memory at d8800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:08.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, VGA palette snoop, medium devsel, latency 128, IRQ 3
        Memory at fa000000 (32-bit, prefetchable) [size=da030000]
        Memory at da004000 (32-bit, non-prefetchable) [size=16K]
        Memory at d9000000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>

0000:09:0c.0 Display controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
        Subsystem: Matrox Graphics, Inc. G200 Multi-Monitor
        Flags: bus master, medium devsel, latency 128, IRQ 3
        Memory at fb000000 (32-bit, prefetchable) [size=da040000]
        Memory at da008000 (32-bit, non-prefetchable) [size=16K]
        Memory at d9800000 (32-bit, non-prefetchable) [size=8M]
        Expansion ROM at 00010000 [disabled]
        Capabilities: <available only to root>


I seem the only difference is the sequence. With BIOS init the first head is setup first, without BIOS init it seems the initiliazation begins with the second head and ends with the first after wrapping at the fourth head.
S. Neuwirth
Sergeant
Sergeant
 
Posts: 12
Joined: Mon Jan 01, 2007 2:20 pm

Postby S. Neuwirth » Sat Apr 14, 2007 8:59 pm

S. Neuwirth wrote:
tuxx-home.at wrote:Please give me some time, I'll have a look at this tomorrow, alright? :)


Oh, ok you have any time you need, I din't expect you to work at the framebuffer - BTW I wrote a mail to Petr Vandrovec and pointed him to this forum.

Back to my problem, I think it's possible that the BIOS did a bad job when setting up the card. I will check lspci in diffrent cases (PCI/AGP as BIOS first card) and post the output.


Well, tried the card in my new PC and with a newer kernel (fb driver). The card is setup exactly like in the old PC - unfortunatly in this PC I can get the G200MMS to be the first card in the BIOS (no option to set and no PCI Slot before the PCI-E card is there). After modprobing matroxfb_base there is a massage in the log, that the video BIOS is not for the G200MMS card (ok, it's the BIOS of the nvidia card) and therefor no initialization can be done. Maybe it's possible to hack the driver to use an image of the BIOS for the init process
S. Neuwirth
Sergeant
Sergeant
 
Posts: 12
Joined: Mon Jan 01, 2007 2:20 pm


Return to Framebuffer Configurations

Who is online

Users browsing this forum: No registered users and 1 guest

cron