Bug 104698 - crashes when monitor is turned off or turned on
Summary: crashes when monitor is turned off or turned on
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: 7.7 (2012.06)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-19 09:52 UTC by Valdas
Modified: 2019-12-04 09:35 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg log for comment no. 2 (52.97 KB, text/plain)
2018-01-19 10:26 UTC, Valdas
no flags Details
kern log for comment no. 2 (92.41 KB, text/plain)
2018-01-19 10:36 UTC, Valdas
no flags Details
kernel log for comment no. 4 (97.04 KB, text/plain)
2018-01-19 18:28 UTC, Valdas
no flags Details
xorg log for comment no. 4 (46.95 KB, text/plain)
2018-01-19 18:28 UTC, Valdas
no flags Details
old xorg log for comment no. 4 (39.51 KB, text/plain)
2018-01-19 18:29 UTC, Valdas
no flags Details

Description Valdas 2018-01-19 09:52:58 UTC
Setup:
 - kubuntu 17.10;
 - kernel v4.13.0-25-generic;
 - plasma v5.11.5;
 - QT: 5.9.1;
 - video card NVIDIA GTX 1080Ti;
 - video driver: nouveau (v1.0.15-2);
 - primary monitor: BENQ connected through DisplayPort;
 - secondary monitor (smaller resolution): LG connected through HDMI->VGA converter;
 - secondary monitor is on the left of primary monitor;

Problem:
 - if I turn off primary monitor when logged in then xorg crashes and login screen appears;
 - if I turn on primary monitor after log on then xorg crashes and login screen appears;

After xorg crash I still can see picture (login screen) on secondary monitor.

Entries from kernel log (several crashes after I played with power button of primary monitor):

2018-01-19 10:21	usb 1-6	USB disconnect, device number 2
2018-01-19 10:21	nouveau 0000	6:00.0: disp: 0x00006541[0]: INIT_GENERIC_CONDITON: unknown 0x07
2018-01-19 10:21	show_signal_msg	10 callbacks suppressed
2018-01-19 10:21		kscreen_backend[1444]: segfault at 10 ip 00007ff3a9466968 sp 00007ffe1faae640 error 4 in KSC_XRandR.so[7ff3a944e000+21000]
2018-01-19 10:21	nouveau 0000	6:00.0: gr: FECS falcon already acquired by gr!
2018-01-19 10:21	nouveau 0000	6:00.0: gr: init failed, -16
2018-01-19 10:21	usb 1-6	new high-speed USB device number 3 using xhci_hcd
2018-01-19 10:21	usb 1-6	New USB device found, idVendor=05e3, idProduct=0608
2018-01-19 10:21	usb 1-6	New USB device strings: Mfr=0, Product=1, SerialNumber=0
2018-01-19 10:21	usb 1-6	Product: USB2.0 Hub
2018-01-19 10:21	hub 1-6	.0: USB hub found
2018-01-19 10:21	hub 1-6	.0: 4 ports detected
2018-01-19 10:22		kscreen_backend[3140]: segfault at 14 ip 00007f207d87ebb2 sp 00007ffd44f5efa0 error 4 in KSC_XRandR.so[7f207d86a000+21000]
2018-01-19 10:22	nouveau 0000	6:00.0: gr: FECS falcon already acquired by gr!
2018-01-19 10:22	nouveau 0000	6:00.0: gr: init failed, -16
2018-01-19 10:22	usb 1-6	USB disconnect, device number 3
2018-01-19 10:22	nouveau 0000	6:00.0: disp: 0x00006541[0]: INIT_GENERIC_CONDITON: unknown 0x07
2018-01-19 10:22		kscreen_backend[3455]: segfault at 10 ip 00007fb6d7df6968 sp 00007ffd1dd2c7c0 error 4 in KSC_XRandR.so[7fb6d7dde000+21000]
2018-01-19 10:22	nouveau 0000	6:00.0: gr: FECS falcon already acquired by gr!
2018-01-19 10:22	nouveau 0000	6:00.0: gr: init failed, -16
2018-01-19 10:23	usb 1-6	new high-speed USB device number 4 using xhci_hcd
2018-01-19 10:23	usb 1-6	New USB device found, idVendor=05e3, idProduct=0608
2018-01-19 10:23	usb 1-6	New USB device strings: Mfr=0, Product=1, SerialNumber=0
2018-01-19 10:23	usb 1-6	Product: USB2.0 Hub
2018-01-19 10:23	hub 1-6	.0: USB hub found
2018-01-19 10:23	hub 1-6	.0: 4 ports detected
2018-01-19 10:23		kscreen_backend[4005]: segfault at 14 ip 00007f9292aafbb2 sp 00007fffa169f410 error 4 in KSC_XRandR.so[7f9292a9b000+21000]
2018-01-19 10:23	nouveau 0000	6:00.0: gr: FECS falcon already acquired by gr!
2018-01-19 10:23	nouveau 0000	6:00.0: gr: init failed, -16
2018-01-19 10:23	nouveau 0000	6:00.0: gr: init failed, -16
Comment 1 Valdas 2018-01-19 10:26:40 UTC
Created attachment 136844 [details]
xorg log for comment no. 2
Comment 2 Valdas 2018-01-19 10:33:49 UTC
Hmmm.. I cannot reproduce previous behavior. Now it behaves differently:
 - if I turn off primary monitor when I logged in then all windows and taskbar jumps in to secondary monitor (acts like primary?) which still displays picture;
 - if I turn on primary monitor then all windows and taskbar still remains in secondary monitor; primary monitor displays "mo signal" and goes power save.
 Attaching xorg and kernel logs.

P.S. during testing I gought situation when after boot up picture in primary monitor rapidly changes between login screen and black screen.
Comment 3 Valdas 2018-01-19 10:36:42 UTC
Created attachment 136845 [details]
kern log for comment no. 2
Comment 4 Valdas 2018-01-19 18:27:12 UTC
 I reproduced xorg crash (as in description) again. I think key is that secondary monitor was turned off (power save mode like: cable connected but power button blinking) during boot up. Then I turned off primary display (crash), then logged in and turned on primary display (crash), then again logged in.
 Attached kernel log and both xorg logs.
Comment 5 Valdas 2018-01-19 18:28:15 UTC
Created attachment 136854 [details]
kernel log for comment no. 4
Comment 6 Valdas 2018-01-19 18:28:47 UTC
Created attachment 136855 [details]
xorg log for comment no. 4
Comment 7 Valdas 2018-01-19 18:29:33 UTC
Created attachment 136856 [details]
old xorg log for comment no. 4
Comment 8 Martin Peres 2019-12-04 09:35:45 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/403.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.