Weird VDPAU issue

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Weird VDPAU issue

Postby rvdboom » 27 Jul 2013 17:07

Hi,
I have a small system with an AMD Brazos CPU that has a UVD video decoding device. This type of device is supported by the Open Source radeon driver since April-May 2013 through the VDPAU library.
The kernel is a fairly recent 3.10.3, libvdpau 0.6 is installed as well as a ffmpeg compiled to support it. VLC is also compiled to support VDPAU and it's a git pull from today.
The kernel correctly says thay UVD is initialized, vdpauinfo tells that H264, MPEG4 and VC1 are available, and mplayer properly displays a h264 mkv file using about 7% CPU, which is quite good, without VDPAU, I'm closer to 35-50% CPU.
So, to sum up, UVD works well on this system.
VLC, however, fails to used VDPAU, as can be seen in the log with "-vv" parameter :

Code: Select all

[0x8a1b78] main libvlc debug: VLC media player - 2.2.0-git Weatherwax [0x8a1b78] main libvlc debug: Copyright © 1996-2013 the VideoLAN team [0x8a1b78] main libvlc debug: revision 2.1.0-git-409-g58ef3bb [0x8a1b78] main libvlc debug: configured with ./configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--mandir=/usr/man' '--libdir=/usr/lib64' '--build=x86_64-slackware-linux' '--enable-dcp=yes' 'build_alias=x86_64-slackware-linux' 'CFLAGS=-O3 -fPIC -march=opteron' 'CXXFLAGS=-O3 -fPIC -march=opteron' 'PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig:/usr/lib64/pkgconfig' [0x8a1b78] main libvlc debug: searching plug-in modules [0x8a1b78] main libvlc debug: loading plugins cache file /usr/lib64/vlc/plugins/plugins.dat [0x8a1b78] main libvlc debug: recursively browsing `/usr/lib64/vlc/plugins' [0x8a1b78] main libvlc debug: saving plugins cache /usr/lib64/vlc/plugins/plugins.dat [0x8a1b78] main libvlc debug: plug-ins loaded: 388 modules [0x8a1b78] main libvlc debug: opening config file (/home/jadevdb/.config/vlc/vlcrc) [0x8a1b78] main libvlc debug: translation test: code is "fr" [0x8a1b78] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4A 3DNow! FPU [0x95f598] main input debug: Creating an input for 'Bibliothèque' [0x95f598] main input debug: Input is a meta file: disabling unneeded options [0x95f598] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x95f598] main input debug: `file/xspf-open:///home/jadevdb/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/jadevdb/.local/share/vlc/ml.xspf' [0x95f598] main input debug: creating demux: access='file' demux='xspf-open' location='/home/jadevdb/.local/share/vlc/ml.xspf' file='/home/jadevdb/.local/share/vlc/ml.xspf' [0x9643f8] main demux debug: looking for access_demux module matching "file": 15 candidates [0x9643f8] main demux debug: no access_demux modules matched [0x95f598] main input debug: creating access 'file' location='/home/jadevdb/.local/share/vlc/ml.xspf', path='/home/jadevdb/.local/share/vlc/ml.xspf' [0x971db8] main access debug: looking for access module matching "file": 20 candidates [0x971db8] filesystem access debug: opening file `/home/jadevdb/.local/share/vlc/ml.xspf' [0x971db8] main access debug: using access module "filesystem" [0x972b48] main stream debug: Using stream method for AStream* [0x972b48] main stream debug: starting pre-buffering [0x972b48] main stream debug: received first data after 0 ms [0x972b48] main stream debug: pre-buffering done 296 bytes in 0s - 6150 KiB/s [0x972da8] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x972da8] main stream debug: no stream_filter modules matched [0x972da8] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x972da8] main stream debug: no stream_filter modules matched [0x95f598] main input debug: creating demux: access='file' demux='xspf-open' location='/home/jadevdb/.local/share/vlc/ml.xspf' file='/home/jadevdb/.local/share/vlc/ml.xspf' [0x972da8] main demux debug: looking for demux module matching "xspf-open": 56 candidates [0x972da8] playlist demux debug: using XSPF playlist reader [0x972da8] main demux debug: using demux module "playlist" [0x977d88] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x977d88] lua demux meta debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/meta/reader [0x977d88] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [0x977d88] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [0x977d88] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x977d88] main demux meta debug: no meta reader modules matched [0x95f598] main input debug: `file/xspf-open:///home/jadevdb/.local/share/vlc/ml.xspf' successfully opened [0x985d98] main xml reader debug: looking for xml reader module matching "any": 1 candidates [0x985d98] main xml reader debug: using xml reader module "xml" [0x972da8] playlist demux debug: parsed 0 tracks successfully [0x95f598] main input debug: EOF reached [0x972da8] main demux debug: removing module "playlist" [0x971db8] main access debug: removing module "filesystem" [0x8b6448] main playlist debug: creating audio output [0x972b48] main audio output debug: looking for audio output module matching "any": 4 candidates [0x972b48] alsa audio output debug: Available ALSA PCM devices: [0x972b48] alsa audio output debug: Discard all samples (playback) or generate zero samples (capture) (null) [0x972b48] alsa audio output debug: HD-Audio Generic, HDMI 0 HDMI Audio Output (hdmi:CARD=Generic,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog Default Audio Device (sysdefault:CARD=SB) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog Front speakers (front:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog 4.0 Surround output to Front and Rear speakers (surround40:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog 4.1 Surround output to Front, Rear and Subwoofer speakers (surround41:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog 5.0 Surround output to Front, Center and Rear speakers (surround50:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog 5.1 Surround output to Front, Center, Rear and Subwoofer speakers (surround51:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Analog 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers (surround71:CARD=SB,DEV=0) [0x972b48] alsa audio output debug: HDA ATI SB, ALC892 Digital IEC958 (S/PDIF) Digital Audio Output (iec958:CARD=SB,DEV=0) [0x972b48] main audio output debug: using audio output module "alsa" [0x8b6448] main playlist debug: keeping audio output [0x8b6448] main playlist debug: adding item `le_tableau.mkv' ( file:///mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv ) [0x7f8938000958] main input debug: Creating an input for 'le_tableau.mkv' [0x9640f8] main interface debug: looking for interface module matching "hotkeys,none": 18 candidates [0x9640f8] main interface debug: using interface module "hotkeys" [0x963a58] main interface debug: looking for interface module matching "globalhotkeys,none": 18 candidates [0x963a58] main interface debug: using interface module "globalhotkeys" [0x963dc8] main interface debug: looking for interface module matching "dbus,none": 18 candidates [0x963dc8] dbus interface debug: listening on dbus as: org.mpris.MediaPlayer2.vlc.instance28475 [0x963dc8] main interface debug: using interface module "dbus" [0x8a1b78] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface. [0x98c3d8] main interface debug: looking for interface module matching "any": 18 candidates [0x963dc8] dbus interface debug: Getting property Identity [0x963dc8] dbus interface debug: Getting property Identity [0x963dc8] dbus interface debug: Getting property Volume [0x963dc8] dbus interface debug: Getting property Volume [0x963dc8] dbus interface debug: Getting property Identity [0x963dc8] dbus interface debug: Getting property Volume [0x963dc8] dbus interface debug: Getting property Identity [0x963dc8] dbus interface debug: Getting property Volume Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. [0x8b6448] main playlist debug: meta ok for (null), need to fetch art [0x7f8938ed67f8] main demux meta debug: looking for meta fetcher module matching "any": 1 candidates [0x7f8938ed67f8] lua demux meta debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/meta/fetcher [0x7f8938ed67f8] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/fetcher [0x7f8938ed67f8] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/fetcher/tvrage.luac [0x7f8938ed67f8] main demux meta debug: using meta fetcher module "lua" [0x7f8938ed67f8] main demux meta debug: removing module "lua" [0x8b6448] main playlist debug: searching art for le_tableau.mkv [0x7f8938ed67f8] main art finder debug: looking for art finder module matching "any": 2 candidates [0x7f8938ed67f8] lua art finder debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/meta/art [0x7f8938ed67f8] lua art finder debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/art [0x7f8938ed67f8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/00_musicbrainz.luac [0x7f8938ed67f8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/01_googleimage.luac [0x7f8938ed67f8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/02_frenchtv.luac [0x7f8938ed67f8] lua art finder debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/art/03_lastfm.luac [0x7f8938ed67f8] lua art finder debug: Trying Lua scripts in /usr/share/vlc/lua/meta/art [0x7f8938ed67f8] main art finder debug: no art finder modules matched [0x8b6448] main playlist debug: art not found for le_tableau.mkv [0x7f89281d0708] main generic debug: looking for extension module matching "any": 1 candidates [0x7f89281d0708] lua generic debug: Opening Lua Extension module [0x7f89281d0708] lua generic debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/extensions [0x7f89281d0708] lua generic debug: Trying Lua scripts in /usr/lib64/vlc/lua/extensions [0x7f89281d0708] lua generic debug: Trying Lua scripts in /usr/share/vlc/lua/extensions [0x7f89281d0708] main generic debug: using extension module "lua" [0x98c3d8] main interface debug: using interface module "qt4" [0x8b6448] main playlist debug: processing request item: null, node: Liste de lecture, skip: 0 [0x8b6448] main playlist debug: rebuilding array of current - root Liste de lecture [0x8b6448] main playlist debug: rebuild done - 1 items, index -1 [0x8b6448] main playlist debug: starting playback of the new playlist item [0x8b6448] main playlist debug: resyncing on le_tableau.mkv [0x8b6448] main playlist debug: le_tableau.mkv is at 0 [0x8b6448] main playlist debug: creating new input thread [0x7f8938c1b348] main input debug: Creating an input for 'le_tableau.mkv' [0x98c3d8] qt4 interface debug: IM: Setting an input [0x7f8938c1b348] main input debug: using timeshift granularity of 50 MiB, in path '/tmp' [0x7f8938c1b348] main input debug: `file:///mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' gives access `file' demux `' path `/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' [0x7f8938c1b348] main input debug: creating demux: access='file' demux='' location='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' file='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' [0x7f8914000f08] main demux debug: looking for access_demux module matching "file": 15 candidates [0x7f8914000f08] main demux debug: no access_demux modules matched [0x7f8938c1b348] main input debug: creating access 'file' location='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv', path='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' [0x7f8914001238] main access debug: looking for access module matching "file": 20 candidates [0x7f8914001238] filesystem access debug: opening file `/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' [0x7f8914001238] main access debug: using access module "filesystem" [0x7f89140013a8] main stream debug: Using stream method for AStream* [0x7f89140013a8] main stream debug: starting pre-buffering [0x7f89140013a8] main stream debug: received first data after 0 ms [0x7f89140013a8] main stream debug: pre-buffering done 1024 bytes in 0s - 21739 KiB/s [0x7f8914c01638] main stream debug: looking for stream_filter module matching "any": 9 candidates [0x7f8914c01638] main stream debug: no stream_filter modules matched [0x7f8914c01638] main stream debug: looking for stream_filter module matching "stream_filter_record": 9 candidates [0x7f8914c01638] main stream debug: no stream_filter modules matched [0x7f8938c1b348] main input debug: creating demux: access='file' demux='' location='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' file='/mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' [0x7f8914c01638] main demux debug: looking for demux module matching "mkv": 56 candidates [0x7f8914c01638] lua demux debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/playlist [0x7f8914c01638] lua demux debug: Trying Lua scripts in /usr/lib64/vlc/lua/playlist [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/anevia_streams.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/anevia_xml.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/appletrailers.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/bbc_co_uk.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/break.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/canalplus.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/cue.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/dailymotion.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/extreme.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/france2.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/googlevideo.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/jamendo.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/joox.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/katsomo.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/koreus.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/lelombrik.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/liveleak.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/metacafe.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/metachannels.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/mpora.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/pinkbike.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/pluzz.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/rockbox_fm_presets.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/soundcloud.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/vimeo.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/youtube.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/youtube_homepage.luac [0x7f8914c01638] lua demux debug: Trying Lua playlist script /usr/lib64/vlc/lua/playlist/zapiks.luac [0x7f8914c01638] lua demux debug: Trying Lua scripts in /usr/share/vlc/lua/playlist [0x7f8914c01638] avformat demux debug: trying url: /mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv [0x7f8914c01638] avformat demux debug: detected format: matroska,webm [0x7f8938c1b348] main input debug: selecting program id=0 [0x7f8914c01638] avformat demux debug: adding es: video codec = h264 (28) [0x7f8914c01638] avformat demux debug: adding es: audio codec = mp4a (86018) [0x7f8914c01638] avformat demux debug: AVFormat supported stream [0x7f8914c01638] avformat demux debug: - format = matroska,webm (Matroska / WebM) [0x7f8914c01638] avformat demux debug: - start time = 0 [0x7f8914c01638] avformat demux debug: - duration = 4578080000 [0x7f8914c01638] main demux debug: using demux module "avformat" [0x7f8938c1b348] main input debug: looking for a subtitle file in /mnt/elephant_medias/Animation/jean_francois_laguionie/ [0x7f8914c02a18] main decoder debug: looking for decoder module matching "any": 33 candidates [0x7f8914c02a18] avcodec decoder debug: trying to use direct rendering [0x7f8914c02a18] avcodec decoder debug: allowing 3 thread(s) for decoding [0x7f8914c02a18] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started [0x7f8914c02a18] avcodec decoder debug: using frame thread mode with 3 threads [0x7f8914c02a18] main decoder debug: using decoder module "avcodec" [0x7f8914dacef8] main decoder debug: looking for decoder module matching "any": 33 candidates [0x7f8914dacef8] avcodec decoder debug: avcodec codec (MPEG AAC Audio) started [0x7f8914dacef8] main decoder debug: using decoder module "avcodec" [0x7f8914ee5708] main demux meta debug: looking for meta reader module matching "any": 2 candidates [0x7f8914ee5708] lua demux meta debug: Trying Lua scripts in /home/jadevdb/.local/share/vlc/lua/meta/reader [0x7f8914ee5708] lua demux meta debug: Trying Lua scripts in /usr/lib64/vlc/lua/meta/reader [0x7f8914ee5708] lua demux meta debug: Trying Lua playlist script /usr/lib64/vlc/lua/meta/reader/filename.luac [0x7f8914ee5708] lua demux meta debug: Trying Lua scripts in /usr/share/vlc/lua/meta/reader [0x7f8914ee5708] main demux meta debug: no meta reader modules matched [0x7f8938c1b348] main input debug: `file:///mnt/elephant_medias/Animation/jean_francois_laguionie/le_tableau.mkv' successfully opened [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x8b6448] main playlist debug: reusing audio output [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8914c02a18] avcodec decoder debug: available hardware decoder output format 109 (vdpau) [0x7f8914c02a18] avcodec decoder debug: available software decoder output format 0 (yuv420p) [0x7f8908000958] main generic debug: looking for hw decoder module matching "any": 2 candidates [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 0% [0x7f8938c1b348] main input debug: Buffering 8% [0x7f8938c1b348] main input debug: Buffering 12% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 16% [0x7f8938c1b348] main input debug: Buffering 20% [0x7f8938c1b348] main input debug: Buffering 24% [0x972b48] alsa audio output debug: using ALSA device: default [0x7f8938c1b348] main input debug: Buffering 28% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x972b48] alsa audio output debug: Plug PCM: Direct Stream Mixing PCM Hardware PCM card 1 'HDA ATI SB' device 0 subdevice 0 Its setup is: stream : PLAYBACK access : MMAP_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 44100 exact rate : 44100 (44100/1) msbits : 16 buffer_size : 4096 period_size : 1024 period_time : 23219 tstamp_mode : ENABLE period_step : 1 avail_min : 1024 period_event : 0 start_threshold : 1 stop_threshold : 4611686018427387904 silence_threshold: 0 silence_size : 4611686018427387904 boundary : 4611686018427387904 appl_ptr : 0 hw_ptr : 0 [0x972b48] alsa audio output debug: device name : ALC892 Analog [0x972b48] alsa audio output debug: device ID : ALC892 Analog [0x972b48] alsa audio output debug: subdevice name: subdevice #0 [0x972b48] alsa audio output debug: initial hardware setup: ACCESS: MMAP_INTERLEAVED MMAP_NONINTERLEAVED MMAP_COMPLEX RW_INTERLEAVED RW_NONINTERLEAVED FORMAT: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE MU_LAW A_LAW IMA_ADPCM S24_3LE S24_3BE U24_3LE U24_3BE S20_3LE S20_3BE U20_3LE U20_3BE S18_3LE S18_3BE U18_3LE U18_3BE SUBFORMAT: STD SAMPLE_BITS: [4 64] FRAME_BITS: [4 640000] CHANNELS: [1 10000] RATE: 44100 PERIOD_TIME: (23219 23220) PERIOD_SIZE: 1024 PERIOD_BYTES: [512 81920000] PERIODS: [2 4] BUFFER_TIME: (46439 92880) BUFFER_SIZE: [2048 4096] BUFFER_BYTES: [1024 327680000] TICK_TIME: ALL [0x972b48] alsa audio output debug: using channels map 0, type 1, 2 channel(s) [0x972b48] alsa audio output debug: final HW setup: ACCESS: RW_INTERLEAVED FORMAT: FLOAT_LE SUBFORMAT: STD SAMPLE_BITS: 32 FRAME_BITS: 64 CHANNELS: 2 RATE: 44100 PERIOD_TIME: (23219 23220) PERIOD_SIZE: 1024 PERIOD_BYTES: 8192 PERIODS: 4 BUFFER_TIME: (92879 92880) BUFFER_SIZE: 4096 BUFFER_BYTES: 32768 TICK_TIME: 0 [0x972b48] alsa audio output debug: initial software parameters: tstamp_mode: NONE period_step: 1 avail_min: 1024 start_threshold: 1 stop_threshold: 4096 silence_threshold: 0 silence_size: 0 boundary: 4611686018427387904 [0x972b48] alsa audio output debug: final software parameters: tstamp_mode: NONE period_step: 1 avail_min: 1024 start_threshold: 1 stop_threshold: 4096 silence_threshold: 0 silence_size: 0 boundary: 4611686018427387904 [0x972b48] alsa audio output warning: device cannot be paused [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 32% [0x7f8938c1b348] main input debug: Buffering 36% [0x972b48] main audio output debug: output 'f32l' 44100 Hz Stereo frame=1 samples/8 bytes [0x7f890c009578] main volume debug: looking for audio volume module matching "any": 2 candidates [0x7f8938c1b348] main input debug: Buffering 40% [0x7f8938c1b348] main input debug: Buffering 44% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 48% [0x7f8938c1b348] main input debug: Buffering 52% [0x7f8938c1b348] main input debug: Buffering 56% [0x7f8938c1b348] main input debug: Buffering 60% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 64% [0x7f8938c1b348] main input debug: Buffering 68% [0x7f8938c1b348] main input debug: Buffering 72% [0x7f8938c1b348] main input debug: Buffering 76% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 80% [0x7f8938c1b348] main input debug: Buffering 84% [0x7f8938c1b348] main input debug: Buffering 88% [0x7f8938c1b348] main input debug: Buffering 92% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 96% [0x7f8938c1b348] main input debug: Buffering 100% [0x7f8938c1b348] main input debug: Stream buffering done (1040 ms in 17 ms) [0x7f890c009578] main volume debug: using audio volume module "float_mixer" [0x972b48] main audio output debug: input 'f32l' 48000 Hz Stereo frame=1 samples/8 bytes [0x7f890c00efc8] main audio filter debug: looking for audio filter module matching "scaletempo": 14 candidates [0x7f890c00efc8] scaletempo audio filter debug: format: 48000 rate, 2 nch, 4 bps, fl32 [0x7f890c00efc8] scaletempo audio filter debug: params: 30 stride, 0.200 overlap, 14 search [0x7f890c00efc8] scaletempo audio filter debug: 1.000 scale, 1440.000 stride_in, 1440 stride_out, 1152 standing, 288 overlap, 672 search, 2400 queue, fl32 mode [0x7f890c00efc8] main audio filter debug: using audio filter module "scaletempo" [0x972b48] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [0x972b48] main audio output debug: conversion pipeline complete [0x972b48] main audio output debug: conversion: 'f32l'->'f32l' 48000 Hz->48000 Hz Stereo->Stereo [0x972b48] main audio output debug: conversion pipeline complete [0x7f890c016b98] main audio resampler debug: looking for audio resampler module matching "any": 2 candidates [0x7f890c016b98] main audio resampler debug: using audio resampler module "samplerate" [0x7f8914dacef8] main decoder debug: End of audio preroll [0x7f8908000958] vdpau_avcodec generic debug: video surface limits: 16384x16384 [0x7f8908000958] vdpau_avcodec generic debug: decoder profile limits: level 16 mb 9216 2048x1152 [0x7f8908000958] vdpau_avcodec generic error: decoder profile above limits: level 30 720x400 [0x7f8908000958] main generic debug: no hw decoder modules matched [0x7f8914c02a18] avcodec decoder debug: available hardware decoder output format 109 (vdpau) [0x7f8914c02a18] avcodec decoder debug: available software decoder output format 0 (yuv420p) [0x7f8908000958] main generic debug: looking for hw decoder module matching "any": 2 candidates [0x7f8908000958] vdpau_avcodec generic debug: video surface limits: 16384x16384 [0x7f8908000958] vdpau_avcodec generic debug: decoder profile limits: level 16 mb 9216 2048x1152 [0x7f8908000958] vdpau_avcodec generic error: decoder profile above limits: level 30 720x400 [0x7f8908000958] main generic debug: no hw decoder modules matched [0x7f890802d8e8] main spu text debug: looking for text renderer module matching "any": 3 candidates [0x7f890802d8e8] freetype spu text debug: Building font databases. [0x7f890802d8e8] freetype spu text debug: Took 1 microseconds Fontconfig warning: FcPattern object size does not accept value "0" Fontconfig warning: FcPattern object size does not accept value "0" [0x7f890802d8e8] freetype spu text debug: Using Serif Bold as font from file /usr/share/fonts/TTF/DejaVuSans.ttf [0x7f890802d8e8] freetype spu text debug: using fontsize: 2 [0x7f890802d8e8] main spu text debug: using text renderer module "freetype" [0x7f89080346f8] main scale debug: looking for video filter2 module matching "any": 60 candidates [0x7f89080346f8] swscale scale debug: 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality) [0x7f89080346f8] main scale debug: using video filter2 module "swscale" [0x7f8908051c38] main scale debug: looking for video filter2 module matching "any": 60 candidates [0x7f8908051c38] yuvp scale debug: YUVP to YUVA converter [0x7f8908051c38] main scale debug: using video filter2 module "yuvp" [0x7f890802cc38] main video output debug: Deinterlacing available [0x7f890802cc38] main video output debug: deinterlace -1, mode blend, is_needed 0 [0x7f890802cc38] main video output debug: Opening vout display wrapper [0x7f88f8001248] main vout display debug: looking for vout display module matching "any": 12 candidates [0x7f88f8001cc8] main window debug: looking for vout window xid module matching "qt4,any": 4 candidates [0x7f88f8001cc8] qt4 window debug: requesting video window... [0x98c3d8] qt4 interface debug: Video was requested 0, 0 [0x7f88f8001cc8] main window debug: using vout window xid module "qt4" [0x7f88f8001ef8] main inhibit debug: looking for inhibit module matching "any": 2 candidates [0x7f88f8001ef8] dbus_screensaver inhibit debug: found service org.freedesktop.ScreenSaver [0x7f88f8001ef8] main inhibit debug: using inhibit module "dbus_screensaver" [0x7f88f8001248] vdpau_display vout display debug: connected to X11.0 server [0x7f88f8001248] vdpau_display vout display debug: vendor : The X.Org Foundation [0x7f88f8001248] vdpau_display vout display debug: version: 11304000 [0x7f88f8001248] vdpau_display vout display debug: using screen 0x2bf [0x7f88f8001248] vdpau_display vout display debug: using back-end G3DVL VDPAU Driver Shared Library version 1.0 [0x7f88f8001248] vdpau_display vout display error: source video YCbCr format not supported [0x7f890802cc38] main video output debug: Reusing previous vout window [0x7f88f8001248] xcb_xv vout display debug: connected to X11.0 server [0x7f88f8001248] xcb_xv vout display debug: vendor : The X.Org Foundation [0x7f88f8001248] xcb_xv vout display debug: version: 11304000 [0x7f88f8001248] xcb_xv vout display debug: using screen 0x2bf [0x7f88f8001248] xcb_xv vout display debug: using XVideo extension v2.2 [0x7f88f8001248] xcb_xv vout display debug: using adaptor Radeon Textured Video [0x7f88f8001248] xcb_xv vout display debug: using port 63 [0x7f88f8001248] xcb_xv vout display debug: using image format 0x30323449 [0x7f88f8001248] xcb_xv vout display debug: using X11 visual ID 0x21 (depth: 24) [0x7f88f8001248] xcb_xv vout display debug: using X11 window 0x05400000 [0x7f88f8001248] xcb_xv vout display debug: using X11 graphic context 0x05400002 [0x7f88f8001248] main vout display debug: VoutDisplayEvent 'fullscreen' 0 [0x7f88f8001248] main vout display debug: VoutDisplayEvent 'resize' 720x400 window [0x7f88f8001248] main vout display debug: using vout display module "xcb_xv" [0x7f890802cc38] main video output debug: original format sz 720x400, of (0,0), vsz 720x400, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0 [0x7f890802d8e8] main spu text debug: removing module "freetype" [0x7f890802d8e8] main spu text debug: looking for text renderer module matching "any": 3 candidates
There seems to be two errors, but I'm not sure which one makes the use of VDPAU fails :
The first
[0x7f8908000958] main generic debug: looking for hw decoder module matching "any": 2 candidates
[0x7f8908000958] vdpau_avcodec generic debug: video surface limits: 16384x16384
[0x7f8908000958] vdpau_avcodec generic debug: decoder profile limits: level 16 mb 9216 2048x1152
[0x7f8908000958] vdpau_avcodec generic error: decoder profile above limits: level 30 720x400
[0x7f8908000958] main generic debug: no hw decoder modules matched
The second :
[0x7f88f8001248] vdpau_display vout display debug: using back-end G3DVL VDPAU Driver Shared Library version 1.0
[0x7f88f8001248] vdpau_display vout display error: source video YCbCr format not supported
As for the second message, is there any particular library that should be compiled with VLC to support this?
Thanks for your help.

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Weird VDPAU issue

Postby Rémi Denis-Courmont » 27 Jul 2013 17:50

There seems to be two errors, but I'm not sure which one makes the use of VDPAU fails :
The first
[0x7f8908000958] main generic debug: looking for hw decoder module matching "any": 2 candidates
[0x7f8908000958] vdpau_avcodec generic debug: video surface limits: 16384x16384
[0x7f8908000958] vdpau_avcodec generic debug: decoder profile limits: level 16 mb 9216 2048x1152
[0x7f8908000958] vdpau_avcodec generic error: decoder profile above limits: level 30 720x400
[0x7f8908000958] main generic debug: no hw decoder modules matched
Your VDPAU driver reports a maximum supported level for H.264 of 1.6 (16), while the video is actually encoded at level 3.0 (30) according to libavcodec. This is clearly a bug in the VDPAU driver since H.264 level 1.6 does not exist to begin with.

So VLC falls back to software/CPU decoding.
The second :
[0x7f88f8001248] vdpau_display vout display debug: using back-end G3DVL VDPAU Driver Shared Library version 1.0
[0x7f88f8001248] vdpau_display vout display error: source video YCbCr format not supported
As for the second message, is there any particular library that should be compiled with VLC to support this?
The VDPAU does not support uploading video in YV12 format (or at least claims not to). Thus VDPAU cannot be used for rendering software-decoded video.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 27 Jul 2013 21:55

Thanks for the reply!
So mplayer would work because it does not check for these parameters? Or may because I think it uses a year old libavcodec?

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 27 Jul 2013 22:17

Indeed, vdpauinfo reports something weird :

Code: Select all

bash-4.2$ vdpauinfo display: :0 screen: 0 API version: 1 Information string: G3DVL VDPAU Driver Shared Library version 1.0 Video surface: name width height types ------------------------------------------- 420 16384 16384 NV12 422 16384 16384 NV12 444 16384 16384 NV12 Decoder capabilities: name level macbs width height ------------------------------------------- MPEG1 16 9216 2048 1152 MPEG2_SIMPLE 16 9216 2048 1152 MPEG2_MAIN 16 9216 2048 1152 H264_BASELINE 16 9216 2048 1152 H264_MAIN 16 9216 2048 1152 H264_HIGH 16 9216 2048 1152 VC1_SIMPLE 16 9216 2048 1152 VC1_MAIN 16 9216 2048 1152 VC1_ADVANCED 16 9216 2048 1152 MPEG4_PART2_SP 16 9216 2048 1152 MPEG4_PART2_ASP 16 9216 2048 1152
which make no sense. Level 16 is also reported on my current system with no UVD device at all, just simple VDPAU that supports MPEG1 and 2 though X, I guess. It would seem as if Level 16 is some sort of default, isn't it?
I think I should post this on Phoronix to the AMD devs...

Rémi Denis-Courmont
Developer
Developer
Posts: 15318
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Weird VDPAU issue

Postby Rémi Denis-Courmont » 28 Jul 2013 08:54

Yes, it looks like the driver returns level 16 and 9216 macroblocks regardless of the codec profile.

Unfortunately, it seems there are further bugs hidden behind this one:
http://mailman.videolan.org/pipermail/v ... 93860.html
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 28 Jul 2013 09:08

Indeed. Thanks for pointing out the discussion, I'll follow it from now on.

rvdboom
Blank Cone
Blank Cone
Posts: 25
Joined: 10 Jul 2013 08:10

Postby rvdboom » 30 Jul 2013 15:01

Some follow-up here : the supported level is indeed currently hard-coded in the VDPAU state tracked, I've openned a bug to the AMD team and they'll fix it at some point : http://bugs.freedesktop.org/show_bug.cgi?id=67530
Apparently, the only availability of NV12 as video surface is indeed a hardware limitation.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Weird VDPAU issue

Postby Jean-Baptiste Kempf » 31 Jul 2013 17:21

Cool to know. Thanks for the investigation.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests