Opened 15 years ago

Closed 15 years ago

#6778 closed defect (fixed)

Hue settings are incorrect, and don't seem to correctly retrieve from hardware

Reported by: eric.bosch@… Owned by: markk
Priority: minor Milestone: 0.22
Component: MythTV - Video Playback Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Since the latest nvidia 185.18.14 video drivers were released, there appears to be an issue in setting the hue when tv is started. I'm running SVN 20151 currently. I looked through the channel database, I've verified all are set at 32768 (50%). When I start TV, occaisionally, the faces will have a blue hue to them, and I go to the hue settings to find it set at zero. I can adjust to 50%, which corrects the color, but then if I change channels, sometimes the hue goes back to the blue color, although the hue slider in the adjust-picture function still shows 50%, and I have to increase to 100% to resolve the issue, and then obviously, these hue's change again the next time liveTV is started, at least sometimes, it seems to be somewhat random in how it acts.

Change History (7)

comment:1 Changed 15 years ago by eric.bosch@…

Actually, I may rescind this bug, there seem to be some other bugs in the nVidia driver, as I just experienced what seems to be like snow on the screen, that continued even after I exited MythTV, on the desktop. I'm downgrading to 180.18.14, and I will verify if the hue settings are working properly, and make a final update to the ticket. Sorry for what may well be noise.

comment:2 Changed 15 years ago by eric.bosch@…

Ok, back on 180.18.14, color is ok, but I must leave this bug open. The hue setting is indicating zero percent, even though all settings in the database indicate 32768, which is 50%, and if I adjust the 50%, the hue is way off. With Hue set to 50% via indicator on picture controls, faces are blue, so clearly an issue. I just hope the "snow" isn't indicative of a failing video card.

comment:3 Changed 15 years ago by yianniv

With every driver of the 185 series I also experience snow on the screen (two different systems, one Debian Lenny, one openSUSE 11.1). It appears randomly, and goes away only by rebooting the systems. I also downgraded to 180.51 and have no problem since. There must be some incompatibility problem with the 185 series.

comment:4 Changed 15 years ago by eric.bosch@…

Thank you for that bit, confirming that my video card is not having an issue. Were you also experiencing random changes in hue when starting LiveTV/changing channels?

comment:5 Changed 15 years ago by yianniv

I'm mainly using it for videos, so I didn't notice anything on TV, sorry. But don't worry about the card, neither of mine have shown any problem since downgrading to 180.51. It's clearly a driver issue.

comment:6 Changed 15 years ago by markk

Component: MythTV - GeneralMythTV - Video Playback
Owner: changed from Isaac Richards to markk
Status: newaccepted

comment:7 Changed 15 years ago by markk

Resolution: fixed
Status: acceptedclosed

(In [21522]) Fix the XVideo hue range for NVIDIA drivers.

The default range of the hue setting has been changed in more recent drivers, which broke the existing 'hue base' assumption. Instead of trying to guess the appropriate adjustment from the driver version etc, we use the XV_SET_DEFAULTS attribute to restore the xvideo attributes to their defaults and calculate the appropriate range offset from that. The behaviour is unchanged if the XV_SET_DEFAULTS attribute is not available.

We do however need to save the existing attribute values and later restore them. This has the added bonus/side-effect of restoring the xvideo port attributes to the state in which MythTV found them (possibly with the exception of XV_COLORKEY and XV_AUTOPAINT_COLORKEY).

Technically we should probably revisit the offset assumptions for all xvideo attributes in 0.23 and rebase the hue setting generally - as most implementations now seem to use a default of 50% of the range rather than the 0% we assume.

Closes #6849. Closes #6778.

Note: See TracTickets for help on using tickets.