Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output should be able to be rotated. #86

Open
TMaYaD opened this issue Nov 17, 2015 · 16 comments
Open

Output should be able to be rotated. #86

TMaYaD opened this issue Nov 17, 2015 · 16 comments
Labels

Comments

@TMaYaD
Copy link

TMaYaD commented Nov 17, 2015

similar to -rotate option for xrandr.

@Cloudef
Copy link
Owner

Cloudef commented Nov 23, 2015

Not sure if possible with drm (perhaps only with certain devices). Would be possible with OpenGL though at least.

@TMaYaD
Copy link
Author

TMaYaD commented Dec 1, 2015

Complete noob to Wayland here... Does this help?
http://www.jlekstrand.net/jason/projects/wayland/transforms/

@TMaYaD
Copy link
Author

TMaYaD commented Dec 1, 2015

Looks like it's more involved than that. https://ereleaseblog.wordpress.com/2015/05/15/fun-with-drm-and-randr/

Still no clue what hardware planes are. Need to figure it out next fortnight I guess. :)

@TMaYaD
Copy link
Author

TMaYaD commented Dec 1, 2015

Also, is this related?
#64

@Cloudef
Copy link
Owner

Cloudef commented Dec 2, 2015

No, buffer transformations are for clients. (They may request their buffer to be shown rotated for example, where compositor needs to handle input etc accordingly)

@harrisonrodgers
Copy link

Hi. Could the transform parameter of wl_output be what we want?

This describes the transform that a compositor will apply to a surface to compensate for the rotation or mirroring of an output device.

@Cloudef
Copy link
Owner

Cloudef commented Apr 17, 2016

That's only for communicating the current rotation to client.

@WovenTales
Copy link

I haven't looked at the code of either this or Weston to know how compatible they are, but that does handle my rotated monitor correctly. If nothing else, that might point at one way to handle it.

@ohmysql
Copy link

ohmysql commented Aug 29, 2016

This thread should give an idea how tricky this may prove to be:

https://bugzilla.gnome.org/show_bug.cgi?id=745079

@stevekuznetsov
Copy link

Looks like that BZ is marked fixed -- will WLC be able to support this feature in the future, then?

@AndreasBackx
Copy link

Any update on this issue?

@hnykda
Copy link

hnykda commented Sep 23, 2017

I am also interested - this is a bit blocker for me to currently use sway unfortunately :-(

@ddevault
Copy link
Collaborator

As far as sway is concerned - we're working on switching from wlc to a new library, wlroots. It will take some time, but wlroots already supports output rotation.

@AndreasBackx
Copy link

AndreasBackx commented Sep 23, 2017

Cool, I hope to switch from i3 to Sway as soon as I can then. 👍 Thank you for the update.

@hnykda
Copy link

hnykda commented Sep 23, 2017

Awesome! Thanks a lot. Do you have some time frame for this change? Like, do you expect weeks or months?

@ddevault
Copy link
Collaborator

No.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants