pop-os / pop

A project for managing all Pop!_OS sources
https://system76.com/pop
2.43k stars 84 forks source link

Cant change displays orientation #1009

Open krzysztofwolski opened 4 years ago

krzysztofwolski commented 4 years ago

Distribution (run cat /etc/os-release):

NAME="Pop!_OS"
VERSION="20.04 LTS"
ID=pop
ID_LIKE="ubuntu debian"
PRETTY_NAME="Pop!_OS 20.04 LTS"
VERSION_ID="20.04"
HOME_URL="https://system76.com/pop"
SUPPORT_URL="http://support.system76.com"
BUG_REPORT_URL="https://github.com/pop-os/pop/issues"
PRIVACY_POLICY_URL="https://system76.com/privacy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
LOGO=distributor-logo-pop-os

Related Application and/or Package Version (run apt policy $PACKAGE NAME): n/d

Issue/Bug Description: I have 2 displays (screenshots below) and after upgrading to 20.04 I cant set up LG in portrait left orientation. When I'm attempting to do so, after clicking apply settings return to defaults. Only working solution is the landscape on two displays.

Steps to reproduce (if you know):

Expected behavior:

Other Notes: image

image

image

leviport commented 4 years ago

Hmm, I'm able to set portrait displays up with no trouble. How long is the delay before it reverts to default? There is a dialog that times out after 15 seconds and reverts if you don't click "keep changes" before it gets to zero.

krzysztofwolski commented 4 years ago

Sometimes it resets to defaults, sometimes it resets to single display mode. Usually it takes 5s

redmagnu5 commented 4 years ago

Having similar issues on Nvidia driver 440.82.

I'm able to update the display settings via the Nvidia control panel but the settings reset after every reboot.

bhm commented 4 years ago

Can confirm

Distribution

20.04

Related Application and/or Package Version

Nvidia-driver 440 (nvidia-settings reports as 440.68, nvidia-driver 440.82)

Hardware.

Two 24 inch monitors 1080p @ 144hz Display Port 1080p @ 60hz DVI

Scenarios

Reproduction path 1

  1. Have correctly set one monitor to Landscape, second to portrait right.
  2. Upgrade from 19.10 to 20.04

    Result

  3. Both screens in landscape.

Reproduction path 2

  1. Upgrade from 19.10 to 20.04
  2. Use Settings > Display
  3. Set Screen 2 to landscape 1080p @ 144hz (bottom left of portrait screen)
  4. Set Screen to portrait right 1080p @ 60hz

    Result

  5. Screen 1: Landscape 1080p @ 60hz , slightly lower than right screen
  6. Screen 2: Landscape 1080p @ 60hz - slightly higher than left screen

Reproduction path 3

  1. Upgrade from 19.10 to 20.04
  2. Use Nvidia-settings
  3. Set Screen 2 to landscape 1080p @ 144hz (bottom left of portrait screen)
  4. Set Screen to portrait right 1080p @ 60hz
  5. Observe that settings are correctly applied
  6. Observer that Nvidia-setttings complains about some unapplied settings (apply button grayed out)
  7. Observer that Settings > Display correctly picks up settings
  8. Reboot (log out does not seemingly affect the issue)

    Result

  9. Settings revert to similar as in Reproduction path 2, Result 1&2

Additional notes

  1. Saving to /etc/X11/xorg.conf does not affect anything
  2. Saving to /etc/X11/xorg.conf (merge unchecked) does not affect anything
  3. Saving to $HOME/xorg.conf does not affect anything
  4. Saving to $HOME/xorg.conf (merge unchecked) does not affect anything
advance512 commented 4 years ago

Workaround for me is to use arandr. Unfortunately, modifying the screens via arandr is not persistent, and after every reboot I must repeat the configuration.

Have a look at this article for more info: https://codereviewvideos.com/blog/ubuntu-20-04-portrait-mode-monitor-problems/

Which is extra grating as my Thunderbolt 3 dock causes issues on re-docking, losing connection to the USB hub, which forces me to restart..

The joys of Linux <3

bhm commented 4 years ago

It looks like problems are artifacts of these issues upstream

https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1874217 https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-440/+bug/1874567

bhm commented 4 years ago

After an update as of 06.07.2020 situation is even worse. Second monitor in 4/5 occurances is not even recognised.

Ktoks commented 4 months ago

By turning the scale to 200% and applying, I was able to get the monitors switched. Once I had switched them and applied, I then turned the scale back to 100% and Applied. It worked.

MrPistachios commented 3 months ago

for me changing the scale just disables the second monitor and makes my main monitor scale to 200%. then the settings window is off screen and makes it difficult to revert the changes. then I have to re-enable the second monitor but still unable to rotate it.

Wes-Kuegler commented 3 months ago

Still broken as of 6/10/2024. Putting a monitor into portrait mode causes video output to disappear, then the system returns to prior settings.

MrPistachios commented 2 months ago

according to this reddit comment, aligning all the monitors from the bottom lets you change the setting properly, but I am not at my multi-monitor system to test it but wanted to share it before I forget https://www.reddit.com/r/pop_os/comments/g7pwq8/comment/fq2wh6x/

A9G-Data-Droid commented 1 month ago

I saw this issue on an install with an AMD RX 6950 XT after installing ROCm. I ended up with a mismatch between my main driver version and the ROCm components. I had to reinstall the main driver components, so all the versions matched. I was able to rotate my display again. I add this anecdote to say that this issue can be caused by driver installation failures and solved by reinstalling your drivers.