Re: matroxfb and 2 matrox cards

"Antonino A. Daplas" <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
Christoph Kaminski wrote:
> Hi!
> 
> I have a Problem with 2 Matrox Cards in the same PC and matroxfb
> I want to use the Millenium2 for console/X and the G450 for tv-out (directfb)
> 
> I can load the matroxfb module without any errors:
> 
> matroxfb: Matrox Millennium II (PCI) detected
> matroxfb: MTRR's turned on
> matroxfb: 640x480x8bpp (virtual: 640x13081)
> matroxfb: framebuffer at 0xDA000000, mapped to 0xf9080000, size 8388608
> Console: switching to colour frame buffer device 80x30
> kernel: fb0: MATROX frame buffer device
> kernel: PCI: Enabling device 0000:03:00.0 (0000 -> 0002)
> kernel: ACPI: PCI Interrupt 0000:03:00.0[A] -> Link [APC4] -> GSI 19 (level, 
> high) -> IRQ 193
> kernel: matroxfb: Matrox G450 detected
> kernel: matroxfb: MTRR's turned on
> kernel: matroxfb: 640x480x8bpp (virtual: 640x26214)
> kernel: matroxfb: framebuffer at 0xD8000000, mapped to 0xfa100000, size 
> 33554432
> kernel: fb1: MATROX frame buffer device
> kernel: fb1: initializing hardware
> kernel: matroxfb_crtc2: secondary head of fb1 was registered as fb2
> kernel: matroxfb: cannot set xres to 800, rounded up to 832
> 
> but if I start a Program what uses directfb (eg: mplayer or freevo) ond 
> the /dev/fb1 (G450) then it freezes the /dev/fb0 (millenium2/console)
> If I stop the application, then I can again use console (/dev/fb0)
> 
> why? how can I solve it?
> 

Currently, only one vt can be active at a time. Directfb applications
usually allocate a vt, then switch to it.  This leaves the other vt's
inactive.

Try to experiment with options like --dfb:no-vt-switch, vt-switching,
no-graphics-vt. Try to do it with directfb apps first, then find a way to
pass these options to mplayer.

Another way is to launch the directfb app while in X.  I have heard that this
setup works for a lot of people.

(Note: I haven't followed development of directfb for sometime, but I guess
those options are still there).

Tony




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.