Failure of VDPAU on Ubuntu 10.10
#1
I am using XBMC Dharma on Ubuntu 10.10 and when I attempt to play high definition 720 video mkv files they fail to play. When I look at the log it shows the following.

Code:
21:48:42 T:140623242668096 M:2777649152  NOTICE: DVDPlayer: Opening: /media/share/TV/Castle (2009)/Season 1/Castle - S01E06 - Always Buy Retail.mkv
21:48:42 T:140623242668096 M:2777649152 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:48:42 T:140622581192448 M:2777649152  NOTICE: Creating InputStream
21:48:42 T:140622581192448 M:2777726976  NOTICE: Creating Demuxer
21:48:42 T:140622581192448 M:2777600000  NOTICE: Opening video stream: 1 source: 256
21:48:42 T:140622581192448 M:2777600000  NOTICE: Creating video codec with codec id: 28
21:48:42 T:140622581192448 M:2777600000  NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1280x720, 28)
21:48:42 T:140622581192448 M:2771337216  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
21:48:42 T:140622581192448 M:2771337216  NOTICE: VDPAU Decoder capabilities:
21:48:42 T:140622581192448 M:2771337216  NOTICE: name          level macbs width height
21:48:42 T:140622581192448 M:2771337216  NOTICE: ------------------------------------
21:48:42 T:140622581192448 M:2771337216  NOTICE: MPEG1             0  8192  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: MPEG2_MAIN        3  8192  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: H264_MAIN        41  8190  2032  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: H264_HIGH        41  8190  2032  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: VC1_SIMPLE        1  8190  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: VC1_MAIN          2  8190  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: VC1_ADVANCED      4  8190  2048  2048
21:48:42 T:140622581192448 M:2771337216  NOTICE: ------------------------------------
21:48:42 T:140622581192448 M:2771337216  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
21:48:42 T:140622581192448 M:2771337216  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
21:48:42 T:140622581192448 M:2771337216  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
21:48:42 T:140622581192448 M:2771337216  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
21:48:42 T:140622581192448 M:2771337216  NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
21:48:42 T:140622581192448 M:2766618624  NOTICE: Creating 1280x720 pixmap
21:48:42 T:140622581192448 M:2765398016  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
21:48:42 T:140622581192448 M:2765398016  NOTICE: Creating video thread
21:48:42 T:140622581192448 M:2765398016  NOTICE: Opening audio stream: 0 source: 256
21:48:42 T:140622581192448 M:2765398016  NOTICE: Finding audio codec for: 86020
21:48:42 T:140622581192448 M:2765398016  NOTICE: Creating audio thread
21:48:42 T:140622581192448 M:2765398016  NOTICE: Opening Subtitle stream: 0 source: 1024
21:48:42 T:140622505314048 M:2765271040  NOTICE: running thread: CDVDPlayerAudio::Process()
21:48:42 T:140622572799744 M:2765271040  NOTICE: running thread: video_thread
21:48:42 T:140622505314048 M:2765271040  NOTICE: Creating audio device with codec id: 86020, channels: 6, sample rate: 48000, no pass-through
21:48:42 T:140622572799744 M:2763698176  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280
21:48:42 T:140622572799744 M:2763698176  NOTICE:  (VDPAU) screenHeight:720 vidHeight:720
21:48:43 T:140623242668096 M:2731261952   ERROR: Texture manager unable to load file: /media/share/TV/Castle (2009)/Season 1/cdart.png
21:48:43 T:140622572799744 M:2727309312   ERROR:  (VDPAU) Error: A catch-all error, used when no other error code applies.(25) at VDPAU.cpp:905
21:48:43 T:140622572799744 M:2727309312  NOTICE: Attempting recovery
21:48:43 T:140622572799744 M:2749390848   ERROR: VDPAU Device Preempted - attempting recovery
21:48:43 T:140622572799744 M:2749390848   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:748
21:48:43 T:140622572799744 M:2749255680  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
21:48:43 T:140622572799744 M:2749255680  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280
21:48:43 T:140622572799744 M:2749255680  NOTICE:  (VDPAU) screenHeight:720 vidHeight:720
21:48:43 T:140622572799744 M:2728730624   ERROR:  (VDPAU) Error: A catch-all error, used when no other error code applies.(25) at VDPAU.cpp:905
21:48:43 T:140622572799744 M:2728730624  NOTICE: Attempting recovery
21:48:43 T:140622572799744 M:2748805120   ERROR: VDPAU Device Preempted - attempting recovery
21:48:43 T:140622572799744 M:2748805120   ERROR:  (VDPAU) Error: The display was pre-empted, or a fatal error occurred.(2) at VDPAU.cpp:748
21:48:43 T:140622572799744 M:2748678144  NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
21:48:43 T:140622572799744 M:2748678144  NOTICE:  (VDPAU) screenWidth:1280 vidWidth:1280
21:48:43 T:140622572799744 M:2748678144  NOTICE:  (VDPAU) screenHeight:720 vidHeight:720
21:48:43 T:140622572799744 M:2728673280   ERROR:  (VDPAU) Error: A catch-all error, used when no other error code applies.(25) at VDPAU.cpp:905
21:48:43 T:140622572799744 M:2728673280  NOTICE: Attempting recovery

The VDPAU errors will continue to repeat until I quit trying to play the file. If I turn off the hardware acceleration. Then the files will play just fine. I just think it would be nice if I could watch the videos without XBMC using 90% of my CPU.
Reply
#2
Please turn on debug logging and post the full log.
Reply
#3
Hi,

Here is a full log of similar problem.

http://pastebin.com/RKNPY6Rd

Software:
Debian Lenny
2.6.32-5-686

XBMC From
http://mirrors.xbmc.org/releases/source/...0.1.tar.gz

Compiled with

./configure --disable-pulse --enable-external-libass --enable-rtmp --enable-vdpau
make && make install

Zotac IONITX-A 230 Single Core ion 2GB DDR2 40GB SSD
Nvidia drivers http://uk.download.nvidia.com/XFree86/Li.../260.19.44


Start xbmc
Try to start any .mkv using VDPAU. Check log for results.
Software can start them but is laggy.
Reply
#4
Resolved, my bios was reset and the GPU ram was set to 64MB. Increased the GPU ram to 512MB again and now it runs smooth again.
Reply
#5
I experience the exact same problem on similar Zotac hardware. VDPAU is failing with codex x264 while others are ok. I'll try the fix with the RAM although I believe my settings are ok. Before I recompiled xbmc the player occasionally played the video without problems, especially after restart or close xbmc remove nvidia module and reload them again. RAM solution makes sense but i'm curious why it's working with divx movies?
Reply

Logout Mark Read Team Forum Stats Members Help
Failure of VDPAU on Ubuntu 10.100