Summary: | KWIN/Plasmashell on NVIDIA wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | parithy <parithy> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | Keywords: | wayland-only |
Version First Reported In: | 5.22.3 | Flags: | vlad.zahorodnii:
NVIDIA+
|
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
screenshot of system info
Log file |
want to add that this is a optimus laptop You can use the environment variable KWIN_DRM_DEVICES to choose in which order KWin uses the GPUs. KWIN_DRM_USE_EGL_STREAMS is no longer necessary at all. In your case KWIN_DRM_DEVICES="/dev/dri/card1;/dev/dri/card0" would likely be what you want. If the output is connected to the integrated GPU though then your performance will be degraded. Created attachment 140434 [details]
Log file
added xorg log file for kwin crash
as per my understanding the display is connect IGPU and HDMI port is connected to nvidia. even if nvidia is used the output of it has to be fed back to intel GPU via optimus tech. may be i am wrong. Added KWIN_DRM_DEVICES="/dev/dri/card1;/dev/dri/card0" in kwin.sh within etc profiles folder. Commented KWIN_DRM_USE_EGL_STREAMS. I think the Kwin crashed and came to sddm screen. KWIN_DRM_USE_EGL_STREAMS has been dropped. If kwin still crashes with nvidia, please file a new bug report. |
Created attachment 140352 [details] screenshot of system info SUMMARY Unable to launch plasmashell with wayland on Nvidia after setting SDDM option to wayland and nvidia settings to performance (discrete or nvidia only) mode STEPS TO REPRODUCE 1. set KWIN_DRM_USE_EGL_STREAMS=1 2. install nvidia graphics drivers with modesetting =1 3. set plasma wayland in sddm options 4. Login OBSERVED RESULT Plasma shell launches as wayland shell but on intel IGPU EXPECTED RESULT Plasmashell should launch wayland shell on nvidia/DGPU parithy@debian-acer ~> nvidia-smi -l Tue Jul 27 16:26:36 2021 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 470.57.02 Driver Version: 470.57.02 CUDA Version: 11.4 | |-------------------------------+----------------------+----------------------+ | 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 47C P8 N/A / N/A | 2MiB / 4040MiB | 0% Default | | | | N/A | +-------------------------------+----------------------+----------------------+ +-----------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=============================================================================| | No running processes found | +-----------------------------------------------------------------------------+ ^C⏎ parithy@debian-acer ~> prime-select query nvidia SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION