GPU Switching with prime-run vs. optimus-manager/optimus-manager-qt

I had done as indicated via:

And maybe this time it worked, looking at garuda-inxi now:

Kernel: 6.0.9-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=219f04f8-c9e0-400f-9d0d-043e8bfeff04 rw rootflags=subvol=@
quiet
cryptdevice=UUID=52208f8d-eb2d-4f13-aa58-a362bbe116ae:luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae
root=/dev/mapper/luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae splash
rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.26.3 tk: Qt v: 5.15.7 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: XPS 17 9710 v: N/A
serial: <superuser required> Chassis: type: 10 serial: <superuser required>
Mobo: Dell model: 0Y1K2K v: A01 serial: <superuser required> UEFI: Dell
v: 1.4.1 date: 09/08/2021
Battery:
ID-1: BAT0 charge: 88.3 Wh (100.0%) condition: 88.3/95.1 Wh (92.9%)
volts: 12.7 min: 11.4 model: BYD DELL F8CPG1A type: Li-poly serial: <filter>
status: full
CPU:
Info: model: 11th Gen Intel Core i7-11800H bits: 64 type: MT MCP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
microcode: 0x42
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 10 MiB desc: 8x1.2 MiB
L3: 24 MiB desc: 1x24 MiB
Speed (MHz): avg: 2348 high: 3072 min/max: 800/4600 scaling:
driver: intel_pstate governor: performance cores: 1: 2300 2: 2300 3: 2300
4: 2300 5: 2300 6: 2300 7: 2300 8: 3072 9: 2300 10: 2300 11: 2300 12: 2300
13: 2300 14: 2300 15: 2300 16: 2300 bogomips: 73728
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
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: Enhanced IBRS, IBPB: conditional, RSB
filling, PBRSB-eIBRS: SW sequence
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel TigerLake-H GT1 [UHD Graphics] vendor: Dell driver: i915
v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21 ports:
active: eDP-1 empty: DP-1, DP-2, DP-3, DP-4 bus-ID: 00:02.0
chip-ID: 8086:9a60 class-ID: 0300
Device-2: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Dell
driver: nvidia v: 520.56.06 alternate: nouveau,nvidia_drm non-free: 520.xx+
status: current (as of 2022-10) arch: Ampere code: GAxxx
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 8
link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:25a2 class-ID: 0302
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.5
compositor: kwin_x11 driver: X: loaded: intel,nvidia
unloaded: modesetting,nouveau alternate: fbdev,nv,vesa dri: i965 gpu: i915
display-ID: :0 screens: 1
Screen-1: 0 s-res: 3840x2400 s-dpi: 96 s-size: 1016x635mm (40.00x25.00")
s-diag: 1198mm (47.17")
Monitor-1: eDP-1 mapped: eDP1 model: Sharp 0x1517 built: 2021
res: 3840x2400 hz: 60 dpi: 264 gamma: 1.2 size: 370x230mm (14.57x9.06")
diag: 432mm (17") ratio: 16:10 modes: 3840x2400
API: OpenGL v: 4.6 Mesa 22.2.3 renderer: Mesa Intel UHD Graphics (TGL GT1)
direct render: Yes
Audio:
Device-1: Intel Tiger Lake-H HD Audio vendor: Dell
driver: sof-audio-pci-intel-tgl
alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:43c8 class-ID: 0401
Sound API: ALSA v: k6.0.9-zen1-1-zen running: yes
Sound Server-1: PulseAudio v: 16.1 running: yes
Sound Server-2: PipeWire v: 0.3.60 running: yes
Network:
Device-1: Intel Tiger Lake PCH CNVi WiFi vendor: Rivet Networks
driver: iwlwifi v: kernel bus-ID: 00:14.3 chip-ID: 8086:43f0 class-ID: 0280
IF: Waifu state: down mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 2-4.1:3 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: enp0s13f0u4u1 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: br10 state: down mac: <filter>
Bluetooth:
Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 3-14:3 chip-ID: 8087:0026 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 0 state: down bt-service: disabled
rfk-block: hardware: no software: no address: see --recommends
Drives:
Local Storage: total: 476.94 GiB used: 365.07 GiB (76.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: PC711 NVMe 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: 41001131 temp: 41.9 C scheme: GPT
Partition:
ID-1: / raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 365.07 GiB (76.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae
ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
used: 706 KiB (0.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
ID-3: /home raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 365.07 GiB (76.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae
ID-4: /var/log raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 365.07 GiB (76.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae
ID-5: /var/tmp raw-size: 476.68 GiB size: 476.68 GiB (100.00%)
used: 365.07 GiB (76.6%) fs: btrfs dev: /dev/dm-0 maj-min: 254:0
mapped: luks-52208f8d-eb2d-4f13-aa58-a362bbe116ae
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 15.36 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 60.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 372 Uptime: 1m wakeups: 91 Memory: 15.36 GiB
used: 3.69 GiB (24.0%) Init: systemd v: 252 default: graphical
tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
pkgs: 1644 libs: 355 tools: pamac,paru Shell: fish v: 3.5.1 default: Zsh
v: 5.9 running-in: konsole inxi: 3.3.23
Garuda (2.6.9-1):
System install date:     2022-01-08
Last full system update: 2022-11-21
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Timeshift (maybe)
Failed units:

Anybody’s guess as to what I did in between that now got different result :joy: Possibly, different sequence of trying things after restoring multiple times at different restore points & running updates.

Is this how it’s supposed to look?

(That inxi is after running the sudo modprobe nvidia , after making the grub change w/ ibt=off . When I run sudo modprobe nvidia , it just pops up a new CLI promt, & doesn’t show any other obvious changes/output.

2 Likes