Code Monkey home page Code Monkey logo

my-lenovo-yoga-slim-7's Introduction

My Lenovo Yoga Slim 7 as media Notebook

!! this is a guidance - use at your own risk !!

Lenovo Yoga Slim 7 14ARE05 Notebook (35,56 cm/14 Zoll, AMD Ryzen 7, Radeon™, 1000 GB SSD)

  • AMD Ryzen 7 4800U 1,8 GHz (bis zu 4,2 GHz)
  • 35,56 cm (14") Full HD IPS-Display (1920 x 1080)
  • 16 GB LPDDR4x-RAM
  • Harddrive: 1000 GB SSD

1 Erase all Windows partitions and install KDE neon 5.21 (based upon Ubuntu 20.04 LTS)

  • make sure that Firmware / BIOS settings show
    SECURE BOOT = disabled
    
  • To boot with the standard Ubuntu Kernel v.5.4 only works with nomodeset kernel parameter. noacpi & iommu=off can help as well.
  • create partitions for /boot/efi, swap and /
  • install KDE neon
  • First start with KDE neon is a mess using default Ubuntu Kernel 5.4 (dmesg shows errors for amdgpu, iommu, audio, network etc)

2 Fixing some issues

2a) upgrade Kernel

  • best to use Lowlatency 5.8 Ubuntu patched Kernel
  • most parts working now
  • later Mainline Kernels brake sound and vga

2b) Sound is choppy and doesn't work always. To fix this blacklist the realtec sound module

sudo tee /etc/modprobe.d/blacklist-realtek.conf <<<'blacklist snd_hda_codec_realtek'

if that still doesnt work, add options snd_hda_intel index=1,0 to /etc/modprobe.d/alsa-base.conf

sudo tee 'options snd_hda_intel index=1,0' >> /etc/modprobe.d/alsa-base.conf

2c) get microphone working

  • add Kernel parameter to /etc/default/grub
    GRUB_CMDLINE_LINUX="snd_rn_pci_acp3x.dmic_acpi_check=1"
    
  • and
    sudo update-grub
    

2d) To get AMDGPU properly working download linux-firmware from

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/

and

sudo cp linux-firmware/amdgpu/renoir* /lib/firmware/amdgpu

2e) Touchpad does not wake up from Suspend - to enable it after resume

xinput --enable 'PNP0C50:00 06CB:CDB0 Touchpad'

!! Todo: Find a way to automize the process - see issues tab

3 Optimizations

3a) Battery life should be safed when always at AC Power by limiting the max power charge to 60%

sudo echo 1 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

disable (get battery charge back to 100%)

sudo echo 0 > /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode

3b) push /tmp and /var/log into RAM by adding those lines into /etc/fstab

tmpfs     /tmp        tmpfs       nosuid      0 0
tmpfs     /var/log    tmpfs       nosuid      0 0

3c) enable AMDs own CPU frequency scaler by adding

amd_cpufreq=enable

to kernel boot parameter.

3d) reduce swappiness add to /etc/sysctl.conf

# Reduce the inclination to swap
vm.swappiness=10

check swappiness with cat /proc/sys/vm/swappiness

my-lenovo-yoga-slim-7's People

Contributors

toszlanyi avatar

Watchers

 avatar

my-lenovo-yoga-slim-7's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.