Opened 18 years ago
Closed 18 years ago
#1594 closed defect (fixed)
Protect against bogus refresh rate reported by X
Reported by: | Owned by: | Isaac Richards | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | 0.19 |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Mythtv uses XF86VidModeGetModeLine to calculate a refresh rate. But it appears the ATI driver is giving a bogus value that makes mythtv think the refresh rate is 434Khz. I could see how that would confuse mythtv.
I submitted an xorg bug report: https://bugs.freedesktop.org/show_bug.cgi?id=6421
But it seems like mythtv can easily protect itself here. It already defaults to 60hz if it can't get any refresh rate from X. I would say it should also fail over to the default if the refresh rate it gets from X is unreasonable.
I've attached an untested patch.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [9583]) Reject unreasonable refresh rates.
Closes #1594.