Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#24335 - [nvidia]gnome fails to resume properly

Attached to Project: Arch Linux
Opened by João Rodrigues (gothicknight) - Wednesday, 18 May 2011, 16:27 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 24 May 2011, 05:55 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After resuming the laptop the graphics become "damaged"? as if gnome-shell is trying to redraw.

The log shows the following:

----------------------------------------
May 18 16:46:03 Zeferino kernel: [18044.326208] gnome-settings-[3061]: segfault at 7f4ebd415210 ip 00007f4ebd415210 sp 00007fff00158de8 error 14 in libdbus-1.so.3.5.5[7f4ebda86000+42000]
May 18 16:46:03 Zeferino gnome-session[3025]: WARNING: Application 'gnome-settings-daemon.desktop' killed by signal
May 18 15:46:11 Zeferino rtkit-daemon[2901]: Successfully made thread 21110 of process 21110 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
May 18 16:46:12 Zeferino gdm-simple-greeter[21131]: Gtk-WARNING: gtkwidget.c:6778: widget not within a GtkWindow
May 18 16:46:12 Zeferino gdm-simple-greeter[21131]: WARNING: Unable to read from file /etc/arch-release
May 18 16:46:24 Zeferino gnome-session[21089]: Gdk-WARNING: The application 'gnome-session' lost its connection to the display :0;
most likely the X server was shut down or you killed/destroyed
the application.
May 18 16:46:24 Zeferino gdm-simple-slave[21062]: WARNING: Child process -21088 was already dead.
May 18 16:46:24 Zeferino gdm-simple-slave[21062]: WARNING: Unable to kill D-Bus daemon
May 18 15:46:27 Zeferino rtkit-daemon[2901]: Successfully made thread 21230 of process 21230 (/usr/bin/pulseaudio) owned by '120' high priority at nice level -11.
May 18 16:46:28 Zeferino kernel: [18065.194722] at-spi-bus-laun[21112]: segfault at 968 ip 00007f02bc8d7a21 sp 00007fff4d89b530 error 4 in libX11.so.6.3.0[7f02bc8b3000+139000]
May 18 16:46:28 Zeferino gdm-simple-greeter[21240]: Gtk-WARNING: gtkwidget.c:6778: widget not within a GtkWindow
May 18 16:46:28 Zeferino gdm-simple-greeter[21240]: WARNING: Unable to read from file /etc/arch-release
May 18 16:46:37 Zeferino gdm-simple-greeter[21240]: Gdk-WARNING: gdm-simple-greeter: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
May 18 16:46:37 Zeferino gnome-session[21197]: Gdk-WARNING: gnome-session: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
----------------------------------------

I'll try to attach GDB to the applications and post here the backtrace.


Additional info:
* package version(s)
gnome-settings-daemon 3.0.1-2
xorg-server 1.10.1-1
nvidia 270.41.06-1
nvidia-utils 270.41.06-1
systemd 26-1
systemd-arch-units 20110429-1


* config and/or log files etc.


Steps to reproduce:
Just suspend/resume the laptop with specified environment as it happens every time :(
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Tuesday, 24 May 2011, 05:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  nvidia 270.41.19-1
Comment by Ionut Biru (wonder) - Wednesday, 18 May 2011, 16:40 GMT
nvidia bug
Comment by João Rodrigues (gothicknight) - Wednesday, 18 May 2011, 16:40 GMT
Update: It seems the problem may be in some part associated with systemd usage.

When using "normal" init scripts I did get at first a similar effect on gnome desktop with the following message:

[ 2488.596839] gnome-shell[3311]: segfault at 8 ip 00007f272dac9592 sp 00007fff5bed98d8 error 4 in libnvidia-glcore.so.270.41.06[7f272cb76000+144e000]

But after restarting (only) GDM as i can always switch to VT and attaching GDB I no longer have any issues while resuming from suspend.

Summarizing:
Using systemd I always get the described issue after resuming from suspend;
Using normal init scripts I sometimes (1 so far) get the nvidia-glcore segfault.
Comment by Jelle van der Waa (jelly) - Wednesday, 18 May 2011, 19:12 GMT
it's an nvidia bug as ioni told you, we can't fix the binary blob that's nvidia.
Comment by João Rodrigues (gothicknight) - Wednesday, 18 May 2011, 23:24 GMT
Hi jelly, wonder.

The second is most likely an nvidia bug, but how about the first?

Loading...