Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-10-04 Thread Nicolas Le Cam
Package: nvidia-graphics-drivers-legacy-340xx
Version: 340.93-1
Followup-For: Bug #799948

Dear Maintainer,

Same problem here while upgrading from legacy-340xx version 340.76-6
to 340.93-1.
OTOH glx-diversions wasn't upgraded, but it really seems to be the same
problem.

Adding group video to the Debian-gdm user fixes the problem for me.

regards,
Nicolas

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'testing'), (300, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-- Package-specific info:
uname -a:
Linux misaki 4.2.0-1-amd64 #1 SMP Debian 4.2.1-2 (2015-09-27) x86_64 GNU/Linux

/proc/version:
Linux version 4.2.0-1-amd64 (debian-ker...@lists.debian.org) (gcc
version 4.9.3 (Debian 4.9.3-4) ) #1 SMP Debian 4.2.1-2 (2015-09-27)

/proc/driver/nvidia/version:
NVRM version: NVIDIA UNIX x86_64 Kernel Module  340.93  Wed Aug 19
16:49:15 PDT 2015
GCC version:  gcc version 4.9.3 (Debian 4.9.3-4)

lspci 'VGA compatible controller [0300]':
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86M
[Quadro NVS 135M] [10de:042b] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Dell Device [1028:01f9]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
SERR- 
Kernel driver in use: nvidia

dmesg:
[0.00] Console: colour VGA+ 80x25
[0.264448] vgaarb: setting as boot device: PCI::01:00.0
[0.264448] vgaarb: device added:
PCI::01:00.0,decodes=io+mem,owns=io+mem,locks=none
[0.264448] vgaarb: loaded
[0.264448] vgaarb: bridge control possible :01:00.0
[0.489509] Linux agpgart interface v0.103
[1.586071] [Firmware Bug]: Duplicate ACPI video bus devices for
the same VGA controller, please try module parameter
"video.allow_duplicates=1"if the current driver doesn't work.
[2.444345] nvidia: module license 'NVIDIA' taints kernel.
[2.472232] vgaarb: device changed decodes:
PCI::01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
[2.472734] [drm] Initialized nvidia-drm 0.0.0 20150116 for
:01:00.0 on minor 0
[2.472746] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  340.93
Wed Aug 19 16:49:15 PDT 2015

OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root   15 Oct  4 09:35 /etc/alternatives/glx ->
/usr/lib/nvidia
lrwxrwxrwx 1 root root   44 Oct  4 09:35
/etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libEGL.so.1
lrwxrwxrwx 1 root root   41 Oct  4 09:35
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   41 Oct  4 09:35
/etc/alternatives/glx--libGL.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   43 Oct  4 09:35
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   43 Oct  4 09:35
/etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1
lrwxrwxrwx 1 root root   57 Oct  4 09:35
/etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu ->
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root   57 Oct  4 09:35
/etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu ->
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root   54 Oct  4 09:35
/etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu ->
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root   54 Oct  4 09:35
/etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu ->
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root   49 Oct  4 09:35
/etc/alternatives/glx--libnvidia-cfg.so.1-i386-linux-gnu ->
/usr/lib/i386-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root   51 Oct  4 09:35
/etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu ->
/usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root   25 Oct  4 09:35
/etc/alternatives/glx--linux-libglx.so -> /usr/lib/nvidia/libglx.so
lrwxrwxrwx 1 root root   42 Oct  4 09:35
/etc/alternatives/glx--nvidia-blacklists-nouveau.conf ->
/etc/nvidia/nvidia-blacklists-nouveau.conf
lrwxrwxrwx 1 root root   36 Oct  4 09:35
/etc/alternatives/glx--nvidia-bug-report.sh ->
/usr/lib/nvidia/nvidia-bug-report.sh
lrwxrwxrwx 1 root root   29 Oct  4 09:35
/etc/alternatives/glx--nvidia_drv.so -> /usr/lib/nvidia/nvidia_drv.so
lrwxrwxrwx 1 root root   28 Oct  4 09:35 /etc/alternatives/nvidia
-> /usr/lib/nvidia/legacy-340xx
lrwxrwxrwx 1 root root   57 Oct  4 09:35

Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-28 Thread Pascal Obry
Just one precison, I'm using GDM (not sddm) and have the same issue.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-27 Thread Pascal Obry

Same for me.

I confirm that reverting glx-diversion and *nvidia* from unstable to
testing fixes this issue.

> sudo apt-get install -t testing glx-alternative-nvidia/testing 
> glx-diversions/testing nvidia-kernel-dkms/testing nvidia-driver/testing 
> nvidia-driver-bin/testing xserver-xorg-video-nvidia/testing 
> libegl1-nvidia/testing nvidia-vdpau-driver/testing libgles1-nvidia/testing 
> libnvidia-eglcore/testing libnvidia-eglcore/testing

Didn't tried the Guy suggestion.

-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://v2p.fr.eu.org
  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B



Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-25 Thread Luca Boccassi
On Sep 25, 2015 00:45, "Diederik de Haas"  wrote:
>
> On Friday 25 September 2015 01:12:58 Diederik de Haas wrote:
> > It wasn't a problem to log into a console with Ctl+Alt+F1 and is how I
> > collected various info from the boot process, see attachments.
> > The last line from kern.log seems particular relevant.
>
> My guess was correct.
>
> With the crash ('grep sddm-greeter /var/log/syslog'):
> Sep 25 00:11:42 bagend sddm-greeter[1213]: Reading from
"/usr/share/xsessions/plasma.desktop"
> Sep 25 00:11:42 bagend sddm-greeter[1213]: Reading from
"/usr/share/xsessions/failsafe.desktop"
> Sep 25 00:11:42 bagend sddm-greeter[1213]: Connected to the daemon.
> Sep 25 00:11:44 bagend sddm-greeter[1213]: QObject::installEventFilter():
Cannot filter events for objects in a different thread.
> Sep 25 00:11:46 bagend sddm-greeter[1213]: QObject::installEventFilter():
Cannot filter events for objects in a different thread.
> Sep 25 00:11:48 bagend sddm-greeter[1213]:
file:///usr/share/sddm/themes/breeze/components/InfoPane.qml:52:22: Unable
to assign [undefined] to int
> Sep 25 00:11:48 bagend sddm-greeter[1213]: QDBusConnection: name
'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.8'
> Sep 25 00:11:48 bagend sddm-greeter[1213]: Message received from daemon:
Capabilities
> Sep 25 00:11:48 bagend sddm-greeter[1213]: Message received from daemon:
HostName
> Sep 25 00:11:48 bagend sddm-greeter[1213]: 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)

Hello,

Andreas, in the thread about the kernel module I had a similar error with
gdm, again about the GL context. Could they be related?

Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]:
gnome-session-check-accelerated: Helper exited with code 256
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: Current serial
number in output stream:  26
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: Serial number of
failed request:  25
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: Value in failed
request:  0x0
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: Minor opcode of
failed request:  3 (X_GLXCreateContext)
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: Major opcode of
failed request:  155 (GLX)
Sep 18 22:13:45 luca-desktop /usr/bin/dbus-launch[1882]: X Error of failed
request:  BadValue (integer parameter out of range for operation)

I should have time to do more tests this weekend if necessary.

Kind regards,
Luca Boccassi


Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-25 Thread Diederik de Haas
On Friday 25 September 2015 12:44:17 Diederik de Haas wrote:
> What was funny though is that after the kdm login screen and providing my 
> credentials, it seemed to switch over to sddm.

Apparently not sddm, as that was now purged, but likely something from breeze.

> I'll now purge sddm and see what happens ...

That worked too.
So it works with kdm, but not with sddm. And judging by the reports from Ara 
and Luca it also doesn't work with gdm.
Could it be that sddm and gdm use/invoke new(er) technologies that break 
things? As I said earlier kdm is dead upstream, so it's codebase may be old.

signature.asc
Description: This is a digitally signed message part.


Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-25 Thread Diederik de Haas
On Friday 25 September 2015 01:12:58 Diederik de Haas wrote:
> > Does any other display manager work with 0.6.0? (kdm seems to work for
> > me with the changes from 0.6.0).
> 
> I'll now (also) install kdm

I installed kdm and selected that as the default ... and it didn't crash!
What was funny though is that after the kdm login screen and providing my 
credentials, it seemed to switch over to sddm.
I'll now purge sddm and see what happens ...

signature.asc
Description: This is a digitally signed message part.


Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-24 Thread Diederik de Haas
Package: glx-diversions
Version: 0.5.1
Severity: normal

Earlier today I upgraded to version 0.6.0 of glx-diversions and
glx-alternative-mesa and glx-alternative-nvidia and after a reboot the
sddm-greeter crashed which made it impossible to start my KDE Plasma 5
desktop.
After downgrading to version 0.5.1 of those packages the sddm-greeter
did start and I'm now writing this bug report from Plasma 5.

I have 2 crash report from sddm-greeter and will attach to this bug
report later.

If you need more info and/or want me to do tests, let me know.

Regards,
  Diederik

-- Package-specific info:
Diversions:
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 by 
glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by 
glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by 
glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by 
glx-diversions
diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 
by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so to /usr/lib/mesa-diverted/libGLESv1_CM.so 
by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/libGLESv2.so to /usr/lib/mesa-diverted/libGLESv2.so by 
glx-diversions
diversion of /usr/lib/libGLESv2.so.2 to /usr/lib/mesa-diverted/libGLESv2.so.2 
by glx-diversions
diversion of /usr/lib/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1 by glx-diversions

Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-24 Thread Diederik de Haas
On Friday 25 September 2015 01:12:58 Diederik de Haas wrote:
> It wasn't a problem to log into a console with Ctl+Alt+F1 and is how I 
> collected various info from the boot process, see attachments.
> The last line from kern.log seems particular relevant.

My guess was correct.

With the crash ('grep sddm-greeter /var/log/syslog'):
Sep 25 00:11:42 bagend sddm-greeter[1213]: Reading from 
"/usr/share/xsessions/plasma.desktop"
Sep 25 00:11:42 bagend sddm-greeter[1213]: Reading from 
"/usr/share/xsessions/failsafe.desktop"
Sep 25 00:11:42 bagend sddm-greeter[1213]: Connected to the daemon.
Sep 25 00:11:44 bagend sddm-greeter[1213]: QObject::installEventFilter(): 
Cannot filter events for objects in a different thread.
Sep 25 00:11:46 bagend sddm-greeter[1213]: QObject::installEventFilter(): 
Cannot filter events for objects in a different thread.
Sep 25 00:11:48 bagend sddm-greeter[1213]: 
file:///usr/share/sddm/themes/breeze/components/InfoPane.qml:52:22: Unable to 
assign [undefined] to int
Sep 25 00:11:48 bagend sddm-greeter[1213]: QDBusConnection: name 
'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.8'
Sep 25 00:11:48 bagend sddm-greeter[1213]: Message received from daemon: 
Capabilities
Sep 25 00:11:48 bagend sddm-greeter[1213]: Message received from daemon: 
HostName
Sep 25 00:11:48 bagend sddm-greeter[1213]: 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) 

Normal boot (after downgrading glx-diversions):
Sep 25 00:46:43 bagend sddm-greeter[1282]: Reading from 
"/usr/share/xsessions/plasma.desktop"
Sep 25 00:46:43 bagend sddm-greeter[1282]: Reading from 
"/usr/share/xsessions/failsafe.desktop"
Sep 25 00:46:44 bagend sddm-greeter[1282]: Connected to the daemon.
Sep 25 00:46:45 bagend sddm-greeter[1282]: QObject::installEventFilter(): 
Cannot filter events for objects in a different thread.
Sep 25 00:46:47 bagend sddm-greeter[1282]: QObject::installEventFilter(): 
Cannot filter events for objects in a different thread.
Sep 25 00:46:49 bagend sddm-greeter[1282]: 
file:///usr/share/sddm/themes/breeze/components/InfoPane.qml:52:22: Unable to 
assign [undefined] to int
Sep 25 00:46:49 bagend sddm-greeter[1282]: QDBusConnection: name 
'org.freedesktop.UDisks2' had owner '' but we thought it was ':1.8'
Sep 25 00:46:49 bagend sddm-greeter[1282]: Message received from daemon: 
Capabilities
Sep 25 00:46:49 bagend sddm-greeter[1282]: Message received from daemon: 
HostName
Sep 25 00:46:52 bagend sddm-greeter[1282]: Reading from 
"/usr/share/xsessions/plasma.desktop"
Sep 25 00:46:53 bagend sddm-greeter[1282]: Message received from daemon: 
LoginSucceeded

HTH

signature.asc
Description: This is a digitally signed message part.


Bug#799948: glx-diversions: Upgrade to version 0.6.0 made sddm-greeter crash

2015-09-24 Thread Andreas Beckmann
Hmm, weird.

Maybe the Xorg logfiles could be helpful.
Does sddm-greeter write a logfile? The backtrace at least mentions
  QMessageLogger::fatal(char const*, ...) const
so there should be some output somewhere.

Does any other display manager work with 0.6.0? (kdm seems to work for
me with the changes from 0.6.0).

Can you log into the console/ssh into the machine even if sddm crashes?
The information collected by 'reportbug nvidia-driver' after the crash
should help debugging (don't submit that as a new bug report, but save
it and send the info here)


Andreas