Here is log of stdout/stderr
-------------------------------------------------------------------------------------------
[softdevice] processing args
[softdevice] argv [0] = softdevice
[softdevice] argv [1] = -vo
[setup-softdevice] alsa ac3Mode set to: 1
[setup-softdevice] alsa AC3 device set to:
iec958:AES0=0x2,AES1=0x82,AES2=0x0,AES3=0x2
[setup-softdevice] alsa device set to: default
[setup-softdevice] A/V Offset set to (0)
[setup-softdevice] Cropping 0 lines from bottom
[setup-softdevice] Cropping 0 columns from left
[setup-softdevice] cropping mode set to 0 (none)
[setup-softdevice] cropping mode toggle key set to 0 (none)
[setup-softdevice] Cropping 0 columns from right
[setup-softdevice] Cropping 1 lines from top
[setup-softdevice] deinterlace method set to 1 lavc
[setup-softdevice] mainMenu: 1
[setup-softdevice] setting alpha blend mode to pseudo
[softdevice] picture mirroring set to 0 (off)
[setup-softdevice] pixel format set to (YUY2)
[setup-softdevice] shouldSuspend to: 0
[setup-softdevice] syncTimerMode: sig
[softdevice] UseStretchBlitset to off
[setup-softdevice] vidBrightness: 50
[setup-softdevice] vidContrast: 50
[setup-softdevice] vidHue: 50
[setup-softdevice] vidSaturation: 50
[setup-softdevice] startup aspect set to (4:3 normal)
[softdevice] initializing Plugin
[softdevice] Initializing Video Out
[softdevice] ffmpeg version(CVS) build(3277056)
[dfb] init
(*) DirectFB/Config: Parsing config file '/etc/directfbrc'.
---------------------- DirectFB v0.9.25 ---------------------
(c) 2000-2002 convergence integrated media GmbH
(c) 2002-2004 convergence GmbH
-----------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2005-12-01 21:46)
(!) Direct/Modules: Unable to dlopen
`/usr/lib/directfb-0.9.25/systems/libdirectfb_sdl.so'!
--> libdirectfb-0.9.so.24: cannot open shared object file: No such
file or directory
(*) Direct/Memcpy: Using MMXEXT optimized memcpy()
(*) DirectFB/Core: doing sync()...
(!) Direct/Modules: Unable to dlopen
`/usr/lib/directfb-0.9.25/inputdrivers/libdirectfb_sdlinput.so'!
--> libdirectfb-0.9.so.24: cannot open shared object file: No such
file or directory
(*) Direct/Modules: suppress module 'joystick'
(*) Direct/Modules: suppress module 'keyboard'
(*) Direct/Modules: suppress module 'linux_input'
(*) Direct/Modules: suppress module 'lirc'
(*) Direct/Modules: suppress module 'ps2mouse'
(*) Direct/Modules: suppress module 'serialmouse'
(*) Direct/Modules: suppress module 'sonypi'
(*) DirectFB/Genefx: MMX detected and enabled
(*) Direct/Modules: suppress module 'ati128'
(*) Direct/Modules: suppress module 'radeon'
(*) Direct/Modules: suppress module 'cyber5k'
(*) Direct/Modules: suppress module 'tdfx'
(*) Direct/Modules: suppress module 'neomagic'
(*) Direct/Modules: suppress module 'savage'
(*) Direct/Modules: suppress module 'nsc'
(*) Direct/Modules: suppress module 'r200'
(*) DirectFB/Graphics: VIA/S3G KM400/UniChrome 0.4 (-)
(*) DirectFB/Core/WM: Default 0.2 (Convergence GmbH)
(!!!) *** UNIMPLEMENTED [fusion_reactor_set_lock] *** [reactor.c:837]
[dfb] RAM: 33812480 bytes
[dfb] Accellerated Functions: FillRectange DrawRectange DrawLine
FillTriangle Blit StretchBlit All
[dfb] Drawing Flags: Blend Xor
[dfb] Surface Blitting Flags: BlendAlpha BlendColorAlpha Colorize
SrcColorkey DstColorkey Deinterlace
[dfb] Supported video Modes are: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
[dfb] Enumerating display Layers
Layer 0 VIA CLE266 Graphics Type: graphics
Caps: alphachannel brightness contrast opacity saturation src_colorkey
surface
Layer 1 VIA Unichrome Video Type: graphics picture video
Caps: deinterlacing dst_colorkey levels field_parity opacity
screen_location surface
[surface capabilities] scrSurface: primary videoonly double-buffered
flipping
[dfb] width = 800, height = 600
[dfb] got fmt = 0x00418c04 bpp = 32
[dfb] Using this layer for OSD: (VIA CLE266 Graphics - [736x576])
[surface capabilities] osdSurface: videoonly double-buffered flipping
(!!!) *** WARNING [letting unprivileged
IDirectFBDisplayLayer::GetSurface() call pass until cooperative level
handling is finished] *** [idirectfbdisp$
[surface capabilities] videoSurface: videoonly
[dfb] Configuring CooperativeLevel for Overlay
[dfb] Configuring CooperativeLevel for OSD
[dfb] Using this layer for OSD: VIA CLE266 Graphics
[dfb] Using this layer for Video out: VIA Unichrome Video
[dfb] Display frame time is 16652 microseconds
[dfb] (re)configuring Videolayer to 720 x 576 (720x576)
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[softdevice] Subplugin successfully opend
[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
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
[dfb] (re)configuring Videolayer to 736 x 576 (720x576)
[dfb] SetParams: action=IDirectFBDisplayLayer::SetScreenLocation(float,
float, float, float), result=Invalid argument!
[surface capabilities] videoSurface: videoonly double-buffered flipping
[dfb] (re)configured 0x00200806
Releasing DFB
vo_argv: dfb:
Everything looks good, OSD is good, Besides that "invalid arguement"
error, everything else looks good too
Stefan Lucke wrote:
On Freitag, 2. Dezember 2005 23:28, Dave wrote:
I figured out my IRQ problem (ACPI), and now I have accelleration, but
still not useable directfb, mplayer plays back a picture that is covered
in artifacting and garbled stuff, with VDR softdevice, the OSD shows up
fine on one layer, but nothing but a black and white strip across the
top 1/4 of the screen on the other layer, (or green depending on the
pixelformat), I can see an image if I turn on stretchblit, but it doesnt
work right, (1-2 frames a second) and lots of artifacting.
Can you show us the messages written to console (stdout & stderr) and
the corresponding section of your syslog ?
Stretchblit() was allways to slow for me too. In softdevice I allocate
surfaces with DSCAPS_VIDEOONLY. I don't know if that's the best way
to allocate them for VIA and stretchblit().
You can change the SetLevel(1) call to (-1) (line 806), but your
reported sympton sounds different.
Kernel 2.6.14
GCC 3.3.6
Mplayer CVS
Directfb/DFB CVS
softdevice CVS
Mark Adams wrote:
I enabled IRQ in bios for VGA, and that error goes away. but when I do
that, it kills out my DVB card, with a " nobody cared" error "Disabling
IRQ 17", although the VIA VGA gets IRQ 11. so I try to play it back with
mplayer to see if it fixed my problem anways, and still no dice, 4-5
frames per second.
One more thought: does this happen when you first load the viafb
module or before?
If it happens when you load viafb, it sounds to me like the VGA IRQ is
actually being routed to IRQ 17 and not IRQ 11 as the kernel believes.
This would produce the behaviour you're seeing.
A hideous hack that would get round this would be to hard code '17' in
the request_irq call. A better solution would be to find out why your
IRQ routing is getting screwed up.
Mark
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users