Q: two framebuffers on i386 --- how can I do it?

Paul Bunyk (paul@pbunyk.physics.sunysb.edu)
Fri, 6 Nov 1998 15:19:53 -0500 (EST)


Hi, everyone!

I'm trying to figure out if I can have two framebuffers enabled
simultaneously in 2.1.126 kernel running on dual PII machine.

I have two Matrox cards on my PCI bus, the main one (which works now)
is in VGA mode, on the other one I switched VGA mode off (was I
right?).

cat /proc/PCI gives me:

Bus 0, device 10, function 0:
Display controller: Matrox Millennium (rev 1).
Medium devsel. Fast back-to-back capable. IRQ 9.
Non-prefetchable 32 bit memory at 0xdf800000 [0xdf800000].
Prefetchable 32 bit memory at 0xe3000000 [0xe3000008].
Bus 0, device 12, function 0:
VGA compatible controller: Matrox Millennium II (rev 0).
Medium devsel. Fast back-to-back capable. IRQ b.
Master Capable. No bursts.
Prefetchable 32 bit memory at 0xe1000000 [0xe1000008].
Non-prefetchable 32 bit memory at 0xdf000000 [0xdf000000].
Non-prefetchable 32 bit memory at 0xde800000 [0xde800000].

When I use vga=773 in bootparams, vesafb detects the VGA one perfectly:

Nov 4 14:21:37 pbunyk kernel: vesafb: framebuffer at 0xe1000000,
mapped to 0xc8800000, size 4096k
Nov 4 14:21:37 pbunyk kernel: vesafb: mode is 1024x768x8,
linelength=1024, pages=4
Nov 4 14:21:37 pbunyk kernel: vesafb: protected mode interface
info at c000:7e00
Nov 4 14:21:37 pbunyk kernel: vesafb: scrolling: redraw
Nov 4 14:21:37 pbunyk kernel: Console: switching to colour
frame buffer device 128x48
Nov 4 14:21:37 pbunyk kernel: fb0: VESA VGA frame buffer device

What should I do to initialize the SECOND framebuffer? I want it to
run XF86FB on the second card.

Hope someone can point me in the right direction.

Sincerely,

Paul

-- 
  ("`-''-/").___..--''"`-._   UNIX *is* user-friendly, he is just very 
   `6_ 6  )   `-.  (     ).`-.__.`) picky about who his friends are...
   (_Y_.)'  ._   )  `._ `. ``-..-'      Paul Bunyk, Research Scientist
 _..`--'_..-_/  /--'_.' ,'art by           (and part-time UN*X sysadm)
(il),-''  (li),'  ((!.-' F. Lee http://pbunyk.physics.sunysb.edu/~paul

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/