On Wed, Jul 25, 2018 at 05:10:05PM +0100, Stuart Henderson wrote:
> On 2018/07/25 15:26, Alexandre Ratchov wrote:
> > On Wed, Jul 25, 2018 at 11:56:04AM +0100, Stuart Henderson wrote:
> > > On 2018/07/25 12:00, Antoine Jacoutot wrote:
> > > > > I see the exact same issue as you do.
> > > > > I'll try with s/modesetting/intel and see if it improves things.
> > > >
> > > > OK I can already confirm this "fixes" the issue for me.
> > >
> > > It's been up for long enough now that I agree.
> > >
> > > For anyone else running into this, here is the xorg.conf stanza to
> > > switch (no other entries are needed in the file).
> > >
> > > Section "Device"
> > > Identifier "Intel Graphics"
> > > Driver "intel"
> > > EndSection
> > >
> >
> > Do you remember if the problem occurs with the modesetting driver if
> > you disable acceleration, ie you add:
> >
> > Option "AccelMethod" "none"
> >
> > to the "Device" section?
> >
>
> I hadn't tried that before. I just gave it a go, didn't see any freezes,
> but browser rendering was so slow as to be useless - Firefox took about
> 10 minutes to get to a state where I could interact with it (didn't help
> that the saved open tab was a complex map I suppose) and ~30 seconds to
> react to anything. chromium wasn't quite as bad, but I couldn't live
> with it.
This is strange, firefox starts almost immediately on both of my
machines (~1.5s on the faster one, i5-2500K) , with:
Section "Device"
Identifier "Card0"
Driver "modesetting"
Option "SWcursor" "on"
Option "AccelMethod" "none"
EndSection
AFAIU, if AccelMethod is set to none, the device behaves like a bare
framebuffer (given "modern" memory speeds, this covers all desktop
needs, ex. mplayer uses ~6% CPU for a full-screen 720p movie). So,
what you observe may be unrelated to graphics. Which processes consume
CPU and appear to spin?