On Mon, Jun 10, 2019 at 11:09:32PM +0200, Mark Kettenis wrote:
> > Date: Mon, 10 Jun 2019 13:45:26 -0700
> > From: Bryan Vyhmeister <[email protected]>
> > 
> > On Mon, Jun 10, 2019 at 05:37:30PM +0200, Mark Kettenis wrote:
> > > Since you're able to log in remotely, please collect the output of "ps
> > > -AHlk" wen this happens again.
> > 
> > Here you go. Thank you!
> > 
> > Bryan
> 
> Thanks.  I should have asked for "ps -AHwlk", but I think the
> truncated output is good enough to diagnose the issue.  Seems the X
> server is blocked on vgalk:
> 
> >    35 62575 31930   0  14   0 33804 71352 vgalk   Is    ??    0:01.11 
> > /usr/X11R6/bi
> 
> It seems there is something broken in the "VGA arbiter" code in X.  Or
> maybe that never worked correctly with inteldrm(4).  You're hitting
> this issue because your machine has both Intel and Nvidia graphics.
> But also because you machdep.allowaperture=1.  If you set it to 0:
> 
> # sysctl machdep.allowaperture=0
> 
> the problem you're seeing probably goes away.  You probably want to
> change that in /etc/sysctl.conf as well to make it stick.
> 
> Please report back with the result.

Indeed you are correct. I had machdep.allowaperture=3 for historical
reasons that predate this laptop. Setting it to zero seems to have
solved the issue. I have been browsing for a number of minutes now
without issue where I would barely get 1-5 minutes before. Thank you!

Bryan

Reply via email to