DirectFB radeon output

Torgeir Veimo <[email protected]>
Newsgroups gmane.linux.fbdev.user
Message-ID <[email protected]>
DirectFB output with VDR & softdevice plugin works ok with an mga card,
but I'm struggling with radeon output. The screen goes all black, and
the strange thing is that if I start up the Xorg server after this, the
Xv output windows is also completely black, but with OSD shown. Any
ideas?

[root@vigor10 softdevice]# cat /etc/directfbrc
mode=720x576
depth=32

[root@vigor10 softdevice]# dfbinfo
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

       ---------------------- DirectFB v0.9.21 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-01-24 13:32)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 5494)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 5495)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: ATI Radeon 0.2 (Michel Dnzer)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)


Screen (00) Radeon Primary Screen           (primary screen)
   Caps: VSYNC POWER_MANAGEMENT

     Layer (00) FBDev Primary Layer             (primary layer)
        Type:    GRAPHICS
        Caps:    SURFACE BRIGHTNESS CONTRAST SATURATION

     Layer (01) Radeon Overlay
        Type:    GRAPHICS VIDEO STILL_PICTURE
        Caps:    SURFACE OPACITY ALPHACHANNEL SCREEN_LOCATION
SRC_COLORKEY DST_COLORKEY


Input (01) IMPS/2 Mouse                    (primary mouse)
   Type: MOUSE
   Caps: AXES BUTTONS

Input (00) Keyboard                        (primary keyboard)
   Type: KEYBOARD
   Caps: KEYS

[root@vigor10 VDR]# ./rundfb
[softdevice] processing args
[softdevice]   argv [0] = softdevice
[softdevice]   argv [1] = -vo
arg: /dev/cdrom
[setup-softdevice] alsa device set to: hw:0,2
[setup-softdevice] A/V Offset set to (-8)
[setup-softdevice] cropping mode set to 0 (none)
[setup-softdevice] deinterlace method set to 1 lavc
[softdevice] picture mirroring set to 0 (off)
[setup-softdevice] pixel format set to (YUV2)
[setup-softdevice] startup aspect set to (16:9 wide)
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg version(0.4.9-pre1) build(4736)
[dfb] init
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.

       ---------------------- DirectFB v0.9.21 ---------------------
             (c) 2000-2002  convergence integrated media GmbH
             (c) 2002-2004  convergence GmbH
        -----------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2005-01-24 13:32)
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) Direct/Thread: Running 'PS/2 Input' (INPUT, 5505)...
 (!!!)  *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:802]
(*) DirectFB/Input: IMPS/2 Mouse 1.0 (Convergence GmbH)
(*) Direct/Thread: Running 'Keyboard Input' (INPUT, 5506)...
(*) DirectFB/Input: Keyboard 0.9 (convergence integrated media GmbH)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: ATI Radeon 0.2 (Michel Dnzer)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
[dfb] RAM: 67108864 bytes
[dfb] Accellerated Functions: FillRectange DrawRectange DrawLine Blit
All
[dfb] Drawing Flags: none
[dfb] Surface Blitting Flags: SrcColorkey
[dfb] Supported video Modes are: 640x480@8 640x480@8 640x480@8 640x480@8
640x480@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8 800x600@8
800x600@8 800x600@8 1024x768@8 1024x768@8 1024x768@8 1024x768@8
1024x768@8 1024x768@8 1024x768@8 1152x864@8 1152x864@8 1152x864@8
1152x864@8 1152x864@8 1152x864@8 1024x1024@8 1280x1024@8 1280x1024@8
1280x1024@8 1280x1024@8 1280x1024@8 1600x1200@8 1600x1200@8 1600x1200@8
1280x720@16 1280x720@32 720x576@32
[dfb] Enumeratig display Layers
Layer 0 FBDev Primary Layer  Type: graphics
  Caps: brightness contrast saturation surface
Layer 1 Radeon Overlay  Type: graphics picture video
  Caps: alphachannel dst_colorkey opacity screen_location src_colorkey
surface
[dfb] width = 720, height = 576
[dfb] got fmt = 0x00400c03 bpp = 32
[dfb] Using this layer for OSD: (FBDev Primary Layer - [720x576])
osdSurface::
 - videoonly
 - flipping
videoSurface::
 - videoonly
[dfb] Configuring CooperativeLevel for Overlay
[dfb] Configuring ColorKeying
[dfb] Configuring CooperativeLevel for OSD
[dfb] Using this layer for OSD: FBDev Primary Layer
[dfb] Using this layer for Video out: Radeon Overlay
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806
[softdevice] Video Out seems to be OK
[softdevice] Initializing Audio Out
[softdevice] Audio out seems to be OK
[softdevice] A/V devices initialized, now initializing MPEG2 Decoder
cSoftDevice::MakePrimaryDevice
 (!!!)  *** ONCE [only copying/scaling blits supported for YUV in
software] *** [generic.c:3998 in gAcquire()]
[softdevice] allocating picture buffer for resolution 720x576
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[dfb] creating new surface
[dfb] (re)configured 0x00200806



-- 
Torgeir Veimo <[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
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.