You are not logged in.
Pages: 1
I'm running the 5.4.79-1-lts kernel on an HP Laptop with an Nvidia 1050 and Intel graphics, running on Nvidia with Optimus.
A few days ago I tried to run a pacman -Syu on my system and after reboot nothing would work, I get past GRUB but then all I see is a blinking cursor for a few seconds, then my screen turns black, then the cursor again and so on. I can't even get to a TTY.
I could chroot from a flash drive but could not start lightdm from there, again, eternally blinking cursor.
I restored to an earlier timeshift snapshot and now everything works, but the system is very out of date.
I tried adding "nvidia-drm.modeset=1" to the GRUB kernel parameters as suggested in this post but had the same results.
Last edited by lakso (2020-12-10 16:17:48)
Offline
Sounds as if the DM is insta-crashing, update, fail, boot the multi-user.target (2nd link in my signature) and check the journal of the *last* boot.
If you're using GDM, there've been a couple of recent threads.
Offline
Allright, upgraded and rebooted. Not sure if this is what you meant by last boot's journal tho.
Offline
Dec 10 12:12:43 archlinux lightdm[481]: Traceback (most recent call last):
Dec 10 12:12:43 archlinux lightdm[481]: File "/sbin/prime-offload", line 33, in <module>
Dec 10 12:12:43 archlinux lightdm[481]: sys.exit(load_entry_point('optimus-manager==1.3', 'console_scripts', 'prime-offload')())
Dec 10 12:12:43 archlinux lightdm[481]: File "/sbin/prime-offload", line 22, in importlib_load_entry_point
Dec 10 12:12:43 archlinux lightdm[481]: for entry_point in distribution(dist_name).entry_points
Dec 10 12:12:43 archlinux lightdm[481]: File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
Dec 10 12:12:43 archlinux lightdm[481]: return Distribution.from_name(distribution_name)
Dec 10 12:12:43 archlinux lightdm[481]: File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
Dec 10 12:12:43 archlinux lightdm[481]: raise PackageNotFoundError(name)
Dec 10 12:12:43 archlinux lightdm[481]: importlib.metadata.PackageNotFoundError: optimus-manager
Dec 10 12:12:43 archlinux systemd[1]: NetworkManager-dispatcher.service: Succeeded.
Dec 10 12:12:43 archlinux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 10 12:12:43 archlinux kernel: audit: type=1131 audit(1607613163.803:41): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 10 12:12:44 archlinux lightdm[482]: Traceback (most recent call last):
Dec 10 12:12:44 archlinux lightdm[482]: File "/sbin/prime-switch", line 33, in <module>
Dec 10 12:12:44 archlinux lightdm[482]: sys.exit(load_entry_point('optimus-manager==1.3', 'console_scripts', 'prime-switch')())
Dec 10 12:12:44 archlinux lightdm[482]: File "/sbin/prime-switch", line 22, in importlib_load_entry_point
Dec 10 12:12:44 archlinux lightdm[482]: for entry_point in distribution(dist_name).entry_points
Dec 10 12:12:44 archlinux lightdm[482]: File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution
Dec 10 12:12:44 archlinux lightdm[482]: return Distribution.from_name(distribution_name)
Dec 10 12:12:44 archlinux lightdm[482]: File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name
Dec 10 12:12:44 archlinux lightdm[482]: raise PackageNotFoundError(name)
Dec 10 12:12:44 archlinux lightdm[482]: importlib.metadata.PackageNotFoundError: optimus-manager
Dec 10 12:12:44 archlinux systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Dec 10 12:12:44 archlinux systemd[1]: lightdm.service: Failed with result 'exit-code'.
Dec 10 12:12:44 archlinux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Dec 10 12:12:44 archlinux kernel: audit: type=1131 audit(1607613164.383:42): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=lightdm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Dec 10 12:12:44 archlinux systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Dec 10 12:12:44 archlinux systemd[1]: Stopped Light Display Manager.Looks like yo need to rebuild optimus-manager because python was updated 3.8 to 3.9
Offline
Thank you! optimus-manager seems to be out of date, but installing optimus-manager-git seemed to solve it.
Offline
Pages: 1