[x86-64] Adjusting Screen Orientation by Xrandr

  • Hi All,

    Searched without finding a proper matching issue so creating a new thread about this one.

    I've run a automatic slideshow with vertical screens with LE9 for years. Now it's time to upgrade to 12 (about friggin time lol).

    I used to do "xrandr --output DP3 --rotate left" in autostart.sh, but i understand that xrandr is now gone from the distros.

    So therein lies the dilemma; Does LE12 no longer support screen rotation at all?

    Any way of sudo'ing back xrandr maybe?

    Thankful for all replies.

  • Code
    video=HDMI-A-1:1920x1080@60D,rotate=90

    Kodi does not currently support Linux DRM rotatation so you can configure things like this ^ in kernel boot params (syslinux.cfg) but this is interpreted by Kodi as a resolution change from 16:9 to 9:16 not a rotation. If you also patch Kodi sources like this: https://github.com/xbmc/xbmc/issu…ment-1694808244 it's possible to force a permanent rotation in Kodi too, but that requires you to build a custom LE image (not that hard, but not something everyone can tackle).

    Copying xrandr from another image won't achieve anything because the 'x' in xrandr is for X11 and the Generic no longer uses X11 Windowing. The Generic-Legacy image still does, so you can cross-grade to that. The legacy image will still exist for LE13 but I won't guarantee it exists for LE14 .. the demise of X11 is long overdue.