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

Changing monitor orientation to vertical - "Couldn't find a matching Display Mode." #10

Open
rubenakue opened this issue Sep 20, 2024 · 3 comments

Comments

@rubenakue
Copy link

I have a setup where I'm using two monitors connected to my laptop. Monitor number 2 is the one I'm trying to switch between horizontal and vertical orientations. I followed the steps to create profiles:

  • Created a profile for horizontal orientation:
    SetResolution CREATEPROFILE -p horizontal -w 1920 -h 1080 -f 60 -b 32 -o 0

  • Created a profile for vertical orientation:

SetResolution CREATEPROFILE -p vertical -w 1920 -h 1080 -f 60 -b 32 -o 1

  • When I apply the horizontal profile, everything works great:

SetResolution SET -p horizontal -m2

  • But when I try to apply the vertical profile:

SetResolution SET -p vertical -m2

  • I get the message:

Couldn't find a matching Display Mode.

And the orientation doesn't change (I have the same problem with all the monitors).
I also tried listing all available display modes for the monitor using:
SetResolution LIST -la -m2
But in the list, the "Orientation" field doesn't show any values—there's no "Default" or "Rotated" options, nothing at all.

image

For additional context:

I'm able to manually change the orientation of monitor 2 in the Windows display settings without any problems

Do you have any idea why SetResolution isn't recognizing or allowing the orientation change? Is there something I'm missing, or could this be a limitation or bug in the tool?

Thank you so much

@alvisnigals
Copy link

Same here! Downloaded this tool just for this one purpose, to set display orientation as AMD has removed hotkeys from their driver. But when I try to use -o any but 0 I get Couldn't find a matching Display Mode

@RickStrahl
Copy link
Owner

Can you give this a try with 0.3.2?

There were some missing flags that cause both frequency and orientation to not be updated correctly.

I can't test orientation as none of my monitors support rotation, but similar fix fixed the frequency issue...

@rubenakue
Copy link
Author

When installing the latest version it is still version v0.2.1
I have tried both methods and the same thing happens.

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