Opened 11 years ago

Closed 11 years ago

#7853 closed defect (wontfix)

Mythdvd fails to initialize vdpau then aborts with a/v sync error

Reported by: rbonafied@… Owned by: markk
Priority: minor Milestone: 0.23
Component: MythTV - DVD Playback Version: 0.22-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When watching the DVD Warner Brother's movie 'Matchstick Man', vdpau rendering fails and then displays an a/v sync error on screen. Myth plays fine using vdpau when watching regular recordings.

The situation is very similar to this thread posted on nvnews:

http://www.nvnews.net/vbulletin/showthread.php?t=142899

The Nvidia card has 512M of memory. Details on the card: 01:00.0 VGA compatible controller: nVidia Corporation GT200 210? (rev a2) (prog-if 00 [VGA controller])

Subsystem: Device 196e:066d Flags: bus master, fast devsel, latency 0, IRQ 18 Memory at fb000000 (32-bit, non-prefetchable) [size=16M] Memory at b0000000 (64-bit, prefetchable) [size=256M] Memory at ce000000 (64-bit, prefetchable) [size=32M] I/O ports at ef00 [size=128] [virtual] Expansion ROM at c0000000 [disabled] [size=512K] Capabilities: [60] Power Management version 3 Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [78] Express Endpoint, MSI 00 Capabilities: [b4] Vendor Specific Information <?> Capabilities: [100] Virtual Channel <?> Capabilities: [128] Power Budgeting <?> Capabilities: [600] Vendor Specific Information <?> Kernel driver in use: nvidia Kernel modules: nvidiafb, nvidia, nouveau

Attachments (3)

mythfrontendversion.log (686 bytes) - added by rbonafied@… 11 years ago.
Output of mythfrontend --version
mythfrontend.log (28.6 KB) - added by rbonafied@… 11 years ago.
Output of mythfrontend log which shows error
ignore_vdpau_rendering_error.diff (666 bytes) - added by david.engraf@… 11 years ago.
This patch ignores errors returned by vdp_decoder_render as suggested by a NVIDIA guy. The error message is still produced, but the error count will not decrease. This fixed my problem with playing a DVD where the "slice" value is too high. The trunk version already ignores the return code from this function.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by rbonafied@…

Attachment: mythfrontendversion.log added

Output of mythfrontend --version

Changed 11 years ago by rbonafied@…

Attachment: mythfrontend.log added

Output of mythfrontend log which shows error

comment:1 Changed 11 years ago by markk

Milestone: 0.23
Owner: changed from skamithi to markk
Status: newaccepted

Changed 11 years ago by david.engraf@…

This patch ignores errors returned by vdp_decoder_render as suggested by a NVIDIA guy. The error message is still produced, but the error count will not decrease. This fixed my problem with playing a DVD where the "slice" value is too high. The trunk version already ignores the return code from this function.

comment:2 Changed 11 years ago by david.engraf@…

Are there any plans to accept the attached patch or do you need more informations?

comment:3 in reply to:  2 Changed 11 years ago by markk

Resolution: wontfix
Status: acceptedclosed

Replying to david.engraf@…:

Are there any plans to accept the attached patch or do you need more informations?

At this stage I'm not planning on any more backports to 0.22-fixes. With a fair wind 0.23 won't be long now.

As you say, this is not needed in trunk (which obviously will become 0.23) and the latest beta driver (195.36.03) has increased the number of allowed slices internally (although actually exporting/publishing how many that is would be helpful, as would a more descriptive/unique VDPAU error).

Note: See TracTickets for help on using tickets.