Skip to content
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

Screen Rotation and Fractional Scaling #47

Open
mynameisfiber opened this issue Aug 13, 2021 · 7 comments
Open

Screen Rotation and Fractional Scaling #47

mynameisfiber opened this issue Aug 13, 2021 · 7 comments

Comments

@mynameisfiber
Copy link

Note for all, which may be useful for the README... to get screen rotation and fractional scaling to work you need to add the following to your kernel command line:

amdgpu.exp_hw_support=1

source: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1888088

@benoe77
Copy link

benoe77 commented Aug 16, 2021

Is this for standard laptops or just for 2in1-s?
I have fractional scaling working, and a new "Screen Lock" menu apeared (no force rotation menu in settings) after update to 5.11, but I only have standard form factor.
I have Ubuntu 20.04.2 LTS

@jrandiny
Copy link
Owner

Hm I also have fractional scaling working on my machine (Ubuntu 20.04.2, Kernel 5.11)

@mynameisfiber
Copy link
Author

Hrmm... I think the issue may be kernel version?

charm ~:$ uname -a
Linux charm 5.8.0-63-generic #71-Ubuntu SMP Tue Jul 13 15:59:12 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
charm ~:$ cat /etc/issue
Ubuntu 20.10 \n \l

Also, to be honest, I included fractional scaling in the title because that was another problem mentioned in the issue I linked to. I personally was experiencing problems with screen rotation. To test, run:

$ xrandr --output <the output monitor> --rotate left

Before making the modifications to my kernel line, this command completed without failure but the screen did not rotate.

@jrandiny
Copy link
Owner

jrandiny commented Aug 19, 2021

$ xrandr --output <the output monitor> --rotate left works on my system (Ubuntu 20.04 Kernel 5.11). I think it's due to your kernel version

edit: Also works in kernel 5.8. Now i think it's related to the mesa version on Ubuntu 20.10

@mynameisfiber
Copy link
Author

mynameisfiber commented Aug 19, 2021

I have,

libgl1-mesa-dri/groovy-updates,now 20.2.6-0ubuntu0.20.10.1 amd64 [installed,automatic]
libgl1-mesa-glx/groovy-updates,now 20.2.6-0ubuntu0.20.10.1 amd64 [installed,automatic]

In the issue, that user had,

version.libgl1-mesa-dri: libgl1-mesa-dri 20.0.8-0ubuntu1~20.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx N/A

@jrandiny
Copy link
Owner

jrandiny commented Aug 20, 2021

My version

libgl1-mesa-dri/focal-updates,now 21.0.3-0ubuntu0.3~20.04.1 amd64 [installed,automatic]
libgl1-mesa-glx/focal-updates,now 21.0.3-0ubuntu0.3~20.04.1 amd64 [installed,automatic]

Maybe mesa 21 fixes the bug

@mynameisfiber
Copy link
Author

Seems like a reasonable assumption. To be honest, I think the recommendation here isn't the above fix but rather to use ubuntu 20.04 when possible!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants