Hoping someone here can help, at my limit of trying to fix this.
Leap 15.6
ROG Zephyrus G14
Nvidia: 570.124.04
I am trying to get switcheroo working after months of pain with suse-prime and not able to reliably switch back and forth between my integrated and nvidia dgpu.
So far I have followed the guides for switcheroo which seem easy. Have removed and locked suse-prime as suggested. Switcheroo is installed and recognizes my integrated and nvidia gpu.
But I cannot seem to turn the dpgu off at all. Have gone through endless prompts with grok to try and resolve this. Honestly a bit lost in everything I’ve tried. Currently this is where I’m at:
Removed and locked suse-prime:
sudo zypper remove suse-prime
sudo zypper al suse-prime
Installed switcheroo
switcherooctl version
2.6
switcheroo list shows my hardware just fine:
Device: 0
Name: Advanced Micro Devices, Inc. [AMD®/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series]
Default: yes
Environment: DRI_PRIME=pci-0000_04_00_0
Device: 1
Name: NVIDIA Corporation TU106M [GeForce RTX 2060 Max-Q]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
Created this file: /etc/udev/rules.d/80-nvidia-pm.rules
ACTION==“bind”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x030000”, TEST==“power/control”, ATTR{power/control}=“auto”
ACTION==“bind”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x030200”, TEST==“power/control”, ATTR{power/control}=“auto”
ACTION==“unbind”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x030000”, TEST==“power/control”, ATTR{power/control}=“on”
ACTION==“unbind”, SUBSYSTEM==“pci”, ATTR{vendor}==“0x10de”, ATTR{class}==“0x030200”, TEST==“power/control”, ATTR{power/control}=“on”
Added these lines to ~/.config/kwinrc
[Wayland]
PreferAMDGPU=true
Added these lines to ~/.config/environment.d/wayland.conf
DRI_PRIME=0
Past this I’m stuck and cannot seem to get further. Any help would be very much appreciated.