Re: (more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-27 Thread Aleksandr Rybalko
On Sun, 23 Mar 2014 13:36:29 -0700
Adrian Chadd  wrote:

> Less information-poor response:
> 
> * when it happens, the FB will resume correctly for a little bit, then
> once everything comes back, it flips to being distorted. So, it's
> likely something is misconfiguring stuff during resume.
> * I can flip to VTs fine; I can login and do things fine;
> * When I flip back to xorg, things still remain distorted;
> * If I ctrl-C xorg and start it again, it starts back up correctly.
> 
> So hm, maybe the vt save/resume code learnt something buggy?
> 

No, vt(9) and syscons have nothing to do with FB used by Xorg. With new
DRM Xorg allocate own FB and only Xorg and DRM know about it.
It seems Xorg's PM events handling is works wrong.
Or maybe drm2 should care better about that FB objects.


> 
> -a
> 
> 
> On 23 March 2014 01:27, Adrian Chadd  wrote:
> > Hi,
> >
> > I know this is an information-poor message.
> >
> > The last time i updated my two test laptops was around the middle of
> > last month. Back then, xorg would occasionally get distorted, but
> > typically would come back from suspend fine.
> >
> > Lately, it seems a 50% chance that coming back from suspend that xorg
> > will be not only distorted, but further screen redraws are wrong. It's
> > like the framebuffer configuration is wrong and persists to be wrong.
> > I have to exit out of xorg and restart it.
> >
> > Has anyone else seen this?
> >
> >
> > -a


-- 
Aleksandr Rybalko 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: (more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-24 Thread Lars Engels
On Sun, Mar 23, 2014 at 06:41:05PM -0700, Adrian Chadd wrote:
> No, this isn't a "the buffer is messed up", this is a "everything is
> and stays messed up."
> 
> Starting new applications odes'nt fix it.
> 
> Minimising/maximising the applications again doesn't fix it.
> 
> This is a "the framebuffer config seems busted", not "the contents of
> that 2d rectaugular area got messed up." Normally when there's
> distortions triggering some kind of change in that area (ie: not a
> redraw) is enough to fix it.
> 

Oh okay, then I didn't encounter it, yet. I can provide a screenshot of
what I am seeing, the next time it happens.


pgpDL9F7c7o9Y.pgp
Description: PGP signature


Re: (more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-23 Thread Adrian Chadd
No, this isn't a "the buffer is messed up", this is a "everything is
and stays messed up."

Starting new applications odes'nt fix it.

Minimising/maximising the applications again doesn't fix it.

This is a "the framebuffer config seems busted", not "the contents of
that 2d rectaugular area got messed up." Normally when there's
distortions triggering some kind of change in that area (ie: not a
redraw) is enough to fix it.


-a


On 23 March 2014 14:05, Lars Engels  wrote:
> On Sun, Mar 23, 2014 at 01:36:29PM -0700, Adrian Chadd wrote:
>> Less information-poor response:
>>
>> * when it happens, the FB will resume correctly for a little bit, then
>> once everything comes back, it flips to being distorted. So, it's
>> likely something is misconfiguring stuff during resume.
>> * I can flip to VTs fine; I can login and do things fine;
>> * When I flip back to xorg, things still remain distorted;
>> * If I ctrl-C xorg and start it again, it starts back up correctly.
>
> Setting a new wallpaper and / or restarting the distorted windows
> un-distorts them.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: (more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-23 Thread Lars Engels
On Sun, Mar 23, 2014 at 01:36:29PM -0700, Adrian Chadd wrote:
> Less information-poor response:
> 
> * when it happens, the FB will resume correctly for a little bit, then
> once everything comes back, it flips to being distorted. So, it's
> likely something is misconfiguring stuff during resume.
> * I can flip to VTs fine; I can login and do things fine;
> * When I flip back to xorg, things still remain distorted;
> * If I ctrl-C xorg and start it again, it starts back up correctly.

Setting a new wallpaper and / or restarting the distorted windows
un-distorts them.


pgpjV3j2WcNhv.pgp
Description: PGP signature


Re: (more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-23 Thread Adrian Chadd
Less information-poor response:

* when it happens, the FB will resume correctly for a little bit, then
once everything comes back, it flips to being distorted. So, it's
likely something is misconfiguring stuff during resume.
* I can flip to VTs fine; I can login and do things fine;
* When I flip back to xorg, things still remain distorted;
* If I ctrl-C xorg and start it again, it starts back up correctly.

So hm, maybe the vt save/resume code learnt something buggy?


-a


On 23 March 2014 01:27, Adrian Chadd  wrote:
> Hi,
>
> I know this is an information-poor message.
>
> The last time i updated my two test laptops was around the middle of
> last month. Back then, xorg would occasionally get distorted, but
> typically would come back from suspend fine.
>
> Lately, it seems a 50% chance that coming back from suspend that xorg
> will be not only distorted, but further screen redraws are wrong. It's
> like the framebuffer configuration is wrong and persists to be wrong.
> I have to exit out of xorg and restart it.
>
> Has anyone else seen this?
>
>
> -a
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


(more) screen distortion with intel GPU / xorg on recent -HEAD?

2014-03-23 Thread Adrian Chadd
Hi,

I know this is an information-poor message.

The last time i updated my two test laptops was around the middle of
last month. Back then, xorg would occasionally get distorted, but
typically would come back from suspend fine.

Lately, it seems a 50% chance that coming back from suspend that xorg
will be not only distorted, but further screen redraws are wrong. It's
like the framebuffer configuration is wrong and persists to be wrong.
I have to exit out of xorg and restart it.

Has anyone else seen this?


-a
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"