Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-08 Thread Kent Fritz
Sorry I'm late to the party. The patch does not fix the problem for me, and causes a much worse problem -- I can suspend/resume reliably once, and have done it twice, but it usually locks on the second resume, requiring a hard reboot. I reverted the patch and I can suspend/resume reliably. If t

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Theo de Raadt
> DVACT_WAKEUP does finish its job. It's just that it is doing so while > kernel threads and userland processes are running as well. Drivers > need to be aware of this, and I'm not sure they all are. Well the only thing which could stop that X process from playing with stuff, is the driver it be

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Mark Kettenis
> From: Theo de Raadt > Date: Fri, 07 Mar 2014 10:00:41 -0700 > > > My hopethesis about what's causing the problem here is that during the > > DVACT_WAKEUP phase, some drivers actually sleep and that userland > > processes actually get to run. > > Yes, that is my theory too, about this specific

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Theo de Raadt
> Yes. Allthough the inteldrm code wasn't quite as bad in this respect > as the radeondrm code. No kidding. > My hopethesis about what's causing the problem here is that during the > DVACT_WAKEUP phase, some drivers actually sleep and that userland > processes actually get to run. Yes, that is

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Mark Kettenis
> From: Theo de Raadt > Date: Fri, 07 Mar 2014 09:15:20 -0700 > > > On Fri, Mar 07, 2014 at 10:51:50AM +0100, Landry Breuil wrote: > > > [...] > > > To everyone experiencing this issue, can you try with this diff: > > > [...] > > > > Seems to work. I get consistent ~60 FPS with glxgears during >

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Theo de Raadt
> On Fri, Mar 07, 2014 at 10:51:50AM +0100, Landry Breuil wrote: > > [...] > > To everyone experiencing this issue, can you try with this diff: > > [...] > > Seems to work. I get consistent ~60 FPS with glxgears during > suspend/resume cycles where before I'd get ~60 until the first suspend > and

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Giovanni Bechis
On 03/07/14 10:51, Landry Breuil wrote: > On Wed, Mar 05, 2014 at 12:59:00PM +0100, Giovanni Bechis wrote: >> On 03/05/14 09:59, Giovanni Bechis wrote: >>> On 03/04/14 17:58, Giovanni Bechis wrote: On 03/04/14 07:16, Antoine Jacoutot wrote: > On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Mark Kettenis
> Date: Fri, 7 Mar 2014 11:35:07 +0100 > From: Gregor Best > > On Fri, Mar 07, 2014 at 10:51:50AM +0100, Landry Breuil wrote: > > [...] > > To everyone experiencing this issue, can you try with this diff: > > [...] > > Seems to work. I get consistent ~60 FPS with glxgears during > suspend/resume

Re: inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Gregor Best
On Fri, Mar 07, 2014 at 10:51:50AM +0100, Landry Breuil wrote: > [...] > To everyone experiencing this issue, can you try with this diff: > [...] Seems to work. I get consistent ~60 FPS with glxgears during suspend/resume cycles where before I'd get ~60 until the first suspend and after resuming i

inteldrm suspend/resume regression (Was: Suspend/resume in Gnome)

2014-03-07 Thread Landry Breuil
On Wed, Mar 05, 2014 at 12:59:00PM +0100, Giovanni Bechis wrote: > On 03/05/14 09:59, Giovanni Bechis wrote: > > On 03/04/14 17:58, Giovanni Bechis wrote: > >> On 03/04/14 07:16, Antoine Jacoutot wrote: > >>> On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: > I've been trying Gnome

Re: Suspend/resume in Gnome

2014-03-05 Thread Giovanni Bechis
On 03/05/14 09:59, Giovanni Bechis wrote: > On 03/04/14 17:58, Giovanni Bechis wrote: >> On 03/04/14 07:16, Antoine Jacoutot wrote: >>> On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with suspend/resume.

Re: Suspend/resume in Gnome

2014-03-05 Thread Stefan Sperling
On Tue, Mar 04, 2014 at 09:35:01PM +, Edd Barrett wrote: > Come to think of it, I think I *did* have this issue with that Feb 13th snap. > > This would fall in line with stsp's theory. I don't see any messages > from the kernel about disabling acceleration however. Those messages are in /var/

Re: Suspend/resume in Gnome

2014-03-05 Thread Giovanni Bechis
On 03/04/14 17:58, Giovanni Bechis wrote: > On 03/04/14 07:16, Antoine Jacoutot wrote: >> On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: >>> I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with >>> suspend/resume. After resume, there's some garbage in the Activi

Re: Suspend/resume in Gnome

2014-03-04 Thread Edd Barrett
On Tue, Mar 04, 2014 at 09:35:01PM +, Edd Barrett wrote: > Come to think of it, I think I *did* have this issue with that Feb 13th snap. > > This would fall in line with stsp's theory. I don't see any messages > from the kernel about disabling acceleration however. As Stefan says, restarting

Re: Suspend/resume in Gnome

2014-03-04 Thread Edd Barrett
On Tue, Mar 04, 2014 at 12:20:57PM +, Stuart Henderson wrote: > zgrep OpenBSD /var/log/messages/* wilfred:log> zgrep OpenBSD /var/log/messages*gz /var/log/messages.0.gz:Mar 3 22:09:17 wilfred /bsd: OpenBSD 5.5 (GENERIC.MP) #300: Wed Feb 26 16:28:46 MST 2014 /var/log/messages.0.gz:Mar

Re: Suspend/resume in Gnome

2014-03-04 Thread Giovanni Bechis
On 03/04/14 07:16, Antoine Jacoutot wrote: > On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: >> I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with >> suspend/resume. After resume, there's some garbage in the Activities bar >> (top of the screen) that looks lik

Re: Suspend/resume in Gnome

2014-03-04 Thread Stefan Sperling
On Tue, Mar 04, 2014 at 12:20:57PM +, Stuart Henderson wrote: > On 2014/03/04 11:58, Edd Barrett wrote: > > On Tue, Mar 04, 2014 at 10:22:47AM +, Stuart Henderson wrote: > > > On 2014/03/04 09:40, Edd Barrett wrote: > > > > This is since my last snapshot upgrade, but there again, I have not

Re: Suspend/resume in Gnome

2014-03-04 Thread Stuart Henderson
On 2014/03/04 11:58, Edd Barrett wrote: > On Tue, Mar 04, 2014 at 10:22:47AM +, Stuart Henderson wrote: > > On 2014/03/04 09:40, Edd Barrett wrote: > > > This is since my last snapshot upgrade, but there again, I have not been > > > updating all that frequently, so it could be an older issue. >

Re: Suspend/resume in Gnome

2014-03-04 Thread Edd Barrett
On Tue, Mar 04, 2014 at 10:22:47AM +, Stuart Henderson wrote: > On 2014/03/04 09:40, Edd Barrett wrote: > > This is since my last snapshot upgrade, but there again, I have not been > > updating all that frequently, so it could be an older issue. > > This report could be improved by including a

Re: Suspend/resume in Gnome

2014-03-04 Thread Gregor Best
On Tue, Mar 04, 2014 at 10:22:47AM +, Stuart Henderson wrote: > [...] > This report could be improved by including a date range (or even > better a bisection to figure out when it started..) > [...] I can only give a date range. I'm seeing this after my last update on February 20. The update b

Re: Suspend/resume in Gnome

2014-03-04 Thread Stuart Henderson
On 2014/03/04 09:40, Edd Barrett wrote: > This is since my last snapshot upgrade, but there again, I have not been > updating all that frequently, so it could be an older issue. This report could be improved by including a date range (or even better a bisection to figure out when it started..)

Re: Suspend/resume in Gnome

2014-03-04 Thread Edd Barrett
On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: > I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with > suspend/resume. After resume, there's some garbage in the Activities bar > (top of the screen) that looks like some of the blue wallpaper, and the > graphic

Re: Suspend/resume in Gnome

2014-03-03 Thread Antoine Jacoutot
On Mon, Mar 03, 2014 at 11:28:43PM -0500, Kent Fritz wrote: > I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with > suspend/resume. After resume, there's some garbage in the Activities bar > (top of the screen) that looks like some of the blue wallpaper, and the > graphic

Suspend/resume in Gnome

2014-03-03 Thread Kent Fritz
I've been trying Gnome on a Lenovo T420s, and I seem to have a problem with suspend/resume. After resume, there's some garbage in the Activities bar (top of the screen) that looks like some of the blue wallpaper, and the graphics are really slow. Known issue? Operator error? Thanks for any nu