Bug 370388 - No panel on login / second screen settings not saved.
Summary: No panel on login / second screen settings not saved.
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-multiscreen (show other bugs)
Version: 5.8.4
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: 1.0
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-10 04:20 UTC by Steven Haigh
Modified: 2016-12-07 12:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.8.4


Attachments
~/.config/plasmashellrc as requested. (385 bytes, text/plain)
2016-10-11 03:00 UTC, Steven Haigh
Details
~/.config/plasma-org.kde.plasma.desktop-appletsrc as requested. (5.83 KB, text/plain)
2016-10-11 03:00 UTC, Steven Haigh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Haigh 2016-10-10 04:20:38 UTC
This has been fixed in one of my other systems - but in this hardware configuration, it seems that maybe having another screen connected but disabled may break some logic.

Hardware:
* Dell Lattitude E5530 with 2 x DVI screens on docking station.
* Laptop lid / screen closed.
* Graphics: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)


Reproducible: Always

Steps to Reproduce:
On login, I do not get *ANY* panel. Both screens are at default settings. Upon running 'killall plasmashell && plasmashell &', I get the primary screen with panel + saved settings, whereas screen 1 is either blank or at defaults.



$ kscreen-doctor -o
Output: 67 LVDS1 disabled connected  Panel Modes: 243:1920x1080@40 244:1400x1050@60 245:1600x900@60 246:1280x1024@60 247:1280x960@60 248:1368x768@60 249:1280x720@60 250:1024x768@60 251:1024x576@60 252:960x540@60 253:800x600@60 254:800x600@56 255:864x486@60 256:640x480@60 257:720x405@60 258:640x360@60 77:1920x1080@60! Geometry: 0,0 0x0
Output: 68 DP1 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 69 DP2 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 70 DP3 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 71 HDMI1 disabled disconnected  HDMI Modes: Geometry: 0,0 0x0
Output: 72 HDMI2 enabled connected primary HDMI Modes: 246:1280x1024@60 250:1024x768@60 253:800x600@60 256:640x480@60 259:1600x900@60 260:1280x1024@75 261:1152x864@75 262:1024x768@75 263:800x600@75 264:640x480@75 265:720x400@70 78:1920x1080@60*! Geometry: 0,0 1920x1080
Output: 73 HDMI3 enabled connected  HDMI Modes: 246:1280x1024@60 250:1024x768@60 253:800x600@60 256:640x480@60 259:1600x900@60 260:1280x1024@75 261:1152x864@75 262:1024x768@75 263:800x600@75 264:640x480@75 265:720x400@70 78:1920x1080@60*! Geometry: 1920,0 1920x1080
Output: 74 VGA1 disabled disconnected  VGA Modes: Geometry: 0,0 0x0
Output: 75 VIRTUAL1 disabled disconnected  Unknown Modes: Geometry: 0,0 0x0

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
   1920x1080     60.01 +  40.01
   1400x1050     59.98
   1600x900      60.00
   1280x1024     60.02
   1280x960      60.00
   1368x768      60.00
   1280x720      60.00
   1024x768      60.00
   1024x576      60.00
   960x540       60.00
   800x600       60.32    56.25
   864x486       60.00
   640x480       59.94
   720x405       60.00
   640x360       60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
   720x400       70.08
HDMI3 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
   720x400       70.08
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 1 Steven Haigh 2016-10-10 04:21:41 UTC
Installation on Fedora 24 from the 5.8 unstable COPR:

$ rpm -qa | grep plasma-desktop | sort
plasma-desktop-5.8.0-0.4.fc24.x86_64
plasma-desktop-doc-5.8.0-0.4.fc24.noarc
Comment 2 Steven Haigh 2016-10-11 02:49:07 UTC
Just like to confirm that this also occurs on a F25 Beta install with KDE 5.8 from COPR.
Comment 3 Bhushan Shah 2016-10-11 02:57:31 UTC
Could you please provide ~/.config/plasmashellrc and ~/.config/plasma-org.kde.plasma.desktop-appletsrc ? Most likely this is already fixed for Plasma 5.8.1
Comment 4 Steven Haigh 2016-10-11 03:00:16 UTC
Created attachment 101517 [details]
~/.config/plasmashellrc as requested.
Comment 5 Steven Haigh 2016-10-11 03:00:54 UTC
Created attachment 101518 [details]
~/.config/plasma-org.kde.plasma.desktop-appletsrc as requested.
Comment 6 Bhushan Shah 2016-10-11 03:09:09 UTC
This issue is resolved in https://quickgit.kde.org/?p=plasma-workspace.git&a=commit&h=53b2a407af9d1d60cfbb1a42af8546ab0a156d38

and

https://bugs.kde.org/show_bug.cgi?id=369665

And will be solved with Plasma 5.8.1 releasing today.
Comment 7 Kevin Kofler 2016-10-11 10:04:02 UTC
Sorry, but no. This patch is already included in Fedora plasma-workspace-5.8.0 packaging (which is why "This has been fixed in one of [the reporter's] other systems").
Comment 8 Steven Haigh 2016-10-13 01:27:43 UTC
I can confirm this problem still exists in 5.8.1 - with an added regression that I can no longer change the second screen from Folder View -> Desktop.

The primary screen can be changed at will, yet the secondary screen does not apply the changes when either clicking OK or Apply.

$ rpm -qa | grep plasma | sort
kdeplasma-addons-5.8.1-0.1.fc25.x86_64
kde-settings-plasma-25-2.fc25.noarch
kf5-plasma-5.27.0-1.fc25.x86_64
plasma-breeze-5.8.1-0.1.fc25.x86_64
plasma-breeze-common-5.8.1-0.1.fc25.noarch
plasma-desktop-5.8.1-0.1.fc25.x86_64
plasma-desktop-doc-5.8.1-0.1.fc25.noarch
plasma-discover-5.8.1-0.1.fc25.x86_64
plasma-discover-libs-5.8.1-0.1.fc25.x86_64
plasma-integration-5.8.1-0.1.fc25.x86_64
plasma-lookandfeel-fedora-5.8.1-0.1.fc25.noarch
plasma-milou-5.8.1-0.1.fc25.x86_64
plasma-nm-5.8.1-0.1.fc25.x86_64
plasma-nm-l2tp-5.8.1-0.1.fc25.x86_64
plasma-nm-openconnect-5.8.1-0.1.fc25.x86_64
plasma-nm-openswan-5.8.1-0.1.fc25.x86_64
plasma-nm-openvpn-5.8.1-0.1.fc25.x86_64
plasma-nm-pptp-5.8.1-0.1.fc25.x86_64
plasma-nm-vpnc-5.8.1-0.1.fc25.x86_64
plasma-pa-5.8.0-1.fc25.x86_64
plasma-pk-updates-0.2-9.20160307git7b484b0.fc25.x86_64
plasma-systemsettings-5.8.1-0.1.fc25.x86_64
plasma-user-manager-5.8.1-0.1.fc25.x86_64
plasma-workspace-5.8.1-0.1.fc25.x86_64
plasma-workspace-common-5.8.1-0.1.fc25.x86_64
plasma-workspace-drkonqi-5.8.1-0.1.fc25.x86_64
plasma-workspace-geolocation-5.8.1-0.1.fc25.x86_64
plasma-workspace-geolocation-libs-5.8.1-0.1.fc25.x86_64
plasma-workspace-libs-5.8.1-0.1.fc25.x86_64
Comment 9 Rex Dieter 2016-10-13 02:15:35 UTC
From the linked bug,

"reproduced and figured out what's going on
https://phabricator.kde.org/D3006 will partly fix it (is as good as we can get it)
unfortunately the different driver changes screen names so non-primary screen containments will still get lost."

It could be you're (still) hitting the second case.
Comment 10 Steven Haigh 2016-11-24 09:30:08 UTC
For what its worth, this still occurs on F25 + 5.8.3
Comment 11 Christoph Feck 2016-11-25 00:21:24 UTC
The recent multi-screen fixes are in 5.8.4, not 5.8.3. Could you please check that version (with a fresh plasma config)?
Comment 12 Steven Haigh 2016-11-29 00:44:41 UTC
Updated to 5.8.4 (thanks Rex!)

$ rpm -qa | grep plasma | sort
kdeplasma-addons-5.8.4-1.fc25.x86_64
kde-settings-plasma-25-2.fc25.noarch
kf5-plasma-5.27.0-1.fc25.x86_64
plasma-breeze-5.8.4-1.fc25.x86_64
plasma-breeze-common-5.8.4-1.fc25.noarch
plasma-desktop-5.8.4-1.fc25.x86_64
plasma-desktop-doc-5.8.4-1.fc25.noarch
plasma-discover-5.8.4-2.fc25.x86_64
plasma-discover-libs-5.8.4-2.fc25.x86_64
plasma-integration-5.8.4-1.fc25.x86_64
plasma-lookandfeel-fedora-5.8.4-1.fc25.noarch
plasma-milou-5.8.4-1.fc25.x86_64
plasma-nm-5.8.4-1.fc25.x86_64
plasma-nm-l2tp-5.8.4-1.fc25.x86_64
plasma-nm-openconnect-5.8.4-1.fc25.x86_64
plasma-nm-openswan-5.8.4-1.fc25.x86_64
plasma-nm-openvpn-5.8.4-1.fc25.x86_64
plasma-nm-pptp-5.8.4-1.fc25.x86_64
plasma-nm-vpnc-5.8.4-1.fc25.x86_64
plasma-pa-5.8.4-1.fc25.x86_64
plasma-pk-updates-0.2-9.20160307git7b484b0.fc25.x86_64
plasma-systemsettings-5.8.4-1.fc25.x86_64
plasma-user-manager-5.8.4-1.fc25.x86_64
plasma-workspace-5.8.4-1.fc25.x86_64
plasma-workspace-common-5.8.4-1.fc25.x86_64
plasma-workspace-drkonqi-5.8.4-1.fc25.x86_64
plasma-workspace-geolocation-5.8.4-1.fc25.x86_64
plasma-workspace-geolocation-libs-5.8.4-1.fc25.x86_64
plasma-workspace-libs-5.8.4-1.fc25.x86_64

While the login works correctly now, I am unable to change the properties of the desktop that was always reset - ie change from Folder View to Desktop.

Hopefully some helpful info:
$ kscreen-doctor -o
Output: 67 LVDS1 disabled connected  Panel Modes: 243:1920x1080@40 244:1400x1050@60 245:1600x900@60 246:1280x1024@60 247:1280x960@60 248:1368x768@60 249:1280x720@60 250:1024x768@60 251:1024x576@60 252:960x540@60 253:800x600@60 254:800x600@56 255:864x486@60 256:640x480@60 257:720x405@60 258:640x360@60 77:1920x1080@60! Geometry: 0,0 0x0
Output: 68 DP1 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 69 DP2 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 70 DP3 disabled disconnected  DisplayPort Modes: Geometry: 0,0 0x0
Output: 71 HDMI1 disabled disconnected  HDMI Modes: Geometry: 0,0 0x0
Output: 72 HDMI2 enabled connected primary HDMI Modes: 246:1280x1024@60 250:1024x768@60 253:800x600@60 256:640x480@60 259:1600x900@60 260:1280x1024@75 261:1152x864@75 262:1024x768@75 263:800x600@75 264:640x480@75 265:720x400@70 78:1920x1080@60*! Geometry: 0,0 1920x1080
Output: 73 HDMI3 enabled connected  HDMI Modes: 246:1280x1024@60 250:1024x768@60 253:800x600@60 256:640x480@60 259:1600x900@60 260:1280x1024@75 261:1152x864@75 262:1024x768@75 263:800x600@75 264:640x480@75 265:720x400@70 78:1920x1080@60*! Geometry: 1920,0 1920x1080
Output: 74 VGA1 disabled disconnected  VGA Modes: Geometry: 0,0 0x0
Output: 75 VIRTUAL1 disabled disconnected  Unknown Modes: Geometry: 0,0 0x0

$ xrandr
Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
   1920x1080     60.01 +  40.01
   1400x1050     59.98
   1600x900      60.00
   1280x1024     60.02
   1280x960      60.00
   1368x768      60.00
   1280x720      60.00
   1024x768      60.00
   1024x576      60.00
   960x540       60.00
   800x600       60.32    56.25
   864x486       60.00
   640x480       59.94
   720x405       60.00
   640x360       60.00
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
   720x400       70.08
HDMI3 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00*+
   1600x900      60.00
   1280x1024     75.02    60.02
   1152x864      75.00
   1024x768      75.03    60.00
   800x600       75.00    60.32
   640x480       75.00    59.94
   720x400       70.08
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

Any suggestions on how to debug or troubleshoot this?
Comment 13 Steven Haigh 2016-12-07 12:21:47 UTC
Ok - so after messing around with this (docked/undocked/etc), the screen config came good.

I'm happy to mark this as FIXED for version 5.8.4.

New installations will probably work out of the box - and I haven't had to restart plasmashell to fix up a screen problem in a while now.