Opened 13 years ago

Closed 13 years ago

#9241 closed Patch - Bug Fix (Fixed)

[PATCH] Direct3D GUI rendering and video playback broken

Reported by: Lawrence Rust <lvr@…> Owned by: markk
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords: Direct3D windows video ThemePainter
Cc: Ticket locked: no

Description

On Windows, MythTV has settings to select Direct3D as the current video renderer and the paint engine. Unfortunately, both options are broken on my Win32 systems (Win2k and WinXP with Nvidia GTS 2 Pro graphics) and also with Wine 1.3.6 and VirtualBox? 3.2.10. The attached patch enables GUI painting and video on all these systems except VirtualBox? (Direct3D driver issue).

Attachments (1)

mythtv-0.24.diff (7.1 KB) - added by Lawrence Rust <lvr@…> 13 years ago.
Direct3D GUI & video fix

Download all attachments as: .zip

Change History (7)

Changed 13 years ago by Lawrence Rust <lvr@…>

Attachment: mythtv-0.24.diff added

Direct3D GUI & video fix

comment:1 Changed 13 years ago by Raymond Wagner

Priority: criticalminor
Severity: highmedium
Status: newinfoneeded_new
Type: Bug ReportPatch - Bug Fix

Severity and priority are to be set during triage. See the TicketHowTo.

Are you saying these patches are to make the Direct3D 9 code support a GeForce? 2 GTS, a 10yr old card only capable of DirectX 7?

comment:2 Changed 13 years ago by Lawrence Rust <lvr@…>

No, this patch enables any DirectX 9 capable graphics to work with Myth, including Wine. Currently the code fails to work with cards that don't support YV12 surfaces and A8R8G8B8 back buffers.

Just 'cos a card is 10 years old doesn't mean that it shouldn't work with DirectX9. If programmed correctly, DirectX gracefully degrades into software emulation of missing functionality. This patch enables graceful fallback.

comment:3 Changed 13 years ago by beirdo

Status: infoneeded_newnew

comment:4 Changed 13 years ago by beirdo

Owner: set to markk
Status: newassigned

comment:5 Changed 13 years ago by markk

Milestone: unknown0.25
Status: assignedaccepted

comment:6 Changed 13 years ago by markk

Resolution: Fixed
Status: acceptedclosed

Modified version of patch applied in 351abc902e4694632c02

Note: See TracTickets for help on using tickets.