macslow/kmscon-output-rotation

Description

A patched version of upstream kmscon, which adds xrandr-style output-rotation to its capabilities. Relevant upstream projects for this to work are https://www.freedesktop.org/wiki/Software/libtsm and https://www.freedesktop.org/wiki/Software/kmscon.

I wrote about the motivation and patch itself on my blog here https://blog.macslow.org/?p=365.

Installation Instructions

Once you downloaded and installed the two binary packages for libtsm (you don't really need the -devel rpm) and kmscon, switch to a VT (e.g. Ctrl-Alt-F2), disable any Xorg or wayland-based desktop-environment (usually sudo systemctl stop gdm) and start kmscon like this:

sudo kmscon --vt 1 --rotate normal --drm --hwaccel --render-engine gltex -t linux --xkb-layout de --xkb-model pc102 --font-name "Ubuntu Mono" --font-size 18

The patch only affects the gltex render-engine. Of course adapt the keyboard-layout, font-name and size to reflect your system. Instead of passing "normal" to the --rotate option, try "inverted" :)

Be sure to read section on the --rotate option of kmscon's man-page (man kmscon).

To betters show of that you console is really running hardware-accelerated via OpenGL, use this:

sudo GALLIUM_HUD_PERIOD=0.1 GALLIUM_HUD=".w320.h200.x1570.y10.d.c1000fps+cpu" kmscon --vt 1 --rotate normal --drm --hwaccel --render-engine gltex -t linux --xkb-layout de --xkb-model pc102 --font-name "Ubuntu Mono" --font-size 18

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download Fedora 37 x86_64 (0)* Fedora 37 (0 downloads)

* Total number of packages downloaded in the last seven days.


This is a companion discussion topic for the original entry at https://copr.fedorainfracloud.org/coprs/macslow/kmscon-output-rotation/