-
-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xorg configuration ignored #404
Comments
Redditor Sadlaughinglad has the same problem with his multimonitor setup, it might explain why leaf444's input configuration was broken upon rebooting, and I suspect the same thing may be the cause of iguano80 and OneForLiberty's tiny greeters on 4k monitors (although 4K support could be its own issue). Another redditor may have found an angle for a workaround. KRONie mentions a lightdm configuration option, Is pantheon-greeter expecting something like this to be done / does it make no attempt to read an existing xorg configuration by default in comparison to gtk-greeter which apparently does (or at least, does not override it and reset to defaults)? Edit: There does not appear to be any no way to get the xrandr executable to read in xorg configuration files, making it rather difficult to work around this by using a script. It seems the assumption is that xorg itself will feed the configuraiton to the RandR extension when initiated. Seems like pantheon-greeter is undoing that by setting its own (default) configuration, although I have not as yet found how it is doing so in the code. |
I have since come to understand that elementary's greeter is attempting to set up the monitor configuration from monitors.xml, which is created--I suppose--by using the Displays plug of switchboard (or Gnome Control Center's Displays panel). It seems like a whole lot of people didn't get this memo: unless that file exists, or if that file only contains initial, default configuration, elementary's greeter will tell XRandR to configure monitors according to initial defaults, which tend to be egregiously wrong with multi-monitor setups. The content of the file itself is an entirely undocumented mystery. Fumbling in the dark, I have as yet not found it capable of many intricacies of configuration that one normally relies on Xorg configuration files for (in my case, cloning a screen onto a TV that requires scaling to work around its overscan; doesn't handle input configurations, etc). It would be very helpful if the greeter checked for Xorg configuration files and allowed them to override Edit: Also super not helpful is that |
monitors.xml is created by mutter ( https://gitlab.gnome.org/GNOME/mutter/-/blob/master/src/backends/meta-monitor-config-store.c#L38 ) |
At what stage would this file be created for a fresh installation of elementary OS? |
I believe that it is created in |
This appears to be an issue for my 2010 Macbook where my X configuration fixes the brightness slider having no effect when using the Nvidia proprietary drivers. It appears to work intermittently, sometimes working sometimes not after boot. This is only for a single monitor, though. After suspending the computer the brightness slider never works even if it had been working before suspend. |
Prerequisites
I belive #65 may be a subset of this issue. Because the greeter does not acknowledge xorg's configuration files, when a user has configured multiple monitors for xorg, the greeter may guess the wrong one to use as the primary display in addition to guessing the wrong resolution and screen ratio.
Describe the bug
The greeter appears to use a default autoconfiguration, despite the existence of xorg configuration files, and to apply that incorrectly as well. This could result in a number of issues, such as misconfigured xinput devices, in addition to incorrect screen settings.
In my case, xorg's setup appears exactly as it would without configuration files (according to nvidia-settings and xrandr -q) while the actual screen resolution and ratio in use is neither that default autoconfiguration nor the configuration I have specified. If I could take a guess, I suspect pantheon-greeter is coming up with a screen ratio and resolution that is intended to fit across, or average out, the two autoconfigured displays.
It is likely users with only a single monitor would not notice a problem, as the default autoconfiguration is likely to provide at least the correct resolution and screen ratio.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
xorg should be configured as it is configured, and not reconfigured agnostically of its configuration files.
Platform Information
/etc/X11/xorg.conf.d/00-keyboard.conf
/etc/X11/xorg.conf.d/01-server.conf
/etc/X11/xorg.conf.d/02-monitor.conf
/etc/X11/xorg.conf.d/03-device.conf
/etc/X11/xorg.conf.d/04-screen.conf
Please check what applies:
-->
The text was updated successfully, but these errors were encountered: