Screen resize causes crash on NV50 (NV98) in nouveau (bisected)
Submitted by Maris Nartiss
Assigned to Nouveau Project
Description
Created attachment 109296
A Xorg log file of failing session
Starting with "[86024cee] glamor: initial support (no dri)" is not possible to configure a secondary monitor while running KDE 4.14.2.
Steps to reproduce:
Version A:
- while a KDE session is open, plug in a secondary monitor
- use KDE display configuration tool to enable second monitor
- X11 server gets restarted -> KDM window appears
Version B:
* start system with a secondary monitor attached
* observe how system is running in a "clone" mode (there is output on secondary monitor)
* log in in KDM
* observe how X11 gets restarted -> KDM window appears
Solution - use any revision before 86024cee
Unfortunately log files are empty - there are no meaninful messages that could shead a light on the issue. No crash is recorded, xorgsession-errors are just indicating on IO error while connecting to X11;
There is some issue with EDID, although KDE monitor configuration displays correct information. dmesg snip:
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/kernel-3.17.2 root=/dev/sda2 ro nouveau.noaccel=1 resume=/dev/sda6
[ 13.310327] nouveau 0000:01:00.0: irq 36 for MSI/MSI-X
[ 14.481036] fbcon: nouveaufb (fb0) is primary device
[ 14.818215] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[ 14.818217] nouveau 0000:01:00.0: registered panic notifier
[ 14.832075] [drm] Initialized nouveau 1.2.0 20120801 for 0000:01:00.0 on minor 0
[ 103.530600] Raw EDID:
[ 103.530603] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530605] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530605] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530606] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530607] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530608] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530609] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530610] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 103.530614] nouveau 0000:01:00.0: VGA-1: EDID block 0 invalid.
[ 103.530617] nouveau E[ DRM] DDC responded, but no EDID for VGA-1
git bisect start
# bad: [3fb97d78] fix null pointer deref
git bisect bad 3fb97d78
# good: [480f0998] bump to 1.0.10 for release
git bisect good 480f0998
# bad: [f0fa8313] dri2: Enable sync of bufferswaps to Vblank by default.
git bisect bad f0fa8313
# bad: [81148bb1] glamor: provide dri3 support when enabled
git bisect bad 81148bb1
# good: [b24cae0b] dri2: move "is supported" checks out of nv_driver.c
git bisect good b24cae0b
# good: [4b138ab1] merge nv_dma.c into nv_accel_common.c
git bisect good 4b138ab1
# good: [fd0ce883] add support for maxwell, minus Xv/renderaccel
git bisect good fd0ce883
# bad: [86024cee] glamor: initial support (no dri)
git bisect bad 86024cee
# first bad commit: [86024cee] glamor: initial support (no dri)
**Attachment 109296**, "A Xorg log file of failing session":
Xorg.0.log.old