tomsom / yoga-linux

Run Linux on the Lenovo Yoga 7 14 (14ARB7) with AMD Ryzen 6800U (Rembrand).
https://github.com/tomsom/yoga-linux/wiki
58 stars 1 forks source link
linux

yoga-linux (WIP)

For more information take a look at the issues

Note: In some cases devices with a Kioxia SSD installed can get bricked while installing Linux if the firmware does not get updated via Windows beforehand! See #7.

Wiki links:

Latest Fixes:

Kernel independent:

  • [x] S4 sleep | Hibernating (guide is still missing)
  • As an alternative for S3 sleep, S4 sleep can be made use of (requires a SWAP partition).
  • [x] Screen rotation (see here)
  • Automatic rotation does not work out of the box in GNOME for some reason.
  • Can be fixed with an extension and iio-sensor-proxy.

Kernel 6.1+(see here):

  • [x] Microphone is working
  • [x] S2Idle is working
  • Laptop seems to reliably go to this state (and is also waking up without issues for most laptops).

Kernel 6.0+:

  • [x] Keyboard works without patching

Partially Fixed:

Kernel independent:

  • [x] Speakers (see here)
  • Switch to the bottom firing woofers makes the sound bearable, having all 4 speakers working in parallel is still WIP.
  • [X] GRUB scaling
  • Because of the 2.8K display the text in GRUB is very small and hardly readable.
  • This can be partially fixed by using a GRUB theme that forces a font size, or manually configuring GRUB.

Remaining Issues:

  • [ ] Speakers quality
  • Even after both 4 speakers get working all together, another challenge will be tune them to sound like they do in Windows with Dolby.
  • [ ] Issues with some USB-C docks
  • Better support will probably come with Kernel 6.2
  • [ ] S3 sleep | Suspending
  • No option for regular S3 sleep support. There seems to be no support for this by Ryzen 6000/Rembrandt so there is no fix insight :(
  • [ ] Fingerprint Sensor
  • Very much work in progress; But some promising stuff to look into: libfprint-goodixtls copr repo.

Remaining issues that don't seem to impact all Yoga 7 Gen 7 users:

  • [ ] Waking up from hibernation often needs longer than a reboot/regular system start

  • [ ] Cursor jumps around the screen

    • This is caused by PSR (Panel Self-Refresh), and can be worked around using amdgpu.dcdebugmask=0x10 as a kernel parameter
    • This value is documented here
  • [ ] System crashes after resuming

    • Yoga laptops with Samsung SSDs may become unstable after resuming from s2idle
    • This is a firmware bug in the SSD (PCI ID 0xa80b)
    • This issue is better documented here

Useful links:

Resources:

Relevant patches:

If you have any more information, other issues or noticed mistakes - feel free to open an issue. Thanks :)