Bug 364835 - breeze theme causes SDDM Login screen blank - sddm-helper exit with 6
Summary: breeze theme causes SDDM Login screen blank - sddm-helper exit with 6
Status: RESOLVED UPSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Global Theme packages (show other bugs)
Version: master
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2016-06-27 23:32 UTC by Gerald Cox
Modified: 2021-12-29 21:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Diff of good Xorg.0.log vs bad one (9.53 KB, patch)
2016-12-16 23:27 UTC, Matthew Cline
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Cox 2016-06-27 23:32:28 UTC
Please refer to Fedora downstream bug here:
https://bugzilla.redhat.com/show_bug.cgi?id=1350107
and SDDM bug here:
https://github.com/sddm/sddm/issues/651

Use of sddm-breeze fails because of permissions on background.png. 

I'm using the breeze theme.  What I found was that the other themes worked fine.  I then did a compare between the 01-breeze-fedora theme and the breeze theme.  What I found was that the permissions on the file:

/usr/share/sddm/themes/breeze/components/artwork/background.png
/usr/share/sddm/themes/01-breeze-fedora/components/artwork/background.png

were different.  In the 01-breeze-fedora version it was 777, in the breeze version (which has the issue) it is 644.  Apparently, that is the issue.

I changed the permissions for:
/usr/share/sddm/themes/breeze/components/artwork/background.png
to 777
Comment 1 Gerald Cox 2016-06-29 13:07:46 UTC
The permissions appears to have been (to borrow a phrase) a red herring.  The issue appears with both the 01-fedora-breeze theme and the breeze theme (the only difference between the two is the background.png file).  Other themes, such as maui work fine.
Comment 2 vindicator 2016-07-10 20:21:14 UTC
I am not sure if my problem is the same as this but in Archlinux.
My login will flash for an instant, then nothing is visible.
If I wait for ~15 seconds, the login screen will reappear.
Also, if I click the mouse (or maybe press a key instead?), the screen will also reappear (not needing to wait).
Comment 3 vindicator 2016-07-13 08:36:23 UTC
Just had a large archlinux update and it is resolved upon reboot.
Comment 4 Gerald Cox 2016-07-13 15:20:06 UTC
(In reply to vindicator from comment #3)
> Just had a large archlinux update and it is resolved upon reboot.

Can you mention what level you are now running?  Thanks!
Comment 5 vindicator 2016-07-13 18:07:18 UTC
Ugh, false claim of success.
I just rebooted to time a trash bug and SDDM is still a problem at v5.7.1.
Perhaps before I had unwittingly moved my mouse or clicked it or pressed a key to make the screen reappear.
Comment 6 David Edmundson 2016-07-13 18:32:37 UTC
Failing to load the background won't be a fatal error regardless. It would just show a white square.

Once logged in with the default theme can you run

sddm-greeter --test-mode --theme /usr/share/sddm/themes/breeze

(or whatever the Fedora path is) 

and see if that loads or crashes or what.

if it does exit, can you get a backtrace please.

Other thing to investigate is permissions on the SDDM user home directory somewhere in /var. 
Plasma renders SVGs so will cache them there. 

Could you reopen this when you've got that info
Comment 7 vindicator 2016-07-13 18:41:18 UTC
David, I don't know if you were addressing me, but it ran fine under Archlinux.
I also never had a "white square". The screen would just blank out for 30 seconds (or until I click a mouse button).
Should I be opening a different bug report for my case?
Comment 8 Matthew Cline 2016-12-16 23:27:32 UTC
Created attachment 102824 [details]
Diff of good Xorg.0.log vs bad one

For me, under both Fedora 24 and Fedora 25, the problem is intermittent,  so that's evidence that this might be a timing issue.

Also, I diffed the Xorg.0.log from when the bug happened (BAD) vs when it didn't happen (GOOD), and the BAD log is missing some of the EDID info and modeline info that the GOOD log had.  The diff of the logs is attached.
Comment 9 Gerald Cox 2017-01-29 19:59:09 UTC
github bug is here:  https://github.com/sddm/sddm/issues/756
Comment 10 Andrew Crouthamel 2018-09-19 14:33:42 UTC
This bug has had its resolution changed, but accidentally has been left in NEEDSINFO status. I am thus closing this bug and setting the status as RESOLVED to reflect the resolution change.
Comment 11 smellymoo 2021-12-29 21:34:27 UTC
I am trying to debug this problem. Think mine matches.

If I use either default breeze theme to SDDM it works during login, but doesn't if I logout. It goes to a black screen with no cursor.

I can get out by either ctrl+alt+del for restart, or ctrl+alt+F3.

Fedora 35 (kernel 5.15.11). KDE plasma 5.23.4