![]() |
mplayer OSD rendering using 100% CPU with VDPAU
2 Attachment(s)
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:
VdpOutputSurfacePutBitsIndexedCode:
VdpOutputSurfacePutBitsNativeThe 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. |
Re: mplayer OSD rendering using 100% CPU with VDPAU
see this too: http://www.nvnews.net/vbulletin/showthread.php?t=157915
also, does this happen only after you suspend/wake ? |
Re: mplayer OSD rendering using 100% CPU with VDPAU
Licaon, I'm not sure how that other thread is related to this one.
yxing, How did you isolate which call causes the CPU usage. For how long does the CPU usage last; there is some tiny amount of polling in that function, but it shouldn't be noticeable unless the GPU is slow, or the uploaded data is huge. Yes, to investigate this, we will need the exact clip you're using (please post the filename here after upload). Also, can you supply the complete MPlayer command-line you're using, and any MPlayer configuration files if you use any, if that's not all in yxing_mplayer.log.bz2 already. Thanks. |
Re: mplayer OSD rendering using 100% CPU with VDPAU
Quote:
Quote:
Quote:
Code:
sftp vdpau@partners.ftp.nvidia.comI am not running mplayer with any custom configuration files, but the command-line argument I am using is: Code:
mplayer /home/oberon/yxing.ts -vo vdpau -demuxer +mpegts -vc +ffh264vdpau -nosound -osdlevel 3 |
Re: mplayer OSD rendering using 100% CPU with VDPAU
Sigh, the sftp site is having some issues. I thought they'd very recently been fixed, but it appears it's broken again. I'll try to find out why.
|
Re: mplayer OSD rendering using 100% CPU with VDPAU
Quote:
|
Re: mplayer OSD rendering using 100% CPU with VDPAU
Licaon, that error message indicates the overlay presentation queue couldn't be created, which is unrelated to the CPU usage issue that is the subject of this thread.
|
Re: mplayer OSD rendering using 100% CPU with VDPAU
FYI, I've filed internal problem report #793119 for this.
Can you please provide the exact MPlayer command-line you're using. Just to be clear, when you say OSD you aren't referring to subtitle data within the media file, but OSD such as what MPlayer shows when volume/brightness/... is adjusted. If so, can you also state exactly how you're triggering that. Did you build MPlayer yourself? If not, which package did you install? If so, can you state the exact SVN revision you built, and the configure command-line you used. Thanks. |
Re: mplayer OSD rendering using 100% CPU with VDPAU
1 Attachment(s)
The exact command line I am using is:
Code:
mplayer /home/oberon/yxing.ts -vo vdpau -demuxer +mpegts -vc +ffh264vdpau -nosound -osdlevel 3 -quietYes, I built MPlayer SVN revision 32882 and configured it with Code:
./configure --enable-gui |
Re: mplayer OSD rendering using 100% CPU with VDPAU
Hi yxing, the SFTP site issue is (partially) resolved now. Can you please upload an affected video clip? (You may need to use sftp interactively.)
|
| All times are GMT -5. The time now is 12:04 AM. |
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2013, nV News.