Opened 10 years ago

Closed 10 years ago

#7968 closed defect (invalid)

vdpau: excessive cpu usage playing mpeg2 files

Reported by: anonymous Owned by: markk
Priority: minor Milestone: 0.23
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I'm using trunk r23312 and did not see this issue with a checkout about two weeks ago before the recent vdpau changes.

Playing h264 content, my cpu usage is 1-2% as expected. When playing mpeg2 (hdhr and fw stb recordings), my cpu usage is about 22%. Using the ffmpeg decoder, cpu jumps to 55%. Logs show vdpau is being used and there is a definite difference between vdpau and ffmpeg decoders.

I'm attaching logs with '-v most'. The mpeg 2 log is tv.log and the h264 is video.log. My nvidia drivers are 195.30 and my card is a 9400 GT (G96) with 1GB.

Attachments (1)

logs.tgz (50.9 KB) - added by anonymous 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by anonymous

Attachment: logs.tgz added

comment:1 Changed 10 years ago by markk

Owner: changed from Janne Grunau to markk
Status: newaccepted

comment:2 Changed 10 years ago by markk

Milestone: unknown0.23
Status: acceptedinfoneeded

The G96 core only supports partial acceleration of mpeg2 and hence cpu utilisation is not expected to be as low as for h264. Can you actually see a significant performance regression? ie. compared to trunk before the new VDPAU code.

comment:3 Changed 10 years ago by anonymous

I'm fairly certain mpeg2 cpu was in the 1-4% range previously. I'll try to find some time this weekend to revert to the older revision and report back.

comment:4 Changed 10 years ago by anonymous

Go ahead and close this. Reverting showed similar performance.

Perhaps this is what you mentioned in a different ticket about the 195.30 drivers.

comment:5 Changed 10 years ago by markk

Resolution: invalid
Status: infoneededclosed

Closed at submitters request. Thanks for confirming.

Note: See TracTickets for help on using tickets.