Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


How to rotate HDMI display?
#1
I have a 'ultra-wide' HDMI display that's currently being shown in portrait mode.

https://www.aliexpress.us/item/3256805466844719.html


Can anyone assist in getting it rotated?

Thanks.
Reply
#2
(06-06-2024, 01:47 PM)nullstring Wrote: I have a 'ultra-wide' HDMI display that's currently being shown in portrait mode.

https://www.aliexpress.us/item/3256805466844719.html


Can anyone assist in getting it rotated?

Thanks.

I managed to get this working by editing .xinitrc manually, inverting X and Y in SCREENSIZE. See my post in FAQ. Not certain it will work on your display, you first need to check if it works at all, and if not get config.txt correct for your model.
Reply
#3
awesome! I bet that will work, I just couldn't figure out where to start.

I was getting no where with the xorg conf changes.
Reply
#4
I'm able to get the display to show properly now (using the exact steps you used, just replacing the resolution. Thanks!)

However, the calibration of the touchscreen is off.
Using xinput_calibrator, I can generate an Xorg configuration and put it into xorg.conf.d, but it won't work for some reason. Seems to just be ignoring it?

EDIT: It seems like I can use xinput set prop in order to set the calibration, but I am unsure how to "translate" my xorg config into an xinput command. This is what is in my file:


Code:
nullstring@moode:/etc/X11/xorg.conf.d $ cat 99-touchscreen.conf
Section "InputClass"
    Identifier    "calibration"
    MatchProduct    "wch.cn USB2IIC_CTP_CONTROL"
    Option    "MinX"    "8232"
    Option    "MaxX"    "8186"
    Option    "MinY"    "128112"
    Option    "MaxY"    "126655"
    Option    "SwapXY"    "1" # unless it was already set to 1
    Option    "InvertX"    "0"  # unless it was already set
    Option    "InvertY"    "0"  # unless it was already set
EndSection
Reply


Forum Jump: