#766049 xserver-xorg-core: Blank primary screen when seocndary attached

Package:
xserver-xorg-core
Source:
xorg-server
Description:
Xorg X server - core server
Submitter:
Takis Diakoumis
Date:
2015-06-05 09:48:21 UTC
Severity:
normal
#766049#5
Date:
2014-10-20 12:18:14 UTC
From:
To:
Dear Maintainer,

[ issues with reportbug #758619 prevented me from using it completely
to send this report so I generated using reportbug --template ]

Since upgrading from 2.:1.16.0.901-1 to the above version I have been
unable to use a second screen attached to my laptop. During this
update, I also went from linux-image-amd64 (3.14+59) to 3.16+61 – not
sure if its relevant.

I have Debian Jessie on a Thinkpad T440s.

I normally boot with the second monitor attached and it boots fine
into gdm. Since the update, booting with the monitor attached blanks
the laptop screen (primary screen) as X starts. The second screen
works fine as a second screen – as in the primary display is off but
it behaves as if it is there. The only way out here is to ctrl-alt-f1
to a terminal and reboot.

Booting with the second screen unplugged works fine for the primary
laptop screen. Attaching the second screen when logged into gnome
causes the primary laptop screen to blank again. From here if I
ctrl-alt-f1 and then ctrl-alt-f7 back into X I sometimes get them both
working as expected. Sometimes this too doesn't work and I have to
reboot again.

This worked fine until the update noted above. I have fiddled with
various display options to no avail.

The segmentation fault at the address shown in Xorg.0.log happens consistently.

Please let me know if there is any further info I can provide.

Thanks
Takis

#766049#10
Date:
2014-10-20 15:29:21 UTC
From:
To:
Control: severity -1 normal
Control: tag -1 moreinfo
Actually this seems more likely to be a kernel issue than an X one.
Is the screen actually dead, or does it "just" reset the brightness to
minimum?  I.e. do the brightness keys or poking
/sys/class/backlight/*/brightness work?

Cheers,
Julien

#766049#19
Date:
2014-10-21 12:20:46 UTC
From:
To:
hi

thanks for the prompt reply. you were quite right with the brightness
suggestion - it was down to zero on the laptop screen when gdm loads.
i didn't think to try that...

after increasing the brightness and logging in, it went back to zero
as my gnome session started and i needed to bump the brightness up
again. so something is definitely wrong here - not sure its xorg
anymore - maybe gdm ??

that seg fault in the xorg log not significant?

i will try and fiddle with the gdm init as a work-around and see if i
can get it to flick the brightness up on the gdm login screen and
post-login as the gnome session starts.

again, this has been recent since the xorg update - previously all was
well. the complete apt update performed just before all this began is
below for reference.

thanks.
Takis

Upgraded the following packages:
bash (4.3-9.1) to 4.3-9.2
consolekit (0.4.6-4) to 0.4.6-5
dconf-cli (0.20.0-2) to 0.22.0-1
dconf-editor (0.20.0-2) to 0.22.0-1
dconf-gsettings-backend (0.20.0-2) to 0.22.0-1
dconf-service (0.20.0-2) to 0.22.0-1
dconf-tools (0.20.0-2) to 0.22.0-1
gir1.2-gdata-0.0 (0.15.2-1) to 0.16.0-1
gir1.2-gdesktopenums-3.0 (3.12.2-1) to 3.14.0-1
gir1.2-gnomebluetooth-1.0 (3.12.0-5) to 3.14.0-1
gir1.2-gnomedesktop-3.0 (3.12.2-2) to 3.14.0-1
gir1.2-gtkclutter-1.0 (1.5.4-2) to 1.6.0-1
gir1.2-gucharmap-2.90 (1:3.12.1-1) to 1:3.14.0-1
gir1.2-peas-1.0 (1.10.1-4) to 1.12.1-1
gir1.2-totem-plparser-1.0 (3.10.2-3) to 3.10.3-1
gnome-bluetooth (3.12.0-5) to 3.14.0-1
gnome-calculator (3.12.3-1) to 3.14.0-1
gnome-contacts (3.12.0-1+b2) to 3.14.0-1
gnome-desktop3-data (3.12.2-2) to 3.14.0-1
gnome-power-manager (3.12.2-1+b1) to 3.14.0-1
gnome-robots (1:3.8.1-2) to 1:3.14.0-1
gnome-user-share (3.10.2-1) to 3.14.0-1
gsettings-desktop-schemas (3.12.2-1) to 3.14.0-1
gucharmap (1:3.12.1-1) to 1:3.14.0-1
krb5-locales (1.12.1+dfsg-9) to 1.12.1+dfsg-10
libchamplain-0.12-0 (0.12.8-1) to 0.12.9-1
libchamplain-gtk-0.12-0 (0.12.8-1) to 0.12.9-1
libck-connector0 (0.4.6-4) to 0.4.6-5
libclutter-gtk-1.0-0 (1.5.4-2) to 1.6.0-1
libdconf1 (0.20.0-2) to 0.22.0-1
libgdata-common (0.15.2-1) to 0.16.0-1
libgdata19 (0.15.2-1) to 0.16.0-1
libgnome-bluetooth13 (3.12.0-5) to 3.14.0-1
libgnome-desktop-3-10 (3.12.2-2) to 3.14.0-1
libgssapi-krb5-2 (1.12.1+dfsg-9) to 1.12.1+dfsg-10
libgucharmap-2-90-7 (1:3.12.1-1) to 1:3.14.0-1
libjasper1 (1.900.1-debian1-2) to 1.900.1-debian1-2+b1
libk5crypto3 (1.12.1+dfsg-9) to 1.12.1+dfsg-10
libkrb5-3 (1.12.1+dfsg-9) to 1.12.1+dfsg-10
libkrb5support0 (1.12.1+dfsg-9) to 1.12.1+dfsg-10
libncurses5 (5.9+20140712-2) to 5.9+20140913-1
libncursesw5 (5.9+20140712-2) to 5.9+20140913-1
libpam-ck-connector (0.4.6-4) to 0.4.6-5
libpeas-1.0-0 (1.10.1-4) to 1.12.1-1
libpeas-common (1.10.1-4) to 1.12.1-1
libpipeline1 (1.3.0-1) to 1.3.1-1
libprotobuf9 (2.6.0-3) to 2.6.0-4
libslang2 (2.2.4-17) to 2.3.0-1
libtinfo5 (5.9+20140712-2) to 5.9+20140913-1
libtotem-plparser18 (3.10.2-3) to 3.10.3-1
linux-compiler-gcc-4.8-x86 (3.14.15-2) to 3.16.3-2
linux-headers-amd64 (3.14+59) to 3.16+61
linux-image-amd64 (3.14+59) to 3.16+61
linux-libc-dev (3.14.15-2) to 3.16.3-2
ncurses-base (5.9+20140712-2) to 5.9+20140913-1
ncurses-bin (5.9+20140712-2) to 5.9+20140913-1
ncurses-term (5.9+20140712-2) to 5.9+20140913-1
sound-juicer (3.12.0-2) to 3.14.0-1
task-desktop (3.24) to 3.27
task-english (3.24) to 3.27
task-gnome-desktop (3.24) to 3.27
task-laptop (3.24) to 3.27
task-print-server (3.24) to 3.27
task-ssh-server (3.24) to 3.27
tasksel (3.24) to 3.27
tasksel-data (3.24) to 3.27
xserver-common (2:1.16.0.901-1) to 2:1.16.1-1
xserver-xephyr (2:1.16.0.901-1) to 2:1.16.1-1
xserver-xorg-core (2:1.16.0.901-1) to 2:1.16.1-1

#766049#24
Date:
2015-05-22 08:19:38 UTC
From:
To:
Hallo,

this bug is present in jessie,
could just be also related to the package gdm3?

my use case: intel video, laptop, attaching a second screen
drivers: i915 an nouveau

When booting a second screen attached the laptop screen has a completely dimmed out login screen,
the attache screen shows only a grey color (background login screen, not the login itself);
* when using the fn+brighter keys nothing changes
* when unplugging the second screen, the laptop login screen comes up with a this remark, according to the settings
 in the upper right corner the brightness of the screen is zero.., while at that point in reality it is not!

Recap with dual screen again:
* let's say u login "blindly", then again the main laptop screen is dimmed out,
with the only difference as before; now u can use the fn+brightness keys from the laptop to increase the brightness

Tested and didn't work:
There was suggestion to look at the
	/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
dir
i tried
	$chmod -w brightness
	and / or
	$chmod +t intel_backlight/
non of these options prevented the brightness file from being overwritten at boot, with the same annoying behaviour again.

Remarks and notes:
	$modinfo i915 shows there is invert brightness setting?
		"invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to dri-devel@lists.freedesktop.org, if your machine needs it. It will then be included in an upcoming module version. (int)"
   	$grep EE /var/log/Xorg.0.log (xorg tries to load an obsolete? module that is not in repo anymore xserver-xorg-video-nv?)
		(EE) Failed to load module "nv" (module does not exist, 0)
	$grep primary /var/log/syslog
		kernel: [   16.630648] fbcon: inteldrmfb (fb0) is primary device
		gnome-session[1144]: (gnome-shell:1210): Gjs-WARNING **: JS ERROR: TypeError: this.primaryMonitor is undefined
	there no xorg.conf file, trying the generate one resulted in gdm3 not working (Xorg -configure)

hth,
Wim

#766049#29
Date:
2015-06-05 09:36:42 UTC
From:
To:
hi

the updates listed at end were applied on 17 May 2015. the issue noted
here is no longer happening and the gdm screen brightness is fine and
i am able to 'visually' log in.

i'll add anything further if there is a change for the worse.

thanks :)
------- Removed the following packages: xserver-xorg-video-modesetting xserver-xorg-video-siliconmotion Upgraded the following packages: at-spi2-core (2.14.0-1) to 2.16.0-1 cgmanager (0.36-2) to 0.37-1 cpp-4.9 (4.9.2-10) to 4.9.2-16 fonts-stix (1.1.1-1) to 1.1.1-3 g++-4.9 (4.9.2-10) to 4.9.2-16 gcc-4.9 (4.9.2-10) to 4.9.2-16 gcc-4.9-base (4.9.2-10) to 4.9.2-16 gir1.2-atspi-2.0 (2.14.0-1) to 2.16.0-1 isc-dhcp-client (4.3.1-6) to 4.3.2-1 isc-dhcp-common (4.3.1-6) to 4.3.2-1 krb5-locales (1.12.1+dfsg-19) to 1.12.1+dfsg-20 libasan1 (4.9.2-10) to 4.9.2-16 libatk-adaptor (2.14.0-2) to 2.16.0-1 libatk-bridge2.0-0 (2.14.0-2) to 2.16.0-1 libatomic1 (4.9.2-10) to 5.1.1-5 libatspi2.0-0 (2.14.0-1) to 2.16.0-1 libcgi-pm-perl (4.09-2) to 4.15-1 libcgmanager0 (0.36-2) to 0.37-1 libcilkrts5 (4.9.2-10) to 5.1.1-5 libdbi-perl (1.631-3+b1) to 1.633-1 libefivar0 (0.15-3) to 0.18-1 libexempi3 (2.2.1-2) to 2.2.2-2 libgcc-4.9-dev (4.9.2-10) to 4.9.2-16 libgcc1 (1:4.9.2-10) to 1:5.1.1-5 libgfortran3 (4.9.2-10) to 5.1.1-5 libgomp1 (4.9.2-10) to 5.1.1-5 libgssapi-krb5-2 (1.12.1+dfsg-19) to 1.12.1+dfsg-20 libitm1 (4.9.2-10) to 5.1.1-5 libjpeg62-turbo (1:1.3.1-12) to 1:1.4.0-7 libk5crypto3 (1.12.1+dfsg-19) to 1.12.1+dfsg-20 libkrb5-3 (1.12.1+dfsg-19) to 1.12.1+dfsg-20 libkrb5support0 (1.12.1+dfsg-19) to 1.12.1+dfsg-20 liblsan0 (4.9.2-10) to 5.1.1-5 libmm-glib0 (1.4.0-1) to 1.4.8-1 libntdb1 (1.0-5) to 1.0-7 libobjc4 (4.9.2-10) to 5.1.1-5 libopenobex1 (1.5-2.1) to 1.5-3 liborcus-0.8-0 (0.7.0+dfsg-9) to 0.7.1-2 libpangomm-1.4-1 (2.34.0-1.1) to 2.36.0-1 libpython2.7 (2.7.9-4) to 2.7.10~rc1-1 libpython2.7-minimal (2.7.9-4) to 2.7.10~rc1-1 libpython2.7-stdlib (2.7.9-4) to 2.7.10~rc1-1 libqmi-glib1 (1.10.2-2) to 1.12.6-1 libqmi-proxy (1.10.2-2) to 1.12.6-1 libquadmath0 (4.9.2-10) to 5.1.1-5 libstdc++-4.9-dev (4.9.2-10) to 4.9.2-16 libstdc++6 (4.9.2-10) to 5.1.1-5 libtext-levenshtein-perl (0.11-1) to 0.12-1 libtsan0 (4.9.2-10) to 5.1.1-5 libubsan0 (4.9.2-10) to 5.1.1-5 libwebp5 (0.4.1-1.2+b2) to 0.4.3-1.3 libwebpdemux1 (0.4.1-1.2+b2) to 0.4.3-1.3 libwebpmux1 (0.4.1-1.2+b2) to 0.4.3-1.3 libxfce4util-bin (4.10.1-2) to 4.12.1-2 libxfce4util-common (4.10.1-2) to 4.12.1-2 libxfconf-0-2 (4.10.0-3) to 4.12.0-2+b1 logrotate (3.8.7-1+b1) to 3.8.7-2 modemmanager (1.4.0-1) to 1.4.8-1 network-manager-openconnect (0.9.10.0-1) to 1.0.2-1 patchutils (0.3.3-1) to 0.3.4-1 poppler-data (0.4.7-1) to 0.4.7-3 python-ntdb (1.0-5) to 1.0-7 python2.7 (2.7.9-4) to 2.7.10~rc1-1 python2.7-minimal (2.7.9-4) to 2.7.10~rc1-1 simple-scan (3.16.1.1-1) to 3.17.1-1 task-desktop (3.31) to 3.32 task-english (3.31) to 3.32 task-gnome-desktop (3.31) to 3.32 task-laptop (3.31) to 3.32 task-print-server (3.31) to 3.32 task-ssh-server (3.31) to 3.32 tasksel (3.31) to 3.32 tasksel-data (3.31) to 3.32 telnet (0.17-36) to 0.17-40 traceroute (1:2.0.20-2+b1) to 1:2.0.21-1 virtualbox (4.3.26-dfsg-3) to 4.3.26-dfsg-3+b2 virtualbox-qt (4.3.26-dfsg-3) to 4.3.26-dfsg-3+b2 w3m (0.5.3-20) to 0.5.3-21 x11-common (1:7.7+8) to 1:7.7+9 xfconf (4.10.0-3) to 4.12.0-2+b1 xorg (1:7.7+8) to 1:7.7+9 xserver-common (2:1.16.4-1) to 2:1.17.1-2 xserver-xephyr (2:1.16.4-1) to 2:1.17.1-2 xserver-xorg (1:7.7+8) to 1:7.7+9 xserver-xorg-core (2:1.16.4-1) to 2:1.17.1-2 xserver-xorg-core-dbg (2:1.16.4-1) to 2:1.17.1-2 xserver-xorg-input-all (1:7.7+8) to 1:7.7+9 xserver-xorg-video-all (1:7.7+8) to 1:7.7+9 xserver-xorg-video-ati (1:7.5.0-1) to 1:7.5.0-1+b1 xserver-xorg-video-cirrus (1:1.5.2-2+b1) to 1:1.5.3-1 xserver-xorg-video-fbdev (1:0.4.4-1+b2) to 1:0.4.4-1+b3 xserver-xorg-video-intel (2:2.21.15-2+b2) to 2:2.99.917-1 xserver-xorg-video-intel-dbg (2:2.21.15-2+b2) to 2:2.99.917-1 xserver-xorg-video-mach64 (6.9.4-2) to 6.9.5-1 xserver-xorg-video-mga (1:1.6.3-2+b1) to 1:1.6.4-1+b1 xserver-xorg-video-neomagic (1:1.2.8-1+b2) to 1:1.2.9-1 xserver-xorg-video-nouveau (1:1.0.11-1) to 1:1.0.11-1+b1 xserver-xorg-video-openchrome (1:0.3.3-1+b2) to 1:0.3.3-1+b3 xserver-xorg-video-r128 (6.9.2-1+b2) to 6.10.0-1 xserver-xorg-video-radeon (1:7.5.0-1) to 1:7.5.0-1+b1 xserver-xorg-video-savage (1:2.3.7-2+b2) to 1:2.3.8-1 xserver-xorg-video-sisusb (1:0.9.6-2+b2) to 1:0.9.6-2+b3 xserver-xorg-video-tdfx (1:1.4.5-1+b2) to 1:1.4.6-1+b1 xserver-xorg-video-trident (1:1.3.6-2+b2) to 1:1.3.7-1+b1 xserver-xorg-video-vesa (1:2.3.3-1+b3) to 1:2.3.3-1+b4 xserver-xorg-video-vmware (1:13.0.2-3.1) to 1:13.1.0-2 xwayland (2:1.16.4-1) to 2:1.17.1-2 Installed the following packages: gcc-5-base (5.1.1-5) libgsoap7 (2.8.22-1) libxcb-render-util0 (0.3.9-1) libxfce4util7 (4.12.1-2)