Optimus manager crashes when system upgrades to python 3.9
See original GitHub issueAfter system upgrade, on Arch optimus manager crashes, so any GUI is not working. I needed to reinstall optimus-manager to get it working again. Its becouse Arch upgraded to python 3.9 and optimus manager doesnt know it, and looks at 3.8 libraries.
Im sharing this becouse there can by other issues with this problem, when only whots needed is reintall. Maybe push a update to avoid that? Also journalctl -xe, or dmesg didnt show anything related to this. a bit strange. But the status of services says the problem.
journalctl -u optimus-manager -xe:
gru 02 21:38:27 ArchSzybet python3[855]: /usr/bin/python3: Error while finding module specification for 'optimus_manager.hooks.post_da> gru 02 21:38:27 ArchSzybet systemd[1]: optimus-manager.service: Control process exited, code=exited, status=1/FAILURE ░░ Subject: Proces jednostki zakończył działanie ░░ Defined-By: systemd ░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel ░░ ░░ Proces ExecStopPost= należący do jednostki optimus-manager.service zakończył działanie. ░░ ░░ Kod wyjścia procesu: „exited”, jego stan wyjścia: 1.
Issue Analytics
- State:
- Created 3 years ago
- Comments:30 (8 by maintainers)
Top GitHub Comments
Please rebuild the package from the AUR. It will then use Python 3.9 instead of Python 3.8. I faced this same error, and rebuilding the package fixed it.
Credits: LIN_X42’s comment on the AUR page for optimus-manager.
I had to chroot into my system, disable lightdm, and update the system to be able to get xorg working properly. Once I could log into a graphical session, I reinstalled optimus manager, cleaned up stale system config files (optimus-manager --clean) and then enabled lightdm again. This worked for me.