Skip to content

Latest commit

 

History

History
214 lines (145 loc) · 9.34 KB

File metadata and controls

214 lines (145 loc) · 9.34 KB

Linux on Lenovo Yoga Slim 7 Carbon Gen 6 (14" AMD)

US name: Lenovo Yoga IdeaPad 7 Carbon Gen 6 (14" AMD)

Inspired by similar researches for other laptops.

Lenovo Yoga IdeaPad 7 Carbon Gen 6 (14" AMD)

© lenovo.com

The laptop was released in Nevember 2021. Full name in Europe is "Lenovo Yoga Slim 7 Carbon Gen 6 (14" AMD)", and the US version is called "Lenovo IdeaPad Slim 7 Carbon Gen 6 (14" AMD)".

psref: https://psref.lenovo.com/Detail/Yoga/Yoga_Slim_7_Carbon_14ACN6?M=82L0005RMX

Tested specifications:

  • Processor: AMD Ryzen™ 7 5800U-Prozessor
  • RAM: 16 GB LPDDR4X 4266MHz
  • 1 TB M.2 2280 SSD
  • Screen: 14.0" 2.8K (2880x1800) OLED, Multitouch
  • Graphic chip: Integrated AMD Vega 8 with up to 2 GB RAM.

Tested distributions, and kernel versions:

  • Ubuntu 21.10
  • Ubuntu 22.04
  • POP_OS 22.04
  • Fedora 35
  • NixOS 23.05
  • Kernel: 5.13.0.22, 5.15, 5.16, 6.1, 6.6

Linux support

Function Details Status Notes
Processor Processor: AMD Ryzen™ 7 5800U-Prozessor ✔ Yes All 16 cores were detected in htop
Graphics Integrated AMD Radeon ✔ Yes via standard kernel driver
RAM 16 GB LPDDR4X 4266MHz ✔ Yes 13,5G were recognized in htop due to reserved GPU RAM. Can be changed in UEFI.
Display 14.0" 2.8K (2880x1800) OLED, Multitouch ✔ Yes see display details below.
Storage 1 TB M.2 2280 SSD ✔ Yes Via standard kernel driver
Wifi Realtek ✔ Yes Requires additional setup for some kernel versions. See wifi details below.
Bluetooth Bluetooth 5.2 ✔ Yes Works as expected. Bluetooth mouse is recognized and works as expected.
Speakers Dolby Vision Atmos Speaker System ❌ only 2 speakers Only 2 speakers out of 4 work out of the box. See details about Speakers below.
Microphone ✔ Yes Out of the box. todo: test if all mics work
Webcam Infrared 720p-HD-Camera ✔ Yes Works out of the box. Note: Sometimes only vertical lines are shown. To fix it turn the camera off and on with the killswitch.
Webcam killswitch ✔ Yes Works out of the box.
Ports 3 × USB-C, Mini-jack ✔ Yes All the ports work. Charging works only via left port.
Graphic Dongle USB-Typ-C to USB-Typ-A-/HDMI-/VGA ✔ Yes Works. HDMI monitor works, USB keyboard works.
Keyboard ⚠️ Minor issues see Keyboard details below
Touchpad ✔ Yes Touchpad is detected and works good in GNOME and KDE. Left, right clicks, 2-finger scrolling, 2-finger zooming, 3-finger workspaces switching work.
Power button ✔ Yes
Battery 4 Cell, 61 Wh ✔ Yes Battery life is approximately 5 hours during a regular usaage in balanced mode. See more details about the battery below.
Power management ✔ Yes Works, see more details about power management below.
Lid ACPI-compliant ✔ Yes Works as expected, todo: check ACPI logs
Suspend ✔ Yes Works stable in ubuntu 22.04 LTS (5.15.0-25-generic). In supendend mode laptop lost 10% battery in 1,5 days.
Hibernate ✔ Yes Works in NixOS
Face recognition ✔ Requires additional setup See details about face recognition below.
AMD P-State ✔ Is default since kernel 6.3 See details about AMD P-State below.

Display

Colors look nice. GNOME and KDE night mode works fine as well. Some distros may require manual setup for the scaling. A 90 hz mode can be optionally enabled in the KDE systemsettings under Display Configuration.

Brightness

Brightness adjustment keys work fine with kernel 5.13. Kernel 5.15 has issues with adjustment keys, see keyboard details below.

Touchscreen

The touchscreen is an optional upgrade, that not all units come with. Multitouch works out of the box, even in UEFI.

Resolution & Scaling

Resolution is correctly detected by xrandr, 200% scaling was activated by default and looks good.

Some apps require custom adjustments for proper scaling. A few examples:

Spotify

  • sudo vim /var/lib/snapd/desktop/applications/spotify_spotify.desktop
  • And then you change the Exec directive to include the option: Exec=env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/spotify_spotify.desktop /snap/bin/spotify --force-device-scale-factor=2 %U

Steam

Steam has an (ongoing issue)[ValveSoftware/steam-for-linux#9209], that prevents it to start with an appropriately applied scale on high resolution displays. This is a known regression for a long time, and here is how you can circumvent that by creating a custom launcher.

On KDE:

Right click on the menu, and select Edit Applications and then find the Steam launcher. Add the following line to the field Commandline Options: -forcedesktopscaling 1.75 %U

Screenshot_20231112_143708

On other systems, you can do this by creating a desktop file:

  • $EDITOR .local/share/applications/SteamScaled.desktop
  • Paste in the following text:
[Desktop Entry]
Name=Steam Scaled
Exec=env GDK_SCALE=2 steam
Type=Application
StartupNotify=true
Icon=steam
StartupWMClass=steam
Name[en_US]=Steam Scaled

Safe and exit.

GRUB

  • Make a backup: sudo cp -a /etc/default/grub /etc/default/grub.bak
  • Open the configuration: sudo $EDITOR /etc/default/grub
  • Edit GRUB_GFXMODE entry to suit your resolution e.g. 2880x1800
  • sudo update-grub
  • Reboot; GRUB will display in the mode you set.

Wifi

Works as expected in Ubuntu 22.04, POP_OS 22.04. Works with 5 Ghz networks. For other versions some setup manipulations were required.

kernel 5.13

Works out of the box on Ubuntu 21.10 with kernel 5.13, as it already contains the required API changes.

kernel 5.15

Does not work with 5.15 kernel out of the box. Follow carefully the additional setup instructions to fix the wifi module.

Speakers

Only 2 speakers out of 4 work. Open issue: #2

Problem research:

alsa-info output: http://alsa-project.org/db/?f=045c0b1e6b2f41b44c1a3bc145617ce60a6f756a

Kernel bug reports:

Other links:

Keyboard

Some function buttons do not work: F9 (settings), Star S. Print Screen works only while Fn button is pressed. All the other functions including Fn lock, home, end, pg up, pg down work out of the box. 3 levels of keyboard light work as well.

Battery

Tested balanced mode for now. Battery life is approximately 5 hours.

You can find a separate page with additional tools for battery performance improvements.

Power management

All the 3 power modes in GNOME do change BIOS power modes settings.

todo: test power modes

Face recognition

It works with Howdy after enabling the IR-sensor with this: https://github.com/EmixamPP/linux-enable-ir-emitter

Setup instructions:

Install https://github.com/EmixamPP/linux-enable-ir-emitter:

git clone https://github.com/EmixamPP/linux-enable-ir-emitter.git
cd linux-enable-ir-emitter
sudo bash installer.sh install

sudo linux-enable-ir-emitter configure look at the ir emitter and answer no on the 1st question and yes on the 2nd question.

Install howdy on Ubuntu:

sudo add-apt-repository ppa:boltgolt/howdy
sudo apt update
sudo apt install howdy

sudo howdy config, set device_path to /dev/video0. sudo howdy add follow the instructions Reboot.

AMD P-State

AMD P-State is enabled by default for all Linux kernels starting with version 6.3 and you can manually enable it with kernel 5.17+, as it is written in this ArchWiki page (about a similar model).

NOTE:

The OEM kernel in older Ubuntu version has this setting also enabled by default.

sudo apt install linux-image-5.17.0-1012-oem 

Contribution

In case you have some additional information about various Linux-related topics on this laptop, feel free to open an issue and/or create a Pull-request.