X freeze after today's -Syu
(Update below)
Today, I ran pacman -Syu for the first time in a few days (last updated 9/21/2017), and when I rebooted and started my X session (i3 with a minimal .xinit) i3 showed 100% CPU usage, and I couldn't interact with anything. The same problem happened when I reduced my .xinit to just the single line "exec i3", as well as other window managers ("exec openbox", "exec awesome", etc). Each time, I had to manually kill the process from a different tty.
Here is what I did today with my laptop:
- Installed Stepmania from AUR
- Ran pacman -Syu
- Ran pacaur -u (only updated google-chrome package)
My /var/log/pacman.log from today until the problem started occurring is copied here and one of my Xorg.0.log files is copied here
After a lot of fruitless screwing around (uninstalling Stepmania, downgrading mesa, reinstalling xf86-video-intel, other crap I can't remember now), I was finally able to get it working again by rolling my whole installation back a few days using these instructions
Obviously now I'm afraid to revert my mirrorlist and update again.
Does anyone have a suggestion about which of the packages I updated that might have caused this? Thanks in advance for any help!
EDIT: here are some journals:
journal from a boot with the problem
journal from my current boot after I rolled everything back
UPDATE:
The problem seems to have magically resolved itself. I went into my office this morning and my desktop there also had the same problem after updating. So I started playing around with my .xinitrc on both machines after reading /u/V1del's comment (essentially the same xinitrc for both machines). At first I thought nm-applet was the culprit, because commenting that line out allowed X to start fine. But that only worked on my laptop, not my desktop. On my desktop, I had to comment out the redshift line. But then both of them started working with nothing commented out at all...
So, I have no idea what happened in the end. Both machines are now working fine with their original .xinitrc's. Guess it was just one of those things.
Edited 26 Sep 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 15 · 100% up
- Kind
- Text
- ID
- 72haap
8 comments
I'm having a similar issue after an upgrade the other day. When I
startxmy whole system locks up. I cannot switch tty's and any ssh sessions to monitor it hangs. My xorg log is empty.I'll try rolling back my packages.
Update:
Rolling back worked:
Server = https://archive.archlinux.org/repos/2017/08/20/$repo/os/$archI suspected xorg-server to be the problem, but downgrading that package didn't help. I could finally startx after downgrading the whole system to 2017-08-20.
Relevant journalctl log of error
Pacman log of downgrade
It's caused by noto-fonts-cjk. Mine did the same thing, but i just let it do its thing and finish. Works fine now. Relevant thread
That's odd? How can a font break things so badly?
Nothing sticks out in these logs, a journal excerpt would be nice, if you know the timeframe you can let journalctl filter only to that time and/or if you know the boot where this last happened. e.g.
Also your .xinitrc should never be a single line, it is absolutely a necessity that it parses a few scripts for proper operation: .xinitrc note the second "note" box
Thanks for your help! I edited my post with some journal pastes. As for the xinitrc thing, the problem started occurring with my usual .xinitrc, which had a handful of things in it. I commented everything out to see if one of them was the problem, but even when it was nothing more than the exec line, the problem was still occurring. Maybe this is relevant: when my xinitrc had just "exec xterm", it worked and didn't hang like it did with the other window managers.
Deleted before we saved it.
Since a couple of days ago, I'm getting the behaviour reported in this bug. When I try to use my other monitor on my Nvidia card (I have Optimus), it just craps out on me with "link training failed" as the message. The kthreads process seems to be consuming 100% of one core's CPU time, but it stops when I unplug my monitor cable and the message stop appearing.
xf86-video-intel is not well maintained anymore. You should consider removing it. Also consider using wayland+sway instead of Xorg and i3.