Hello all,
I need some help debugging why I cannot play this famous "killa sample" HD material with VDPAU.
(First of all, I googled for "killa sample" and found a 10 seconds video where a hell lot of runners run through the country. Is this the correct sample? - I'm wondering because I expected full HD to be 1920x1080px, but this video is way larger...)
My hard-/software:
--> Asus P5N7A-VM board with Nvidia 9300 chip onboard
--> connected via HDMI to a Toshiba 37" LCD TV ("HD ready" only:
1366x768px)
--> Celeron-D 440 (2GHz)
--> 2 GB RAM (dual channel)
--> Mandriva 2009.1
--> Kernel 2.6.29.3
--> XBMC 9.04.1
--> Nvidia driver version: 185.18.14
SD Content plays fine (at 85% processor load), and the GUI is smooth. Great.
Last weekend, I compiled a somewhat weird modeline for my Xorg.conf according to a tutorial that I found. I went through some pain to finally get a full screen X11 desktop drawn on the screen without overscan an other nastyness.
Actually, I really fine with the quality of the output.
This modeline (and it's the only one in my xorg.conf file) is forced, and size is unusual:
1824x1020px!
When I now play this "killa sample" video sniplet, I either get:
- 9 FPS, I can see something like in slow-motion, and I have 100% CPU load.
(obviously not VDPAU, I guess)
- 50 FPS, and a ugly pattern on the screen after I forced the display to use VDPAU.
I scanned the xbmc.log file and found some error messages, but the file size is >1 MB, so I don't know how to extract the relevant information.
The extract below seems interesting. I am wondering whether VDPAU can do scaling to this weird target resolution, or if this not possible due to technical limitations.
Can someone help out with a suggestion?
Thanks a lot!
Marcus
Code:
14:16:40 T:2772892560 M:1724960768 INFO: ffmpeg: Input #0, matroska, from '/home/marcus/Videos/HighRes.mkv':
14:16:40 T:2772892560 M:1724960768 INFO: ffmpeg: Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
14:16:40 T:2772892560 M:1724960768 INFO: ffmpeg: Stream #0.0: Video: h264, yuv420p, 3840x2160, PAR 1:1 DAR 16:9, 50 tbr, 1k tbn, 100 tbc
14:16:40 T:2772892560 M:1724960768 NOTICE: Opening video stream: 0 source: 256
14:16:40 T:2772892560 M:1724960768 NOTICE: Creating video codec with codec id: 28
14:16:40 T:2772892560 M:1724960768 DEBUG: FactoryCodec - Video: - Opening
14:16:40 T:2772892560 M:1724960768 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(3840x2160)
14:16:40 T:2772892560 M:1724960768 DEBUG: Found 6 fbconfigs.
14:16:40 T:2772892560 M:1724960768 DEBUG: Using fbconfig index 0.
14:16:40 T:2772892560 M:1724960768 INFO: GLX: Created Pixmap context
14:16:40 T:2772892560 M:1724960768 INFO: GLX: Creating shared Pixmap context
14:16:40 T:2772892560 M:1723817984 INFO: GL: Initialised Pixmap
14:16:41 T:2772892560 M:1723322368 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
14:16:41 T:2772892560 M:1723322368 DEBUG: FactoryCodec - Video: ff-h264_vdpau - Opened
14:16:41 T:2772892560 M:1723322368 NOTICE: Creating video thread
14:16:41 T:2764499856 M:1723322368 DEBUG: Running thread 2764499856
14:16:41 T:2764499856 M:1723322368 DEBUG: thread start, auto delete: 0
14:16:41 T:2764499856 M:1723322368 NOTICE: running thread: video_thread
14:16:41 T:3045566304 M:1723322368 DEBUG: Playback has started
14:16:41 T:3045566304 M:1723322368 DEBUG: Load black-back.png: 0.1ms (bundled)
14:16:41 T:3045566304 M:1723322368 DEBUG: Load black-back2.png: 0.5ms (bundled)
14:16:41 T:3045566304 M:1723322368 DEBUG: Load PlayerControls-RepeatNF.png: 0.1ms (bundled)
14:16:41 T:3045566304 M:1723322368 DEBUG: CGUIInfoManager::SetCurrentMovie(/home/marcus/Videos/HighRes.mkv)
14:16:41 T:3045566304 M:1723322368 DEBUG: GetMovieId (/home/marcus/Videos/HighRes.mkv), query = select idMovie from movie where idFile=3
14:16:41 T:3045566304 M:1723322368 DEBUG: GetEpisodeId (/home/marcus/Videos/HighRes.mkv), query = select idEpisode from episode where idFile=3
14:16:41 T:3045566304 M:1723322368 DEBUG: GetMusicVideoId (/home/marcus/Videos/HighRes.mkv), query = select idMVideo from musicvideo where idFile=3
14:16:41 T:2789677968 M:1721184256 DEBUG: Thread 2789677968 terminating (autodelete)
14:16:41 T:2764499856 M:1710419968 NOTICE: screenWidth:1824 widWidth:3840
14:16:41 T:2764499856 M:1702641664 ERROR: (VDPAU) Error: The size of a supplied object does not match the object it is being used with.(20) at VDPAU.cpp:656
14:16:41 T:2764499856 M:1702641664 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:687
14:16:41 T:2764499856 M:1702641664 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:696
14:16:41 T:2764499856 M:1702641664 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:696
14:16:41 T:2764499856 M:1702641664 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:696
14:16:41 T:2764499856 M:1702592512 NOTICE: VDPAU Decoder capabilities:
14:16:41 T:2764499856 M:1702592512 NOTICE: name level macbs width height
14:16:41 T:2764499856 M:1702592512 NOTICE: ------------------------------------
14:16:41 T:2764499856 M:1702592512 NOTICE: MPEG1 0 8192 2048 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: MPEG2_SIMPLE 3 8192 2048 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: MPEG2_MAIN 3 8192 2048 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: H264_MAIN 41 8190 2032 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: H264_HIGH 41 8190 2032 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: VC1_SIMPLE 1 8190 2048 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: VC1_MAIN 2 8190 2048 2048
14:16:41 T:2764499856 M:1702592512 NOTICE: VC1_ADVANCED 4 8190 2048 2048
14:16:41 T:2764499856 M:1702592512 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:865
14:16:41 T:2764499856 M:1703219200 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(40000.000000, 1)
14:16:41 T:2764499856 M:1697394688 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:865
14:16:41 T:2764499856 M:1697394688 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:780
14:16:41 T:2764499856 M:1693229056 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:865
14:16:41 T:2764499856 M:1693229056 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:167
14:16:41 T:2764499856 M:1693229056 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:167
14:16:41 T:2764499856 M:1693229056 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:179
14:16:41 T:2764499856 M:1693229056 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:229
14:16:42 T:2764499856 M:1693167616 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:940
14:16:42 T:2764499856 M:1693167616 NOTICE: fps: 50.000000, pwidth: 3840, pheight: 2160, dwidth: 3840, dheight: 2160
14:16:42 T:2764499856 M:1693167616 DEBUG: OutputPicture - change configuration. 3840x2160. framerate: 50.00
14:16:42 T:2764499856 M:1693167616 NOTICE: Display resolution ADJUST : default: 1824x1020 @ 50.00Hz (13)
14:16:42 T:2764499856 M:1693167616 WARNING: Upscale: selected algorithm 1
14:16:42 T:3045566304 M:1693167616 DEBUG: Activating window ID: 12005
14:16:42 T:3045566304 M:1693167616 DEBUG: Checking if window ID 12005 is locked.
14:16:42 T:3045566304 M:1693167616 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
14:16:42 T:3045566304 M:1693167616 DEBUG:
14:16:42 T:3045566304 M:1693167616 DEBUG: -------------------
14:16:42 T:2764499856 M:1693167616 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at
VDPAU.cpp:780
14:16:42 T:2764499856 M:1689001984 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:865
14:16:42 T:2764499856 M:1689001984 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:940
14:16:42 T:2764499856 M:1689001984 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:865
14:16:42 T:2764499856 M:1689001984 ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:940
14:16:42 T:2764499856 M:1689001984 ERROR: (VDPAU) Error: The system does not have enough resources to complete the requested operation at this time.(23) at VDPAU.cpp:780