[Bug 1188224] New: iio-sensor-proxy cannot rotate screen: orientation undefined in monitor-sensor
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224 Bug ID: 1188224 Summary: iio-sensor-proxy cannot rotate screen: orientation undefined in monitor-sensor Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: herzenschein@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- iio-sensor-proxy in running installation of openSUSE Tumbleweed is running, but it is unable to rotate the screen. I noticed that monitor-sensor --accel gives the following error: Waiting for iio-sensor-proxy to appear +++ iio-sensor-proxy appeared === Has accelerometer (orientation: undefined) Whereas KDE Neon Unstable for instance shows orientation: normal, changing its orientation once I rotate my 2-in-1. output of: lsmod | grep iio hid_sensor_iio_common 20480 7 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation hid_sensor_hub 24576 9 hid_sensor_gyro_3d,hid_sensor_trigger,hid_sensor_iio_common,hid_sensor_incl_3d,hid_sensor_als,hid_sensor_accel_3d,hid_sensor_magn_3d,hid_sensor_rotation,hid_sensor_custom This occurs on both GNOME Wayland and Plasma Wayland (tested just before installing Next and Krypton), as well as the Wayland sessions in GNOME Next and Krypton. Because of this and the output of monitor-sensor, I suspect this is not DE related. Moreover, I have tested and confirmed that this works on Fedora Rawhide, KDE Neon Unstable, Kubuntu Impish and Arch, so the issue is openSUSE specific. The only different things I did on this install was use ext4 and leave the security thing set as Easy. Not sure how I'd tell the wayland version currently in use, but wayland-devel reports 1.19.0-1.4. xorg-x11-server is at version 1.20.11-3.1 if that matters. Complete output from KInfoCenter if that helps: Operating System: openSUSE Tumbleweed 20210709 (Krypton and GNOME Next now) KDE Plasma Version: 5.22.80 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.2 Kernel Version: 5.13.0-1-default (64-bit) Graphics Platform: Wayland Processors: 4 �� Intel�� Core��� i7-5500U CPU @ 2.40GHz Memory: 7.7 GiB of RAM Graphics Processor: Mesa DRI Intel�� HD Graphics 5500 I haven't managed to try previous kernels yet. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
Steve Brown
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c2
Thiago Masato Costa Sueto
* Please list your iio-sensor-proxy version (`zypper se -si iio-sensor-proxy`).
I used both version 3.1-1-1 from repo-oss and 3.1-56.1 from GNOME Next.
* Also, what were the iio-sensor-proxy versions used in all these other distros (or any one working) that you tested?
Just tested the following distros: KDE neon Unstable: 3.0-1 Ubuntu Studio 21.04: 3.0-2 Fedora Rawhide (35): 3.1-1 The first distro I used to test touch on this device was Arch and it worked fine, and the current Arch packages website lists 3.1-1, that was probably the one I was using. I didn't retest it, but I'm sure the current daily image of Ubuntu (Impish, 21.10) worked fine as well last I tried it.
If the working iio-sensor-proxy is version 3.0, this may be similar to https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/-/issues/328.
Fedora Rawhide and Arch use 3.1, so probably not. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c3
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c4
--- Comment #4 from Thiago Masato Costa Sueto
Could you try an older kernel on TW and see if it works? This should be easy to select from the boot menu �Advanced Boot Options�. It would help narrow this down between iio-sensor-proxy and the kernel in use. Thanks.
Since this is a recent install, there aren't older kernels yet actually, and unlike Leap YaST doesn't allow to install older kernels like that. I used opi to install different versions of kernel-vanilla to test (easier to do without having to add new repos and no need for --oldpackage). None of the following worked: kernel-vanilla 5.14rc from HEAD kernel-vanilla 5.13.0 from stable kernel-vanilla 5.12.4 from tiwai_bsc1185624 kernel-vanilla 5.11.6 from joro:tw-iommu-fixes -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c5
--- Comment #5 from Thiago Masato Costa Sueto
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c6
Thiago Masato Costa Sueto
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c7
--- Comment #7 from Thiago Masato Costa Sueto
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c8
Atri Bhattacharya
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224
http://bugzilla.opensuse.org/show_bug.cgi?id=1188224#c9
Atri Bhattacharya
participants (1)
-
bugzilla_noreply@suse.com