How to make NVIDIA the default card on Wayland?

I need solution to make dedicated card running on everything without extra comand in Steam such as:


to run atleast games from steam on nvidia.
i want to run everything even browser on wayland.
wayland doesnt do anything else in nvidia-smi except runing uselessly /usr/lib/xorg/Xorg

It works when i change session to X11, but i dont want that obsolete thing anymore. (nvidia runs all programs )

Seen similar thread on arch forum, but cant find it right now.
Kubuntu 23.04, RTX 3050 M

  1. where is problem, why wayland doesnt do anything?
  2. how to force kde to run on nvidia card
  3. how to run Q2PRO on nvidia, without typing extra command?

thread from arch


have a look here:

Did you enable nvidia drm in grub, or something?
Are you using nvidia drivers preset by distro or compiled by yourself?
still hangs, not sure because i edited /etc/environment

ok after removing KWIN_DRM_DEVICES="/dev/dri/card1:/dev/dri/card0" from /etc/environment im able to move mouse on black sreceen, something doesnt work correctly because im stopping sddm on first tty?