It looks like there is a mkinitcpio-dropbear package, so I've been playing with that. I tried setting it up remotely and rebooting, and my system didn't come back... will have to manually debug when I get home, heh.
I only started looking into what goes on in initramfs after reading your comment. What confuses me a little bit is at what point dropbear in the initramfs disappears and openssh from my actual system takes over. My suspicion is that dropbear does start... and then all that gets replaced by systemds binary, which promptly crashes and drops me back into emergency mode without SSH again -.-
So I tried that (with the emergency.target where I recently learned I'm actually ending up), but it causes a circular dependency since sshd.service has an indirect dependency on local-fs.target, which is what's failing. systemd's resolution is to just say "whatever, just start the system all the way", and I end up with a running system with missing mounts -.-
More information here. I'm going to investigate the initramfs solution someone else suggested here before investing more time into seeing if I can get this to work.
Hmm, oddly enough, after you mentioned the lid switch, I tried closing my laptop and noticed it wasn't sleeping and would just sit there. I went and edited the /etc/systemd/logind.conffile to uncomment HandleLidSwitch=suspend, and that fixed it.
... now it seems to come back without freezing every time. Pretty confused, given that HandleLidSwitch=suspend was supposed to be the default option :/
Nope, not using any kernel parameters outside of what's required. I actually reformatted and reinstalled in hopes that would fix it, but the problem persists :/
Yeah, noticed the same thing myself. The program appears to be seg faulting. My workaround has been saving as jpegs and using imagemagick to combine them back into a PDF. I'll just downgrade instead, seeing as that works. Thanks!
I'm going to assume you're not a hardcore gamer, as you'd likely just use Windows otherwise.
At this moment in time, assuming you don't care about using closed source drivers, then the 1060 GTX is probably a better choice. That card runs more efficiently and gets ~40% better performance on some benchmarks out there from what I hear. It also has CUDA support if you're into machine learning development.
If you do care about open source drivers, then the RX480 is a better choice. The open source driver is kinda meh right now, but it's expected to get a lot better over the coming year.
TL;DR If you want something that'll work well immediately, then the 1060 GTX. If you're okay with waiting a while, then get an RX480 (perhaps wait until the price drops and the kinks are worked out).
Hmm, well I'm using GDM for starting the xserver, so perhaps that explains why the logs sometimes end up in /var/log. I also sometimes see them in ~/.local/share/xorg/.
Regardless, if I disable GDM, which should drop me into a terminal after boot, I still get no signal (likely following the amdgpu driver starting).
I'll definitely have to get this sorted out at some point though :/
I'll try that out and see if I can save a config that works. If I disable gdm though, which would leave my computer booting into the console, it still doesn't work... so I dunno if this will help.
Well, I just so happened to have the SSH daemon running on my machine, so I was able to get to a terminal through that. The system technically is fully booted when that message shows up.
I suppose you could also create an Arch USB, mount your system drive, chroot into it, and then remove the pro driver and reinstall the open source one with pacman.
I run a lot of ArchLinux machines and one Antergos machine. Until reading this, I'd literally forgotten the Antergos machine isn't a pure ArchLinux installation :/
I was wondering the same thing. Technically, 4.7 isn't the "stable" release and is only the mainline according to kernel.org. There is a linux-mainline package in the AUR here that is 4.7. It's a bit of a pain to install, because it needs to be compiled, which can take a long time depending on your machine.
Looks like we'll actually be getting 4.6.5 next, as that's what's currently in testing, according to this page.
So to answer your question, seems like it'll be a while at least for this particular release.
Hmm, so it looks like adding that did make a difference in that the computer will actually try to switch to 60 Hz when I tell it to. Unfortunately, when it does so, I get a blank screen where the TV thinks there is no signal... and then eventually the "do you want to save these settings?" thing times out and everything's back, but still at 30 Hz.
I'm going to try asking on the Nvidia developers forum to see if anyone knows anything else I can try.
Fixed it. After looking around some more, it appears the cause was using mesa-libgl rather than nvidia-libgl. After changing that, I also needed to install the intel-ucode package and rebuild my grub.cfg file.
It looks like there is a
mkinitcpio-dropbearpackage, so I've been playing with that. I tried setting it up remotely and rebooting, and my system didn't come back... will have to manually debug when I get home, heh.I only started looking into what goes on in
initramfsafter reading your comment. What confuses me a little bit is at what pointdropbearin theinitramfsdisappears andopensshfrom my actual system takes over. My suspicion is thatdropbeardoes start... and then all that gets replaced bysystemds binary, which promptly crashes and drops me back into emergency mode without SSH again -.-So I tried that (with the
emergency.targetwhere I recently learned I'm actually ending up), but it causes a circular dependency sincesshd.servicehas an indirect dependency onlocal-fs.target, which is what's failing.systemd's resolution is to just say "whatever, just start the system all the way", and I end up with a running system with missing mounts -.-More information here. I'm going to investigate the initramfs solution someone else suggested here before investing more time into seeing if I can get this to work.
Only the 2018 MacBook Air has the T2 chip.
Well, on the plus side, it seems to be fairly rare now compared to before. Maybe mine will eventually heal itself too ;)
gah, I spoke too soon. It just happened again...
I'll stay on the lookout for anymore information and post back here if I find anything else.
Anyway, thanks for helping me get this resolved!
No, haven't installed any power management tools at all yet.
Hmm, oddly enough, after you mentioned the lid switch, I tried closing my laptop and noticed it wasn't sleeping and would just sit there. I went and edited the
/etc/systemd/logind.conffile to uncommentHandleLidSwitch=suspend, and that fixed it.... now it seems to come back without freezing every time. Pretty confused, given that
HandleLidSwitch=suspendwas supposed to be the default option :/Nope, not using any kernel parameters outside of what's required. I actually reformatted and reinstalled in hopes that would fix it, but the problem persists :/
Yeah, noticed the same thing myself. The program appears to be seg faulting. My workaround has been saving as jpegs and using imagemagick to combine them back into a PDF. I'll just downgrade instead, seeing as that works. Thanks!
Yeah, I've thought about that. It'd be nice to have centralized control though, if possible.
I'm going to assume you're not a hardcore gamer, as you'd likely just use Windows otherwise.
At this moment in time, assuming you don't care about using closed source drivers, then the 1060 GTX is probably a better choice. That card runs more efficiently and gets ~40% better performance on some benchmarks out there from what I hear. It also has CUDA support if you're into machine learning development.
If you do care about open source drivers, then the RX480 is a better choice. The open source driver is kinda meh right now, but it's expected to get a lot better over the coming year.
TL;DR If you want something that'll work well immediately, then the 1060 GTX. If you're okay with waiting a while, then get an RX480 (perhaps wait until the price drops and the kinks are worked out).
Unfortunately didn't work. Thanks anyway though.
Hmm, well I'm using GDM for starting the xserver, so perhaps that explains why the logs sometimes end up in
/var/log. I also sometimes see them in~/.local/share/xorg/.Regardless, if I disable GDM, which should drop me into a terminal after boot, I still get no signal (likely following the
amdgpudriver starting).I'll definitely have to get this sorted out at some point though :/
I'll try that out and see if I can save a config that works. If I disable gdm though, which would leave my computer booting into the console, it still doesn't work... so I dunno if this will help.
Thanks, I'll try that out later. Doesn't
radeon.dpmonly apply to theradeondriver though?Do you have a link to anymore information on this? I've tried asking for help on the #radeon freenode channel, but was ignored.
Well, I just so happened to have the SSH daemon running on my machine, so I was able to get to a terminal through that. The system technically is fully booted when that message shows up.
I suppose you could also create an Arch USB, mount your system drive, chroot into it, and then remove the pro driver and reinstall the open source one with pacman.
Same thing happened to me with my RX 480, but I just reverted to the open source drivers rather than investigating.
No solution here, unfortunately, but just letting you know you're not the only one!
I run a lot of ArchLinux machines and one Antergos machine. Until reading this, I'd literally forgotten the Antergos machine isn't a pure ArchLinux installation :/
I was wondering the same thing. Technically, 4.7 isn't the "stable" release and is only the mainline according to kernel.org. There is a
linux-mainlinepackage in the AUR here that is 4.7. It's a bit of a pain to install, because it needs to be compiled, which can take a long time depending on your machine.Looks like we'll actually be getting 4.6.5 next, as that's what's currently in testing, according to this page.
So to answer your question, seems like it'll be a while at least for this particular release.
Hmm, so it looks like adding that did make a difference in that the computer will actually try to switch to 60 Hz when I tell it to. Unfortunately, when it does so, I get a blank screen where the TV thinks there is no signal... and then eventually the "do you want to save these settings?" thing times out and everything's back, but still at 30 Hz.
I'm going to try asking on the Nvidia developers forum to see if anyone knows anything else I can try.
Oh, interesting! I'll try that out when I get home. Thanks!
I installed this system over a year ago before that was a thing and haven't really cared about the boot loader since then. I'll look into it. Thanks.
Also, consider finding nicer ways to make suggestions for the future.
Fixed it. After looking around some more, it appears the cause was using mesa-libgl rather than nvidia-libgl. After changing that, I also needed to install the intel-ucode package and rebuild my grub.cfg file.