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

Screen rotation in X and Bookworm #206

Open
addohm opened this issue Oct 15, 2023 · 6 comments
Open

Screen rotation in X and Bookworm #206

addohm opened this issue Oct 15, 2023 · 6 comments

Comments

@addohm
Copy link

addohm commented Oct 15, 2023

I'm firing up two new servers and the current method of install instruction just doesn't work for me.

In the terminal it absolutely works as expected.

In X I can't seem to get it to rotate using any of the suggestions in the issues or googling.

Honestly, I've never had a smooth experience with starting up a new pi with a hyperpixel screen. The basic premise of simply adding dtoverlay and dtparam just never works for any window manager. Is it possible to add instructions to get it to rotate (including touch) in WM's as well?

Previously I ran all my hyperpixels on Pi3A's and just blanket copied a boilerplate image I put together. Now that I am trying to update everything (hardware and software), it's really testing my patience >.<

I've tried lite, normal, and full builds of bookworm with no success. I intend on running openbox on top of lightdm.

@addohm
Copy link
Author

addohm commented Nov 9, 2023

Is there any dev happening currently for bookworm or is this a dead project?

@Gadgetoid
Copy link
Member

HyperPixel 4 rectangular is supported in Pi OS and can be rotated with the display settings in (at least on Pi 4/5 afaik).

Outside of this, and short of playing telephone and raising issues with Raspberry Pi, I can't do any meaningful development anymore. Rotation is something that requires a GPU or software alternative at some point to work, and every bit of GUI software, window manager or otherwise has its own particular nuisances (ha, sic) that are not only not consistent between software, but not consistent between Pi versions, OS versions or anything else.

That said you can try my - probably now broken again - rotation utility from here: https://github.com/pimoroni/hyperpixel4-rotate if it doesn't work, poking at the internals (it just sets config files) might give you some clues.

And yeah, there's dev happening for bookworm- on the 150 other things that have been broken and I need to fix 😭 HyperPixel 4 (rectangular, at least) is low on that list because - from my brief tests on a vanilla Pi OS - it's actually in a better place than it's been for years, and supporting anything else is apparently a fool's errand.

@addohm
Copy link
Author

addohm commented Nov 9, 2023

That said you can try my - probably now broken again - rotation utility from here: https://github.com/pimoroni/hyperpixel4-rotate if it doesn't work, poking at the internals (it just sets config files) might give you some clues.

Are you saying that I should try the legacy version? I've been avoiding it because even on bullseye it was almost always trouble for me personally.

HyperPixel 4 (rectangular, at least) is low on that list because - from my brief tests on a vanilla Pi OS - it's actually in a better place than it's been for years, and supporting anything else is apparently a fool's errand.

My initial tests of vanilla pi os (bookworm, 64 bit) is what brought me here. It doesn't work at all out of the box and even the window manager doesn't show it. It does back light (I'm assuming its on its own power) but nothing gets displayed either in the text or desktop environment.

It might sound like I'm pooping on the product but I'm not. I love this and want to continue to see it thrive and if I didn't feel like I was constantly wasting my time with raspberry pis I'd certainly make contributions.

@Gadgetoid
Copy link
Member

It might sound like I'm pooping on the product but I'm not. I love this and want to continue to see it thrive and if I didn't feel like I was constantly wasting my time with raspberry pis I'd certainly make contributions.

NOO KILL IT WITH FIREEEEE!!!!!! 😭 😭

What Pi are you running Bookworm/64bit on? On a Pi 4/400/5 just adding dtoverlay=vc4-kms-dpi-hyperpixel4 to /boot/config.txt should be all you need. I tested this when Bookworm was in beta, and fed back some tweaks to get our touchscreen recognised by the Screen Configuration utility. Worked like magic. I guess it could have broken since!

On Pi 3... I'm, uh, haven't tried.

@addohm
Copy link
Author

addohm commented Nov 9, 2023

It might sound like I'm pooping on the product but I'm not. I love this and want to continue to see it thrive and if I didn't feel like I was constantly wasting my time with raspberry pis I'd certainly make contributions.

NOO KILL IT WITH FIREEEEE!!!!!! 😭 😭

What Pi are you running Bookworm/64bit on? On a Pi 4/400/5 just adding dtoverlay=vc4-kms-dpi-hyperpixel4 to /boot/config.txt should be all you need. I tested this when Bookworm was in beta, and fed back some tweaks to get our touchscreen recognised by the Screen Configuration utility. Worked like magic. I guess it could have broken since!

On Pi 3... I'm, uh, haven't tried.

Pi5 is the only one I'm referencing at this point. I haven't set up a new Pi4 with Hyperpixel Touch 4.0 Rect in about a year (images ftw). But I do remember it took me like an entire day to get it going on a Pi4. But...being 1y ago it's probably irrelevant anyway.

edit< Very fuzzy memory here but I wanna say I had to disable wayland to get it to work. Really can't be confident in that but looking at the config it was all done very manually and my notes are too old to go off of anymore apparently. :(

@mislav
Copy link

mislav commented Dec 2, 2023

@addohm I've shared instructions that worked for me here: #177 (comment)

Note that since around the time that you've started this thread, the official Raspberry Pi Debian image does not boot the X11 window system anymore, but Wayland/Wayfire instead. For me, that is why editing any X11 settings didn't have effect in the desktop environment. Editing wayfire.ini is what eventually solved it.

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

3 participants