| 12 Sep 2022 |
@oxalica:matrix.org | BTW: I cannot reproduce the issue in nixos-vm. I had a 1sec black-screen-time during root switching in hardware but not in VM. I guess it's modesetting or something? | 03:39:25 |
@elvishjerricco:matrix.org | Hm I do not know anything about this particular aspect of initrd. I went searching through github issues to find who's fixed relevant things before with systemd stage 1 and found... You! :P | 03:42:02 |
@oxalica:matrix.org | That's unrelated since there's now an issue after switching root, instead of before 🤔 | 03:43:10 |
@elvishjerricco:matrix.org | Oh huh, then I really dunno | 03:43:35 |
| 13 Sep 2022 |
@oxalica:matrix.org | In reply to @oxalica:matrix.org BTW: I cannot reproduce the issue in nixos-vm. I had a 1sec black-screen-time during root switching in hardware but not in VM. I guess it's modesetting or something? okay I got it with some help of friends. It turns out that my amdgpu driver is loaded after switching root, and reset the screen resolution, which also resets the font size. If I add amdgpu in initrd then the issue is gone | 01:50:23 |
@oxalica:matrix.org | Not sure if this is considered an issue. Should we generally encouraged to put gpu driver in initrd? | 01:57:08 |
@oxalica:matrix.org | * Not sure if this is considered an issue. Are we generally encouraged to put gpu driver in initrd? | 01:57:16 |
@elvishjerricco:matrix.org | I wouldn't say generally, since it's not something we've ever done so I don't think nixos users have an expectation of it | 01:57:48 |
@elvishjerricco:matrix.org | It doesn't seem like a bad thing to do though | 01:58:01 |