Bug#833478: xserver-xorg: Random brief (1s) screen-blanking with modesetting driver on intel hw

2016-08-19 Thread Stefano Rivera
Upgraded to linux 4.7.0-1 and now I'm seeing similar symptoms on the eDP
panel.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272



Bug#833478: xserver-xorg: Random brief (1s) screen-blanking with modesetting driver on intel hw

2016-08-04 Thread Stefano Rivera
Package: xserver-xorg
Version: 1:7.7+16
Severity: normal

Hardware: Lenovo X250 (Intel Graphics), with 2xDELL U2713HM connected
via docking station's Display Ports.

Since upgrading to the modesetting driver, the monitor I'm currently
focussed on often goes blank for a second, while I'm working. The others
are unaffected. I'm assuming that the display port connection is
resetting, because if I have a monitor menu up, when triggering the bug,
it gets closed, as the screen blanks. Nothing gets logged.

It seems to be usually caused by opening a terminal or pressing a key in
a terminal just after switching focus, but I can't explain any of that
:)

It seems to happen less often if I turn one of the 3 monitors off. And
I've never seen it happen on the internal eDP panel, only on the DP Dell
monitors.

Using the intel driver avoids the problem, but it seems to have picked
up other odd rendering bugs around the same time. Windows flicker
between previous and old contents.

Seen with Linux 4.6.0-1 and 4.7.0-rc7.

SR

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Apr  7  2015 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul 19 20:00 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation Broadwell-U 
Integrated Graphics [8086:1616] (rev 09)

/etc/X11/xorg.conf does not exist.

Contents of /etc/X11/xorg.conf.d:
-
total 4
-rw-r--r-- 1 root root 612 Apr  7  2015 trackpoint.conf

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 4.7.0-rc7-amd64 (debian-ker...@lists.debian.org) (gcc version 
5.4.0 20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.7~rc7-1~exp1 (2016-07-14)

Xorg X server log files on system:
--
-rw-r--r-- 1 root root 25596 Oct 31  2015 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 63683 Aug  4 14:52 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[12.961] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[12.961] X Protocol Version 11, Revision 0
[12.961] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[12.961] Current Operating System: Linux smetana 4.7.0-rc7-amd64 #1 SMP 
Debian 4.7~rc7-1~exp1 (2016-07-14) x86_64
[12.961] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-rc7-amd64 
root=UUID=bf1a1681-df92-4142-85d1-3a14902d6615 ro syscall.x32=y quiet
[12.962] Build Date: 20 July 2016  05:14:41AM
[12.962] xorg-server 2:1.18.4-1 (http://www.debian.org/support) 
[12.962] Current version of pixman: 0.33.6
[12.962]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[12.962] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[12.962] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Aug  4 14:25:18 
2016
[12.967] (==) Using config directory: "/etc/X11/xorg.conf.d"
[12.967] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[12.971] (==) No Layout section.  Using the first Screen section.
[12.971] (==) No screen section available. Using defaults.
[12.971] (**) |-->Screen "Default Screen Section" (0)
[12.971] (**) |   |-->Monitor ""
[12.971] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[12.971] (==) Automatically adding devices
[12.971] (==) Automatically enabling devices
[12.971] (==) Automatically adding GPU devices
[12.971] (==) Max clients allowed: 256, resource mask: 0x1f
[12.973] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[12.973]Entry deleted from font path.
[12.974] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[12.974] (==) ModulePath set to "/usr/lib/xorg/modules"
[12.974] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[12.974] (II) Loader magic: 0x5638e348edc0
[12.974] (II) Module ABI versions:
[12.974]X.Org ANSI C Emulation: 0.4
[12.974]X.Org Video Driver: 20.0
[12.974]X.Org XInput driver : 22.1
[12.974]X.Org Server Extension : 9.0
[12.975] (++) using VT number 7

[12.975] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[