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

Cannot support Xrandr rotation under Allwinner A33 (AccelMethod = CPU) #46

Open
Icenowy opened this issue Oct 6, 2015 · 3 comments
Open

Comments

@Icenowy
Copy link

Icenowy commented Oct 6, 2015

xrandr --output default --rotate inverted returns "xrandr: output default cannot use rotation "inverted" reflection "none""

How can I fix it?

@Icenowy
Copy link
Author

Icenowy commented Oct 6, 2015

I cannot use Rotate=UD now, because it will disable XRANDR, but my window manager (Mutter) do not support X Server without XRANDR.

@ssvb
Copy link
Owner

ssvb commented Oct 6, 2015

Changing the display output configuration at runtime via XRANDR is not supported at the moment. Not that it can't be done, but this:

  • requires some work to implement, which is a dead end because we will move to the KMS driver eventually
  • relies on vendor-specific ioctl interface (sunxi disp) even more

I don't know if the A33 kernel from Allwinner has the disp ioctl API, which is fully backwards compatible with A10/A13/A20. For example, do you get Xv overlay working in mplayer? Can you paste your current /var/log/Xorg.0.log somewhere (via gist)?

@Icenowy
Copy link
Author

Icenowy commented Oct 7, 2015

At least it do not have g2d, so AccelMethod is set to CPU.

And as I know, sunxi disp interface do not support rotation(otherwise I won't refer to X.Org Driver to find a way to rotate the display

---- Siarhei Siamashka编写 ----

Changing the display output configuration at runtime via XRANDR is not supported at the moment. Not that it can't be done, but this:

  • requires some work to implement, which is a dead end because we will move to the KMS driver eventually
  • relies on vendor-specific ioctl interface (sunxi disp) even more

I don't know if the A33 kernel from Allwinner has the disp ioctl API, which is fully backwards compatible with A10/A13/A20. For example, do you get Xv overlay working in mplayer? Can you paste your current /var/log/Xorg.0.log somewhere (via gist)?


Reply to this email directly or view it on GitHub:
#46 (comment)

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

No branches or pull requests

2 participants