On Tue, Aug 05, 2003 at 07:27:49PM +0200, [EMAIL PROTECTED] wrote: > (*) 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.
It seems like it's trying to use the wrong device. > in /etc/directfbrc I have now: > matrox-crtc2 > matrox-tv-standard=pal > fbdev=/dev/fb1 This should however make it use the correct one. Weird... > 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. The relationship between various hardware components and matroxfb modules is roughly like this. matroxfb_base = CRTC1 matroxfb_crtc2 = CRTC2 matroxfb_DAC1064 = primary output Mystique-G550 matroxfb_Ti3026 = primary output Millennium (II) matroxfb_g450 = secondary output G450/G550 matroxfb_maven = secondary output G200/G400 i2c-matroxfb = driver for i2c busses on all cards. One bus per output for DDC. On G200/G400 one bus for maven chip eg. secondary output control. matroxfb_accel = console acceleration matroxfb_misc = VGA register setup, BIOS parsing, etc. g450_pll = G450/G550 clock setup A CRTC reads data from memory and feeds it one or more outputs. G400/G450/G550 have two CRTCs so they can display two independent pictures. G200 and older cards have only one CRTC. The term head isn't really useful (with Matrox cards at least) since it's not usually clear if people are referring to CRTCs or physical outputs. Probably most people don't even realize that there is a difference. > 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? You only need it if you want to run a framebuffer console on CRTC2. > matroxfb_maven: second head support for g400? needed only for mplayer's > mga_vid? Only needed if you plan to use a framebuffer console on secondary output of G200/G400. DirectFB's TV-out code won't work if this module is loaded. DirectFB controls the maven chip directly from userspace via i2c-matroxfb. > matroxfb_proc: proc-interface driver? No idea. What kernel version is this? 2.4.20 doesn't seem to have this module. > i2c-matroxfb: -vo dfbmga needs this? -vo dfbmga w/ G400 needs this. G450/G550 don't need it. > mga_vid: module supplied by mplayer Uses the BES overlay to display videos. Doesn't really need anything else to operate. > 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). This worked by making CRTC1 output to the secondary output. > does this work with a g450? No. G450/G550 can't make CRTC1 output go to the TV encoder. It will only work if a monitor is used istead of a TV. > 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. matroxfb_base yes. i2c-matroxfb is needed with a G400. G450/G550 works without it. > what about matroxfb_crtc2? No. > do I need the matroxset tool now for the g450 to setup the head with the > tv-out plug? No. > 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. FUD ;) > 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)? Maybe. I've never tried that patch (or method c). -- Ville Syrj�l� [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ -- Info: To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe directfb-users" as subject.
