Bug 1188774 - [anaconda] empty screen on external monitor attached to a Lenovo ThinkPad T400 when docked and lid closed
Summary: [anaconda] empty screen on external monitor attached to a Lenovo ThinkPad T40...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 25
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: RejectedBlocker
Depends On:
Blocks: F26AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2015-02-03 16:47 UTC by Joachim Frieben
Modified: 2017-12-12 10:11 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-12 10:11:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
X log file written out by anaconda-22.17-1.fc22 (40.49 KB, text/plain)
2015-02-03 16:47 UTC, Joachim Frieben
no flags Details
X log file written out by X server 1.17.1 of the Fedora 22 Beta TC2 live system (43.89 KB, text/plain)
2015-03-17 17:37 UTC, Joachim Frieben
no flags Details
X log file written out by anaconda-27.20.1-6.fc27 (33.51 KB, text/plain)
2017-10-01 05:05 UTC, Joachim Frieben
no flags Details
X log file written out by X server 1.19.3 of the Fedora 27 Beta live system (36.64 KB, text/plain)
2017-10-01 05:09 UTC, Joachim Frieben
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 725219 0 unspecified ASSIGNED anaconda should run in clone not span mode 2023-08-31 14:22:58 UTC

Internal Links: 725219

Description Joachim Frieben 2015-02-03 16:47:06 UTC
Created attachment 987685 [details]
X log file written out by anaconda-22.17-1.fc22

Description of problem:
For the current development tree, only a white screen appears on the external monitor attached to the docking station of a (docked) Lenovo ThinkPad T400 after booting up even when the lid is closed. After opening the lid it turns out that the installer screen is actually shown on the internal display which should have been disabled altogether.

Version-Release number of selected component (if applicable):
anaconda-22.17-1.fc22

How reproducible:
Always.

Steps to Reproduce:
1. Boot from netinst boot image.

Actual results:
After displaying the first stages of the boot procedure on the external monitor, only a white screen is shown after the system has launched the graphical installer.

Expected results:
The installer screen should appear on the external monitor attached to the docking station and not on the internal display when the lid is closed.

Additional info:
This used to work for Fedora 21.

Comment 1 Jaroslav Reznik 2015-03-03 16:49:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 2 Joachim Frieben 2015-03-17 05:47:49 UTC
Issue still present for anaconda-22.20.4-1.fc22.

Comment 3 Joachim Frieben 2015-03-17 17:16:32 UTC
As opposed to the netinst installer, the X session starts up correctly on the external monitor when booting into a live session. Therefore, it is probably an anaconda issue rather than an X issue.

Comment 4 Joachim Frieben 2015-03-17 17:37:02 UTC
Created attachment 1002885 [details]
X log file written out by X server 1.17.1 of the Fedora 22 Beta TC2 live system

Comment 5 Joachim Frieben 2015-04-30 19:20:42 UTC
Issue still present for anaconda-22.20.11-1.fc22 and the Fedora 22 TC1 netinst boot image.

Comment 6 Joachim Frieben 2015-05-19 18:15:41 UTC
Issue still present for anaconda-22.20.12-1.fc22 and the Fedora 22 TC4 netinst boot image. The internal display is switched off but the installer nevertheless sets up a dual monitor configuration mapping the installer screen to the internal display. It is possible to move the mouse pointer from the (invisible) internal display to the attached external display which merely shows a white background. After opening the lid, the backlight is turned on, and the install can proceeed a expected using the internal display.

Comment 7 Joachim Frieben 2015-05-23 07:17:06 UTC
When the (invisible) mouse pointer is moved immediately from the area off-screen (internal display) to the external display as soon as the grey background appears, then the installer window is correctly opened on the external display. Otherwise it will appear on the internal display.

Comment 8 Joachim Frieben 2015-05-23 07:21:29 UTC
This issue also affects the Fedora 22 RC3 netinst image featuring anaconda-22.20.12-1.fc22 and (can/will) not be addressed once Fedora 22 has been released. It should therefore be investigated as soon as possible.

Comment 9 David Shea 2015-06-02 13:12:30 UTC
(In reply to Joachim Frieben from comment #3)
> As opposed to the netinst installer, the X session starts up correctly on
> the external monitor when booting into a live session. Therefore, it is
> probably an anaconda issue rather than an X issue.

Reassigning to the window manager used in netinst, then.

Comment 10 Joachim Frieben 2015-09-05 13:58:41 UTC
Bug also affects the branched tree of Fedora 23 including packages anaconda-23.19.1-1.fc23 and metacity-3.12.0-3.fc23.

Comment 11 Joachim Frieben 2015-10-24 14:19:30 UTC
Issue still around for Fedora 23 RC3 including anaconda-23.19.10-1.fc23 and metacity-3.12.0-3.fc23.

Comment 12 Joachim Frieben 2016-01-11 05:46:41 UTC
Issue still around for the Fedora development tree including anaconda-24.9-1.fc24 and metacity-3.12.0-3.fc23.

Comment 13 Joachim Frieben 2016-01-14 18:41:52 UTC
Similarly, the current Fedora 23 Mate spin erroneously enables the internal display of a Lenovo ThinkPad T400 notebook even when the system is docked as reported in bug 1298700. The window manager marco v1.2.1 is a derivative of metacity.

Comment 14 Jan Kurik 2016-02-24 13:20:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 15 Joachim Frieben 2016-05-29 17:35:33 UTC
Issue (still) applies to both of Fedora development 24 and 25 (rawhide) including packages:
- anaconda-24.13.5-1.fc24
- anaconda-25.15-1.fc25
Let me recall that the main screen of the installer should definitely not be assigned to the internal display of a notebook when the lid is closed and an external monitor is attached.

Comment 16 Joachim Frieben 2016-07-07 07:14:20 UTC
Issue still present for the current Fedora development 25 (rawhide) tree including anaconda-25.19-1.fc25 and metacity-3.12.0-4.fc24.

Comment 17 Jan Kurik 2016-07-26 04:52:06 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 18 Fedora Blocker Bugs Application 2016-10-09 12:07:20 UTC
Proposed as a Blocker and Freeze Exception for 25-final by Fedora user frieben using the blocker tracking app because:

 The default setup of my system is a Lenovo ThinkPad T400 used as a desktop PC replacement which is permanently attached to an ensemble of of mini-dock, external monitor, keyboard, and mouse.

"Installation interfaces
When using a dedicated installer image, the installer must be able to complete an installation using the text, graphical and VNC installation interfaces."

The inclusion of an outdated metacity package was reported in bug 1376984: "[metacity] new upstream release 3.20.3 available."

Booting the system in basic graphics mode fails, too, because of bug 1358306: "[systemd] Lenovo ThinkPad T400 suspends upon boot in basic graphics mode when docked and lid closed."

Comment 19 Adam Williamson 2016-10-17 17:03:47 UTC
725219 (which has been open more or less since Noah started on the ark) is also relevant here, I guess.

Comment 20 Geoffrey Marr 2016-10-17 19:39:25 UTC
Discussed during the 2016-10-17 blocker review meeting: [1]

The decision to classify this bug as a "RejectedBlocker" was made as this has been an issue with Fedora for several years and has not blocked in the past.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2016-10-17/f25-blocker-review.2016-10-17-16.02.txt

Comment 21 Geoffrey Marr 2016-10-24 18:18:08 UTC
Discussed during the 2016-10-24 blocker review meeting: [1]

The decision to delay the classification of this as a freeze exception was made as we would like to know the ramifications of the fix before accepting it.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2016-10-24/f25-blocker-review.2016-10-24-16.01.txt

Comment 22 Geoffrey Marr 2016-10-31 18:59:25 UTC
Discussed during the 2016-10-31 blocker review meeting: [1]

The decision to drop this bug as a blocker/freeze exception was made as this bug has been around for a long time and as such, we are not willing to grant it a blocker/freeze exception status until a fix is available for test.

If a fix is released, please re-propose this bug and it will be considered for reclassification.

[1] https://meetbot.fedoraproject.org/fedora-blocker-review/2016-10-31/f25-blocker-review.2016-10-31-16.01.txt

Comment 23 Fedora Blocker Bugs Application 2016-11-23 17:25:23 UTC
Proposed as a Blocker for 26-alpha by Fedora user frieben using the blocker tracking app because:

 The default setup of my system is a Lenovo ThinkPad T400 used as a desktop PC replacement which is permanently attached to an ensemble of of mini-dock, external monitor, keyboard, and mouse.

"Installation interfaces
When using a dedicated installer image, the installer must be able to complete an installation using the text, graphical and VNC installation interfaces."

The inclusion of an outdated metacity package was reported in bug 1376984: "[metacity] new upstream release 3.20.3 available."

Booting the system in basic graphics mode fails, too, because of bug 1358306: "[systemd] Lenovo ThinkPad T400 suspends upon boot in basic graphics mode when docked and lid closed."

Comment 24 Fedora Admin XMLRPC Client 2017-06-09 02:10:58 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 25 Yaakov Selkowitz 2017-06-09 06:01:35 UTC
I was just given metacity, and have rebased it to 3.25.1 in rawhide, and there are packages in my copr (yselkowitz/gnome-flashback) for 3.20 (F24), 3.22 (F25), and  3.24 (F26).  If this is still an issue for F26 final, then we'll need to discuss the viability of rebasing to 3.24 this late in the cycle.

Comment 26 Joachim Frieben 2017-06-09 22:30:19 UTC
(In reply to Yaakov Selkowitz from comment #25)
I had proposed this bug as a blocker earlier in the Fedora 26 development cycle as you can see above.
Since this issue and others like the one reported in bug 725219 affect the anaconda installer, any external packages or later updates are strictly useless. Updates for Fedora 24 and 25 are less relevant because there will not be any new netinst install media anyway.

Comment 27 Yaakov Selkowitz 2017-06-09 22:37:05 UTC
(In reply to Joachim Frieben from comment #26)
> Since this issue and others like the one reported in bug 725219 affect the
> anaconda installer, any external packages or later updates are strictly
> useless.

Understood; the questions are 1) will 3.24.1 fix this, and 2) is it too late to consider such a rebase even if it does.  I can prepare an update for F26 -- and leave it in testing until we either agree that it should be stable, or until F26 GA -- if that will help you test.

Comment 28 Joachim Frieben 2017-06-10 19:55:08 UTC
(In reply to Yaakov Selkowitz from comment #27)
The problem is that metacity is used by anaconda as window manager during a network install session. In order to test the effect of a recent metacity, a new netinst image based upon metacity 3.24.1 is needed.
I do remember that older versions of the Fedora Mate spin which do use metacity did have the problem outlined above whereas recent versions were not affected anymore. Unfortunately, bug 1430259 may interfere with this bug unless the running kernel is 4.11.4 or later.

Comment 29 Yaakov Selkowitz 2017-06-13 22:31:51 UTC
(In reply to Joachim Frieben from comment #28)
> (In reply to Yaakov Selkowitz from comment #27)
> The problem is that metacity is used by anaconda as window manager during a
> network install session. In order to test the effect of a recent metacity, a
> new netinst image based upon metacity 3.24.1 is needed.

Update for F26: https://bodhi.fedoraproject.org/updates/FEDORA-2017-468c0a45bf

Comment 30 Joachim Frieben 2017-06-15 15:44:38 UTC
The graphical installer boots up successfully on the (docked) Lenovo ThinkPad T400 using the Fedora-Workstation-netinst-x86_64-Rawhide-20170613.n.0 media which does include metacity 3.25.1. Unfortunately, the very issue of this bug 1188774 persists. I am therefore sceptical that updating metacity on Fedora 25 and Fedora 26, respectively, will help. However, it likely will not hurt either.

Comment 31 Yaakov Selkowitz 2017-06-15 15:56:45 UTC
Thanks for testing.  Once Fedora is installed, does the desktop behave properly with that setup (external monitor with lid closed)?  Would you be able to test gnome-flashback (which uses metacity) from my yselkowitz/gnome-flashback copr in that setup?

Comment 32 Joachim Frieben 2017-06-15 19:48:17 UTC
(In reply to Yaakov Selkowitz from comment #31)
I am currently running Fedora 26 on said system. After installing package gnome-flashback, the additional GDM option "Classic GNOME" results in a classic GNOME desktop. Display properties show that the internal display is effectively disabled (lid closed and -not- switched off by the user) leading to a working single-screen setup.
Unfortunately, current rawhide is possibly still affected by bug 1430259 (wrong handling of closed lid) which has been fixed in the stable 4.11.x series valid for Fedora 25 and Fedora 26. Note that the issue described in this bug 1188774 was present well before the wrong handling of a closed lid reported in bug 1430259 was introduced.

Comment 33 Joachim Frieben 2017-06-15 20:00:13 UTC
(In reply to Yaakov Selkowitz from comment #31)
There is another caveat: when choosing the classic GNOME session, then there is no process "metacity" but instead one called "gnome-shell". Please verify that this behaviour is intended, thanks.

Comment 34 Yaakov Selkowitz 2017-06-15 20:12:27 UTC
GNOME Classic has nothing to do with Flashback.  When you install a new desktop session, the already running gdm doesn't pick it up automatically.  The easiest thing to do is reboot, and then you will see a "GNOME Flashback (Metacity)" option.

Comment 35 Joachim Frieben 2017-06-15 20:30:08 UTC
(In reply to Yaakov Selkowitz from comment #34)
The "GNOME Flashback (Metacity)" option leads to a working single-screen setup. The output of 'xrandr -q' reads:

Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
DVI-0 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
LVDS connected (normal left inverted right x axis y axis)
   1440x900      60.00 +  50.00  
   1280x854      59.95  
   1280x800      59.96  
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
VGA-0 disconnected (normal left inverted right x axis y axis).

Alternatively, I have launched a simple X session which I found more representative of the netinst case. With a file .xinitrc : "metacity & exec twm", running command 'startx' leads to a working double-screen setup but xterm is actually launched correctly on the external display and visible right from the start. The output of 'xrandr -q' now reads

Screen 0: minimum 320 x 200, current 2720 x 1024, maximum 8192 x 8192
DVI-0 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
   1280x1024     60.02*+  75.02  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
   720x400       70.08  
LVDS connected 1440x900+1280+0 (normal left inverted right x axis y axis) 303mm x 190mm
   1440x900      60.00*+  50.00  
   1280x854      59.95  
   1280x800      59.96  
   1280x720      59.97  
   1152x768      59.95  
   1024x768      59.95  
   800x600       59.96  
   848x480       59.94  
   720x480       59.94  
   640x480       59.94  
VGA-0 disconnected (normal left inverted right x axis y axis).

Comment 36 Yaakov Selkowitz 2017-06-15 23:26:00 UTC
Ultimately, metacity is just a window manager.  It knows only what it is told by the X server, which gets its information from its drivers and the kernel.  So it seems unlikely that metacity is really the cause of use (or lack thereof) of the external monitor.

Comment 37 Joachim Frieben 2017-06-16 04:18:53 UTC
(In reply to Yaakov Selkowitz from comment #36)
Please note that this report was initially posted for component anaconda, which then changed twice: first to component xorg-x11-server, then, as per comment 9, to component metacity and initiated by D. Shea. I recall that even when anaconda was directed to the internal display despite a closed lid, the live session which ran in a GNOME on Xorg session, too, was not affected by this issue.

Comment 38 Joachim Frieben 2017-06-16 08:47:37 UTC
(In reply to Yaakov Selkowitz from comment #36)
Please note that starting metacity either with gnome-flashback or with 'startx' using file .xinitrc from comment 35 results in -different- screen setups, namely a single-screen setup in the former case and a dual-screen setup in the latter. This seems to refute your argument that the screen configuration is carried out by kernel and drivers alone.

Comment 39 Yaakov Selkowitz 2017-06-16 17:04:04 UTC
That would be coming from the gnome-flashback component itself managing the display configuration based on such information, like gnome-shell does.

Comment 40 Joachim Frieben 2017-10-01 05:05:20 UTC
Created attachment 1332851 [details]
X log file written out by anaconda-27.20.1-6.fc27

Installer screen is still mapped to the internal display for anaconda-27.20.1-6.fc27.

Comment 41 Joachim Frieben 2017-10-01 05:09:13 UTC
Created attachment 1332852 [details]
X log file written out by X server 1.19.3 of the Fedora 27 Beta live system

Comment 42 Fedora End Of Life 2017-12-12 10:11:27 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.