Questions sur l'installation et la configuration de Manjaro Linux.
Répondre

Autonomie faible Asus TUF gamng fx705gd

#1Messageil y a 4 ans

Bonjour,

Après avoir résolue mes problème de ventilateur (en mettant à jour mon bios), j'ai un soucis au niveau de l'autonomie : elle ne dure pas longtemps (à peine 1h30 ou max 2h).
J'ai TLP et TLPUI installé ainsi que powertop.
Ayant la technologie optimus j'ai passe de ma carte graphique Intel à nvidia via prime-switcher

voici ce que j'ai avec powertop


The battery reports a discharge rate of 19.0 W
The power consumed was 388 J
The estimated remaining time is 0 hours, 50 minutes

Summary: 1734,0 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 21,5% CPU use

Power est.              Usage       Events/s    Category       Description
  9.39 W      1,0%                      Device         Display backlight
  5.92 W    100,0%                      Device         Audio codec hwC0D0: Realtek
  488 mW      0,4 pkts/s                Device         Network interface: wlo1 (iwlwifi)
  133 mW     53,3 ms/s      94,0        Process        [PID 2294] /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7060 -prefMapSize 216788 -parentBuildID 202
 85.1 mW     34,5 ms/s      10,6        kWork          intel_atomic_commit_work
 54.0 mW     21,3 ms/s     104,6        Process        [PID 1525] /usr/bin/gnome-shell
 51.4 mW     20,7 ms/s      33,4        Process        [PID 2037] /usr/lib/gnome-terminal-server
 24.9 mW     10,0 ms/s      14,3        Process        [PID 2946] powertop
 22.7 mW      9,0 ms/s      36,4        Process        [PID 2139] /usr/lib/firefox/firefox --new-window
 21.4 mW      7,7 ms/s     147,6        Process        [PID 2110] /usr/lib/firefox/firefox --new-window
 20.0 mW      8,0 ms/s      16,1        Process        [PID 1539] /usr/bin/Xwayland :0 -rootless -noreset -accessx -core -auth /run/user/1000/.mutter-Xwaylandauth.FH83H0 -listen 4 -l
 17.9 mW      3,9 ms/s     489,3        Timer          tick_sched_timer
 17.5 mW      6,4 ms/s     100,0        Process        [PID 2297] /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7060 -prefMapSize 216788 -parentBuildID 202
 11.6 mW      4,5 ms/s      35,8        Process        [PID 2147] /usr/lib/firefox/firefox --new-window
 8.79 mW      3,6 ms/s       2,1        Process        [PID 2095] /usr/lib/firefox/firefox --new-window
 8.34 mW      3,2 ms/s      22,6        Interrupt      [7] sched(softirq)
 7.84 mW      2,9 ms/s      39,5        Interrupt      [134] xhci_hcd
 6.81 mW      2,0 ms/s     103,9        Process        [PID 2138] /usr/lib/firefox/firefox --new-window
 6.69 mW      2,6 ms/s      24,5        Process        [PID 2527] /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 5.76 mW      2,0 ms/s      53,2        Timer          hrtimer_wakeup
 3.57 mW      1,3 ms/s      17,0        Process        [PID 2354] /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 7127 -prefMapSize 216788 -parentBuildID 202
 3.55 mW      1,3 ms/s      17,0        Process        [PID 2443] /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 7183 -prefMapSize 216788 -parentBuildID 202
 3.48 mW      1,3 ms/s      16,8        Process        [PID 2401] /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 7183 -prefMapSize 216788 -parentBuildID 202
 3.44 mW      1,3 ms/s      16,9        Process        [PID 2483] /usr/lib/firefox/firefox -contentproc -childID 7 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 3.28 mW      1,2 ms/s      15,3        Process        [PID 2569] /usr/lib/firefox/firefox -contentproc -childID 9 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 2.99 mW      0,7 ms/s      72,9        kWork          flush_to_ldisc
 2.82 mW      1,1 ms/s      0,05        Interrupt      [1] timer(softirq)
 2.44 mW      0,9 ms/s       8,9        Interrupt      [148] i915
 2.25 mW    605,8 µs/s      44,5        Process        [PID 1] /sbin/init
 2.15 mW      0,8 ms/s       7,4        Interrupt      [9] RCU(softirq)
 1.62 mW    566,4 µs/s      13,4        Process        [PID 2382] /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 7127 -prefMapSize 216788 -parentBuildID 202
 1.56 mW    628,8 µs/s       1,1        kWork          delayed_fput
 1.51 mW    516,3 µs/s      14,4        Process        [PID 2428] /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 7183 -prefMapSize 216788 -parentBuildID 202
 1.49 mW    384,8 µs/s      32,1        Process        [PID 11] [rcu_preempt]
 1.48 mW    517,7 µs/s      12,2        Process        [PID 2510] /usr/lib/firefox/firefox -contentproc -childID 7 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 1.45 mW    510,1 µs/s      11,6        Process        [PID 2554] /usr/lib/firefox/firefox -contentproc -childID 8 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 1.42 mW    497,4 µs/s      11,8        Process        [PID 2596] /usr/lib/firefox/firefox -contentproc -childID 9 -isForBrowser -prefsLen 7184 -prefMapSize 216788 -parentBuildID 202
 1.24 mW    434,0 µs/s      10,4        Process        [PID 2470] /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 7183 -prefMapSize 216788 -parentBuildID 202
 1.15 mW    465,8 µs/s      0,00        Timer          process_timeout

et en entrant tlp-stat :

[axeln@axel-tufgamingfx705gd ~]$ sudo tlp-stat
[sudo] Mot de passe de axeln : 
--- TLP 1.3.1 --------------------------------------------

+++ Configured Settings:
defaults.conf L0004: TLP_ENABLE="1"
defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0"
defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0"
defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2"
defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15"
defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60"
defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance"
defaults.conf L0011: CPU_ENERGY_PERF_POLICY_ON_BAT="balance_power"
defaults.conf L0012: SCHED_POWERSAVE_ON_AC="0"
defaults.conf L0013: SCHED_POWERSAVE_ON_BAT="1"
defaults.conf L0014: NMI_WATCHDOG="0"
defaults.conf L0015: DISK_DEVICES="nvme0n1 sda"
defaults.conf L0016: DISK_APM_LEVEL_ON_AC="254 254"
defaults.conf L0017: DISK_APM_LEVEL_ON_BAT="128 128"
defaults.conf L0018: DISK_IOSCHED="keep keep"
defaults.conf L0019: SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
defaults.conf L0020: SATA_LINKPWR_ON_BAT="med_power_with_dipm min_power"
defaults.conf L0021: AHCI_RUNTIME_PM_TIMEOUT="15"
defaults.conf L0022: PCIE_ASPM_ON_AC="default"
defaults.conf L0023: PCIE_ASPM_ON_BAT="default"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="default"
defaults.conf L0025: RADEON_POWER_PROFILE_ON_BAT="default"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
defaults.conf L0027: RADEON_DPM_PERF_LEVEL_ON_BAT="auto"
defaults.conf L0028: WIFI_PWR_ON_AC="off"
defaults.conf L0029: WIFI_PWR_ON_BAT="on"
defaults.conf L0030: WOL_DISABLE="Y"
defaults.conf L0031: SOUND_POWER_SAVE_ON_AC="0"
/etc/tlp.conf L0277: SOUND_POWER_SAVE_ON_BAT="0"
defaults.conf L0033: SOUND_POWER_SAVE_CONTROLLER="Y"
defaults.conf L0034: BAY_POWEROFF_ON_AC="0"
defaults.conf L0035: BAY_POWEROFF_ON_BAT="0"
defaults.conf L0036: BAY_DEVICE="sr0"
defaults.conf L0037: RUNTIME_PM_ON_AC="on"
defaults.conf L0038: RUNTIME_PM_ON_BAT="auto"
defaults.conf L0039: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
defaults.conf L0040: USB_AUTOSUSPEND="1"
defaults.conf L0041: USB_BLACKLIST_BTUSB="0"
defaults.conf L0042: USB_BLACKLIST_PHONE="0"
defaults.conf L0043: USB_BLACKLIST_PRINTER="1"
defaults.conf L0044: USB_BLACKLIST_WWAN="0"
defaults.conf L0045: USB_AUTOSUSPEND_DISABLE_ON_SHUTDOWN="0"
defaults.conf L0046: RESTORE_DEVICE_STATE_ON_STARTUP="0"
defaults.conf L0047: RESTORE_THRESHOLDS_ON_BAT="0"
defaults.conf L0048: NATACPI_ENABLE="1"
defaults.conf L0049: TPACPI_ENABLE="1"
defaults.conf L0050: TPSMAPI_ENABLE="1"
/etc/tlp.conf L0330: USB_BLACKLIST="1111:2222 3333:4444"

+++ System Info
System         = ASUSTeK COMPUTER INC. 1.0 TUF Gaming FX705GD_FX705GD
BIOS           = FX705GD.305
Release        = "Manjaro Linux"
Kernel         = 5.4.24-1-MANJARO #1 SMP PREEMPT Thu Mar 5 20:29:25 UTC 2020 x86_64
/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 root=UUID=baf4f417-4f42-47b1-8daf-f73238cd974d rw quiet apparmor=1 security=apparmor udev.log_priority=3
Init system    = systemd 
Boot mode      = UEFI

+++ TLP Status
State          = enabled
RDW state      = not installed
Last run       = 20:50:29,     40 sec(s) ago
Mode           = AC
Power source   = AC

Notice: systemd-rfkill.service is not masked -- invoke "systemctl mask systemd-rfkill.service" to correct this!
Notice: systemd-rfkill.socket is not masked -- invoke "systemctl mask systemd-rfkill.socket" to correct this!

+++ Processor
CPU model      = Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz

/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver    = intel_pstate
/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor  = powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq  =   800000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq  =  2300000 [kHz]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_performance [HWP.EPP]
/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power 

/sys/devices/system/cpu/intel_pstate/min_perf_pct      =  20 [%]
/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100 [%]
/sys/devices/system/cpu/intel_pstate/no_turbo          =   0
/sys/devices/system/cpu/intel_pstate/turbo_pct         =  52 [%]
/sys/devices/system/cpu/intel_pstate/num_pstates       =  33

/sys/module/workqueue/parameters/power_efficient       = Y
/proc/sys/kernel/nmi_watchdog                          = 0

+++ Temperatures
CPU temp               =    50 [°C]
Fan speed (fan1)       =     0 [/min]

+++ File System
/proc/sys/vm/laptop_mode               =     0
/proc/sys/vm/dirty_writeback_centisecs =  1500
/proc/sys/vm/dirty_expire_centisecs    =  1500
/proc/sys/vm/dirty_ratio               =    20
/proc/sys/vm/dirty_background_ratio    =    10

+++ Storage Devices
Devices = nvme0n1 sda

/dev/nvme0n1:
  Type      = NVMe
  Model     = KINGSTON RBUSNS8154P3128GJ              
  Firmware  = E8FK11.C
  Scheduler = [none] mq-deadline kyber bfq (multi queue)

  Runtime PM: control = auto, autosuspend_delay_ms = (not available)

/dev/sda:
  Type      = ATA
  Model     = TOSHIBA MQ04ABF100                      
  Firmware  = JU0C0J  
  APM Level = 254
  Status    = active/idle
  Scheduler = [mq-deadline] kyber bfq none (multi queue)

  Runtime PM: control = on, autosuspend_delay_ms =   -1

+++ AHCI Link Power Management (ALPM)
/sys/class/scsi_host/host0/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host1/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host2/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host3/link_power_management_policy  = med_power_with_dipm
/sys/class/scsi_host/host4/link_power_management_policy  = med_power_with_dipm

+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
/sys/bus/pci/devices/0000:00:17.0/ata5/power/control = on

+++ Intel Graphics
/sys/module/i915/parameters/enable_dc        = -1 (use per-chip default)
/sys/module/i915/parameters/enable_fbc       =  1 (enabled)
/sys/module/i915/parameters/enable_psr       =  0 (disabled)
/sys/module/i915/parameters/modeset          = -1 (use per-chip default)

/sys/class/drm/card0/gt_min_freq_mhz         =   350 [MHz]
/sys/class/drm/card0/gt_max_freq_mhz         =  1000 [MHz]
/sys/class/drm/card0/gt_boost_freq_mhz       =  1000 [MHz]
/sys/kernel/debug/dri/0/i915_ring_freq_table: 350 400 450 500 550 600 650 700 750 800 850 900 950 1000 [MHz] 

+++ Wireless
bluetooth = off (software)
wifi      = on
wwan      = none (no device)

hci0(btusb)                   : bluetooth, not connected
wlo1(iwlwifi)                 : wifi, connected, power management = off

+++ Audio
/sys/module/snd_hda_intel/parameters/power_save            = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N

+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [default] performance powersave powersupersave (using BIOS preferences)

+++ Runtime Power Management
Device blacklist = (not configured)
Driver blacklist = amdgpu mei_me nouveau nvidia pcieport radeon

/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, skl_uncore)
/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:04.0/power/control = on   (0x118000, Signal processing controller, proc_thermal)
/sys/bus/pci/devices/0000:00:08.0/power/control = on   (0x088000, System peripheral, no driver)
/sys/bus/pci/devices/0000:00:12.0/power/control = on   (0x118000, Signal processing controller, intel_pch_thermal)
/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)
/sys/bus/pci/devices/0000:00:14.2/power/control = on   (0x050000, RAM memory, no driver)
/sys/bus/pci/devices/0000:00:14.3/power/control = on   (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:00:15.0/power/control = on   (0x0c8000, Serial bus controller [0c80], intel-lpss)
/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:17.0/power/control = on   (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.4/power/control = auto (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on   (0x078000, Communication controller, intel-lpss)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x040380, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1f.4/power/control = on   (0x0c0500, SMBus, i801_smbus)
/sys/bus/pci/devices/0000:00:1f.5/power/control = on   (0x0c8000, Serial bus controller [0c80], no driver)
/sys/bus/pci/devices/0000:01:00.0/power/control = on   (0x030000, VGA compatible controller, no driver)
/sys/bus/pci/devices/0000:02:00.0/power/control = on   (0x010802, Non-Volatile memory controller, nvme)
/sys/bus/pci/devices/0000:03:00.0/power/control = on   (0x020000, Ethernet controller, r8169)

+++ USB
Autosuspend         = enabled
Device whitelist    = (not configured)
Device blacklist    = 1111:2222 3333:4444
Bluetooth blacklist = disabled
Phone blacklist     = disabled
WWAN blacklist      = disabled

Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 3.0 root hub (hub)
Bus 001 Device 004 ID 8087:0aaa control = auto, autosuspend_delay_ms = 2000 -- Intel Corp.  (btusb)
Bus 001 Device 003 ID 13d3:56a2 control = auto, autosuspend_delay_ms = 2000 -- IMC Networks USB2.0 HD UVC WebCam (uvcvideo)
Bus 001 Device 002 ID 3938:1031 control = on,   autosuspend_delay_ms = 2000 -- MOSART Semi. 2.4G Wireless Mouse (usbhid)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =    0 -- Linux Foundation 2.0 root hub (hub)

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi   = inactive (laptop not supported)

+++ Battery Status: BAT0
/sys/class/power_supply/BAT0/manufacturer                   = Simplo
/sys/class/power_supply/BAT0/model_name                     = SDI ICR18650
/sys/class/power_supply/BAT0/cycle_count                    =     41
/sys/class/power_supply/BAT0/charge_full_design             =   4110 [mAh]
/sys/class/power_supply/BAT0/charge_full                    =   3651 [mAh]
/sys/class/power_supply/BAT0/charge_now                     =   1082 [mAh]
/sys/class/power_supply/BAT0/current_now                    =   3106 [mA]
/sys/class/power_supply/BAT0/status                         = Charging

Charge                                                      =   29.6 [%]
Capacity                                                    =   88.8 [%]

+++ Recommendations
* Install smartmontools for disk drive health info

J'ai configuré un peu TLP (désactivation du Bluetooth ...)
Mon bios est à jour.


Pouvez-vous m'aider ?

Autonomie faible Asus TUF gamng fx705gd

#2Messageil y a 4 ans

Bonjour .
Il faudrait voir quels sont les processus lancés par défaut..
Une petite idée avec systemd-analyze et systemd-analyze blame
Pour les processus courants , htop ou top peuvent être instructifs .

Autonomie faible Asus TUF gamng fx705gd

#3Messageil y a 4 ans

J'obtiens ça :

[axeln@axel-tufgamingfx705gd ~]$ systemd-analyze
Startup finished in 6.867s (firmware) + 1.524s (loader) + 2.966s (kernel) + 4.199s (userspace) = 15.558s 
graphical.target reached after 3.629s in userspace
et

[axeln@axel-tufgamingfx705gd ~]$ systemd-analyze blame
1.298s systemd-logind.service                                                                   
1.079s systemd-random-seed.service                                                              
 993ms lvm2-monitor.service                                                                     
 838ms dev-nvme0n1p4.device                                                                     
 581ms upower.service                                                                           
 560ms tlp.service                                                                              
 550ms apparmor.service                                                                         
 526ms udisks2.service                                                                          
 506ms systemd-udevd.service                                                                    
 451ms home.mount                                                                               
 436ms systemd-journald.service                                                                 
 432ms snapd.service                                                                            
 410ms systemd-fsck@dev-disk-by\x2duuid-f205c85a\x2dddda\x2d4330\x2dae34\x2d0b2c727fd17a.service
 267ms systemd-journal-flush.service                                                            
 260ms boot-efi.mount                                                                           
 229ms org.cups.cupsd.service                                                                   
 218ms polkit.service                                                                           
 202ms user@1000.service                                                                        
 133ms NetworkManager.service                                                                   
 106ms systemd-udev-trigger.service                                                             
  70ms ModemManager.service                                                                     
  69ms systemd-fsck@dev-disk-by\x2duuid-DEDC\x2dE363.service                                    
  39ms systemd-tmpfiles-setup.service                                                           
  36ms systemd-tmpfiles-clean.service                                                           
  35ms accounts-daemon.service                                                                  
  34ms systemd-backlight@leds:asus::kbd_backlight.service                                       
  33ms colord.service                                                                           
  30ms systemd-modules-load.service                                                             
  28ms gdm.service                                                                              
  27ms linux-module-cleanup.service                                                             
  26ms systemd-tmpfiles-setup-dev.service                                                       
  25ms bluetooth.service                                                                        
  22ms systemd-binfmt.service                                                                   
  22ms snapd.apparmor.service                                                                   
  20ms systemd-user-sessions.service                                                            
  18ms wpa_supplicant.service                                                                   
  18ms user-runtime-dir@1000.service                                                            
  17ms systemd-update-utmp.service                                                              
  16ms dev-hugepages.mount                                                                      
  15ms dev-mqueue.mount                                                                         
  14ms sys-kernel-debug.mount                                                                   
  13ms ufw.service                                                                              
  13ms systemd-backlight@backlight:intel_backlight.service                                      
  13ms systemd-remount-fs.service                                                               
  12ms tmp.mount                                                                                
  11ms kmod-static-nodes.service                                                                
  10ms systemd-rfkill.service                                                                   
   9ms systemd-sysctl.service                                                                   
   9ms sys-fs-fuse-connections.mount                                                            
   8ms modprobe@drm.service                                                                     
   5ms proc-sys-fs-binfmt_misc.mount                                                            
   4ms rtkit-daemon.service                                                                     
   3ms sys-kernel-config.mount        

et pour htop je ne vois rien d’anormal

Je ne comprend pas car powertop me dit que j'ai une décharge de 24W alors que rien hormis un onglet de firefox et ouvert

Autonomie faible Asus TUF gamng fx705gd

#4Messageil y a 4 ans

graphical.target reached after 3.629s in userspace
Ça, je ne l'ai pas sur mes machines.... As tu un /home commun (multiboot)?

Autonomie faible Asus TUF gamng fx705gd

#5Messageil y a 4 ans

non sur mon ssd j'ai une partition windows et manjaro
mon sata est divisé en 3 partitions, une pour mes données sur windows, une autre pour mon home pour manjaro et une dernière pour le partage entre les deux (mes cours en l'occurrence)

Autonomie faible Asus TUF gamng fx705gd

#6Messageil y a 4 ans

Ça pourrait ressembler à une partition /home saturée.
Regarde ce que donne df -hm

Autonomie faible Asus TUF gamng fx705gd

#7Messageil y a 4 ans

J'ai ça :

[axeln@axel-tufgamingfx705gd ~]$ df -hm
Sys. de fichiers blocs de 1M Utilisé Disponible Uti% Monté sur
dev                     3899       0       3899   0% /dev
run                     3908       2       3906   1% /run
/dev/nvme0n1p4         34311   23277       9263  72% /
tmpfs                   3908      63       3845   2% /dev/shm
tmpfs                   3908       0       3908   0% /sys/fs/cgroup
tmpfs                   3908      46       3863   2% /tmp
/dev/nvme0n1p1           256      38        219  15% /boot/efi
/dev/sda2             457896   25326     409243   6% /home
tmpfs                    782       1        782   1% /run/user/1000

Autonomie faible Asus TUF gamng fx705gd

#8Messageil y a 4 ans

Je ne vois rien de louche à part 75% sur / qui me semble un peu étriquée.
Cela-dit , 1h30 à 2h00 d'autonomie ne me semble pas anormal en activité.
Désolé, je n'ai pas mon portable avec moi, il est confiné actuellement dans mon camion (jusqu'à demain...)

Autonomie faible Asus TUF gamng fx705gd

#9Messageil y a 4 ans

par contre j'ai deux cartes graphiques et actuellement je suis sur la intel mais est ce possible que la nvidia soit encore alimentée ?

Autonomie faible Asus TUF gamng fx705gd

#10Messageil y a 4 ans

inxi -G

Autonomie faible Asus TUF gamng fx705gd

#11Messageil y a 4 ans

j'ai ça :

[axeln@axel-tufgamingfx705gd ~]$ inxi -G
Graphics:
  Device-1: Intel UHD Graphics 630 driver: i915 v: kernel 
  Device-2: NVIDIA GP107M [GeForce GTX 1050 Mobile] driver: N/A 
  Display: wayland server: X.org 1.20.7 driver: modesetting,nvidia 
  resolution: <xdpyinfo missing> 
  OpenGL: renderer: Mesa DRI Intel UHD Graphics 630 (Coffeelake 3x8 GT2) 
  v: 4.6 Mesa 19.3.5 

Autonomie faible Asus TUF gamng fx705gd

#12Messageil y a 4 ans

Donc; apparemment tu tournes avec Wayland.
Là , j'attends l'avis des Gnomistes/KDEistes.....

Autonomie faible Asus TUF gamng fx705gd

#13Messageil y a 4 ans

En redémarrant mon pc ce matin, j'ai toujours la même décharge élevée, j'ai fait un powertop --calibrate pour voir si il y avait du changement mais j'ai toujours une faible autonomie.

PowerTOP v2.11    Overview   Idle stats   Frequency stats   Device stats   Tunables   WakeUp                            

The battery reports a discharge rate of 20.1 W
The power consumed was 448 J
The estimated remaining time is 2 hours, 57 minutes

Summary: 1524,5 wakeups/second,  0,0 GPU ops/seconds, 0,0 VFS ops/sec and 17,4% CPU use

Power est.              Usage       Events/s    Category       Description
  10.0 W      5,0%                      Device         Display backlight
  4.80 W    100,0%                      Device         Audio codec hwC0D0: Realtek
  578 mW      2,5 ms/s     326,7        Timer          tick_sched_timer
  383 mW     37,0 ms/s     168,2        Process        [PID 2272] /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7081 -prefMapSize 216757 -parentBuildID 202
  245 mW     21,8 ms/s     110,3        Process        [PID 1555] /usr/bin/gnome-shell
  243 mW      0,7 ms/s     137,9        Interrupt      [16] idma64.0
  236 mW      8,5 pkts/s                Device         Network interface: wlo1 (iwlwifi)
  220 mW      2,1 ms/s     122,7        Process        [PID 451] [irq/30-ELAN1200]
  182 mW      2,4 ms/s     100,7        Process        [PID 2129] /usr/lib/firefox/firefox --new-window
  169 mW      5,6 ms/s      89,1        Process        [PID 2101] /usr/lib/firefox/firefox --new-window
  162 mW     11,5 ms/s      76,6        Process        [PID 2384] /usr/lib/gnome-terminal-server
  143 mW     20,4 ms/s      53,7        Process        [PID 1468] /usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty
 79.5 mW     24,1 ms/s      12,4        kWork          intel_atomic_commit_work
 79.1 mW      8,4 ms/s      33,7        Process        [PID 2090] /usr/lib/firefox/firefox --new-window
 69.4 mW      1,3 ms/s      37,8        Timer          hrtimer_wakeup
 59.8 mW      2,9 ms/s      30,1        Process        [PID 2138] /usr/lib/firefox/firefox --new-window
 49.1 mW    124,5 µs/s      27,9        Interrupt      [0] HI_SOFTIRQ
 38.7 mW      5,7 ms/s      14,2        Process        [PID 2130] /usr/lib/firefox/firefox --new-window
 36.4 mW    149,5 µs/s      20,6        Interrupt      [30] ELAN1200:00
 32.8 mW    689,2 µs/s      17,8        Process        [PID 1] /sbin/init
 30.0 mW    200,3 µs/s      16,9        Process        [PID 11] [rcu_preempt]
 29.6 mW     70,9 µs/s      16,8        kWork          flush_to_ldisc
 26.8 mW    600,3 µs/s      14,5        Process        [PID 2292] /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 7081 -prefMapSize 216757 -parentBuildID 202
 22.7 mW      0,7 ms/s      11,9        Interrupt      [148] i915
 22.4 mW    172,9 µs/s      12,6        kWork          intel_atomic_cleanup_work
 22.2 mW     26,1 µs/s      12,7        kWork          intel_atomic_helper_free_state_
 20.2 mW      2,5 ms/s       8,2        Interrupt      [7] sched(softirq)
 16.6 mW      4,2 ms/s       3,7        Process        [PID 2156] /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 216757 -parentBuildID 202003
 14.6 mW      4,7 ms/s       1,9        Process        [PID 2214] /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 6281 -prefMapSize 216757 -parentBuildID 202
 11.7 mW     51,8 µs/s       6,6        kWork          psi_avgs_work
 8.19 mW      1,6 ms/s       2,5        Process        [PID 2401] powertop
 7.64 mW    438,0 µs/s       3,8        Interrupt      [9] RCU(softirq)
 5.93 mW      9,0 µs/s       3,4        Interrupt      [138] iwlwifi: default queue
 5.32 mW      2,1 ms/s      0,20        Process        [PID 2320] /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 7392 -prefMapSize 216757 -parentBuildID 202
 5.19 mW      2,2 ms/s      0,00        Interrupt      [16] i2c_designware.0
 5.08 mW    154,8 µs/s       2,7        Process        [PID 1668] /usr/lib/at-spi2-registryd --use-gnome-session
 3.66 mW      1,5 ms/s      0,00        Interrupt      [16] i801_smbus
 3.51 mW     69,8 µs/s       1,9        Process        [PID 492] [irq/138-iwlwifi]
 3.41 mW    315,2 µs/s       1,5        kWork          __i915_gem_free_work
 3.30 mW     55,4 µs/s       1,8        Interrupt      [4] block(softirq)
 3.21 mW      0,8 ms/s       0,8        kWork          delayed_fput
 3.02 mW     11,3 µs/s       1,7        Timer          watchdog_timer_fn
 2.89 mW     96,9 µs/s       1,5        Process        [PID 2174] /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 216757 -parentBuildID 202003

<ESC> Exit | <TAB> / <Shift + TAB> Navigate |                                                                           

est ce que prime-switcher pourrait être en cause ? et que du coup la carte nvidia reste alimentée alors que je suis sur la carte intel ?

Autonomie faible Asus TUF gamng fx705gd

#14Messageil y a 4 ans

lemust83 a écrit : il y a 4 ans Donc; apparemment tu tournes avec Wayland.
Là , j'attends l'avis des Gnomistes/KDEistes.....
J'ai démarré ma session sur Xorg pour voir. C'est pareil que pour une session sur Wayland.

Autonomie faible Asus TUF gamng fx705gd

#15Messageil y a 4 ans

je pense avoir trouvé mon problème :
Dans powertop, il n'optimisait pas la carte nvidia

   Bad           Runtime PM for PCI Device NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile]
Sauf avec

sudo powertop --auto-tune
mais du coup au redémarrage il fallait refaire la manip

En regardant dans tlpui, dans la section PCIe, dans la rubrique RUNTIME_PM_DRIVER_BLACKLIST, nvidia était coché, je l'ai décoché, sauvegarder la configuration et redémarrer le PC et depuis plus aucun soucis
Répondre