| 26 Jan 2023 |
@lily:lily.flowers | It actually looks like mkinitcpio doesn't even install that .service anymore (and they used to have a module load hack to fix the problem I'm having): https://github.com/archlinux/mkinitcpio/commit/8d1d5cce87cec6038dfc42c93e1c65b486bff16f | 23:43:52 |
| 27 Jan 2023 |
@elvishjerricco:matrix.org | Hm yea according to https://github.com/systemd/systemd/issues/4699, it sounds like the udev rule is all that's expected to be needed | 00:10:37 |
@lily:lily.flowers | In reply to @elvishjerricco:matrix.org Hm yea according to https://github.com/systemd/systemd/issues/4699, it sounds like the udev rule is all that's expected to be needed We don't even seem to be doing anything different from mkinitcpio for vconsole stuff that I saw, and I've not seen anyone else say they've had an issue like this for NixOS. So I'm worried I may be the only one with this issue (and it's not show-stopping, it's just mildly annoying when my vconsole settings get reverted before I type my luks password) | 00:14:03 |
@lily:lily.flowers | (granted not many people on NixOS are using stage 1 systemd) | 00:14:19 |
@lily:lily.flowers | So it seems the issue happens when fb0 switches from efifb to i915drmfb, which resets the fbcon on vtcon0 (presumably indicated by the log item kernel: Console: switching to colour frame buffer device 282x94). So depending on what events trigger the "change" event for vtconsoles, setting that udev rule could cause later setfonts to be overriden by the default vconsole settings
I'm trying a few kernel params to attempt to prevent the switches during initrd for further testing in confirming the cause
| 14:58:52 |
@lily:lily.flowers | * So it seems the issue happens when fb0 switches from efifb to i915drmfb, which resets the fbcon on vtcon0 (presumably indicated by the log item kernel: Console: switching to colour frame buffer device 282x94). So depending on what events trigger the "change" event for vtconsoles, setting that udev rule with ACTION="add|change" could cause later setfonts to be overriden by the default vconsole settings
I'm trying a few kernel params to attempt to prevent the switches during initrd for further testing in confirming the cause
| 14:59:14 |
@lily:lily.flowers | Yeah setting i915.fastboot=1 makes the problem go away and also reduces flickering during boot anyways so I'll probably keep that set | 15:08:01 |
| 28 Jan 2023 |
@elvishjerricco:matrix.org | Anyone here using hibernation over LUKS with systemd initrd? | 19:32:48 |
@elvishjerricco:matrix.org | https://github.com/NixOS/nixpkgs/issues/213122 | 19:32:53 |