View Single Post
Old 02-14-11, 03:01 PM   #1
yxing
Registered User
 
Join Date: Feb 2011
Posts: 3
Default mplayer OSD rendering using 100% CPU with VDPAU

I'm using the SVN version of mplayer (4.4.3) to play an H.264 TS file with VDPAU acceleration. The playback is flawless, but whenever mplayer renders the OSD, my CPU usage goes up to 100%.

I noticed it was the
Code:
VdpOutputSurfacePutBitsIndexed
call that causes the spike in CPU usage. It seems that mplayer uses that function to draw the OSD each frame, but also calls
Code:
VdpOutputSurfacePutBitsNative
each frame to draw the actual video image without causing any spikes in CPU usage.

The output log of mplayer and nvidia-bug-report.sh are attached. I will upload the TS when I figure out how to get on your FTP site, but I'm not sure it's critical because it's the OSD drawing that seems to be the problem.
Attached Files
File Type: bz2 yxing_mplayer.log.bz2 (7.0 KB, 61 views)
File Type: gz yxing_nvidia-bug-report.log.gz (75.0 KB, 66 views)
yxing is offline   Reply With Quote