Bug 2315167 - gnome-shell-extension-screen-autorotate-24 is available
Summary: gnome-shell-extension-screen-autorotate-24 is available
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-shell-extension-screen-autorotate
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-27 13:21 UTC by Upstream Release Monitoring
Modified: 2024-11-17 02:14 UTC (History)
2 users (show)

Fixed In Version: gnome-shell-extension-screen-autorotate-24-1.fc41
Clone Of:
Environment:
Last Closed: 2024-11-17 02:14:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Update to 24 (#2315167) (831 bytes, patch)
2024-09-27 13:21 UTC, Upstream Release Monitoring
no flags Details | Diff

Description Upstream Release Monitoring 2024-09-27 13:21:17 UTC
Releases retrieved: 24
Upstream release that is considered latest: 24
Current version/release in rawhide: 23-1.fc42
URL: https://github.com/shyzus/gnome-shell-extension-screen-autorotate

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://docs.fedoraproject.org/en-US/package-maintainers/Upstream_Release_Monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from Anitya: https://release-monitoring.org/project/337904/


To change the monitoring settings for the project, please visit:
https://src.fedoraproject.org/rpms/gnome-shell-extension-screen-autorotate

Comment 1 Upstream Release Monitoring 2024-09-27 13:21:20 UTC
Created attachment 2049159 [details]
Update to 24 (#2315167)

Comment 2 Upstream Release Monitoring 2024-09-27 13:26:10 UTC
the-new-hotness/release-monitoring.org's scratch build of gnome-shell-extension-screen-autorotate-24-1.fc40.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=124053668

Comment 3 Matthew Saltzman 2024-10-30 20:54:14 UTC
Version 23 included with Fedora 41 is not enabled for gnome-shell-47.1. Please update.

Comment 4 Fedora Update System 2024-10-31 01:02:26 UTC
FEDORA-2024-3095f9ec0c (gnome-shell-extension-screen-autorotate-24-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3095f9ec0c

Comment 5 Fedora Update System 2024-11-01 01:35:23 UTC
FEDORA-2024-3095f9ec0c has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-3095f9ec0c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3095f9ec0c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Matthew Saltzman 2024-11-01 18:15:07 UTC
Installed from updates-testing. The extension shows as enabled and the toggle appears in the GNOME Shell drop-down menu, but the screen doesn't actually rotate when the unit is twisted or using the manual rotation control. This is a Lenovo ThinkPad Yoga X1 7th generation.

Comment 7 Luya Tshimbalanga 2024-11-02 00:29:53 UTC
It looks like a kernel regression bug as "monitor-sensor" command no longer detects accelerometer as tested on Dell Inspiron 14 2-in-1 Ryzen 7 5825 APU.

Comment 8 Matthew Saltzman 2024-11-03 10:47:46 UTC
On the ThinkPad, running "monitor-sensor --accel" hangs with "waiting for iio-sensor-proxy to appear" no matter how I tilt the unit.

Comment 9 Luya Tshimbalanga 2024-11-03 20:42:07 UTC
It is really a kernel bug as "iio-sensor-proxy" no longer readx accelerometer. Can you try the last kernel 6.10.x to see if you gained the accelerometer functionally? If so, it is a kernel regression.

Comment 10 Matthew Saltzman 2024-11-03 21:18:20 UTC
(In reply to Luya Tshimbalanga from comment #9)
> It is really a kernel bug as "iio-sensor-proxy" no longer readx
> accelerometer. Can you try the last kernel 6.10.x to see if you gained the
> accelerometer functionally? If so, it is a kernel regression.

I can confirm it was working in Fedora 40 at one point. Just upgraded to 41, so my installed kernels RPMs are:
kernel.x86_64 6.11.3-200.fc40 updates
kernel.x86_64 6.11.4-201.fc40 updates
kernel.x86_64 6.11.5-300.fc41 updates

Is there an easy downgrade to kernel-6.10?

Comment 11 Luya Tshimbalanga 2024-11-03 21:31:39 UTC
- Create a folder for the kernel and access to it i.e. "mkdir kernel-test && cd kernel-test"
- Use "koji download-build --arch=x86_64 2548907" command to download the latest kernel 6.10.x
- Use "dnf downgrade kernel*" command

On my side, the screen failed to automatically rotate from landscape to portrait. Hopefully your case works fine.

Comment 12 Matthew Saltzman 2024-11-04 15:56:48 UTC
(In reply to Luya Tshimbalanga from comment #11)
> On my side, the screen failed to automatically rotate from landscape to
> portrait. Hopefully your case works fine.

Unfortunately, kernel-6.10.11-200.fc40.x86_64 did no tsolve the problem--symptoms are the same as before.

I tried to update the shell version number in the old release and install it locally, but that produced some error about importing packages in JavaScript. I guess that's one of the things fixed in the update.

Comment 13 Matthew Saltzman 2024-11-10 20:36:26 UTC
Just wondering what the path forward is here, and if there's anything more I can do to help things along. Thx.

Comment 14 Matthew Saltzman 2024-11-11 16:31:06 UTC
Bug 2319766 explains why I don't see the sensor activity with monitor-sensor. Starting iio-sensor-proxy as root, as suggested in the workaround, does generate messages in monitor-sensor when I change screen position, but the screen orientation does not actually change.

Comment 15 Luya Tshimbalanga 2024-11-11 16:58:20 UTC
I confirm bug Bug 2319766 which works with this extension as long /usr/libexec/iio-sensor-proxy is used as first workaround. Based on that test, it looks like a selinux permission issue changed in Fedora 41. Have you tried the second workaround?

Comment 16 Matthew Saltzman 2024-11-11 21:45:23 UTC
Not sure what I did, but after suspend/resume, workaround 1 is functional. Will work with that and follow Bug 2319766 for final resolution.

Comment 17 Matthew Saltzman 2024-11-11 21:52:56 UTC
Bug 2324181 is the one filed against selinux-policy, which seems to be where the real issue is. Bug 2319766 is filed against iio-sensor-proxy.

Comment 18 Luya Tshimbalanga 2024-11-16 21:37:48 UTC
Lets push this update to stable as we found the root cause of the issue mentioned in comment #17.

Comment 19 Fedora Update System 2024-11-17 02:14:16 UTC
FEDORA-2024-3095f9ec0c (gnome-shell-extension-screen-autorotate-24-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.