Bug 457642

Summary: screen rotation doesn't work using fbdev backend
Product: [Plasma] kwin Reporter: Denis <kirjanov>
Component: platform-fbdevAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: nicolas.fella
Priority: NOR    
Version First Reported In: 5.23.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Denis 2022-08-08 18:16:45 UTC
SUMMARY
***
Hello, I'm using kwin-5.23.5-2 on aarch64 and an FB device is used for backend.

Tha problem is that I can't rotate the screen using kscreen-doctor like kscreen-doctor output.1.rotation.left.
Does fb support rotation?
***


STEPS TO REPRODUCE
1. kscreen-doctor output.1.rotation.left 

EXPECTED RESULT:
A screen is rotated.


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Nicolas Fella 2022-08-08 18:35:13 UTC
More recent versions of KWin do not support fbdev at all since fbdev has been deprecated for a long time.

KWin only supports using DRM now, so I'd recommend you get that working with your device, possibly using SimpleDRM
Comment 2 Denis 2022-08-08 18:46:29 UTC
(In reply to Nicolas Fella from comment #1)
> More recent versions of KWin do not support fbdev at all since fbdev has
> been deprecated for a long time.
> 
> KWin only supports using DRM now, so I'd recommend you get that working with
> your device, possibly using SimpleDRM

So looks like rotation wasn't implemented at all in fbdev, right? There is no updateTransform implementation for fbdev
Comment 3 Nicolas Fella 2022-08-08 18:48:02 UTC
yes, it's probably just a case of "nobody implemented it"