GPD Win Max 2021 - Intel i7-1195G7

UPDATE

EDID Firmware No Longer Required

  • The custom EDID firmware is not required any more. It appears to be fixed in Qubes 4.1.

GRUB Kernel Parameters

  • Rotate internal display to the correct orientation, except the GRUB menu:
# The Display for some reason is named differently if you boot with an external display plugged in...
video=DSI1:panel_orientation=right_side_up # Only internal display plugged in at boot
video=DSI-1:panel_orientation=right_side_up # Additional display plugged in at boot

 # For Console Rotation
video=efifb:fbcon=rotate:1
  • Enable Tiger Lake Audio:
snd-intel-dspcfg.dsp_driver=1

Display Rotation

LightDM Greeter (Login Screen

# /etc/lightdm/lightdm.conf
[Seat:*]
greeter-setup-script=/etc/lightdm/greeter_setup.sh

# /etc/lightdm/greeter_setup.sh #You can name this whatever you like, as long as you tell LightDM where to find it

#!/bin/bash
xrandr -o right
for display in {"DSI1","DSI-1"}
     do
     xinput map-to-output "pointer:Goodix Capacative TouchScreen" $display
done
exit 0

The Machine Resumes From Sleep…Except The Internal Display…

  • The machine wakes from S3 sleep perfectly…except he internal display stays black (but illuminated).
  • The display can be turned on an off with xrandr, but it still only shows a black screen.
  • The machine is otherwise completely responsive and powered-up. I have used it successfully by visualising what would be on the display in my head, in order to avoid a hard reset (you know, things like saving open work, before I hard reset it to get the screen back).
  • If an external display is plugged in, it activates correctly, and the machine is usable. But the internal display still stays black. The internal display stays black if an external display is then unplugged, too.
  • I’m 70% sure it’s a BIOS thing, because identical behaviour is seen in live environments of other Linux bare metal distros. None of them have managed to get S3 sleep to reset the internal display. They’ve only managed S2Idle (which I don’t want, because the machine would overheat in a bag, case…)

  • If there is a way to “simulate” the internal display being disconnected and then reconnected like an external display, so that it recalibrates, I am fairly certain that this would completely solve this issue, and could be written as a systemd-sleep script, which would make sleep/wake fully functional.

(PLEASE TELL ME IF YOU KNOW HOW TO DO THIS :slight_smile: )

Keyboard Mute Button (Fn + F1) Fixed

  • Stop Keyboard Mute Button (Fn + F1) from spamming keypresses and killing your keyboard (and then borking your system):
# /etc/udev/hwdb.d/90-gpd-rules.hwdb
evdev:atkbd:dmi:bvn*:bvr*:svnGPD:pnG1619*:pvr*
 KEYBOARD_KEY_a0=!mute
1 Like