xvideo: high CPU usage on 1080i60 playback
Hi All,
I've continued doing some more testing on the r6xx_r7xx_branch. Trying to
play over the air 1080i60 mpeg2 video isn't working well for me in current
snapshots, but if I go back about a month, things do work - and CPU usage is
reasonable. No problems playing lower res videos(640x480) though. Output
resolution is always 1920x1080 over HDMI.
Problems I've observed during playback of 1080i60 with git current on a
HD3200:
- high CPU usage in Xorg process - maxing out of 1 core of 2700Mhz AMD X2
- hdmi audio/video dropouts during video playback
Here's a sample of what I see with current git:
root@vcr3:/home/jape/xf86-video-radeonhd# git log
commit 6f201b626aa31548537a968c13f073a7a02911f3
Author: Alex Deucher
2009/3/7 JP Fournier
I've continued doing some more testing on the r6xx_r7xx_branch. Trying to play over the air 1080i60 mpeg2 video isn't working well for me in current snapshots, but if I go back about a month, things do work - and CPU usage is reasonable. No problems playing lower res videos(640x480) though. Output resolution is always 1920x1080 over HDMI. ... root@vcr3:/home/jape/xf86-video-radeonhd# git log commit 6f201b626aa31548537a968c13f073a7a02911f3
r6xx-r7xx-support was merged into master recently, so you should be testing that instead. That commit, in particular, was not merged into master. Cheers, -- Yang Zhao http://yangman.ca -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
On Saturday 07 March 2009 15:08:05 Yang Zhao wrote:
r6xx-r7xx-support was merged into master recently, so you should be testing that instead. That commit, in particular, was not merged into master.
Thanks. I'll try this again. What branch of drm should I be using? Still r6xx-r7xx-support? jp -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
Am Sonntag, den 08.03.2009, 12:28 -0500 schrieb JP Fournier:
Thanks. I'll try this again. What branch of drm should I be using? Still r6xx-r7xx-support? You still need the r6xx-r7xx-support of drm (those changes are not yet merged).
You could give the attached patch a try if the problem persists with radeonhd master branch. Its just a hack, but it improves the xvideo performance for me allot. Bye, Christian.
On Sunday 08 March 2009 18:19:05 Christian König wrote:
You could give the attached patch a try if the problem persists with radeonhd master branch. Its just a hack, but it improves the xvideo performance for me allot.
Bye, Christian.
Performance seems better for me with the patch. Sill see HDMI audio/video dropouts though (drat). With the patch xorg uses ~ 20%: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6891 jape 20 0 369m 226m 118m S 33 6.0 1:28.06 mythfrontend.re 5972 root 20 0 549m 237m 108m S 20 6.2 0:51.15 Xorg Without the patch Xorg uses ~ 38%: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6013 root 20 0 549m 237m 108m R 38 6.3 6:23.96 Xorg 6875 jape 20 0 386m 243m 119m S 35 6.4 4:30.08 mythfrontend.re regards, jp -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
OK. Moved to master for radeonhd and still using the r6xx-r7xx-support branch for DRM. Still get high CPU "sometimes". This is a bit weird. Sometimes I play a 1080i60 recording I get high CPU usage for a while (say 2 minutes): PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6013 root 20 0 549m 237m 108m R 98 6.3 1:50.18 Xorg 6875 jape 20 0 380m 237m 119m S 34 6.3 1:23.25 mythfrontend.re But then it stabilizes: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6013 root 20 0 549m 237m 108m R 38 6.3 6:23.96 Xorg 6875 jape 20 0 386m 243m 119m S 35 6.4 4:30.08 mythfrontend.re And it isn't 100% reproducible. Play the same (or another) recording again and CPU usage is reasonable, until it's not. I've seen HDMI audio and video dropouts even in the low CPU usage scenario. Any ideas? (I haven't yet tried out Chris' patch) jp On Saturday 07 March 2009 15:08:05 Yang Zhao wrote:
2009/3/7 JP Fournier
: I've continued doing some more testing on the r6xx_r7xx_branch. Trying to play over the air 1080i60 mpeg2 video isn't working well for me in current snapshots, but if I go back about a month, things do work - and CPU usage is reasonable. No problems playing lower res videos(640x480) though. Output resolution is always 1920x1080 over HDMI. ... root@vcr3:/home/jape/xf86-video-radeonhd# git log commit 6f201b626aa31548537a968c13f073a7a02911f3
r6xx-r7xx-support was merged into master recently, so you should be testing that instead. That commit, in particular, was not merged into master.
Cheers,
-- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (3)
-
Christian König
-
JP Fournier
-
Yang Zhao