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
Rotating 7-inch Touch Display is a mess -- needs proper research then update of config-tools and then new instructions in doc #3353
Comments
Setting Wayfire will want the touch matching the default orientation of the display itself. When assigned to a display, transforms on the display will also be reflected in the touch input as well. I believe you can insert a custom transform in libinput/Wayfire, but it just becomes more complex. WayVNC reversing the mouse pointer looks to be a bug in (probably) WayVNC, as I've reproduced that using TigerVNC as the viewer. It's for any rotated display not just the DSI panel, so implies that something is passing around co-ordinates/pointer movements without having checked for transforms first. |
@nathan-contino Can you insert the core of the above 👆 into the documentation on the 7-inch Display! |
I will say that we are looking at whether there is a more uniform way of configuring rotation over the various display options, but it's not a totally straight-forward task. |
@aallan The I prefer not to document known bugs, but this issue seems persistent enough that we might need to add something to the docs about debugging and fixing it. Is there a known and working temporary solution to invert input via device tree, or (preferably) invert input via touch input library? I would like to add more information to the docs about this, but I'd like to avoid adding a paragraph without an actionable solution. Even if it's not necessarily the cleanest or best solution right now. |
Sounds like a question for @6by9 if the |
We have the Official Display subforum at https://forums.raspberrypi.com/viewforum.php?f=108
|
If you can write a new sticky, I'll remove the old one (presuming there is nothing left in there of interest) |
* Closes #3353 * Bumped the existing wayvnc issue; will update this doc again if we identify a workaround * Minor cleanup of the rest of the page
This is still an issue with Raspberry pi and WayVNC dpkg -l of wayvnc package. /boot/firmware/cmdline.txt ~/.config/wayfire.ini Switching back to X11 server and vncserver (RealVNC) fixes the issue. I believe that this is a wayvnc issue. All local USB and bluetooth mouse movements work as expected on the console/screen. Touch screen also registers correctly. It's just the VNC session that has reversed X and Y mappings. Before I upgrade the wayvnc service, upon connect it would show the orientation off by 90 degrees before it would do a screen refresh. Once the screen refreshed, it would then show the correct orientation. After wayvnc upgrade to 0.8.0-rc0-2 upon connection it would now show the right screen orientation upon connect. Still has reversed X and Y mouse movements. I was hoping to find documentation in wayvnc on the config file to reverse the mouse movements, but did not see anything in the config documentation for that. |
☝️ ping @any1 |
@6by9 any updates on the pr? Is there any temp fix for that? |
What exactly are you referencing by "that"? There are a number of things being discussed in this thread. |
Probably some overlap with #3184. |
The inverted mouse on vnc. |
Not one I've invested significant time in, beyond replicating. @cillian64 is it worth raising it with the Wayfire devs? I think we may have mentioned trying to replicate on x86_64 first (need to find some hardware to do that). |
I saw that you made a pr to wlroots but it didn't actually get merged. It's on a review state and they left you a comment on fixing something. |
Unrelated to the vnc issue. |
Oh alright so that's not the problem. Ok |
@nathan-contino See also the notes in raspberrypi/bookworm-feedback#161 (but I think they might be related to 3rd-party screens, and not our offiical touch screen? ) |
(this is my "first create-issue", so please help if forget something)
I am using the 7-inch Touch Display accessory for many years now, for both business and personal projects, and I am always fighting with the "change-orientation" settings.
The two most popular display housing options (Multicomp and Pibow) both "force" you to install the display upside-down, relative to the housing if sitting on a flat surface, or desk.
The best solution would be for the housing to allow hardware installation/mounting in 2 positions (0 and 180 degrees).
But that is not the case, so we are stuck with software-rotation.
I have seen and used the rotation settings in the official website:
https://www.raspberrypi.com/documentation/accessories/display.html
https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/accessories/display/display_intro.adoc
But I always end-up with either the text/console being 180-rotated, and the GUI not.
Or reverse.
And then there is the issue of the touch-interface rotation being independent from the display-rotation.
And finally, the VNC-server does not "follow" the display-rotation.
I realize that fixing this issue, is foremost the addition/update of the driver config (in cmdline.txt or config.txt), more that just an update of this doc.
But how do I file an github-issue for the correct "7-inch Touch Display" driver (-config) ?
This is a screen-recording of VNC with the pointer being reversed:
d231229-JDG-Screen-Recording--VNC-pointer-reversed.mp4
The text was updated successfully, but these errors were encountered: