https://bugs.kde.org/show_bug.cgi?id=474110
Bug ID: 474110 Summary: Touchscreen calibration matrix NOT respected (Xorg) Classification: Plasma Product: kwin Version: 5.27.7 Platform: Ubuntu OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kwin-bugs-n...@kde.org Reporter: dofficialg...@gmail.com Target Milestone: --- SUMMARY Touchscreen calibration matrix is NOT respected on xorg via any of the permanent methods available to set one. The proper method for setting a calibration matrix is trhough a UDEV rule settting the ENV variable `LIBINPUT_CALIBRATION_MATRIX`. The variable can be set and it is seen to have been applied when observing the props (eg: "xinput list-props nameoftouchscreen" will have a value "libinput Calibration Matrix Default" that matches what is set in the UDEV rule). This calibration matrix is NOT respected by the DE and has NO affect. I can set it to whatever values and there is no change at all. The alternative option is setting the `Coordinate Transformation Matrix` through XORG which can be done temporarily with `xinput set-prop nameoftouchscreen "matrix goes here"`, however this is NOT permanent and gets reset any time the display gets rotated with xrandr (so via the xrandr command line tool or system settings). The official way to set that is via a xorg conf file ``` Section "InputClass" Identifier "calibration" MatchProduct "nameoftouchscreen" Option "TransformationMatrix" "0 1 0 -1 0 1 0 0 1" EndSection ``` but this has no affect and on boot and any rotation the `Coordinate Transformation Matrix` always shows the identity matrix. This functionality is very important for devices where default touchscreen orientation does not match the default display orientation. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 -- You are receiving this mail because: You are watching all bug changes.