From ArchWiki
Revision as of 21:04, 30 October 2012 by Jstjohn (talk | contribs) (Removing rc.local: re and closing)
Jump to navigation Jump to search

Display manager fails to load with fast SSD

I was having a problem with my display manager (LXDM) not loading on my laptop, which has a Sandisk Extreme SSD. Xorg.log would show errors like "No screens found."

I eventually figured out that the problem was that my computer was booting so fast that KMS didn't have enough time to kick in before X was started. I solved by adding the KMS driver (i915 in my case) to the initramfs.

Just a tip for SSD users, not sure if it should be added to the page or not.
--Steev (talk) 16:59, 2 September 2012 (UTC)

This is a general problem that needs to be solved in the display manager. GDM already implements the bits for the CanGraphical flag.
-- Falconindy (talk) 21:34, 2 September 2012 (UTC)

Hibernation with systemd

The hibernation section should be considered a hack since systemd does not directly handle the backend that handles power management. Systemd uses the Upower interface to handle such requests
-- Yungtrizzle (talk) 06:25, 10 October 2012‎

I talked about hibernation process with Lennart Poettering and he said that systemd-hibernate does only "echo disk > /sys/power/state" . As far as i can see, it works perfectly with tuxonice, since it seems it is now using the same userspace API as kernel hibernation; so it works even without hibernate-script installed (i use it without that package).
-- Nierro (talk) 13:54, 24 October 2012
what is the #Hibernation section all about anyway? It makes it sound like you need to use uswsusp to hibernate while it should work out of the box just fine. It doesn't explain at all why you would want to use uswsusp instead of the default command. I don't use hibernate nor do I know what uswsusp actually does, so what am I missing here? 65kid (talk) 15:12, 25 October 2012 (UTC)
I agree with 65kid. In fact, systemctl hibernate works out of the box (it only does an "echo disk...", nothing else). We don't need uswsusp at all. I tried with stock arch kernel and it works. Nierro (talk) 11:24, 26 October 2012
Then I suggest that - unless someone explains why you would want to use uswsusp - we remove this whole section because it is nothing but confusing. This article is already way too big to waste text on something that doesn't seem to make any sense. 65kid (talk) 10:10, 26 October 2012 (UTC)
I went ahead and removed the irrelevant information from the page, moving it to Uswsusp. I alsa added a note pointing readers there if they want to use another backend for suspending or hibernating. Ifaigios (talk) 18:16, 26 October 2012 (UTC)
Hey Nierro, do systemctl hibernate and systemctl suspend really do different things on your box? In my setup (linux-pf, systemd 195-2), if I do the latter, my box is also in suspend mode, meaning that my power button is glowing on and off and I don't see grub after pressing the power button again but are back to my desktop almost immediately. To me, it rather seems as if systemctl hibernate goes into hybrid mode? --jakobh 10:07, 29 October 2012 (UTC)
Got an answer to the question on the systemd mailing list now: Link --jakobh 17:56, 30 October 2012 (UTC)

Removing rc.local

It isn't clear how to get rid of rc.local. It would be useful to include this statement from the forum discussion in moving from a mixed system to a pure system:

Go through /etc/rc.local and /etc/rc.local.shutdown and turn them into service files (or, if you intend to keep them as they are, copy /usr/lib/systemd/system/rc-local{,.shutdown}.service to /etc/systemd/system/).
--‎ Myshkin (talk) 00:21, 13 Oct 2012

-- Jstjohn (talk) 21:04, 30 October 2012 (UTC)

Replacing ConsoleKit with systemd-logind -> networkmanager

As of networkmanager in [extra] we do no more have to recompile it with systemd support from ABS, is this right? So the note should be upgraded. Am i missing anything?
-- Nierro (talk) 09:31, 15 October 2012 in [extra] was compiled on 2012-09-19 and the change to systemd was on 2012-09-29, so as far as I can see, it still needs to be recompiled.
65kid (talk) 20:00, 15 October 2012 (UTC)
Damn, you're right. I did not see that pkgrel=3 while we are still using -2. Sorry, it means i'm still using my recompiled package, while i thought i was using the [extra] one.
-- Nierro (talk) 16:35, 15 October 2012