Bug 13991 - Sddm crashes with an older processor without SSE2 - QT5 >= 5.3 requires SSE2 by default
Summary: Sddm crashes with an older processor without SSE2 - QT5 >= 5.3 requires SSE2 ...
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Florian Hubold
QA Contact:
URL:
Whiteboard:
Keywords:
: 14229 14418 14491 (view as bug list)
Depends on: 14418
Blocks:
  Show dependency treegraph
 
Reported: 2014-08-26 12:07 CEST by Georges Eckenschwiller
Modified: 2015-01-05 03:12 CET (History)
5 users (show)

See Also:
Source RPM: qtbase5
CVE:
Status comment:


Attachments
journalctl -b | tail -50 output after sddm start (3.68 KB, text/x-log)
2014-09-03 02:23 CEST, Florian Hubold
Details
The same journal, on my computer (4.07 KB, text/plain)
2014-09-03 10:35 CEST, Georges Eckenschwiller
Details
ps waxf (3.13 KB, text/plain)
2014-09-03 10:40 CEST, Georges Eckenschwiller
Details
journalctl (14.73 KB, text/plain)
2014-12-01 10:15 CET, Georges Eckenschwiller
Details

Description Georges Eckenschwiller 2014-08-26 12:07:24 CEST
Description of problem:

I make a minimal installation of cauldron:
- deselect all package
- then select "with X' and deselect 'with suggests'
- I reboot with xdm and IceWM

Then, install sddm and modify the display manager with MCC
By reboot, I have well the screens of grub and plymouth, then the black screen, without prompt.

I verify systemd-cgls => prefdm.service => 645 /usr/bin/sddm -nodaemon

Thanks to the indications of Jüri Ivask, I make
systemctl disable prefdm.service && systemctl enable sddm.service
I always fall again on a black screen

I verify systemd-cgls => sddm.service => 636 /usr/bin/sddm

Version-Release number of selected component (if applicable):
sddm-0.9.0-6



Reproducible: 

Steps to Reproduce:
David Walser 2014-08-26 15:22:38 CEST

Assignee: bugsquad => mageia

Comment 1 AL13N 2014-08-26 15:33:53 CEST
it's better to keep sddm.service disabled.

and prefdm.service enabled.

but, (and this only related to systemd minimal install), you still have to set

systemctl set-default graphical.target

that should get you going.

i myself am testing with minimal install too...

it's not because you install with X, that grahical boot should be default.

CC: (none) => alien

Comment 2 Georges Eckenschwiller 2014-08-26 17:31:25 CEST
I redid a new installation, always in the same way.
I restart with xdm and IceWM
Then, install sddm and modify the display manager with MCC.
I left prefdm.service.

In the restart, always black screenI verify at first: /etc/systemd/system/default.target. The link => runlevel5
The graphic server is thus already activated. What is normal because I installed by IceWM.
Comment 3 Florian Hubold 2014-09-03 02:03:40 CEST
Anything in the logs at the time where sddm should be started? In either ~/.xsession-errors or seen via journalctl -b ?

systemctl status sddm doesn't show anything in the log section? What's of sddm the status at that time ?

CC: (none) => doktor5000

Comment 4 Florian Hubold 2014-09-03 02:23:27 CEST
Created attachment 5402 [details]
journalctl -b | tail -50 output after sddm start

I've just checked, and here sddm seems to segfault, probably some issues with libc or the virtualbox opengl extensions. Maybe it just needs a rebuild? From what I remember, it worked just fine some weeks back.
Comment 5 Georges Eckenschwiller 2014-09-03 10:35:21 CEST
Created attachment 5403 [details]
The same journal, on my computer

We notice that the graphical interface is launched. But it is never question of sddm.
A little later, I opened a console root
Comment 6 Georges Eckenschwiller 2014-09-03 10:40:40 CEST
Created attachment 5404 [details]
ps waxf

The reading of ps waxf also gives information.
/usr/bin/sddm -nodaemon is launched, but no sddm-greeter
Comment 7 Georges Eckenschwiller 2014-10-03 14:12:16 CEST
I have just redone a try.
I installed the Xfce desktop from the DVD Mga5 alpha2.
I then made the update of the packages.
I installed sddm with MCC. I configure DM with MCC and reboot.

=>
Display Grub: OK
Display plymouth: OK
Then: black screen, w/o prompt.

=> Ctrl+Alt+F2, login root
journalctl -b | tail -150

=> sddm:[713]: Initializing ...
   sddm[713]:
   Still 3 times this line without information
   sddm[713]: Starting
   sddm[713]:
   Still 15 times this line without information

You can deduct something from it?
Georges Eckenschwiller 2014-10-04 09:17:25 CEST

Source RPM: sddm-0.9.0-6 => sddm-0.9.0-6, sddm-0.9.0-9

Comment 8 Georges Eckenschwiller 2014-10-22 16:47:28 CEST
I wonder if the problem is not bound to the processor type : Athlon XP (w/o sse2).

I have a problem with adminpanel-qt while adminpanel-gtk work.
It would be necessary to verify if the different lib of qt5 use the instructions sse2.
It seems that debian had problems with qt5.
See http://metadata.ftp-master.debian.org/changelogs//main/q/qtbase-opensource-src/qtbase-opensource-src_5.3.2+dfsg-4_changelog

"Add support for non-sse2 processors (Closes: #754894)." (Debian)
Is this option used at Mageia?
Georges Eckenschwiller 2014-10-22 16:56:36 CEST

Summary: Sddm does not work with a minimal installation => Sddm does not work with a older processor

Comment 9 Florian Hubold 2014-10-26 16:54:44 CET
I cannot reproduce with latest sddm. But for reference, here's a link to the Debian discussion thread, seems the problem exists since QT 5.3 enabled SSE2 by default. https://lists.debian.org/debian-qt-kde/2014/07/msg00169.html
Bugreport: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754894

Relevant Fedora commit:
http://pkgs.fedoraproject.org/cgit/qt5-qtbase.git/commit/?id=d68f9fa0b8ef163fc9a4a4e7699b5f777bb64423
Bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1103185

@KDE team: WDYT?

CC: (none) => lmenut
Summary: Sddm does not work with a older processor => Sddm crashes with an older processor without SSE2 - QT5 >= 5.3 requires SSE2 by default

Georges Eckenschwiller 2014-10-30 16:23:50 CET

Depends on: (none) => 14418

Comment 10 Florian Hubold 2014-11-11 17:16:23 CET
*** Bug 14491 has been marked as a duplicate of this bug. ***
Comment 11 Florian Hubold 2014-11-11 17:19:57 CET
(In reply to Florian Hubold from comment #9)
> Relevant Fedora commit:
> http://pkgs.fedoraproject.org/cgit/qt5-qtbase.git/commit/
> ?id=d68f9fa0b8ef163fc9a4a4e7699b5f777bb64423
> Bugreport: https://bugzilla.redhat.com/show_bug.cgi?id=1103185
> 
> @KDE team: WDYT?

My svn diff for qtbase5 is currently as follows:

ââ[user1@localhost]â[17:18:04]â[~/qtbase5]
ââââ¼ svn diff
Index: SPECS/qtbase5.spec
===================================================================
--- SPECS/qtbase5.spec	(revision 793492)
+++ SPECS/qtbase5.spec	(working copy)
@@ -1189,6 +1189,9 @@
 %else
     -no-sql-odbc \
 %endif
+%ifarch %{ix86}
+    -no-sse2 \
+%endif
 %if %without docs
     -nomake docs \
     -nomake demos \



Although I only have a VM for testing, and building QT5 would take ages there ...
Florian Hubold 2014-11-11 17:20:32 CET

Assignee: mageia => lmenut
Source RPM: sddm-0.9.0-6, sddm-0.9.0-9 => qtbase5
CC: (none) => mageia

Comment 12 Florian Hubold 2014-11-11 17:23:26 CET
*** Bug 14418 has been marked as a duplicate of this bug. ***
Comment 13 Florian Hubold 2014-11-11 17:23:53 CET
*** Bug 14229 has been marked as a duplicate of this bug. ***
Luc Menut 2014-11-11 17:27:34 CET

Assignee: lmenut => mageia

Comment 14 Florian Hubold 2014-11-29 11:50:46 CET
Should be fixed with http://svnweb.mageia.org/packages?view=revision&revision=799846 and qtbase5-5.3.1-7.mga5 packages.

SSE2 is disabled per default on i586/%ix86, and an SSE2-enabled library is located in %{_qt5_libdir}/sse2/ .

Please test once the -7.mga5 packages hit your mirror.
Florian Hubold 2014-11-29 14:01:03 CET

See Also: (none) => https://bugreports.qt-project.org/browse/QTBUG-35430, http://bugs.debian.org/754894, https://bugzilla.redhat.com/show_bug.cgi?id=1103185
Assignee: mageia => doktor5000

Comment 15 Georges Eckenschwiller 2014-11-30 14:20:10 CET
Hello Florian,

I tested this morning.
I updated my local mirror.
I installed with the CD stemming from the last boot-nonfree.iso.
I chose the LXQT environment.
The installation is made with no problem.

But sddm does not still display (black screen, without prompt).

It may be necessary to recompile sddm with the news libs ?
Comment 16 Florian Hubold 2014-11-30 21:24:32 CET
You lack basic information. Did you verify that the newer QT packages are installed? Did you check why sddm did not start? 

systemctl status sddm
"journalctl -b | tail -50" output after sddm start
Comment 17 Georges Eckenschwiller 2014-12-01 10:15:11 CET
Created attachment 5672 [details]
journalctl

Hello,
I did not have time to make other investigations yesterday.

Yes the newer lib are installed Ex. libqt5coe5-5.3.1-7.mga5
I had to make tail -200 to have the information on sddm
It is in attachment.
Comment 18 Florian Hubold 2014-12-07 21:21:46 CET
Can't see any issues, filtered output by sddm, here's the relevant excerpt

déc. 01 09:14:31 sauve sddm[676]: Greeter starting...
déc. 01 09:14:32 sauve sddm-helper[1001]: [PAM] Starting...
déc. 01 09:14:32 sauve sddm-helper[1001]: [PAM] Authenticating...
déc. 01 09:14:32 sauve sddm-helper[1001]: [PAM] returning.
déc. 01 09:14:32 sauve sddm-helper[1001]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
déc. 01 09:14:32 sauve systemd-logind[602]: New session c1 of user sddm.
déc. 01 09:14:32 sauve systemd[1014]: pam_tcb(systemd-user:session): Session opened for sddm by (uid=0)
déc. 01 09:14:32 sauve sddm[676]: Greeter session started successfully
déc. 01 09:14:33 sauve sddm-helper[1001]: [PAM] Ended.
déc. 01 09:14:33 sauve sddm[676]: Auth: sddm-helper exited successfully
déc. 01 09:14:33 sauve sddm[676]: Greeter stopped.

Status: NEW => ASSIGNED

Angelo Naselli 2014-12-19 08:40:30 CET

CC: (none) => anaselli

Comment 19 Georges Eckenschwiller 2015-01-03 11:00:50 CET
I have now the second computer of test, equipped with a processor supporting. SSE2. I can so compare both behavior.
On the computer with support of SSE2, I stopped when sddm is shown, without connecting me.
On both machines I pass then to terminal2 (Ctrl+Alt+F2).

Systemd-cgls sends back the same output, with exactly the same commands.
There is every time prefdm.service with /usr/bin/sddm -nodaemon and /etc/X11/X :0 ...

I then redid searches on the Internet and  I found :
sddm-greeter --test-mode --theme /usr/share/sddm/breeze
And this command gives:
GREETER : This program requires an x86 processor that suports SSE2 extension. Abandon.

Here is thus the culprit.

Nota bene : If I use xdm to connect, LXQt works on this computer.
A good news to start 2015 !!!
Comment 20 Florian Hubold 2015-01-04 02:15:44 CET
(In reply to Georges Eckenschwiller from comment #19)

> I then redid searches on the Internet and  I found :
> sddm-greeter --test-mode --theme /usr/share/sddm/breeze
> And this command gives:
> GREETER : This program requires an x86 processor that suports SSE2
> extension. Abandon.

Thanks a lot, so now that's an easily reproducible test case. But now it seems not of a QT issue, but that sddm really requires/enforces SSE2, we cannot really fix that.
Comment 21 Georges Eckenschwiller 2015-01-04 09:40:24 CET
Hello, Florian
I think in the same way.
For my old computer I shall use xdm.
I am going to close this report.

Resolution: (none) => WONTFIX
Status: ASSIGNED => RESOLVED

Comment 22 AL13N 2015-01-04 13:11:15 CET
i'm curious, what kind of machine doesn't support SSE2?
Comment 23 Florian Hubold 2015-01-05 03:12:31 CET
(In reply to AL13N from comment #22)
> i'm curious, what kind of machine doesn't support SSE2?

See the linked QT bugreport for a lengthy discussion upon that, including some specific models, like some older AMD processors that are pretty widespread.

Note You need to log in before you can comment on or make changes to this bug.