loading the matroxfb_base module renders the text-mode console on the nvidia card unusable. at the same time x with the nvidia.o module works fineAre you using vga console with the nvidia card? What happens if you use fb console for both cards?
:) just after sending my message I had that same thought. I now boot with vga=795 and loading the matroxfb_base module no longer disturbs the output on the nvidia card.
but now after loading matroxfb_base and then i2c-matroxfb mplayer -vo dfbmga tells me:
(*) parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.20 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2003 convergence GmbH
-----------------------------------------------------------
(*) Multi Application Core. (with MMX support) (2003-08-05 03:15)
(*) DirectFB/core: doing sync()...
(*) DirectFB/misc/memcpy: using MMXEXT optimized memcpy()
(*) DirectFB/InputDevice: IMPS/2 Mouse (1) 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: IMPS/2 Mouse (2) 0.9 (convergence integrated media GmbH)
(*) DirectFB/InputDevice: Keyboard 0.9 (convergence integrated media GmbH)
(*) MMX detected and enabled
(*) DirectFB/GraphicsDevice: MMX Software Rasterizer 0.6 (convergence integrated media GmbH)
(!) DirectFB/core/fbdev: Panning display failed!
--> Invalid argument
(*) DirectFB/Layer: Enabled 'FBDev Primary Layer'.
(!) DirectFB/core/fbdev: Panning display failed!
--> Invalid argument
Can't get CRTC2 layer - Not supported!
Error opening/initializing the selected video_out (-vo) device.
in /etc/directfbrc I have now:
matrox-crtc2
matrox-tv-standard=pal
fbdev=/dev/fb1
no-vt-switch
sync
next step is starting mplayer with -vo dfbmga. now the video appears correctly on the tv connected to the tv-out plug - but the output of the nvidia card switches to that weird half transparent text-console and only switches back to X when mplayer stops.Try no-vt-switch option in directfbrc.
the more I play around with this, the more confused I get. I don't know _exactly_ which module does what. there is a whole bunch of matrox-modules and there are so far three possibilities of using matrox cards without x in mplayer.
I'll start writing down what I understood so far:
matroxfb_base: this is the basic frambuffer driver, it loads matroxfb_g450, matroxfb_DAC1064, g450_pll, matroxfb_accel and matroxfb_misc.
matroxfb_crtc2: this has obviously to do with the second head. what exactly is its purpose? is it needed for -vo dfbmga on tv-out plug? is it only needed for mplayer's mga_vid?
when loaded, i have an additional fb device in /proc/fb:
0 VESA VGA
1 MATROX VGA
2 MATROX CRTC2
matroxfb_maven: second head support for g400? needed only for mplayer's mga_vid?
matroxfb_proc: proc-interface driver?
i2c-matroxfb: -vo dfbmga needs this?
mga_vid: module supplied by mplayer
is that correct so far? please correct me if I'm wrong.
then there are the 3 ways of running mplayer:
a) -vo mga_vid
this worked fine with a g400 (tv-out on tv-out plug, correct mode has to be set with matroxset and fbset).
does this work with a g450?
again, if I talk about "work" I mean tv-out with mplayer on the tv-out plug. I don't care what happens on the other head ;).
if it is possible, which modules are needed? for the g400 I used i2c-matroxfb, matroxfb_base, matroxfb_Ti3026, matroxfb_crtc2, matroxfb_maven and mga_vid.
b) -vo dfbmga
this worked also fine with a g400 (tv-out on tv-out plug, no fbset and matroxset necessary). had that working shortly, but that interfered with the nvidia card. now with vesa frambuffer for nvidia running on /dev/fb0 I cannot get directfb to work, see above.
for now this is what I'm trying to get to work.
which modules are needed for this?
matroxfb_base for sure. i2c-matroxfb, too.
what about matroxfb_crtc2?
do I need the matroxset tool now for the g450 to setup the head with the tv-out plug?
c) -vo fbdev -fb /dev/fbX
haven't tried this. in several howtos it sounds this is the only way to get tv-out on a g450 though. weird... as I already had tv-out with method b) on the g450...
what about that patch: http://platan.vc.cvut.cz/ftp/pub/linux/matrox-latest/mga-2.4.19-rc5-tvout.gz ? is it only needed for method c)?
questions, questions, questions... I really want to understand this...
thank you very much
martin jess
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
