Bug 490123 - sometimes SDDM starts in 640x480
Summary: sometimes SDDM starts in 640x480
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Startup process (other bugs)
Version First Reported In: 6.1.2
Platform: openSUSE Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-11 18:40 UTC by Miguel Rozsas
Modified: 2024-07-27 20:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen capture showing the second monitor at 640x480 (48.45 KB, image/png)
2024-07-11 18:40 UTC, Miguel Rozsas
Details
Both monitors in 640x480 after second power on of this day. (1.54 MB, image/jpeg)
2024-07-12 17:36 UTC, Miguel Rozsas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Rozsas 2024-07-11 18:40:17 UTC
Created attachment 171581 [details]
screen capture showing the second monitor at 640x480

This is happening since KDE 6.0.0.
This bug is not deterministic. It happens in 3 of 10 times, no clue what triggers it.
A simple fix is remove the video cable from video card e reconnect it. Just power off/power on the affected monitor didn't help.

SUMMARY
Sometimes, SDDM starts in 640x480 in both monitors. 
If I power off the computer and monitors and try again, usually works, with SDDM starting in 1920x1080 (the native resolution of  both screens)
If I log in anyway, the first/primary monitor is adjusted to 1920x1080, but the second still is in 640x480.
Then, I remove the cable from the second monitor and reconnect it and the monitor gets 1920x1080 as expected.

STEPS TO REPRODUCE
1.  Power on the computer, BIOS Logo is in the expected size
2.  Sometimes SDDM starts in both monitors as 640x480
3.  Log in anyway and the primary monitor gets 1920x1080, but not the secondary monitor
4 . Remove the video cable from second monitor and reconnect to get it in expected native resolution of 640x480

OBSERVED RESULT
Monitors are set in 640x480

EXPECTED RESULT
Monitors are set in 640x480

Check the attachment: a screen capture showing the problem on the second monitor, just after login.
It is not possible to take a screenshot from SDDM, but at that time, both monitors were at 640x480.
It is not possible to fix/adjust the second monitor by KDE control center.
After removing the video cable from second monitor and plug in back, it was restored to its native resolution, 1920x1080, just as the first one.
The primary monitor is a Samsung C27F390 (HDMI)
The secondary monitor is a Dell U2312HM (DP1)

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240709
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 7600X 6-Core Processor
Memory: 30.6 GiB of RAM
Graphics Processor: AMD Radeon RX 6600

expected normal xrandr output:
Screen 0: minimum 16 x 16, current 3840 x 1080, maximum 32767 x 32767
DP-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 510mm x 287mm
1920x1080     59.96*+
1440x1080     59.99
1400x1050     59.98
1280x1024     59.89
1280x960      59.94
1152x864      59.96
1024x768      59.92
800x600       59.86
640x480       59.38
320x240       59.52
1680x1050     59.95
1440x900      59.89
1280x800      59.81
1152x720      59.97
960x600       59.63
928x580       59.88
800x500       59.50
768x480       59.90
720x480       59.71
640x400       59.95
320x200       58.96
1600x900      59.95
1368x768      59.88
1280x720      59.86
1024x576      59.90
864x486       59.92
720x400       59.55
640x350       59.77
HDMI-A-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
1920x1080     59.96*+
1440x1080     59.99
1400x1050     59.98
1280x1024     59.89
1280x960      59.94
1152x864      59.96
1024x768      59.92
800x600       59.86
640x480       59.38
320x240       59.52
1680x1050     59.95
1440x900      59.89
1280x800      59.81
1152x720      59.97
960x600       59.63
928x580       59.88
800x500       59.50
768x480       59.90
720x480       59.71
640x400       59.95
320x200       58.96
1600x900      59.95
1368x768      59.88
1280x720      59.86
1024x576      59.90
864x486       59.92
720x400       59.55
640x350       59.77
Comment 1 Miguel Rozsas 2024-07-11 18:42:38 UTC
ON STEPS TO REPRODUCE I MEANT:
4 . Remove the video cable from second monitor and reconnect to get it in expected native resolution of 1920x1080
Comment 2 Miguel Rozsas 2024-07-11 18:43:48 UTC
Sorry, at EXPECTED RESULT section I meant:
Monitors are set in 1920x1080
Comment 3 Miguel Rozsas 2024-07-12 17:14:08 UTC
Today, it happened again. The output of xrandr  is :
Screen 0: minimum 16 x 16, current 2560 x 1080, maximum 32767 x 32767
DP-1 connected 640x480+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm
   640x480       59.38*+
   320x240       59.52  
   640x400       59.20  
   320x200       58.96  
   640x350       59.77  
HDMI-A-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 598mm x 336mm
   1920x1080     59.96*+
   1440x1080     59.99  
   1400x1050     59.98  
   1280x1024     59.89  
   1280x960      59.94  
   1152x864      59.96  
   1024x768      59.92  
   800x600       59.86  
   640x480       59.38  
   320x240       59.52  
   1680x1050     59.95  
   1440x900      59.89  
   1280x800      59.81  
   1152x720      59.97  
   960x600       59.63  
   928x580       59.88  
   800x500       59.50  
   768x480       59.90  
   720x480       59.71  
   640x400       59.95  
   320x200       58.96  
   1600x900      59.95  
   1368x768      59.88  
   1280x720      59.86  
   1024x576      59.90  
   864x486       59.92  
   720x400       59.55  
   640x350       59.77
Comment 4 Miguel Rozsas 2024-07-12 17:36:18 UTC
Created attachment 171612 [details]
Both monitors in 640x480 after second power on of this day.

Both monitors in 640x480 after second power on of this day.
After login, only the second monitor stays in 640x480. It returns to expected native resolution if I remove the video cable or the power cord.
Comment 5 Nate Graham 2024-07-27 20:57:18 UTC
SDDM isn't a KDE project, so in general SDDM bugs should be reported at https://github.com/sddm/sddm/issues/.

In this case there's a chance it could be a KDE bug if SDDM is being started by kwin_wayland, but IIRC on openSUSE they still use X11 for this, which means no KDE code is involved by the time the bug happens, which means it's not a KDE bug.