How to configure a -quirk option for suspending when the lid is closed?
I did a clean installation of Ubuntu-MATE on a family member's laptop
yesterday, and then we ran into the 'GPU HANG' bug in recent versions
of the i910 video driver. I fixed that by following the advice here:
Re: How to configure a -quirk option for suspending when the lid is closed?
I'm on a PC with i915. I only cared about issues related to my Intel
GPU, however, it's known that intel driver support stopped several years
ago. It just worked without maintenance for a relative long time. IIRC
kernels <= 5.4 still work for most, if not all Intel GPUs, when using
the intel driver. 5.4 is a longterm kernel, however I'm in favour of
the 4.19 longterm kernel, avoiding all kernels >= 5. Some issues,
probably yours, too, might be related to something else.
I'll do test related to the intel issue with my Ventoy Xubuntu 20.04
soon, since my Ubuntu 16.04 is close to EOL. Until now I only made tests
using my Arch Linux install.
I didn't make good experiences when using the "modestting" driver, I
migrated back to the "intel" driver and use 4.19 kernels instead of
latest 5.x kernels.
FWIW first my Arch Linux and second my Ubuntu 16.04 xorg.conf . You
only need the "Device" section to chose a driver, you don't need
anything else, just ensure that there's no "Device" section in
/etc/X11//etc/X11/xorg.conf.d/ overriding the xorg.conf's "Device"
section. Install the packages providing "intel" and "modestting", if
available at all ;) and test both drivers. Probably 5.4 kernels,
https://packages.ubuntu.com/focal/linux-generic , are still safe, but
maybe build and test a kernel 4.19, too.
Regarding the hangs I get with Firefox when using my Ventoy Xubuntu
20.04 the "modestting" driver is used, since I experience those hangs
when using this driver on Arch Linux and there are no hangs, when using
the "intel" driver on Arch Linux and Ubuntu 16.04.