@sboehringer Hi, get rid of any xorg.conf file it’s not needed, make sure suse-prime (this is the likely culprit of the re-creating) and bbswitch stuff is removed and locked. Make sure nvidia_drm.modeset=1
or maybe nosimplefb=0
is in your grub options (test at boot by adding to grub options first).
Install switcheroo-control package and run systemctl enable --now switcheroo-control.service
then (you don’t say which DE in use) you can use switcherooctl <some app>
to use the Nvidia gpu. The likes of Libreoffice will use automatically as compute, which can be visible via the likes of nvidia-smi or nvtop.
For example;
switcherooctl list
Device: 0
Name: Intel Corporation DG2 [Arc A380]
Default: yes
Environment: DRI_PRIME=pci-0000_03_00_0
Device: 1
Name: Intel® HD Graphics P4000
Default: no
Environment: DRI_PRIME=pci-0000_00_02_0
Device: 2
Name: NVIDIA Corporation GM107GL [Quadro K620]
Default: no
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
switcherooctl launch -g 2 glxinfo | grep "OpenGL render"
OpenGL renderer string: Quadro K620/PCIe/SSE2
switcherooctl launch -g 1 glxinfo | grep "OpenGL render"
OpenGL renderer string: Mesa Intel(R) HD Graphics P4000 (IVB GT2)
switcherooctl launch -g 0 glxinfo | grep "OpenGL render"
OpenGL renderer string: Mesa Intel(R) Arc(tm) A380 Graphics (DG2)
The is no xorg conf present on the above, it is a desktop though.