|
|
#1 | |
|
Registered User
Join Date: Feb 2011
Posts: 3
|
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 Code:
VdpOutputSurfacePutBitsNative 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. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
|
see this too: http://www.nvnews.net/vbulletin/showthread.php?t=157915
also, does this happen only after you suspend/wake ? |
|
|
|
|
|
|
#3 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Feb 2011
Posts: 3
|
I both commented out the function call and I called it once every 10 frames instead of every frame. In the former case, CPU usage was close to 0 but the OSD failed to draw correctly. In the latter case, CPU usage was 20-30% with the OSD running, updated with a slight delay, and occasionally produced artifacts.
The CPU usage is 100% as long as the OSD is updating. Quote:
Code:
sftp vdpau@partners.ftp.nvidia.com I 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 |
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Nov 2004
Location: Between the keyboard and the chair.
Posts: 490
|
|
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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.
|
|
|
|
|
|
#8 |
|
Moderator
Join Date: Aug 2005
Posts: 1,327
|
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. |
|
|
|
|
|
#9 |
|
Registered User
Join Date: Feb 2011
Posts: 3
|
The exact command line I am using is:
Code:
mplayer /home/oberon/yxing.ts -vo vdpau -demuxer +mpegts -vc +ffh264vdpau -nosound -osdlevel 3 -quiet Yes, I built MPlayer SVN revision 32882 and configured it with Code:
./configure --enable-gui |
|
|
|
|
|
#10 |
|
NVIDIA Corporation
Join Date: Feb 2010
Location: Santa Clara, CA
Posts: 237
|
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.)
|
|
|
|
![]() |
| Thread Tools | |
|
|