Skip to content

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

@rubenakue

Description

@rubenakue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions