I got a DELL Inspiron 14z-5423 with Intel/AMD Radeon hybrid GPU. I have already installed MX-21 AHS 64.
How is it done to switch Intel/AMD GPU on MX-21?
I saw an article:
Graphics Switching
https://support.system76.com/articles/g ... ch-ubuntu/
Is there a utility for managing graphics and power profiles for Intel/AMD?
MX in the future will make a tool for switching hybrid GPU? Is there a way to automatically switch Intel/AMD GPUs? If not, how do I switch manually?
MX-21 Multiple video cards and hybrid video (Graphics Switching)
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: MX-21 Multiple video cards and hybrid video (Graphics Switching)
My System info:
Did I ask this question in the right place?
Code: Select all
System: Kernel: 6.0.0-6mx-amd64 [6.0.12-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-6.0.0-6mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower January 15 2023
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Portable System: Dell product: Inspiron 5423 v: N/A serial: <filter> Chassis:
type: 8 serial: <filter>
Mobo: Dell model: 093RDN v: A16 serial: <filter> BIOS: Dell v: A16 date: 05/29/2018
Battery: ID-1: BAT0 charge: 0% condition: 48.8/48.8 Wh (100.0%) volts: 5.5 min: 11.1
model: SANYO DELL TPMCF2C type: Li-ion serial: <filter> status: Not charging
CPU: Info: Dual Core model: Intel Core i7-3537U bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 3A (58) stepping: 9 microcode: 21 cache: L2: 4 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 15962
Speed: 1222 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 1222 2: 1294 3: 2195 4: 900
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
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:
conditional, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: Dell driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:0166 class-ID: 0300
Device-2: AMD Thames [Radeon HD 7550M/7570M/7650M] vendor: Dell driver: N/A
alternate: radeon, amdgpu bus-ID: 02:00.0 chip-ID: 1002:6841 class-ID: 0300
Device-3: Microdia Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-1.5:5 chip-ID: 0c45:6448 class-ID: 0e02
Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
s-diag: 414mm (16.3")
Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 112 size: 309x174mm (12.2x6.9")
diag: 355mm (14")
OpenGL: renderer: Mesa Intel HD Graphics 4000 (IVB GT2) v: 4.2 Mesa 22.0.5
compat-v: 3.1 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Sound Server-1: ALSA v: k6.0.0-6mx-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Dell driver: ath9k
v: kernel modules: wl port: e000 bus-ID: 07:00.0 chip-ID: 168c:0032 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Qualcomm Atheros AR8162 Fast Ethernet vendor: Dell driver: alx v: kernel
port: d000 bus-ID: 09:00.0 chip-ID: 1969:1090 class-ID: 0200
IF: eth0 state: down mac: <filter>
Bluetooth: Device-1: Qualcomm Atheros Bluetooth USB Host Controller type: USB driver: btusb v: 0.8
bus-ID: 1-1.4:7 chip-ID: 0cf3:e004 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block:
hardware: no software: yes address: <filter>
Info: acl-mtu: 1022:8 sco-mtu: 183:5 link-policy: rswitch hold sniff
link-mode: slave accept
Drives: Local Storage: total: 476.95 GiB used: 6.92 GiB (1.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: SanDisk model: SSD PLUS 480GB size: 447.13 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 04RL scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: MZMPC032HBCD-000D1 size: 29.82 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 3D1Q scheme: MBR
Partition: ID-1: / raw-size: 28.31 GiB size: 27.7 GiB (97.84%) used: 6.92 GiB (25.0%) fs: ext4
dev: /dev/sdb1 maj-min: 8:17
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 1.5 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/sdb2 maj-min: 8:18
Sensors: System Temperatures: cpu: 61.0 C mobo: 53.0 C
Fan Speeds (RPM): cpu: 3342
Repos: Packages: note: see --pkg apt: 1982 lib: 997 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirror.ufam.edu.br/mx/mx/repo/ bullseye main non-free
2: deb http://mirror.ufam.edu.br/mx/mx/repo/ bullseye ahs
Info: Processes: 233 Uptime: 4m wakeups: 14 Memory: 7.64 GiB used: 1.94 GiB (25.4%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: N/A
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: BIOS (legacy, CSM, MBR)
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: MX-21 Multiple video cards and hybrid video (Graphics Switching)
The simplest way I found to switch between intel/amd gpu for a specific program was:
GPU AMD:
GPU Intel:
By default, when running a program, the intel gpu card is used.
It is equivalent to using:
GPU AMD:
Code: Select all
$ DRI_PRIME=1 firefox
Code: Select all
$ firefox
It is equivalent to using:
Code: Select all
$ DRI_PRIME=0 firefox
Re: MX-21 Multiple video cards and hybrid video (Graphics Switching)
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: MX-21 Multiple video cards and hybrid video (Graphics Switching)
Well... I think so. For now give me power of choice!
Code: Select all
$ DRI_PRIME=1 inxi -G
Graphics: Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: AMD Thames [Radeon HD 7550M/7570M/7650M] driver: radeon v: kernel
Device-3: Microdia Laptop_Integrated_Webcam_HD type: USB driver: uvcvideo
Display: x11 server: X.Org 1.20.14 driver: loaded: ati,modesetting,radeon
unloaded: fbdev,vesa resolution: 1366x768~60Hz
OpenGL: renderer: AMD TURKS (DRM 2.50.0 / 6.0.0-6mx-amd64 LLVM 14.0.5)
v: 3.3 Mesa 22.0.5
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: MX-21 Multiple video cards and hybrid video (Graphics Switching)
But it will be great if MX develops a tool to change the default GPU for all graphics programs! 