This seems to be a bug with the Intel GMA X4500. Using UXA instead of SNA appears to fix this problem in X sessions, provided you use the Intel DDX driver. So far there does not seem to be a solution for Wayland sessions or for X's modesetting DDX.

First, make an xorg.conf.d directory:

sudo mkdir -p /etc/X11/xorg.conf.d/

Then, add a 20-intel.conf file to that directory, containing these lines:

Section "Device"
   Identifier  "Intel Graphics"
   Driver      "intel"
   Option      "AccelMethod" "uxa"
   Option      "SwapbuffersWait" "true"

Log out and log back in and the problems should be gone.


By default, Debian uses late KMS init, which doesn't seem to work properly on GM45 laptops (G41 desktops are unaffected). In order to fix this, use early KMS init by adding the drm and i915 modules to the initramfs.

Edit /etc/initramfs-tools/modules and add:


Edit /etc/modprobe.d/i915.conf and add:

options i915 fastboot=1

Then run:

sudo update-initramfs -u

and reboot.

The LED blinking option is disabled by default with the ath9k driver. It can easily be enabled by creating an /etc/modprobe.d/ath9k.conf file and adding this line to it:

options ath9k blink=1

Then reload the ath9k module:

sudo rmmod ath9k
sudo modprobe ath9k

This can usually be forced by running the xrandr command. Bind this to a hotkey of choice.

In a Wayland session, however, this won't work. Instead, add this to /etc/rc.local:

sudo chmod 666 /sys/class/drm/card0-HDMI-A-2/status

Then make /etc/rc.local executable, and run it for this session:

sudo chmod +x /etc/rc.local
sudo sh /etc/rc.local

Create a file called /usr/local/bin/screen-hotplug and add this to it:

echo 'detect' > /sys/class/drm/card0-HDMI-A-2/status

Make it executable:

sudo chmod +x /usr/local/bin/screen-hotplug

And bind the /usr/local/bin/screen-hotplug to a hotkey of choice.

Create a file called /etc/NetworkManager/dispatcher.d/99wlan and add this to it:

#!/bin/sh -e
if [ "$1" = "enp0s25" ]; then
  case "$2" in
      nmcli radio wifi off
      nmcli radio wifi on

Then make it executable by running:

sudo chmod +x /etc/NetworkManager/dispatcher.d/99wlan

Of course, this will also turn WiFi back on when ethernet is disconnected.

  • coreboot/debian-configuration.txt
  • Last modified: 2017/08/31 09:00
  • by Kevin Keijzer