[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
Vidar Hoel, it appears you may be hitting multiple bugs simultaneously. Given the call trace no longer appears, it would either be the latest mainline kernel fixes this one issue, or doesn't manifests the bug anymore. I'll mark this Confirmed given that the originally scoped issue isn't resolved. ** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
The tested kernel was: linux-image-4.10.0-041000rc2-generic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
I have now tested the new kernel for two days, and unfortunately, after several user switches I got a blank screen again :-( However, the kernel does not output any errors. So it seems this bug is not kernel related. Here is a log from lightdm, which is the only log I could find with an error: [+2816.49s] DEBUG: Seat seat0: Switching to user erling [+2816.49s] DEBUG: Seat seat0: Creating user session [+2816.49s] DEBUG: Session pid=3701: Started with service 'lightdm', username 'erling' [+2816.50s] DEBUG: Session pid=3701: Authentication complete with return value 7: Authentication failure [+2816.50s] DEBUG: Session pid=3701: Sending SIGTERM [+2816.50s] DEBUG: Seat seat0: Starting greeter to authenticate session [+2816.50s] DEBUG: Seat seat0: Creating greeter session [+2816.51s] DEBUG: Seat seat0: Creating display server of type x [+2816.51s] DEBUG: Using VT 9 [+2816.51s] DEBUG: Seat seat0: Starting local X display on VT 9 [+2816.51s] DEBUG: DisplayServer x-2: Logging to /var/log/lightdm/x-2.log [+2816.51s] DEBUG: DisplayServer x-2: Writing X server authority to /var/run/lightdm/root/:2 [+2816.51s] DEBUG: DisplayServer x-2: Launching X Server [+2816.51s] DEBUG: Launching process 3702: /usr/bin/X -core :2 -seat seat0 -auth /var/run/lightdm/root/:2 -nolisten tcp vt9 -novtswitch [+2816.51s] DEBUG: DisplayServer x-2: Waiting for ready signal from X server :2 [+2816.51s] DEBUG: Session pid=3701: Exited with return value 1 [+2816.51s] DEBUG: Seat seat0: Session stopped [+2816.66s] DEBUG: Seat seat0 changes active session to [+2816.92s] DEBUG: Got signal 10 from process 3702 [+2816.92s] DEBUG: DisplayServer x-2: Got signal from X server :2 [+2816.92s] DEBUG: DisplayServer x-2: Connecting to XServer :2 [+2816.92s] DEBUG: DisplayServer x-2: Error connecting to XServer :2 [+2817.20s] DEBUG: Got signal 10 from process 3702 [+2817.49s] DEBUG: Got signal 10 from process 3702 (Last three lines pops up when I tried to switch user and the bug appeared). I assume this is an X/lightdm bug? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
Vidar Hoel, thank you for reporting this and helping make Ubuntu better. In order to allow additional upstream developers to examine the issue, at your earliest convenience, could you please test the latest upstream kernel available from http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D ? Please keep in mind the following: 1) The one to test is at the very top line at the top of the page (not the daily folder). 2) The release names are irrelevant. 3) The folder time stamps aren't indicative of when the kernel actually was released upstream. 4) Install instructions are available at https://wiki.ubuntu.com/Kernel/MainlineBuilds . If testing on your main install would be inconvenient, one may: 1) Install Ubuntu to a different partition and then test this there. 2) Backup, or clone the primary install. If the latest kernel did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this issue is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description: kernel-fixed-upstream kernel-fixed-upstream-X.Y-rcZ Where X, and Y are the first two numbers of the kernel version, and Z is the release candidate number if it exists. If the mainline kernel does not fix the issue, please add the following tags: kernel-bug-exists-upstream kernel-bug-exists-upstream-X.Y-rcZ Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream. Also, you don't need to apport-collect further unless specifically requested to do so. It is most helpful that after testing of the latest upstream kernel is complete, you mark this report Status Confirmed. Lastly, to keep this issue relevant to upstream, please continue to test the latest mainline kernel as it becomes available. Thank you for your help. ** Tags added: bios-outdated-0061 ** Changed in: linux (Ubuntu) Importance: Undecided => Low ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
I was tailing /var/log/kern.log when I switch to a new user, and then back to mine user again - then the screen goes blank. Here is the tail: Dec 26 17:35:25 nuc gnome-session-binary[3980]: Entering running state Dec 26 17:36:36 nuc kernel: [ 2890.006683] [ cut here ] Dec 26 17:36:36 nuc kernel: [ 2890.006725] WARNING: CPU: 1 PID: 1037 at /build/linux-7x12eW/linux-4.4.0/drivers/gpu/drm/drm_irq.c:1326 drm_wait_one_vblank+0x1b5/0x1c0 [drm]() Dec 26 17:36:36 nuc kernel: [ 2890.006728] vblank wait timed out on crtc 0 Dec 26 17:36:36 nuc kernel: [ 2890.006730] Modules linked in: cfg80211 snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep intel_rapl snd_pcm x86_pkg_temp_thermal intel_powerclamp corete mp kvm_intel snd_seq_midi snd_seq_midi_event kvm snd_rawmidi irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel cryptd snd_seq joydev snd_seq_device input_leds snd_timer snd mei_me lpc_ich mei so undcore mac_hid binfmt_misc parport_pc ppdev lp parport autofs4 hid_logitech_hidpp hid_logitech_dj usbhid hid i915 e1000e i2c_algo_bit drm_kms_helper ahci syscopyarea libahci sysfillrect sysimgblt fb_sys_ fops drm ptp pps_core video fjes Dec 26 17:36:36 nuc kernel: [ 2890.006795] CPU: 1 PID: 1037 Comm: Xorg Not tainted 4.4.0-57-generic #78-Ubuntu Dec 26 17:36:36 nuc kernel: [ 2890.006798] Hardware name: /DCP847SKE, BIOS GKPPT10H.86A.0060.2016.1021.1324 10/21/2016 Dec 26 17:36:36 nuc kernel: [ 2890.006801] 0286 3f24334e 8802117abb08 813f6f33 Dec 26 17:36:36 nuc kernel: [ 2890.006806] 8802117abb50 c0067b38 8802117abb40 810812d2 Dec 26 17:36:36 nuc kernel: [ 2890.006811] 880035667800 0002a4a0 Dec 26 17:36:36 nuc kernel: [ 2890.006816] Call Trace: Dec 26 17:36:36 nuc kernel: [ 2890.006825] [] dump_stack+0x63/0x90 Dec 26 17:36:36 nuc kernel: [ 2890.006831] [] warn_slowpath_common+0x82/0xc0 Dec 26 17:36:36 nuc kernel: [ 2890.006836] [] warn_slowpath_fmt+0x5c/0x80 Dec 26 17:36:36 nuc kernel: [ 2890.006842] [] ? finish_wait+0x55/0x70 Dec 26 17:36:36 nuc kernel: [ 2890.006864] [] drm_wait_one_vblank+0x1b5/0x1c0 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.006870] [] ? wake_atomic_t_function+0x60/0x60 Dec 26 17:36:36 nuc kernel: [ 2890.006923] [] intel_atomic_commit+0x43a/0x6f0 [i915] Dec 26 17:36:36 nuc kernel: [ 2890.006953] [] ? drm_atomic_set_crtc_for_connector+0x6f/0xe0 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.006981] [] drm_atomic_commit+0x37/0x60 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.006998] [] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper] Dec 26 17:36:36 nuc kernel: [ 2890.007024] [] drm_mode_set_config_internal+0x62/0x100 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.007050] [] drm_mode_setcrtc+0x3cc/0x4f0 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.007071] [] drm_ioctl+0x152/0x540 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.007096] [] ? drm_mode_setplane+0x1b0/0x1b0 [drm] Dec 26 17:36:36 nuc kernel: [ 2890.007102] [] do_vfs_ioctl+0x29f/0x490 Dec 26 17:36:36 nuc kernel: [ 2890.007106] [] ? __sb_end_write+0x21/0x30 Dec 26 17:36:36 nuc kernel: [ 2890.007112] [] ? vfs_write+0x15d/0x1a0 Dec 26 17:36:36 nuc kernel: [ 2890.007116] [] SyS_ioctl+0x79/0x90 Dec 26 17:36:36 nuc kernel: [ 2890.007122] [] entry_SYSCALL_64_fastpath+0x16/0x71 Dec 26 17:36:36 nuc kernel: [ 2890.007126] ---[ end trace a947275226443206 ]--- Dec 26 17:36:48 nuc kernel: [ 2902.392357] sysrq: SysRq : Emergency Sync Dec 26 17:36:48 nuc kernel: [ 2902.403506] Emergency Sync complete Dec 26 17:36:49 nuc kernel: [ 2903.028358] sysrq: SysRq : Emergency Remount R/O The tail starts with the user switch to a new user, and ends with me pressing ALT+SysRq+(S+U+B), to reboot the system. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1652644] Re: Switching users in Ubuntu/Ubuntu Gnome freezes graphics
** Attachment added: "kern.log" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+attachment/4796644/+files/kern.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652644 Title: Switching users in Ubuntu/Ubuntu Gnome freezes graphics To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1652644/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs