2010-06-09, 11:34
At the risk of pointing out a possible issue with what is obviously still in development, I wanted to raise this in the forums in case there's already a solution or if it's already a known issue. The bug tracker instructions make it clear to post in the forums first 'If you're not sure...'
Firstly, just discovered XBMC and am extremely impressed. Which is why I'm posting, because I want to see it get better.
Platform -- Viewsonic VOT132, aka re-badged Foxconn nt330i: Atom 330, 1.6GHz, 2GB RAM.
Repeatable source -- the main video I'm testing with is Big Buck Bunny (1080p MP4).
Issue:
VDPAU is working, at least going by mplayer and XBMC 9.11. But something appears to have changed since 9.11 in the XBMC SVN that's causing a slowdown. This is using both XBMC SVN repos and compiling current XBMC SVN.
Elements ruled out through testing:
Conclusions so far:
Log:
Firstly, just discovered XBMC and am extremely impressed. Which is why I'm posting, because I want to see it get better.
Platform -- Viewsonic VOT132, aka re-badged Foxconn nt330i: Atom 330, 1.6GHz, 2GB RAM.
Repeatable source -- the main video I'm testing with is Big Buck Bunny (1080p MP4).
Issue:
- 1080p stuttering playback on XBMC SVN when XBMC interface overlays playing video.
- In general, that stuttering actually occurs (and which bringing up menus compounds).
- Issue does not occur using the XBMC 9.11 release. Both full screen playback and overlaying XBMC GUI is seamless in 9.11.
- Issue does not occur using mplayer -vo vdpau (including overlaying other GUI elements from Ubuntu)
VDPAU is working, at least going by mplayer and XBMC 9.11. But something appears to have changed since 9.11 in the XBMC SVN that's causing a slowdown. This is using both XBMC SVN repos and compiling current XBMC SVN.
Elements ruled out through testing:
- Ubuntu versions 9.10 and Ubuntu 10.04 as a base
- Xorg versions (1.6.4 and 1.7, aka bundled with Ubuntu 9.10 and 10.04)
- Kernel versions (2.6.31, 2.6.32 and 2.6.33 series tested)
- Nvidia driver versions 195.36.24, 256.25, and 256.29 (and yes, VDPAU always enabled in XBMC)
Conclusions so far:
- Turning on debugging in XBMC SVN, CPU-XBMC shows > 100% usage when stuttering. XBMC-CPU monitor reports 0.0% usage static under XBMC 9.11, so hard to compare. But there is no stuttering in XBMC 9.11 during playback when menus are overlaid. What has become more CPU intensive in XBMC SVN?
- Log reports the following snippet:
Code:23:06:46 T:140187886941968 M:1609838592 DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:yes VAAPI:no
23:06:46 T:140187886941968 M:1609838592 DEBUG: FactoryCodec - Video: - Opening
23:06:46 T:140187886941968 M:1609838592 DEBUG: Loading: /usr/local/lib/xbmc/system/players/dvdplayer/swscale-0.6.1-x86_64-linux.so
23:06:46 T:140187886941968 M:1609838592 NOTICE: CDVDVideoCodecFFmpeg::Open() Creating VDPAU(1920x1080, 13)
23:06:46 T:140187886941968 M:1607634944 NOTICE: vdp_device = 0x00000001 vdp_st = 0x00000000
23:06:46 T:140187886941968 M:1607634944 NOTICE: VDPAU Decoder capabilities:
23:06:46 T:140187886941968 M:1607634944 NOTICE: name level macbs width height
23:06:46 T:140187886941968 M:1607634944 NOTICE: ------------------------------------
23:06:46 T:140187886941968 M:1607634944 NOTICE: MPEG1 0 8192 2048 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: MPEG2_SIMPLE 3 8192 2048 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: MPEG2_MAIN 3 8192 2048 2048
23:06:46 T:140187886941968 M: 0 NOTICE: H264_MAIN 41 8190 2032 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: H264_HIGH 41 8190 2032 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: VC1_SIMPLE 1 8190 2048 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: VC1_MAIN 2 8190 2048 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: VC1_ADVANCED 4 8190 2048 2048
23:06:46 T:140187886941968 M:1607634944 NOTICE: ------------------------------------
23:06:46 T:140187886941968 M:1607634944 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_NOISE_REDUCTION
23:06:46 T:140187886941968 M:1607634944 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_SHARPNESS
23:06:46 T:140187886941968 M:1607634944 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL
23:06:46 T:140187886941968 M:1607634944 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_DEINTERLACE_TEMPORAL_SPATIAL
23:06:46 T:140187886941968 M:1607634944 NOTICE: Mixer feature: VDP_VIDEO_MIXER_FEATURE_INVERSE_TELECINE
23:06:46 T:140187886941968 M:1607634944 ERROR: (VDPAU) Error: An invalid/unsupported VdpDecoderProfile value was supplied.(14) checking for decoder support
23:06:46 T:140187886941968 M:1607634944 NOTICE: CDVDVideoCodecFFmpeg::Open() Failed to get VDPAU device
23:06:46 T:140187886941968 M:1607634944 NOTICE: (VDPAU) Close
Log:
- XBMC SVN 1080p -- http://pastebin.com/LwqnBbg3