[vlc-devel] VDPAU output with OSS driver

Android Jack jackdroido at gmail.com
Thu Jul 25 13:13:34 CEST 2013


> It works in mplayer because mplayer does not check the profiles and
> levels.

So, if I try to disable these checks, just for testing purposes (I
understand query hw for support it's a better thing to do than
shooting in the dark, but ...) since in my case the exposed
information are not reliable, the magic could happen :-) ?

I've tried commenting the vdp_decoder_query_capabilities() check in
vdpau/avcodec.c (see: http://pastebin.com/JQ1BKf8Q) which was
originating the error.

The results are encouraging, since the unsupported profile and YCbCr
errors are gone ... but then fails to display any pictures:

[0xb56659f8] main generic debug: looking for hw decoder module
matching "any": 3 candidates
[0xb56659f8] vdpau_avcodec generic debug: video surface supported
maximum: YUV 4:2:0 16384x16384
[0xb56659f8] main generic debug: using hw decoder module "vdpau_avcodec"
[0xb5653158] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[0x9242898] main spu text debug: looking for text renderer module
matching "any": 3 candidates
[0x9242898] freetype spu text debug: Building font databases.
[0x9242898] freetype spu text debug: Took 1 microseconds
[0x9242898] freetype spu text debug: Using Serif Bold as font from
file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
[0x9242898] freetype spu text debug: using fontsize: 2
[0x9242898] main spu text debug: using text renderer module "freetype"
[0x924df80] main scale debug: looking for video filter2 module
matching "any": 59 candidates
[0x924df80] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma:
RGBA with scaling using Bicubic (good quality)
[0x924df80] main scale debug: using video filter2 module "swscale"
[0x9263088] main scale debug: looking for video filter2 module
matching "any": 59 candidates
[0x9263088] yuvp scale debug: YUVP to YUVA converter
[0x9263088] main scale debug: using video filter2 module "yuvp"
[0x9241ac0] main video output debug: Deinterlacing available
[0x9241ac0] main video output debug: deinterlace 0, mode blend, is_needed 0
[0x9241ac0] main video output debug: Opening vout display wrapper
[0x9267a30] main vout display debug: looking for vout display module
matching "any": 12 candidates
[0x9267f28] main window debug: looking for vout window xid module
matching "qt4,any": 4 candidates
[0x9267f28] qt4 window debug: requesting video window...
[0x91651d8] qt4 interface debug: Video was requested 0, 0
[0x9267f28] main window debug: using vout window xid module "qt4"
[0x9267ff8] main inhibit debug: looking for inhibit module matching
"any": 2 candidates
[0x9267ff8] dbus_screensaver inhibit error: cannot connect to session
bus: //bin/dbus-launch terminated abnormally without any error message
[0x9267ff8] main inhibit debug: using inhibit module "xdg_screensaver"
[0x9267a30] vdpau_display vout display debug: connected to X11.0 server
[0x9267a30] vdpau_display vout display debug:  vendor : The X.Org Foundation
[0x9267a30] vdpau_display vout display debug:  version: 11303000
[0x9267a30] vdpau_display vout display debug: using screen 0x2ba
[0x9267a30] vdpau_display vout display debug: using back-end G3DVL
VDPAU Driver Shared Library version 1.0
[0x9267a30] vdpau_display vout display debug: using RGBA format 2
[0x9267a30] vdpau_display vout display debug: using X11 window 0x00c00001
[0x9267a30] main vout display debug: VoutDisplayEvent 'fullscreen' 0
[0x9267a30] main vout display debug: VoutDisplayEvent 'resize' 1920x1080 window
[0x9267a30] main vout display debug: using vout display module "vdpau_display"
[0x9267a30] main vout display debug: A filter to adapt decoder to
display is needed
[0x9271148] main filter debug: looking for video filter2 module
matching "any": 59 candidates
[0x9271148] main filter debug: using video filter2 module "vdpau_chroma"
[0x9267a30] main vout display debug: Filter 'VDPAU' (0x9271148)
appended to chain
[0x9241ac0] main video output debug: original format sz 1920x1088, of
(0,0), vsz 1920x1080, 4cc VDV0, sar 1:1, msk r0x0 g0x0 b0x0
[0x9242898] main spu text debug: removing module "freetype"
[0x9242898] main spu text debug: looking for text renderer module
matching "any": 3 candidates
[0x9242898] freetype spu text debug: Building font databases.
[0x9242898] freetype spu text debug: Took 2 microseconds
[0x9242898] freetype spu text debug: Using Serif Bold as font from
file /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf
[0x9242898] freetype spu text debug: using fontsize: 2
[0x9242898] main spu text debug: using text renderer module "freetype"
[0xb5653158] main decoder debug: End of video preroll
[0xb5653158] main decoder debug: Received first picture
[0x9271148] vdpau_chroma filter debug: using video mixer sharpness feature
***
[0x9271148] vdpau_chroma filter error: video color space matrix
failure: An invalid pointer was provided. Typically, this means that a
NULL pointer was provided for an 'output' parameter.
***
[0x9271148] vdpau_chroma filter debug: using video mixer 13
[0x9267a30] main vout display warning: VoutDisplayEvent 'pictures invalid'
[0x9267a30] main vout display warning: VoutDisplayEvent 'pictures invalid'
[0x9267a30] main vout display warning: VoutDisplayEvent 'pictures invalid'
[0x9267a30] main vout display debug: SOURCE  sz 1920x1088, of (0,0),
vsz 1920x1080, 4cc VDV0, sar 1:1, msk r0x0 g0x0 b0x0
[0x9267a30] main vout display debug: CROPPED sz 1920x1088, of (0,0),
vsz 1920x1080, 4cc VDV0, sar 1:1, msk r0x0 g0x0 b0x0
[0x9267a30] main vout display warning: VoutDisplayEvent 'pictures invalid'
[0x9267a30] vdpau_display vout display debug: resetting pictures
[0xb5d12db8] main input debug: Decoder buffering done in 278 ms
[0x9267a30] main vout display error: Failed to resize display
[0x9267a30] main vout display debug: Filter 0x9271148 removed from chain
[0x9271148] main filter debug: removing module "vdpau_chroma"
[0x9267a30] main vout display debug: A filter to adapt decoder to
display is needed
[0x9271630] main filter debug: looking for video filter2 module
matching "any": 59 candidates
[0x9271630] main filter debug: using video filter2 module "vdpau_chroma"
[0x9267a30] main vout display debug: Filter 'VDPAU' (0x9271630)
appended to chain
[0x9271630] vdpau_chroma filter debug: using video mixer sharpness feature
***
[0x9271630] vdpau_chroma filter error: video color space matrix
failure: An invalid pointer was provided. Typically, this means that a
NULL pointer was provided for an 'output' parameter.
***
[0x9271630] vdpau_chroma filter debug: using video mixer 19
[0x9267a30] vdpau_display vout display debug: display is visible
[0x9241ac0] main video output debug: picture might be displayed late
(missing 0 ms)
[0x9267a30] vdpau_display vout display debug: surface status: 2
[0x9267a30] vdpau_display vout display debug: surface status: 1
[0x9267a30] vdpau_display vout display debug: surface status: 2
[0x9267a30] vdpau_display vout display debug: surface status: 2
[0x9267a30] vdpau_display vout display debug: surface status: 2

I know what I've done is dirty, but again is just a test to see if
that was the only problem... but there must something else somewhere
else.

Any hints you can give me about if and where to change code, to get
video playing ? (before start bothering MESA guys :-))

Thanks again !



More information about the vlc-devel mailing list