Hi all,
Wanted to check if anyone have been able to figure out how to rotate HDMI output on the Raspberry Pi 5?
Been trying edits of both config.txt and cmdline.txt without much results...
Using LibreELEC 12.2
Hi all,
Wanted to check if anyone have been able to figure out how to rotate HDMI output on the Raspberry Pi 5?
Been trying edits of both config.txt and cmdline.txt without much results...
Using LibreELEC 12.2
See https://github.com/xbmc/xbmc/issu…ment-2541224018 - It is possible to compile a patched version of Kodi that forces the rotation permanently; the patch is in that thread (along with a load of AI generated how-to-compile BS that someone unhelpfully posted). It is not possible to dynamically change the rotation (the UI shows options, but they won't work).
Note: the linked patch is for a 180' rotation.
It's not clear if Soundie wanted a 90'/270' rotation which is far more complicated.
Indeed; i was looking for a 90' rotation.
I've set up some screens in the reception at my office with slideshows that use a 90' rotation.
Until recently i've used a small pc to push the slideshow using the Legacy Libreelec installation that supports xrandr, but have replaced the 0' ones with raspberrys
You might want to try installing kodi21 from RPiOS which supports wayland, and much like Xorg on the PC, allows the compositor (outside of Kodi's knowledge) to rotate the screen.
Note that this will use EGL for composition, rather than DRM which is a less efficient path. It should be fine for 1080p60, but will struggle with 4K video.
But you can give it a try quite easily, to see if it meets your requirements. Use the preferenced/screen configuration tool (from the desktop) to set the display rotation, then launch kodi (the desktop version, not the fullscreen version). You can switch the desktop kodi to use fullscreen when running.
I've set up some screens in the reception at my office with slideshows that use a 90' rotation.
RPiOS and an image viewer for slideshows? Or a slideshow screensaver? Don't know if for that you should use Kodi...
RPiOS and an image viewer for slideshows? Or a slideshow screensaver? Don't know if for that you should use Kodi...
Pretty simple stuff actually.
I made a script that autostarts a slideshow when kodi starts. It can use pictures/videos from a local folder or an SMB/FTP share too.
Very stable solution - one of them has been running for 3 years continously in october
You might want to try installing kodi21 from RPiOS which supports wayland, and much like Xorg on the PC, allows the compositor (outside of Kodi's knowledge) to rotate the screen.
Note that this will use EGL for composition, rather than DRM which is a less efficient path. It should be fine for 1080p60, but will struggle with 4K video.
But you can give it a try quite easily, to see if it meets your requirements. Use the preferenced/screen configuration tool (from the desktop) to set the display rotation, then launch kodi (the desktop version, not the fullscreen version). You can switch the desktop kodi to use fullscreen when running.
To sum up; Popcornmix' solution with running kodi from rotated RPiOS (without LE then) is a verified working solution for this problem.
To sum up; Popcornmix' solution with running kodi from rotated RPiOS (without LE then) is a verified working solution for this problem.
Glad that worked for you.