[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800705: marked as done (sddm: Fails to start greeter due to OpenGL)



Your message dated Mon, 20 Feb 2017 15:02:25 +0100
with message-id <20170220140225.zgmwrasycmseo2cb@gnuservers.com.ar>
and subject line Re: Bug#800705: sddm: Fails to start greeter due to OpenGL
has caused the Debian Bug report #800705,
regarding sddm: Fails to start greeter due to OpenGL
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
800705: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800705
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: sddm
Version: 0.12.0-4
Severity: important

Dear Maintainer,

on reboot I get a black screen.
After much searching I found the following error message:

Okt 02 20:23:38 scout sddm-greeter[3280]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 

I think the problems started after an upgrade of the NVidia drivert to 340.93-X.

If the greeter fails to start, to proper error handling is apprecated.

# systemctl status sddm
● sddm.service - Simple Desktop Display Manager
   Loaded: loaded (/lib/systemd/system/sddm.service; enabled; vendor preset: enabled)
   Active: active (running) since Fr 2015-10-02 20:30:49 CEST; 3s ago
     Docs: man:sddm(1)
           man:sddm.conf(5)
  Process: 3656 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/sddm" ] (code=exited, status=0/SUCCESS)
 Main PID: 3660 (sddm)
   CGroup: /system.slice/sddm.service
           ├─3660 /usr/bin/sddm
           └─3662 /usr/bin/X -nolisten tcp -auth /var/run/sddm/{92c87516-5397-44f7-9aa6-de2cc3065b72} -back...

Okt 02 20:30:50 scout sddm[3660]: Greeter starting...
Okt 02 20:30:50 scout sddm[3660]: Adding cookie to "/var/run/sddm/{92c87516-5397-44f7-9aa6-de2cc3065b72}"
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] Starting...
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] Authenticating...
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] returning.
Okt 02 20:30:50 scout sddm-helper[3670]: pam_unix(sddm-greeter:session): session opened for user sddm b...d=0)
Okt 02 20:30:50 scout sddm[3660]: Greeter session started successfully
Okt 02 20:30:51 scout sddm[3660]: Message received from greeter: Connect
Okt 02 20:30:51 scout sddm[3660]: Auth: sddm-helper exited successfully
Okt 02 20:30:51 scout sddm[3660]: Greeter stopped.

# journalctl --since 20:30 --no-pager
-- Logs begin at Fr 2015-10-02 20:18:04 CEST, end at Fr 2015-10-02 20:33:34 CEST. --
Okt 02 20:30:37 scout ntpd[1745]: 129.250.35.251 local addr 192.168.178.11 -> <null>
Okt 02 20:30:37 scout ntpd[1745]: 2 Oct 20:30:37 ntpd[1745]: 129.250.35.251 local addr 192.168.178.11 -> <null>
Okt 02 20:30:49 scout polkitd(authority=local)[2027]: Registered Authentication Agent for unix-process:3650:77141 (system bus name :1.38 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8)
Okt 02 20:30:49 scout systemd[1]: Starting Simple Desktop Display Manager...
Okt 02 20:30:49 scout systemd[1]: Started Simple Desktop Display Manager.
Okt 02 20:30:49 scout polkitd(authority=local)[2027]: Unregistered Authentication Agent for unix-process:3650:77141 (system bus name :1.38, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale de_DE.UTF-8) (disconnected from bus)
Okt 02 20:30:49 scout sddm[3660]: Initializing...
Okt 02 20:30:49 scout sddm[3660]: Starting...
Okt 02 20:30:49 scout sddm[3660]: Adding new display on vt 7 ...
Okt 02 20:30:49 scout sddm[3660]: Display server starting...
Okt 02 20:30:49 scout sddm[3660]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{92c87516-5397-44f7-9aa6-de2cc3065b72} -background none -noreset -displayfd 19 vt7
Okt 02 20:30:50 scout acpid[1720]: client 3262[0:0] has disconnected
Okt 02 20:30:50 scout acpid[1720]: client connected from 3662[0:0]
Okt 02 20:30:50 scout acpid[1720]: 1 client rule loaded
Okt 02 20:30:50 scout sddm[3660]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
Okt 02 20:30:50 scout sddm[3660]: Display server started.
Okt 02 20:30:50 scout sddm[3660]: Socket server starting...
Okt 02 20:30:50 scout sddm[3660]: Socket server started.
Okt 02 20:30:50 scout sddm[3660]: Greeter starting...
Okt 02 20:30:50 scout sddm[3660]: Adding cookie to "/var/run/sddm/{92c87516-5397-44f7-9aa6-de2cc3065b72}"
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] Starting...
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] Authenticating...
Okt 02 20:30:50 scout sddm-helper[3670]: [PAM] returning.
Okt 02 20:30:50 scout sddm-helper[3670]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Okt 02 20:30:50 scout systemd[1]: Created slice user-105.slice.
Okt 02 20:30:50 scout systemd[1]: Starting User Manager for UID 105...
Okt 02 20:30:50 scout systemd-logind[1920]: New session 5 of user sddm.
Okt 02 20:30:50 scout systemd[1]: Started Session 5 of user sddm.
Okt 02 20:30:50 scout systemd[3674]: pam_unix(systemd-user:session): session opened for user sddm by (uid=0)
Okt 02 20:30:50 scout systemd[3674]: Startup finished in 14ms.
Okt 02 20:30:50 scout systemd[1]: Started User Manager for UID 105.
Okt 02 20:30:50 scout sddm-helper[3670]: pam_ck_connector(sddm-greeter:session): nox11 mode, ignoring PAM_TTY :0
Okt 02 20:30:50 scout sddm[3660]: Greeter session started successfully
Okt 02 20:30:51 scout sddm-greeter[3680]: Reading from "/usr/share/xsessions/plasma.desktop"
Okt 02 20:30:51 scout sddm-greeter[3680]: Reading from "/usr/share/xsessions/failsafe.desktop"
Okt 02 20:30:51 scout sddm-greeter[3680]: Connected to the daemon.
Okt 02 20:30:51 scout sddm[3660]: Message received from greeter: Connect
Okt 02 20:30:51 scout sddm-greeter[3680]: Message received from daemon: Capabilities
Okt 02 20:30:51 scout sddm-greeter[3680]: Message received from daemon: HostName
Okt 02 20:30:51 scout sddm-greeter[3680]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
Okt 02 20:30:51 scout sddm-helper[3670]: [PAM] Ended.
Okt 02 20:30:51 scout sddm[3660]: Auth: sddm-helper exited successfully
Okt 02 20:30:51 scout sddm[3660]: Greeter stopped.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.9 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sddm depends on:
ii  adduser                       3.113+nmu3
ii  debconf [debconf-2.0]         1.5.57
ii  libc6                         2.19-22
ii  libgcc1                       1:5.2.1-18
ii  libpam0g                      1.1.8-3.1
ii  libqt5core5a                  5.4.2+dfsg-9
ii  libqt5dbus5                   5.4.2+dfsg-9
ii  libqt5gui5                    5.4.2+dfsg-9
ii  libqt5network5                5.4.2+dfsg-9
ii  libqt5qml5                    5.4.2-6
ii  libqt5quick5                  5.4.2-6
ii  libstdc++6                    5.2.1-18
ii  libsystemd0                   226-4
ii  libxcb-xkb1                   1.10-3+b1
ii  libxcb1                       1.10-3+b1
ii  qml-module-qtquick2           5.4.2-6
ii  sddm-theme-maui [sddm-theme]  0.12.0-4

sddm recommends no packages.

Versions of packages sddm suggests:
ii  libpam-kwallet5  5.4.1-1

-- debconf information:
* shared/default-x-display-manager: sddm
  sddm/daemon_name: /usr/bin/sddm

--- End Message ---
--- Begin Message ---
Control: severity -1 normal

¡Hola Philipp!

El 2015-10-02 a las 20:35 +0200, Philipp Matthias Hahn escribió:
Package: sddm Version: 0.12.0-4 Severity: important

on reboot I get a black screen. After much searching I found the following error message:

Okt 02 20:23:38 scout sddm-greeter[3280]: Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)

I think the problems started after an upgrade of the NVidia drivert to 340.93-X.

The underlying issue seems to be a proble in the nvidia drivers.

If the greeter fails to start, to proper error handling is apprecated.

I'm not sure what should sddm should do when X fails to start, other than log the information to the syslog and/or journald (which it already does).

Also, when using systemd, systemd would detect that it failed several times service and start throttling it, or setting it in a failed state, so you should be able to use the terminal and fix whatever is needed. This approach of letting something else take care of the issues is part of the "simple" design.

I'm closing the issue as I don't see anything that can be done from the packaging side of sddm. If you have a clear idea, it might be better to contact upstream about it.

Happy hacking,
--
Porque no respeta el orden natural en el que se leen las cosas
> ¿Por qué contestar al principio del mensaje es malo?
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply to: