O/S: Arch (Garuda)
GPU: NVIDIA GeForce GTX 1050 Ti Mobile [Discrete]
GPU: NVIDIA GeForce RTX 3080 Lite Hash Rate [Discrete]
GPU: Intel UHD Graphics 630 @ 1.10 GHz [Integrated]
Regardless of environment variables to allocate preference such as:
KWIN_DRM_DEVICES=
nvidia-smi shows that GPU allocation is random when there is more than one Nvidia GPU present. Unfortunately in my setup I often having VRAM intensive applications using the GTX1050Ti and seeing both cards utilise the same driver there is nothing that I can do to correct this in the driver or the operating system.
Gamescope provides an intermittent hack to prefer device based on PCI ID but it seems this could be seamlessly built into nvidia-settings providing a solution to a range of ENV hacks that end users are putting in that get this working.
Tue Aug 20 12:42:18 2024
±----------------------------------------------------------------------------------------+
| NVIDIA-SMI 560.31.02 Driver Version: 560.31.02 CUDA Version: 12.6 |
|-----------------------------------------±-----------------------±---------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1050 … On | 00000000:01:00.0 Off | N/A |
| N/A 56C P0 N/A / ERR! | 934MiB / 4096MiB | 5% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+
| 1 NVIDIA GeForce RTX 3080 On | 00000000:07:00.0 On | N/A |
| 0% 43C P0 142W / 370W | 3030MiB / 10240MiB | 58% Default |
| | | N/A |
±----------------------------------------±-----------------------±---------------------+
±----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 26941 C+G …285476740d2f39f355ceb9bbfc97945bf0c 263MiB |
| 0 N/A N/A 28628 C+G …naries\Win64\MCC-Win64-Shipping.exe 660MiB |
| 1 N/A N/A 9201 G /usr/lib/Xorg 23MiB |
| 1 N/A N/A 9955 G /usr/bin/kwalletd6 3MiB |
| 1 N/A N/A 10193 G /usr/bin/kwin_wayland 284MiB |
| 1 N/A N/A 10292 G /usr/bin/Xwayland 943MiB |
| 1 N/A N/A 10353 G /usr/bin/ksmserver 3MiB |
| 1 N/A N/A 10355 G /usr/bin/kded6 3MiB |
| 1 N/A N/A 10374 G /usr/bin/plasmashell 257MiB |
| 1 N/A N/A 10418 G /usr/lib/kactivitymanagerd 3MiB |
| 1 N/A N/A 10420 G …b/polkit-kde-authentication-agent-1 3MiB |
| 1 N/A N/A 10421 G /usr/lib/org_kde_powerdevil 3MiB |
| 1 N/A N/A 10422 G /usr/lib/xdg-desktop-portal-kde 43MiB |
| 1 N/A N/A 10508 G kdeconnectd 3MiB |
| 1 N/A N/A 10544 G /usr/bin/nextcloud 3MiB |
| 1 N/A N/A 10553 G /usr/bin/garuda-system-maintenance 3MiB |
| 1 N/A N/A 10588 G /usr/lib/DiscoverNotifier 3MiB |
| 1 N/A N/A 10591 G /usr/bin/kaccess 3MiB |
| 1 N/A N/A 11639 G /usr/bin/dolphin 3MiB |
| 1 N/A N/A 12687 G /opt/brave-bin/brave 3MiB |
| 1 N/A N/A 12892 G …bin/plasma-browser-integration-host 3MiB |
| 1 N/A N/A 12925 G /usr/bin/konsole 3MiB |
| 1 N/A N/A 13095 G …erProcess --variations-seed-version 145MiB |
| 1 N/A N/A 13605 G /usr/bin/dolphin 3MiB |
| 1 N/A N/A 15337 G /usr/lib/baloorunner 3MiB |
| 1 N/A N/A 15345 G /usr/bin/kwrite 3MiB |
| 1 N/A N/A 15979 G …erProcess --variations-seed-version 140MiB |
| 1 N/A N/A 20546 G …local/share/Steam/ubuntu12_32/steam 4MiB |
| 1 N/A N/A 20730 G ./steamwebhelper 48MiB |
| 1 N/A N/A 20754 G …atal,SpareRendererForSitePerProcess 404MiB |
| 1 N/A N/A 24607 G /usr/bin/python3 53MiB |
| 1 N/A N/A 25474 G /usr/bin/konsole 3MiB |
| 1 N/A N/A 26941 G …285476740d2f39f355ceb9bbfc97945bf0c 6MiB |
| 1 N/A N/A 26972 G /usr/lib/thunderbird/thunderbird 200MiB |
| 1 N/A N/A 28646 G /usr/bin/konsole 3MiB |
±----------------------------------------------------------------------------------------+
nvidia-bug-report.log.gz (1.5 MB)