Gerade auf Laptop frisch openSUSE tumbleweed installiert.
Mit der Trinity of disaster : KDE + Wayland + nvidia
 : KDE + Wayland + nvidia
Dazu noch mit intel-onboard + dezidierte nvidia Grafik (nvidia optimus).
Aktiv ist die intel GPU. Habe versucht mit
	
	
	
		
auf nvidia umzustellen. Aber ohne Erfolg. Es bleibt bei intel.
Wenn ich versuche direkt mit prime-run glxgears zu starten, tut sich nichts, gleiche Leistung wie nur glxgears.
Mit DRI_PRIME=1 glxgears, dann aber deutlich besser Leistung. Das dürfte dann wohl mit der nvidia GPU laufen.
Wie kann man die nvidia GPU grundsätzlich aktivieren unter Wayland?
Habe gelesen, dass suse-prime unter Wayland nicht funktioniertt, ist das noch aktuell?
Welche Alternativen unter Wayland gibt es?
	
	
	
		
	
	
	
		
	
	
	
		
	
	
	
		
	
	
	
		
	
	
	
		
			
			Mit der Trinity of disaster
Dazu noch mit intel-onboard + dezidierte nvidia Grafik (nvidia optimus).
Aktiv ist die intel GPU. Habe versucht mit
		Code:
	
	sudo prime-select nvidia
nvidia catched
NVIDIA modules are loaded
Logout to switch graphicsWenn ich versuche direkt mit prime-run glxgears zu starten, tut sich nichts, gleiche Leistung wie nur glxgears.
Mit DRI_PRIME=1 glxgears, dann aber deutlich besser Leistung. Das dürfte dann wohl mit der nvidia GPU laufen.
Wie kann man die nvidia GPU grundsätzlich aktivieren unter Wayland?
Habe gelesen, dass suse-prime unter Wayland nicht funktioniertt, ist das noch aktuell?
Welche Alternativen unter Wayland gibt es?
		Code:
	
	prime-run glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
216 frames in 5.1 seconds = 42.579 FPS
168 frames in 5.0 seconds = 33.597 FPS
150 frames in 5.0 seconds = 29.997 FPS
...
glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
150 frames in 5.0 seconds = 29.987 FPS
150 frames in 5.0 seconds = 29.996 FPS
DRI_PRIME=1 glxgears
glx: failed to create dri3 screen
failed to load driver: nouveau
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
28961 frames in 5.0 seconds = 5792.114 FPS
33204 frames in 5.0 seconds = 6640.690 FPS
33140 frames in 5.0 seconds = 6627.906 FPS
		Code:
	
	rpm -qa | grep nvidia
kernel-firmware-nvidia-20241113-1.1.noarch
nvidia-utils-G06-550.127.05-27.1.x86_64
libnvidia-egl-wayland1-1.1.16-4.1.x86_64
nvidia-driver-G06-kmp-default-550.127.05_k6.11.3_2-27.1.x86_64
nvidia-gl-G06-550.127.05-27.1.x86_64
nvidia-gl-G06-32bit-550.127.05-27.1.x86_64
nvidia-compute-G06-550.127.05-27.1.x86_64
nvidia-compute-G06-32bit-550.127.05-27.1.x86_64
nvidia-video-G06-550.127.05-27.1.x86_64
nvidia-video-G06-32bit-550.127.05-27.1.x86_64
bumblebee-status-module-nvidia-prime-2.1.5-4.2.noarch
bumblebee-status-module-nvidia-optimus-manager-2.1.5-4.2.noarch
rpm -qa | grep prime
suse-prime-0.8.17-1.1.noarch
bumblebee-status-module-nvidia-prime-2.1.5-4.2.noarch
		Code:
	
	lsmod | grep nvidia
nvidia_drm            122880  19
nvidia_modeset       1605632  4 nvidia_drm
nvidia_uvm           6668288  0
nvidia              60624896  69 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  2 nvidia_drm,xe
video                  81920  4 thinkpad_acpi,xe,i915,nvidia_modeset
		Code:
	
	glxinfo | grep nvidia
glxinfo | grep Intel
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) UHD Graphics (TGL GT1) (0x9a60)
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (TGL GT1)
		Code:
	
	sudo cat /sys/module/nvidia_drm/parameters/modeset
Y
		Code:
	
	inxi -G
Graphics:
  Device-1: Intel TigerLake-H GT1 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA107GLM [RTX A2000 Mobile] driver: nvidia v: 550.127.05
....
  Display: wayland server: X.org v: 1.21.1.14 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia resolution: 1: 2194x1234 2: 1707x960
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.2.7
    renderer: Mesa Intel UHD Graphics (TGL GT1)
  API: Vulkan v: 1.3.296 drivers: N/A surfaces: xcb,xlib,wayland 
					
				 
 
		