On Sun, Apr 17, 2005 at 03:58:43PM +0200, Espen Andre Fossen wrote:
> Hei folks
> 
> Recently got myself a G450 and an old AMD mobo, and I really want to use
> it to view movies on my TV.
> 
> After some research i have found DirectFB to be the best solution for
> getting it the way i want, but i have run into a little problem.
> 
> Each time i try to run mplayer with "mplayer -vo dfbmga vid.avi", I get
> this error:
> 
> Can't get CRTC2 layer - Not supported!
> 
> The complete debug is listed at the end.
> 
> Several posts about the same problem have suggested updating the
> mplayer, i have done that and tried several versions, including the
> pre5-r5 and pre6-r3, but I still get the same error.
> 
> I have been reading through most mails concerning the CRTC2 layer
> problem, and have tried almost all suggestions, but is still can't find
> the solution. here are the configs and logs, what i am missing?
> 
> 
> The kernel log:
> 
> Apr 17 15:44:34 general matroxfb: Matrox G450 detected
> Apr 17 15:44:34 general matroxfb: MTRR's turned on
> Apr 17 15:44:34 general matroxfb: 640x480x8bpp (virtual: 640x26214)
> Apr 17 15:44:34 general matroxfb: framebuffer at 0xD4000000, mapped to
> 0xf0a80000, size 16777216
> 
> 
> and the lsmod looks like this:
> 
> matroxfb_base          27108  2
> matroxfb_DAC1064        9600  1 matroxfb_base
> matroxfb_accel          4480  1 matroxfb_base
> cfbcopyarea             3840  1 matroxfb_accel
> cfbimgblt               2944  1 matroxfb_accel
> cfbfillrect             3584  1 matroxfb_accel
> matroxfb_g450           6272  1 matroxfb_base
> g450_pll                5504  2 matroxfb_DAC1064,matroxfb_g450
> matroxfb_misc          11444  5
> matroxfb_base,matroxfb_DAC1064,matroxfb_accel,matroxfb_g450,g450_pll
> fusion                 30404  0
> 
> my /etc/directfbrc currently looks like this.
> 
> matrox-crtc2
> matrox-tv-standard=pal
> 
> 
> I am running gentoo, and have patched the a 2.6.9 kernel with both the
> fusion and matrox memory patch. Beside the patches this it what the
> kernel config looks like:
> 
> Kernel options:
> 
> 
> Processor type and features  --->
>        [*] MTRR (Memory Type Range Register) support
> 
> Character Devices  --->
>                      <M> /dev/agpgart (AGP Support)
> 
>                        <M>   VIA chipset support
> 
>                      [*] Direct Rendering Manager
> 
>                        <M>   Matrox g200/g400
> 
> Graphics Support  --->
> 
>               <M> Matrox acceleration
>                                                         [ ]   Millennium I/II
> support
>                                 [ ]   Mystique support
>                                                         [*]
> G100/G200/G400/G450/G550 support
> 
>                 [ ]   Multihead support
> 
>        Console display driver support  --->
>         [*] Video mode selection support
>                <*> Framebuffer Console support
>         [*]   Select compiled-in fonts
>         [*]    VGA 8x8 font
>         [*]    VGA 8x16 font
> 
> 
> Output of mplayer:
> 
> CPU: Advanced Micro Devices Duron Spitfire 801.2 MHz (Family: 6,
> Stepping: 1)
> Detected cache-line size is 64 bytes
> MMX2 supported but disabled
> CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
> Compiled for x86 CPU with extensions: MMX 3DNow 3DNowEx SSE
> 
> Reading config file /usr/share/mplayer/mplayer.conf
> Reading config file /root/.mplayer/config
> Reading /root/.mplayer/codecs.conf: Can't open
> '/root/.mplayer/codecs.conf': No such file or directory
> Reading /usr/share/mplayer/codecs.conf: 73 audio & 180 video codecs
> font: can't open file: /root/.mplayer/font/font.desc
> Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
> Using usleep() timing
> Can't open input config file /root/.mplayer/input.conf: No such file or
> directory
> Input config file /usr/share/mplayer/input.conf parsed: 53 binds
> 
> Cache fill:  4.59% (385024 bytes)    AVI file format detected.
> VIDEO:  [DIV3]  512x384  24bpp  23.976 fps  976.8 kbps (119.2 kbyte/s)
> ==========================================================================
> Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
> MP3lib: init layer2&3 finished, tables done
> AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
> Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
> ==========================================================================
> (*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
> (-) [  NO NAME         0.000] (13134) DirectFB/Config: Unable to open
> config file `/root/.directfbrc'!
> 
>        ---------------------- DirectFB v0.9.22 ---------------------
>              (c) 2000-2002  convergence integrated media GmbH
>              (c) 2002-2004  convergence GmbH
>         -----------------------------------------------------------
> 
> (-) [  NO NAME         0.006] (13134) DirectFB/Core: dfb_core_create...
> (-) [  NO NAME         0.007] (13134) Direct/Main:
> direct_initialize() called...
> (-) [  NO NAME         0.007] (13134) Direct/Main:       ...initializing
> now.
> (-) [  NO NAME         0.008] (13134) Direct/Signals:    Initializing...
> (*) DirectFB/Core: Multi Application Core. (2005-04-17 09:55) [ DEBUG ]
> (-) [  NO NAME         0.009] (13134) Direct/Modules:    Loading
> '/usr/lib/directfb-0.9.22-debug/systems/libdirectfb_sdl.so'...

You're using the SDL system. You need to use the fbdev system.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to