You are not logged in.

#1 2023-02-13 14:23:51

Satorin
Member
Registered: 2022-01-19
Posts: 11

Restore Nvidia dgpu as default.

Awhile ago I broke my nvidia graphics and I've never got it back in full working order.
No matter what I run it seems it is just being ran on my integrated graphics, is there a way to switch it back to my dgpu?
Or better yet, to toggle it when I don't need my dgpu?

nvidia-smi

| NVIDIA-SMI 525.89.02    Driver Version: 525.89.02    CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| 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 ...  Off  | 00000000:02:00.0 Off |                  N/A |
| N/A   56C    P0    N/A /  N/A |      5MiB /  2048MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                         nvidia -smi output                         
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       444      G   /usr/lib/Xorg                       2MiB |
+-----------------------------------------------------------------------------+

lsmod | grep nvidia

nvidia_uvm           2908160  0
nvidia_drm             73728  3
nvidia_modeset       1515520  2 nvidia_drm
video                  65536  3 thinkpad_acpi,i915,nvidia_modeset
nvidia              61444096  76 nvidia_uvm,nvidia_modeset

lspci | grep -i vga

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 630 (rev 04)

Offline

#2 2023-02-13 16:11:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,255

Re: Restore Nvidia dgpu as default.

The official method for toggling is PRIME: https://wiki.archlinux.org/title/PRIME# … er_offload

Judging from the integrated GPU this is not yet a Turing card so you might not be able to benefit from full power management, but if you haven't negatively noticed that  by now, PRIME will generally be the best maintained option.

Offline

Board footer

Powered by FluxBB