Vonger / vocore2

VoCore2 firmware drivers
https://vocore.io
98 stars 45 forks source link

Cannot Rotate FrameBuffer #43

Open Spacefreak18 opened 1 year ago

Spacefreak18 commented 1 year ago

I compiled the fbusb module, and I have connected a vocore display to my amd64 PC.

However, no matter what I try, the screen is in portrait mode. I would like to achieve a clockwise 90 degrees rotation.

more /sys/class/graphics/fb1/rotate gives a value of 0. And if i try to echo 1 > /sys/class/graphics/fb1/rotate it doesn't take, it remains 0.

I am positive the device is attached as fb1.

Is there anyway to acheive this in hardware?

ieiao commented 3 months ago

Hi, maybe you can use the new drm driver instead of old fbused driver.

In my case, with this driver, I can use the MPRO screen as a extension screen on debian bookworm (Intel integrated graphics and KDE desktop enviroument), and I can set its rotation to any direction.

You should chooise the properly repository branch according your kernel version, this branch provides the usage on Raspberry, amd64 also same.

Spacefreak18 commented 3 months ago

Hi, maybe you can use the new drm driver instead of old fbused driver.

In my case, with this driver, I can use the MPRO screen as a extension screen on debian bookworm (Intel integrated graphics and KDE desktop enviroument), and I can set its rotation to any direction.

You should chooise the properly repository branch according your kernel version, this branch provides the usage on Raspberry, amd64 also same.

nice work! i'll give it a shot