nexus511 / gpd-ubuntu-packages

This repository shall provide the base for building ubuntu packages from most of the patches currently used to get linux on the gpd-pocket.
GNU General Public License v3.0
73 stars 4 forks source link

Touch input not rotated in Gnome or Gdm (Ubuntu 17.04) #14

Closed jeanblanchard closed 7 years ago

jeanblanchard commented 7 years ago

STR (from memory, I hope I don't forget anything):

At first the screen is not rotated in GDM or Gnome, but I can configure it in gnome-settings, which fixes GDM too. But the input transformation matrix is not applied in either. If I re-enable Lightdm, the input is still fine in a Unity session, but not in a Gnome session. With xinput I can confirm that the "Coordinate Transformation Matrix" is applied in Unity but not in Gnome.

My understanding is that this is supposed handled by Xorg, so I don't get where this is coming from...

I am currently downloading the new Ubuntu-Gnome image, I'll see if that changes anything...

nexus511 commented 7 years ago

No, it gnome seems to override the rotation. So X11 configuration itself does not help.

I might be able to test it myself tomorrow.

jeanblanchard commented 7 years ago

I can confirm that in the live ubuntu-gnome image, the touch inputs are not rotated (but the screen orientation is correct on boot). I'm not going to reinstall after all, that's enough installs already for 24h...

nexus511 commented 7 years ago

Well, reinstalling would not have any value. If it does not work in the live-image, it will not work ootb in the installed version.

As there have been some requests on supporting gnome, I will take a look at it. There is most likely just some configuration missing. My understanding is that gdm will be running wayland and thus the X11 configurations will not (all) be present.

We recently added configurations for screen-rotation working on wayland, but I guess that we need something else there, to get the touch oriented properly.

Useful hints or comments are always welcome though.

nexus511 commented 7 years ago

Should be closed with Hotel release.