Skip to content

Framework Laptop 13 AMD Ryzen 7040 Series device notes under Linux

License

Notifications You must be signed in to change notification settings

tlvince/framework-laptop-13-amd-7640u

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Framework Laptop 13 AMD Ryzen 5 7640U

Device notes and configuration under Linux for the Framework Laptop 13 AMD Ryzen 7040 Series Ryzen 5 7640U variant, DIY edition.

Everything works of the box as of Linux v6.5 (>=6.9 recommended) with firmware version 03.03 (03.05 recommended).

Specs

Opinion

Bugs

Enhancements

BIOS

  • GUI-based UEFI
  • can set custom charge limit
  • no "legacy" S3 deep sleep option

Software

Sleep

  • S3 sleep unsupported
    • S0ix supported, reaches S0i3.0
  • consumed ~4.7% battery in ~12 hours
  • Debug via drm/amd amd_s2idle.py

Battery

Test environment

  • 40% brightness (~200 nits)
  • WiFi connected
  • Bluetooth disabled
  • webcam and microphone disabled (via hardware switches)
  • keyboard backlight disabled
  • power button LED lowest brightness
  • ambient light sensor disabled (hid_sensor_hub)
  • Firmware: 03.03
  • GNOME with 150% scaling
  • 4x USB-C expansion cards
powerstat -d 0 -c -H 1 480

Idle benchmarks

One foot terminal running powerstat

2023-11-07

  • Linux 6.5.9-arch2-1
  • GNOME 45.1
    • gnome-shell --no-x11 (XWayland disabled)
    • gdm3
    • gnome-settings-daemon
  • MT7922
State C3% Power (W)
idle (kernel: no TLP/ppd) 92.268% 3.92
idle (ppd balanced) 85.5% 3.86
idle (ppd power saver) 86.521% 3.67

2023-11-12

  • 6.6.0 #1-NixOS
  • GNOME 44.5
  • MT7922
State C3% Power (W)
idle (kernel: no TLP/ppd) 99.586% 4.27
idle (ppd balanced) 98.32% 4.43
idle (TLP defaults) 97.899% 3.93
idle (TLP power saver) 98.256% 3.89

2023-11-30

  • 6.6.2 #1-NixOS
  • GNOME 45.1
  • amdgpu.abmlevel=3
  • MT7922
State C3% Power (W)
idle (TLP power saver, balanced platform profile) 99.451% 3.10

2023-12-29

  • 6.6.8 #1-NixOS
  • GNOME 45.2
  • patched power-profiles-daemon (multiple drivers)
  • AX210
State C3% Power (W)
idle (ppd balanced) 99.338% 4.51
idle (ppd balanced, powertop autotune) 99.382% 4.35
idle (ppd power saver) 99.368% 4.32
idle (TLP power saver, low power platform profile) 99.376% 3.84
idle (TLP power saver, balanced platform profile) 99.391% 3.80

2024-05-17

  • 6.9.0 #1-NixOS
  • GNOME 46.1
  • AX210
  • 40% brightness (~200 nits)
  • ppd 0.21 (with Adaptive Backlight Management)
State C3% Power (W)
idle (ppd power saver) 99.368% 3.12
idle (ppd balanced) 99.313% 3.61

Video benchmarks

  • One foot terminal running powerstat
  • Firefox (in Wayland mode with hardware-video acceleration) playing 1080p vp9 YouTube video
  • both windows evenly split (vertically)
  • other baseline settings as above

2023-11-12

  • 6.6.0 #1-NixOS
  • GNOME 44.5
  • MT7922
State C3% Power (W)
video (kernel: no TLP/ppd) 85.867% 10.25
video (ppd balanced) 86.230% 10.36
video (ppd power saver) 85.531% 10.50
video (TLP defaults) 86.122% 10.20
video (TLP power saver) 84.004% 8.59
video (TLP power saver, balanced platform profile) 84.842% 8.13

2023-11-30

  • 6.6.2 #1-NixOS
  • GNOME 45.1
  • amdgpu.abmlevel=3
  • MT7922
State C3% Power (W)
video (TLP power saver, balanced platform profile) 83.483% 7.99

2023-12-29

  • 6.6.8 #1-NixOS
  • GNOME 45.2
  • patched power-profiles-daemon (multiple drivers)
  • AX210
State C3% Power (W)
video (ppd balanced) 84.705% 9.35
video (ppd balanced, powertop autotune) 84.891% 8.83
video (ppd power saver) 83.443% 8.82
video (TLP power saver, low power platform profile) 83.390% 8.11
video (TLP power saver, balanced platform profile) 84.495% 8.26

Browsing benchmarks

  • One foot terminal running powertop
  • Firefox, light websites (no videos)
  • both windows evenly split (vertically)
  • other baseline settings as above

2023-11-16

  • 6.6.1 #1-NixOS
  • GNOME 44.5
  • RZ616 WiFi adapter: 1.84-2.19W
  • brightnessctl set 0%
  • TLP power saver (config)
State Power (W)
browsing, WiFi disabled 4-5
browsing, WiFi enabled 5-6

2024-02-11

  • 6.7.4 #1-NixOS
  • GNOME 45.3
  • AX210
  • 40% brightness (~200 nits)
  • patched power-profiles-daemon (multiple drivers)
State C3% Power (W)
browsing (ppd power saver) 75.899% 5.79
browsing (ppd balanced) 80.195% 6.09

2024-05-17

  • 6.9.0 #1-NixOS
  • GNOME 46.1
  • AX210
  • 40% brightness (~200 nits)
  • ppd 0.21 (with Adaptive Backlight Management)
State C3% Power (W)
browsing (ppd power saver) 89.596% 5.49
browsing (ppd balanced) 89.436% 5.98

Device benchmarks

  • One foot terminal running powertop
  • TLP power saver (config)
  • other baseline settings as above

2023-11-16

  • 6.6.1 #1-NixOS
Device State Power (W)
Display 0% brightness 3.14
Display 40% brightness 3.52
MT7922 Idle (0.0 pkts/s) 1.67
MT7922 YouTube 4K (3461 pkt/s) 4.05
MT7922 YouTube 4K (4690 pkt/s) 4.98
MT7922 Speed test (16557 pkts/s) 9.16

2023-11-25

  • 6.6.2 #1-NixOS
Device State Power (W)
Display 40% brightness 3.52
AX210 Idle (0.0 pkts/s) 1.55
AX210 YouTube 4K (3601 pkts/s) 5.06
AX210 Download (10400 pkt/s) 6.40
AX210 Speed test (13539 pkt/s) 7.14

Kernel defaults

  • CPU: /sys/devices/system/cpu/cpu*/cpufreq/*
  • Platform: /sys/firmware/acpi/platform_profile

v6.6.0

Param Value
scaling_governer performance
scaling_driver amd-pstate-epp (active)
energy_performance_preference performance
platform_profile balanced

Links

About

Framework Laptop 13 AMD Ryzen 7040 Series device notes under Linux

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published