Summary: | KDE does not detect a second monitor with NVidia/AMDGPU multigpu | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Robert-André Mauchin <zebob.m> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, xaver.hugl |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/5363451eae46aa87c4fffb27a197c2902f67e817 | Version Fixed In: | 5.22.1 |
Description
Robert-André Mauchin
2021-01-02 13:28:34 UTC
We can't really do anything about the proprietary driver at the moment but it should be possible to make Noveau work. Note that you do need to run KWin from master, make sure your session actually uses it (just saying because you're stating Plasma version 5.20.4). To get the debug output you will need to pass the environment variable QT_LOGGING_RULES="kwin_*.debug=true" to KWin, the easiest way to do that is probably to just put that line into /etc/environment and reboot. Then log into the wayland session and upload ~/.local/share/sddm/wayland-session.log (In reply to Zamundaaa from comment #1) > We can't really do anything about the proprietary driver at the moment but > it should be possible to make Noveau work. > > Note that you do need to run KWin from master, make sure your session > actually uses it (just saying because you're stating Plasma version 5.20.4). > > To get the debug output you will need to pass the environment variable > QT_LOGGING_RULES="kwin_*.debug=true" > to KWin, the easiest way to do that is probably to just put that line into > /etc/environment and reboot. Then log into the wayland session and upload > ~/.local/share/sddm/wayland-session.log I haven't found that file and journalctl doesn't report anything related. Note that the external screen doesn't work either with Xorg so it might be another problem altogether. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1031 Git commit cfd7af01795af365cbaa6aea11a3b2009bbbd3c8 by Xaver Hugl. Committed on 07/06/2021 at 07:23. Pushed by zamundaaa into branch 'master'. platforms/drm: support NVidia as secondary GPU with CPU copy M +1 -1 src/plugins/platforms/drm/abstract_egl_drm_backend.h M +32 -20 src/plugins/platforms/drm/drm_backend.cpp M +8 -10 src/plugins/platforms/drm/drm_output.cpp M +1 -1 src/plugins/platforms/drm/dumb_swapchain.cpp M +8 -3 src/plugins/platforms/drm/egl_gbm_backend.cpp M +1 -1 src/plugins/platforms/drm/egl_gbm_backend.h M +11 -8 src/plugins/platforms/drm/egl_multi_backend.cpp M +1 -2 src/plugins/platforms/drm/egl_multi_backend.h M +130 -88 src/plugins/platforms/drm/egl_stream_backend.cpp M +7 -4 src/plugins/platforms/drm/egl_stream_backend.h https://invent.kde.org/plasma/kwin/commit/cfd7af01795af365cbaa6aea11a3b2009bbbd3c8 Git commit 5363451eae46aa87c4fffb27a197c2902f67e817 by Xaver Hugl. Committed on 13/06/2021 at 21:06. Pushed by zamundaaa into branch 'Plasma/5.22'. platforms/drm: support NVidia as secondary GPU with CPU copy (cherry picked from commit cfd7af01795af365cbaa6aea11a3b2009bbbd3c8) M +1 -1 src/plugins/platforms/drm/abstract_egl_drm_backend.h M +32 -20 src/plugins/platforms/drm/drm_backend.cpp M +8 -10 src/plugins/platforms/drm/drm_output.cpp M +8 -3 src/plugins/platforms/drm/egl_gbm_backend.cpp M +1 -1 src/plugins/platforms/drm/egl_gbm_backend.h M +11 -8 src/plugins/platforms/drm/egl_multi_backend.cpp M +1 -2 src/plugins/platforms/drm/egl_multi_backend.h M +130 -88 src/plugins/platforms/drm/egl_stream_backend.cpp M +7 -4 src/plugins/platforms/drm/egl_stream_backend.h https://invent.kde.org/plasma/kwin/commit/5363451eae46aa87c4fffb27a197c2902f67e817 |