Hi, I am trying to setup GPU switching on Asus Zephyrus G14(AMD Integrated GPU, Nvidia Geforce 1650). I installed optimus manager which was successful and GPU switching worked. After that I tried to setup Nvidia power management using bbswitch. I installed bbswitch-dkms-git
from AUR, however I cannot get it to load. The system is running on kernel 5.15.19-1
.
Modprobe output:
$ sudo modprobe -vvv bbswitch
modprobe: INFO: custom logging function 0x55c3b956d7f0 registered
insmod /lib/modules/5.15.19-1-MANJARO/updates/dkms/bbswitch.ko.xz
modprobe: INFO: Failed to insert module '/lib/modules/5.15.19-1-MANJARO/updates/dkms/bbswitch.ko.xz': No such device
modprobe: ERROR: could not insert 'bbswitch': No such device
modprobe: INFO: context 0x55c3ba10e4f0 released
dmesg logs
$ sudo dmesg | grep bbswitch
[ 1.572093] bbswitch: loading out-of-tree module taints kernel.
[ 1.572128] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 1.572818] bbswitch: version 0.8
[ 1.572837] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.GPP0.PEGP
[ 1.572841] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.GP17.VGA_
[ 1.572865] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 1.572872] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 1.572874] bbswitch: No suitable _DSM call found.
GPU list
$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M (rev a1)
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c6)
Nvidia driver is loaded and detects my GPU:
$ nvidia-smi ✔
Tue Feb 8 15:35:57 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 510.47.03 Driver Version: 510.47.03 CUDA Version: 11.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 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 38C P8 2W / N/A | 0MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Thank you very much for any suggestions.