Bug 417655 - kwin_wayland autolaunches with partial screen coverage
Summary: kwin_wayland autolaunches with partial screen coverage
Status: RESOLVED DUPLICATE of bug 395335
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-14 17:54 UTC by Mike Lothian
Modified: 2020-02-19 14:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Manual wayland launch from sddm (5.32 KB, text/plain)
2020-02-14 18:00 UTC, Mike Lothian
Details
Auto launch wayland log (5.32 KB, text/plain)
2020-02-14 18:00 UTC, Mike Lothian
Details
Auto launch x11 log (4.08 KB, text/plain)
2020-02-14 18:01 UTC, Mike Lothian
Details
ps aux output (28.54 KB, text/plain)
2020-02-14 18:14 UTC, Mike Lothian
Details
kwin_wayland from tty (19.87 KB, text/plain)
2020-02-14 18:22 UTC, Mike Lothian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2020-02-14 17:54:40 UTC
SUMMARY

Auto launching kwin_wayland causes only the top quarter of the screen to be covered

If I manually logout and log into kwin_wayland from sddm it launches correctly

STEPS TO REPRODUCE
1. start sddm
2. auto logs in user
3. 

OBSERVED RESULT

kwin starts with 1024x768 resolution on a 3840x2160 frame buffer, with no way to change the resolution in the control panel


EXPECTED RESULT

Full screen kwin_wayland at 3840x2160 resolution

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Gentoo Linux 
(available in About System)
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67
Qt Version: 5.14.1
SDDM Version: 0.18.1

ADDITIONAL INFORMATION

This has happened on every version of kwin_wayland since it's early days, I have tested each Plasma release to see if anything has improved
Comment 1 Mike Lothian 2020-02-14 18:00:00 UTC
Created attachment 126030 [details]
Manual wayland launch from sddm

This is when Plasma (Wayland) is selected manually from SDDM and I login using my password
Comment 2 Mike Lothian 2020-02-14 18:00:59 UTC
Created attachment 126031 [details]
Auto launch wayland log

This is the log that's produced when I restart sddm with the following setting:

[Autologin]
Relogin=false
Session=
User=fireburn
Comment 3 Mike Lothian 2020-02-14 18:01:31 UTC
Created attachment 126032 [details]
Auto launch x11 log

This is also produced at the same time
Comment 4 David Edmundson 2020-02-14 18:01:52 UTC
Please include:
 - output of qdbus org.kde.KWin /KWin supportInformation    


 - output of QT_LOGGING_RULES=kwin_wayland_drm.debug=true kwin_wayland --xwayland from a tty
Comment 5 David Edmundson 2020-02-14 18:03:27 UTC
From your logs

>unable to lock lockfile /run/user/1000/wayland-0.lock, maybe another compositor is running

That's very very unexpected.

Please include output of "ps aux" as well
Comment 6 Mike Lothian 2020-02-14 18:06:25 UTC
I've managed to record the issue using ffmpeg kmsgrab and I've uploaded the video here https://youtu.be/y9EFBIDxjZI
Comment 7 Mike Lothian 2020-02-14 18:12:21 UTC
fireburn@axion ~ $  qdbus org.kde.KWin /KWin supportInformation    
Service 'org.kde.KWin' does not exist.
Comment 8 Mike Lothian 2020-02-14 18:14:14 UTC
Created attachment 126033 [details]
ps aux output

Was detected as spam :/
Comment 9 Mike Lothian 2020-02-14 18:22:13 UTC
Created attachment 126035 [details]
kwin_wayland from tty
Comment 10 Patrick Silva 2020-02-15 00:24:08 UTC

*** This bug has been marked as a duplicate of bug 395335 ***
Comment 11 David Edmundson 2020-02-19 14:45:07 UTC
>ps aux output

Shows three kwin_waylands running.

fireburn    1186  0.2  0.6 3586260 227768 tty2   Sl+  17:37   0:05 /usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib64

fireburn    3526  0.1  0.4 3444816 131540 tty4   Sl+  17:55   0:01 /usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib64

fireburn    5896  3.1  0.4 3459232 151372 ?      Sl   18:09   0:05 /usr/bin/kwin_wayland --xwayland --libinput --exit-with-session=/usr/lib64