Hey guys, I’m relatively new to Fedora Workstation but very interested.
My skills related to Linux are limited, I can read documentation, but not always implement it if it is not written understandable
I use a very powerful Optimus laptop and I want to find out how far I can optimize the battery mode without affecting AC (when I play games). I started reading around a bit in the TLP documentation without changing much. I have at times only to put in /etc/tlp.conf
the PCIE_ASPM_ON_BAT=powersupersave
.
What difficulties does it cause me to run an AMD/Nnvidia laptop on Wayland? Basically, I need tips and suggestions on what I can do to stretch the battery life as long as possible without doing dangerous or tricky things. Reversibility is also important to me.
Here is the inxi output:
System:
Kernel: 6.1.11-200.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.38-25.fc37
parameters: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.1.11-200.fc37.x86_64
root=UUID=b013282f-85a8-4ce9-b227-981b77f0b7ca ro rootflags=subvol=root
resume=UUID=8f301543-8ba6-49c3-98b9-3fc8cfb5fd73 rhgb quiet
rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init
Desktop: KDE Plasma v: 5.27.0 tk: Qt v: 5.15.8 wm: kwin_wayland vt: 1
dm: SDDM Distro: Fedora release 37 (Thirty Seven)
Machine:
Type: Laptop System: SLIMBOOK product: TITAN v: Standard
serial: <superuser required>
Mobo: SLIMBOOK model: TITAN v: Standard serial: <superuser required>
UEFI: American Megatrends LLC. v: N.1.24GRU05 date: 08/31/2021
Battery:
ID-1: BAT0 charge: 25.2 Wh (27.0%) condition: 93.5/93.5 Wh (100.0%)
volts: 10.6 min: 11.4 model: standard type: Li-ion serial: <filter>
status: discharging
Memory:
RAM: total: 15.03 GiB used: 5.52 GiB (36.7%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
Info: model: AMD Ryzen 9 5900HX with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 gen: 4 level: v3 note: check built: 2021-22
process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB
desc: 1x16 MiB
Speed (MHz): avg: 1199 high: 1200 min/max: 1200/4679 boost: enabled
scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1200 2: 1200
3: 1200 4: 1200 5: 1200 6: 1200 7: 1200 8: 1200 9: 1197 10: 1200 11: 1200
12: 1200 13: 1200 14: 1198 15: 1198 16: 1200 bogomips: 105399
Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists erms extapic
extd_apicid f16c flushbyasid fma fpu fsgsbase fsrm fxsr fxsr_opt ht
hw_pstate ibpb ibrs ibs invpcid irperf lahf_lm lbrv lm mba mca mce
misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt
nrip_save nx ospke osvw overflow_recov pae pat pausefilter pclmulqdq
pdpe1gb perfctr_core perfctr_llc perfctr_nb pfthreshold pge pku pni popcnt
pse pse36 rapl rdpid rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni
skinit smap smca smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor
svm svm_lock syscall tce topoext tsc tsc_scale umip v_spec_ctrl
v_vmsave_vmload vaes vgif vmcb_clean vme vmmcall vpclmulqdq wbnoinvd wdt
xgetbv1 xsave xsavec xsaveerptr xsaveopt xsaves
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: mmio_stale_data status: Not affected
Type: retbleed status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA104M [GeForce RTX 3070 Mobile / Max-Q]
vendor: Tongfang Hongkong driver: nvidia v: 525.89.02
alternate: nouveau,nvidia_drm non-free: 525.xx+
status: current (as of 2023-02) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 8
link-max: gen: 4 speed: 16 GT/s lanes: 16 ports: active: none off: HDMI-A-1
empty: DP-1,eDP-2 bus-ID: 01:00.0 chip-ID: 10de:249d class-ID: 0300
Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
vendor: Tongfang Hongkong driver: amdgpu v: kernel arch: GCN-5 code: Vega
process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s ports: active: eDP-1 empty: none
bus-ID: 06:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 40.0 C
Device-3: Chicony HD Webcam type: USB driver: uvcvideo bus-ID: 1-4:4
chip-ID: 04f2:b71a class-ID: 0e02 serial: <filter>
Display: wayland server: X.org v: 1.20.14 with: Xwayland v: 22.1.8
compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia
unloaded: fbdev,modesetting,nouveau,vesa alternate: nv dri: radeonsi
gpu: nvidia,amdgpu display-ID: 0
Monitor-1: eDP-1 res: 1707x960 size: N/A modes: N/A
API: OpenGL v: 4.6 Mesa 22.3.5 renderer: AMD Radeon Graphics (renoir LLVM
15.0.7 DRM 3.49 6.1.11-200.fc37.x86_64) direct-render: Yes
Audio:
Device-1: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Tongfang Hongkong
driver: N/A bus-ID: 3-1.1.1:7 alternate: snd_pci_acp3x, snd_rn_pci_acp3x,
snd_pci_acp5x, snd_pci_acp6x, snd_rpl_pci_acp6x, snd_pci_ps,
snd_sof_amd_renoir, snd_sof_amd_rembrandt chip-ID: 0d8c:0014 pcie:
class-ID: 0300 gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-2: AMD Family 17h/19h HD Audio vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3
class-ID: 0403
Device-3: C-Media Audio Adapter (Unitek Y-247A) type: USB
driver: cmedia_hs100b,snd-usb-audio,usbhid
Device-4: DisplayLink USB3.0 5K Graphic Docking type: USB
driver: cdc_ncm,snd-usb-audio bus-ID: 4-1.2:4 chip-ID: 17e9:6000
class-ID: 0a00 serial: <filter>
Sound API: ALSA v: k6.1.11-200.fc37.x86_64 running: yes
Sound Server-1: PulseAudio v: 16.1 running: no
Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Tongfang Hongkong driver: r8169
v: kernel pcie: speed: Unknown lanes: 63 link-max: gen: 6 speed: 64 GT/s
port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8125 class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: down mac: <filter>
IF-ID-1: enp6s0f4u1u2i5 state: up speed: 100 Mbps duplex: half
mac: <filter>
IP v4: <filter> type: dynamic noprefixroute scope: global
broadcast: <filter>
IP v6: <filter> type: dynamic noprefixroute scope: global
IP v6: <filter> type: noprefixroute scope: link
WAN IP: <filter>
Bluetooth:
Message: No bluetooth data found.
Logical:
Message: No logical block device data found.
RAID:
Message: No RAID data found.
Drives:
Local Storage: total: 931.51 GiB used: 236.05 GiB (25.3%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
rev: 3B2QEXM7 temp: 33.9 C scheme: GPT
Message: No optical or floppy data found.
Partition:
ID-1: / raw-size: 905.93 GiB size: 905.93 GiB (100.00%)
used: 235.79 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
label: fedora_localhost-live uuid: b013282f-85a8-4ce9-b227-981b77f0b7ca
ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
used: 255.7 MiB (26.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
label: N/A uuid: 62371944-f78f-441a-b390-6bbf6bae2801
ID-3: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
used: 17.4 MiB (2.9%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
uuid: CC8A-595B
ID-4: /home raw-size: 905.93 GiB size: 905.93 GiB (100.00%)
used: 235.79 GiB (26.0%) fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
label: fedora_localhost-live uuid: b013282f-85a8-4ce9-b227-981b77f0b7ca
Swap:
Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
ID-2: swap-2 type: partition size: 24 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p3 maj-min: 259:3 label: N/A
uuid: 8f301543-8ba6-49c3-98b9-3fc8cfb5fd73
Unmounted:
Message: No unmounted partitions found.
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 1-2:3 info: Genesys Logic Hub ports: 2 rev: 2.1 speed: 480 Mb/s
chip-ID: 05e3:0610 class-ID: 0900
Device-1: 1-4:4 info: Chicony HD Webcam type: Video driver: uvcvideo
interfaces: 4 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 04f2:b71a
class-ID: 0e02 serial: <filter>
Hub-3: 2-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Device-1: 2-1:3 info: Realtek Card Reader type: Mass Storage
driver: usb-storage interfaces: 1 rev: 3.0 speed: 5 Gb/s power: 800mA
chip-ID: 0bda:0316 class-ID: 0806 serial: <filter>
Hub-4: 2-2:2 info: Genesys Logic GL3523 Hub ports: 2 rev: 3.2 speed: 5 Gb/s
chip-ID: 05e3:0620 class-ID: 0900
Hub-5: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0
speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
Hub-6: 3-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 2109:2813 class-ID: 0900
Hub-7: 3-1.1:4 info: VIA Labs VL813 Hub ports: 4 rev: 2.1 speed: 480 Mb/s
chip-ID: 2109:2813 class-ID: 0900
Device-1: 3-1.1.1:7 info: C-Media Audio Adapter (Unitek Y-247A)
type: Audio,HID driver: cmedia_hs100b,snd-usb-audio,usbhid interfaces: 4
rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0014 class-ID: 0300
Device-2: 3-1.1.2:8 info: Kingston HyperX Pulsefire Surge
type: Mouse,Keyboard,HID driver: hid-generic,usbhid interfaces: 3 rev: 2.0
speed: 12 Mb/s power: 200mA chip-ID: 0951:16d3 class-ID: 0300
Device-3: 3-1.3:5 info: Elan Micro Gaming KB type: Keyboard
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
power: 100mA chip-ID: 04f3:152e class-ID: 0301
Hub-8: 3-3:3 info: Genesys Logic Hub ports: 4 rev: 2.1 speed: 480 Mb/s
power: 500mA chip-ID: 05e3:0608 class-ID: 0900
Device-1: 3-3.1:6 info: Integrated Express ITE Device(8291)
type: Keyboard,HID driver: hid-generic,usbhid interfaces: 2 rev: 2.0
speed: 12 Mb/s power: 100mA chip-ID: 048d:6004 class-ID: 0300
Hub-9: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s
chip-ID: 1d6b:0003 class-ID: 0900
Hub-10: 4-1:2 info: VIA Labs VL813 Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 2109:0813 class-ID: 0900
Hub-11: 4-1.1:3 info: VIA Labs VL813 Hub ports: 4 rev: 3.0 speed: 5 Gb/s
chip-ID: 2109:0813 class-ID: 0900
Device-1: 4-1.2:4 info: DisplayLink USB3.0 5K Graphic Docking
type: Audio,Communication,CDC-Data driver: cdc_ncm,snd-usb-audio
interfaces: 7 rev: 3.2 speed: 5 Gb/s power: 8mA chip-ID: 17e9:6000
class-ID: 0a00 serial: <filter>
Sensors:
System Temperatures: cpu: 48.9 C mobo: N/A gpu: amdgpu temp: 40.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 429 Uptime: 21m wakeups: 2 Init: systemd v: 251
target: graphical (5) default: graphical tool: systemctl Compilers:
gcc: 12.2.1 Packages: pm: dpkg pkgs: 0 pm: rpm pkgs: N/A note: see --rpm
tools: dnf,yum pm: flatpak pkgs: 27 Shell: Bash v: 5.2.15 running-in: konsole
inxi: 3.3.25
I would be very pleased to receive any assistance.
With kind regards