Skip to content

Instantly share code, notes, and snippets.

@Mostly-BSD
Last active October 22, 2021 12:39
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mostly-BSD/5760a86e09d8a96723206710d8624391 to your computer and use it in GitHub Desktop.
Save Mostly-BSD/5760a86e09d8a96723206710d8624391 to your computer and use it in GitHub Desktop.
Some Notes on Void Linux on System76 Galagopro 2.

These are some notes for running void linux on System76 Galagopro 2. Don't blindly cut-copy-paste, use your common sense.

Kernel

Some useful Kernel boot options.

In /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="splash loglevel=4 slub_debug=P page_poison=1 ec_sys.write_support=1 atkbd.reset intel_pstate=skylake_hwp psmouse.synaptics_intertouch=1 video=eDP-1:2048x1152-32@60 i915.enable_dc=2 i915.enable_guc=3 i915.modeset=1 i915.disable_power_well=0 i915.fastboot=1"

Kernel Modules in initramfs

In /etc/dracut.conf

hostonly="yes"
add_drivers+="intel_agp drm i915"
tmpdir=/tmp

X

Mostly X should start up without needing anything extra, but you can add the following for some extra control.

/etc/X11/xorg.conf.d/20-intel.conf

Section "Monitor"
        Identifier "eDP-1"
EndSection

Section "Device"
        Identifier "Intel Graphics"
        Driver     "intel"
        Option     "AccelMethod" "sna"
        Option     "TearFree" "true"
EndSection

Touchpad

libinput drivers work much better than synaptics drivers. If you've installed both, then copy /usr/share/X11/xorg.conf.d/40-libinput.conf to /etc/X11/xorg.conf.d/, so that it is preferred over synaptics.

Sometimes my touchpad freezes on startup, so I have udevadm trigger /dev/input/event15 in /etc/rc.local (event15 is my mouse, check your dmesg to figure out yours).

Power Management

I run tlp, acpid and thermald daemons, they seem happy to coexist. For sleeping if I just use zzz or pm-suspend then the display and/or keyboard hang after resuming from sleep, but running the following command works perfectly everytime.

pm-suspend --quirk-dpms-on --quirk-dpms-suspend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment