What is the right modern way of temporary turning off the discreet nVidia card in LMDE5?
In my hybrid laptop it seems the discreet card is always on, and I mostly don't need it at all (working in the office suite). It drains power, heats up the power brick, and so on.
If there happens to be a way of temporarily turning it off without replacing all the drivers and kernels and packages but possibly with reboot -- it would be great. So that I could work on embedded graphics while in office suite and have my nVidia when playing games or using video hardware acceleration extensively.
Sadly, there is no option of disabling it in BIOS.
Code: Select all
root@lll-lmde:~# inxi -Fxxxrz
System: Kernel: 5.18.0-0.bpo.1-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 5.2.7 tk: GTK 3.24.24
wm: Muffin 5.2.1 dm: LightDM 1.26.0 Distro: LMDE 5 Elsie base: Debian 11.2 bullseye
Machine: Type: Laptop System: HP product: HP Pavilion Gaming Laptop 15-ec2xxx v: N/A serial: <filter> Chassis: type: 10
serial: <filter>
Mobo: HP model: 88DF v: 96.31 serial: <filter> UEFI: AMI v: F.15 date: 08/18/2021
Battery: ID-1: BAT0 charge: 51.4 Wh condition: 51.6/51.6 Wh (100%) volts: 13.1/11.6 model: HP Primary type: Li-ion
serial: <filter> status: Unknown
CPU: Info: 6-Core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 rev: 0
L1 cache: 384 KiB L2 cache: 3 MiB L3 cache: 15.6 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 79050
Speed: 2060 MHz min/max: 1200/3300 MHz boost: enabled volts: 1.2 V ext-clock: 100 MHz Core speeds (MHz): 1: 2060
2: 2555 3: 1193 4: 1196 5: 2145 6: 1393 7: 1195 8: 1197 9: 1396 10: 1323 11: 1197 12: 1196
Graphics: Device-1: NVIDIA vendor: Hewlett-Packard driver: nouveau v: kernel bus ID: 01:00.0 chip ID: 10de:25a0
class ID: 0300
Device-2: Advanced Micro Devices [AMD/ATI] Cezanne vendor: Hewlett-Packard driver: amdgpu v: kernel bus ID: 05:00.0
chip ID: 1002:1638 class ID: 0300
Device-3: Chicony HP TrueVision HD Camera type: USB driver: uvcvideo bus ID: 3-3:2 chip ID: 04f2:b722
class ID: 0e02
Display: server: X.Org 1.20.11 driver: loaded: amdgpu,ati,modesetting unloaded: fbdev,vesa
resolution: 1920x1080~144Hz s-dpi: 96
OpenGL: renderer: AMD RENOIR (DRM 3.46.0 5.18.0-0.bpo.1-amd64 LLVM 11.0.1) v: 4.6 Mesa 20.3.5 direct render: Yes
Audio: Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:2291
class ID: 0403
Device-2: Advanced Micro Devices [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor vendor: Hewlett-Packard
driver: N/A bus ID: 05:00.5 chip ID: 1022:15e2 class ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
bus ID: 05:00.6 chip ID: 1022:15e3 class ID: 0403
Sound Server: ALSA v: k5.18.0-0.bpo.1-amd64
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Hewlett-Packard driver: r8169 v: kernel
port: e000 bus ID: 02:00.0 chip ID: 10ec:8168 class ID: 0200
IF: eno1 state: down mac: <filter>
Device-2: Realtek vendor: Hewlett-Packard driver: rtw89_8852ae v: N/A port: d000 bus ID: 03:00.0 chip ID: 10ec:8852
class ID: 0280
IF: wlo1 state: up mac: <filter>
Bluetooth: Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8 bus ID: 1-4:3 chip ID: 0bda:2852 class ID: e001
serial: <filter>
Report: ID: hci0 state: up running bt-v: 3.0 lmp-v: 5.2 sub-v: 6d7a hci-v: 5.2 rev: dfb7 address: <filter>
Drives: Local Storage: total: 484.25 GiB used: 91.43 GiB (18.9%)
ID-1: /dev/nvme0n1 vendor: Micron model: MTFDHBA512TDV-1AZ1AABHA size: 476.94 GiB speed: 31.6 Gb/s lanes: 4
rotation: SSD serial: <filter> rev: HPS0032 scheme: GPT
ID-2: /dev/sda type: USB vendor: Kingston model: DataTraveler 2.0 size: 7.31 GiB serial: <filter> rev: PMAP
Partition: ID-1: / size: 206.44 GiB used: 18.55 GiB (9.0%) fs: btrfs dev: /dev/nvme0n1p5
ID-2: /boot/efi size: 511 MiB used: 30.5 MiB (6.0%) fs: vfat dev: /dev/nvme0n1p1
ID-3: /home size: 50 GiB used: 30.96 GiB (61.9%) fs: btrfs dev: /dev/nvme0n1p4
Swap: Alert: No Swap data was found.
Sensors: System Temperatures: cpu: 55.0 C mobo: N/A gpu: amdgpu temp: 49.0 C
Fan Speeds (RPM): N/A
Repos: Packages: 2450 apt: 2441 flatpak: 9
No active apt repos in: /etc/apt/sources.list
No active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https://ftp.icm.edu.pl/pub/Linux/dist/linuxmint/packages elsie main upstream import backport
2: deb http://mirror.mirohost.net/debian/ bullseye main contrib non-free
3: deb http://mirror.mirohost.net/debian/ bullseye-updates main contrib non-free
4: deb http://security.debian.org/ bullseye-security main contrib non-free
5: deb http://mirror.mirohost.net/debian/ bullseye-backports main contrib non-free
Info: Processes: 368 Uptime: 27m wakeups: 1 Memory: 15.05 GiB used: 2.93 GiB (19.5%) Init: systemd v: 247 runlevel: 5
Compilers: gcc: 10.2.1 alt: 10 Shell: Bash (sudo) v: 5.1.4 running in: gnome-terminal inxi: 3.3.01
root@lll-lmde:~#