Page MenuHomePhabricator

drm (both gl and sw) are broken with rotation
Closed, ResolvedPublic

Description

just try it... drm tries to rotate then mis-renders updates (wrong offset). gl doesnt even bother rotate the output BUT rotates input.

rage has cmdline options (-rot 0/90/180/270) to make it easy.

in addition the window does not resize to the screen correctly when rotated. to make things even more fun, enlightenment doesn't do rotation via ecore-evas etc. and thus misses out on rotation if there is no drm rotation. since we have had code to render rotated for a long time in x11 and i am sure this worked in the fb before too (fbcon), this should work here too...

don't forget to test input (e.g. a touch panel) too... :)

raster created this task.Feb 8 2019, 9:03 AM
raster triaged this task as High priority.
raster updated the task description. (Show Details)
devilhorns added a subscriber: ManMower.

I'm going to attach some preliminary patches to this that makes rotation work with the gl engine. Please Note: rotation with software engine is still very much broken (it is an issue inside the evas drm software engine itself which I still have to look into). Please don't merge these patches yet...

devilhorns closed this task as Resolved.Fri, Mar 22, 9:49 AM

This ticket should be fixed now. If there are still issues, please re-open