gtk+ and randr

Alex Deucher alexdeucher at gmail.com
Tue Jul 22 10:19:18 PDT 2008


On Tue, Jul 22, 2008 at 12:38 PM, Eric Piel <E.A.B.Piel at tudelft.nl> wrote:
> Alex Deucher schreef:
>>
>> On Tue, Jul 22, 2008 at 4:18 AM, Eric Piel <E.A.B.Piel at tudelft.nl> wrote:
>>>
>>> Alex Deucher schreef:
>>>>
>>>> On Mon, Jul 21, 2008 at 6:39 PM, Ben Gamari <ben at mw0.ath.cx> wrote:
>>>>>
>>>>> On Intel hardware it seems to probe the outputs and re-acquire EDID
>>>>> information, which in itself seems to usually cause loss of sync. It
>>>>> seems this is what XRRGetScreenResources() is supposed to do so I
>>>>> really
>>>>> don't see any way to avoid the cost.
>>>>
>>>> If you have monitors with EDIDs plugged into your connectors, then
>>>> you're fine.  if you have nothing on one or more connectors or a
>>>> monitor without an EDID, you may get flickering as the driver attempts
>>>> to use load detection to sense the presence of a monitor since there
>>>> is no EDID.
>>>
>>> With my i965 and a monitor _with_ EDID connected to the VGA output, I do
>>> get
>>> flickering (the screen turns black for one second). So, it seems the
>>> flickering happens all the time. Is it a bug in the intel driver? Or
>>> maybe
>>> it's because there is also a TV output? (that would be nasty because the
>>> laptop don't even have the plug!)
>>
>> TV is load detection only, so it's probably the tv port.  I suspect
>> your laptop needs a quirk to ignore the tv connector.
>
> Oh well, I've doubled checked, and if you buy the "media station" for my
> laptop, the tv connector is available. So it's better not to disable it
> completely!
>
> Still, isn't it strange that the fact there is a "load detection" on the TV
> output affects the VGA output?

No, load detection requires a crtc as you need to send a signal to the
tv dac to check the load.  So what happens is the crtc that's
currently driving one of the other outputs is borrowed temporarily to
do the load detection, hence the flicker.

Alex



More information about the xorg mailing list