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

systemd[1]: Failed to start autorandr.service - autorandr execution hook when switching from Windows 10 to Ubuntu #393

Open
KosmicKatXV opened this issue Aug 19, 2024 · 0 comments

Comments

@KosmicKatXV
Copy link

Good afternoon, I am running a Windows + Kubuntu 23.10 installation with Grub and I have discovered that my random autorandr errors happened everytime I switched OS. I have an RX6600 with the default drivers and KDE plasma if it helps. Here I leave some useful info:

sg@ubuntuPC:~$ journalctl -a -u autorandr.service
jul 30 18:06:26 ubuntuPC systemd[1]: Starting autorandr.service - autorandr execution hook...
jul 30 18:06:26 ubuntuPC systemd[1]: autorandr.service: Deactivated successfully.
jul 30 18:06:26 ubuntuPC systemd[1]: Finished autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.
jul 30 18:06:28 ubuntuPC systemd[1]: Failed to start autorandr.service - autorandr execution hook.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Start request repeated too quickly.
jul 30 18:06:28 ubuntuPC systemd[1]: autorandr.service: Failed with result 'start-limit-hit'.

/lib/systemd/system/autorandr.service:

[Unit]
Description=autorandr execution hook
After=sleep.target
StartLimitIntervalSec=5
StartLimitBurst=1

[Service]
ExecStart=/usr/bin/autorandr --batch --change --default default
Type=oneshot
RemainAfterExit=false
KillMode=process

[Install]
WantedBy=sleep.target
@KosmicKatXV KosmicKatXV changed the title systemd[1]: Failed to start autorandr.service - autorandr execution hook when rebootin Windows 10 to Ubuntu systemd[1]: Failed to start autorandr.service - autorandr execution hook when rswitching from Windows 10 to Ubuntu Aug 19, 2024
@KosmicKatXV KosmicKatXV changed the title systemd[1]: Failed to start autorandr.service - autorandr execution hook when rswitching from Windows 10 to Ubuntu systemd[1]: Failed to start autorandr.service - autorandr execution hook when switching from Windows 10 to Ubuntu Aug 19, 2024
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

1 participant