Am încercat mai multe tutoriale pentru a-mi opri grafica discretă de-a lungul internetului, cum ar fi acest a încercat și TLP și acest
laptopul pe care îl folosesc este HP Pavilion 15 p002la (vine cu R5 IGP și R7 m260 (DIS)
Puncte:
-> Switcheroo este activat (cat /etc/default/grub):
# Dacă modificați acest fișier, rulați „update-grub” după aceea pentru a actualiza
# /boot/grub/grub.cfg.
# Pentru documentația completă a opțiunilor din acest fișier, consultați:
# info -f grub -n „Configurație simplă”
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=ascuns
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.runpm=0"
GRUB_CMDLINE_LINUX=""
-> Starea switcheroo (cat /sys/kernel/debug/vgaswitcheroo/switch):
0:DIS: :DynPwr:0000:01:00.0
1:IGD:+:Pwr:0000:00:01.0
-> Driverul pe care îl folosesc (xrandr --listproviders):
Furnizori: număr: 2
Furnizor 0: id: 0x53 limită: 0x9, Ieșire sursă, Crtcs de descărcare a chiuvei: 2 ieșiri: 2 furnizori asociați: 1 nume:MULLINS @ pci:0000:00:01.0
Furnizor 1: id: 0x7c limită: 0x4, Crtcs descărcare sursă: 0 ieșiri: 0 furnizori asociați: 1 nume: AMD Radeon R7 M260 @ pci:0000:01:00.0
-> Informații TLP (tlp-stat):
--- TLP 1.3.1 ------------------------------------------- -
+++ Setări configurate:
/etc/tlp.conf L0026: 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"
/etc/tlp.conf L0128: SCHED_POWERSAVE_ON_AC="0"
/etc/tlp.conf L0130: 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="păstrați păstrați"
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="implicit"
defaults.conf L0023: PCIE_ASPM_ON_BAT="implicit"
defaults.conf L0024: RADEON_POWER_PROFILE_ON_AC="implicit"
/etc/tlp.conf L0248: RADEON_POWER_PROFILE_ON_BAT="low"
defaults.conf L0026: RADEON_DPM_PERF_LEVEL_ON_AC="auto"
/etc/tlp.conf L0261: RADEON_DPM_PERF_LEVEL_ON_BAT="low"
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"
defaults.conf L0032: SOUND_POWER_SAVE_ON_BAT="1"
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"
/etc/tlp.conf L0304: RUNTIME_PM_ON_AC="auto"
/etc/tlp.conf L0305: RUNTIME_PM_ON_BAT="auto"
/etc/tlp.conf L0320: RUNTIME_PM_DRIVER_BLACKLIST="amdgpu mei_me nouveau nvidia pcieport radeon"
/etc/tlp.conf L0325: 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 L0032: TLP_DEFAULT_MODE="AC"
/etc/tlp.conf L0076: CPU_SCALING_GOVERNOR_ON_AC="conservator"
/etc/tlp.conf L0077: CPU_SCALING_GOVERNOR_ON_BAT="conservator"
/etc/tlp.conf L0121: CPU_BOOST_ON_AC="1"
/etc/tlp.conf L0122: CPU_BOOST_ON_BAT="0"
/etc/tlp.conf L0253: RADEON_DPM_STATE_ON_AC="performanță"
/etc/tlp.conf L0254: RADEON_DPM_STATE_ON_BAT="baterie"
+++ Informații despre sistem
Sistem = Hewlett-Packard 0977100000405F00000610180 HP Pavilion 15 Notebook PC
BIOS = F.46
Kernel = 5.11.0-40-generic #44~20.04.2-Ubuntu Mar 26 Oct 18:07:44 UTC 2021 x86_64
/proc/cmdline = BOOT_IMAGE=/vmlinuz-5.11.0-40-generic root=UUID=252c0da9-8c9a-47c3-aeb7-596bda2c3f6c ro quiet splash radeon.runpm=0 vt.handoff=7
Init system = systemd v245 (245.4-4ubuntu3.13)
Modul de pornire = UEFI
+++ Stare TLP
Stare = activat
Stare RDW = activat
Ultima rulare = 11:03:15, acum 5554 sec(e).
Mod = AC
Sursa de alimentare = AC
+++ Procesor
Model CPU = AMD A8-6410 APU cu AMD Radeon R5 Graphics
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = conservator
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = programul de performanță conservator la cerere la cerere
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2000000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2000000 1800000 1600000 1400000 1200000 1000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = conservator
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = programul de performanță conservator la cerere la cerere
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2000000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2000000 1800000 1600000 1400000 1200000 1000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = conservator
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = programul de performanță conservator la cerere la cerere
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2000000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2000000 1800000 1600000 1400000 1200000 1000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = conservator
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = programul de performanță conservator la cerere la cerere
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2000000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2000000 1800000 1600000 1400000 1200000 1000000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = 1
Intel EPB: CPU neacceptat.
/sys/module/workqueue/parameters/power_efficient = Y
/proc/sys/kernel/nmi_watchdog = 0
+++ 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
+++ AHCI Host Controller Runtime Power Management
/sys/bus/pci/devices/0000:00:11.0/ata1/power/control = activat
/sys/bus/pci/devices/0000:00:11.0/ata2/power/control = activat
+++ Grafică Radeon
/sys/class/drm/card0/device/power_dpm_state = performanță
/sys/class/drm/card0/device/power_dpm_force_performance_level = auto
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = [implicit] performanță economisire energie powersupersave
Obs:
Comanda echo OFF > /sys/kernel/debug/vgaswitcheroo/switch nu face nimic (nu afișează DynOff pe DIS)
Actualizați:
După ce am încercat de câteva ori să oprești cardul, ultima încercare a fost
adăugați ppa din „driverele grafice actualizate” din launchpad-ul lui Oibaf și rezultatul switcheroo (cat /sys/kernel/debug/vgaswitcheroo/switch) a fost:
0:IGD:+:Pwr:0000:00:01.0
1:DIS: :DynPwr:0000:01:00.0
(nota zero schimbat...)