! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Saving profile in xfce4-display-settings fails
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description Diego 2019-10-26 20:46:31 CEST
Xfce 4.14 / Manjaro 18.1.1, on a Thinkpad E580 / Lenovo Dock and 2 additional screens

When I try to save the screen configuration ("Advanced" tab of xfce4-display-settings) :
- The saved profile doesn't show in the list (the list stay empty)
- When I try to re-save the profile, with the same name, a popup tells me "The profile name already exist"
- The profile is not enabled when I plug the dock (i.e. the additional screens) (the ad hoc option is of course activated)

My working XRandR profile is 
--output eDP1 --primary --mode 1920x1080 --pos 0x0 --rotate normal --output DP1 --off --output DP1-1 --off --output DP1-2 --mode 1920x1080 --pos 1920x0 --rotate normal --output DP1-3 --mode 1920x1080 --pos 3840x0 --rotate normal --output HDMI1 --off --output HDMI2 --off --output VIRTUAL1 --off
Comment 1 Simon Steinbeiss editbugs 2019-11-01 00:10:11 CET
Hi, there are a few things that can in theory go wrong when trying to save a profile, but you can check the "display" channel in xfce4-settings-editor. There you should find your profile (the "name" you gave it is in the value column, not the property column).

Some obvious things that could be failing is if the display / driver doesn't report an EDID. This is rare, but it would break the profile mechanism. Please check if that is the case and ideally attach your $HOME/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml.
Thanks!
Comment 2 Diego 2019-11-01 16:01:29 CET
Created attachment 9175 
/home/diego/.config/xfce4/xfconf/xfce-perchannel-xml/displays.xml
Comment 3 Diego 2019-11-01 16:05:04 CET
Hi, Yes, I did find the profile(s) I saved in channel in xfce4-settings-editor / displays / value. Can I "reset" them safely here or does it only reset the name ?

How can I check if the display / driver does or not report an EDID ?

Please find displays.xml attached
Comment 4 Simon Steinbeiss editbugs 2019-11-03 23:32:52 CET
You can reset the profiles there, yes, but they shouldn't really have an effect on your setups (if they don't show in the list, xfsettingsd doesn't think they match the setup, so it also won't try to apply them).

Thanks for posting your profile information - it surely helped me understand the problem!

So what we're using to match up displays is the EDID (https://en.wikipedia.org/wiki/Extended_Display_Identification_Data), which should - in theory - uniquely identify a device (even if they are the same maker and model). But in your case, you have two identical EDIDs for the two LG monitors, which is what messes up the profile matching in xfsettingsd...

I guess I'll have to either make the EDID string "more unique" somehow (e.g. by including the connector in the hash that is generated, so the two LG displays would end up with different SHA256 hashes - although that also has side-effects)...
Comment 5 Joris Bierkens 2020-04-28 19:47:25 CEST
Created attachment 9816 
my displays settings in Settings Editor

I have the same problem: creating a Display profile fails in the way as described. It also failed in previous installs (Xubuntu 19.10), currently Xubuntu 20.04.
Comment 6 Joris Bierkens 2020-04-28 19:49:08 CEST
Created attachment 9817 
my displays.xml

displays.xml
Comment 7 Git Bot editbugs 2020-05-28 23:15:39 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/150.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #16094

Reported by:
Diego
Reported on: 2019-10-26
Last modified on: 2020-05-28

People

Assignee:
Simon Steinbeiss
CC List:
2 users

Version

Version:
4.14.1

Attachments

Additional information