Greetings!
Before I get into what the title is talking about, I wanted to that I love Qubes OS. I can surf the web and even open stuff outside the browser without having to fear that an undiscovered vulnerability would compromise my entire system. Qubes OS should in my opinion be the standard for security-sensitive workloads, e.g. the health sector, journalism, software development, system administration, and so on.
I am using Qubes release 4.1.2 (R4.1) as my daily driver and have noticed a few thing that bother me. I have listed them below in order of decreasing severity.
It is also worth mentioning that my Qubes install boots from UEFI (grub), and my computer has a nVidia GPU and Intel CPU (desktop computer). dom0 has all the latest updates (kernel 6.1.35-1.qubes.fc32.x86_64 and Xen 4.14.5). Some issues were also present with the older LTS (5.15) kernel - I’ll point that out below. I do not have any testing repos enabled.
1. “Glitching” desktop after logging in, sometimes seeing windows open from before shutdown (!?)
When I boot the system, reach the display manager and input my password, what happens is that, before the desktop loads, the screen “glitches” for less than half a second. By “glitch” I mean that the entire screen is covered with grainy, colorful rectangles. This happens after every boot. Sometimes I am able to see a distorted version of the default Qubes wallpaper. Now, this wouldn’t worry me so much, if it weren’t for what I have sometimes seen during the “glitches”.
When I’ve had my system freeze and crash (that’s actually the next issue) with Firefox open in a disposable qube, I’ve seen a (distorted) still of that window after the system starts up again during the aforementioned “glitch”. I am not sure how that is possible, since it dissappears once the desktop properly loads, and the qube is, of course, not running anymore after the reboot.
One time I had an even more perplexing version of the above. During the “glitch”, I saw a text editor window. The catch is that I shut the (regular) qube in which the text editor was running down manually minutes before I restarted the computer.
This leads me to believe that this state is either being saved somewhere on disk (maybe being swapped) or somehow survives a reboot in RAM. I am reluctant to share screenshots of what I’m seeing, since this “glitch” could be memory data somehow being encoded into pixels and being displayed on screen, and I wouldn’t want anyone decoding that.
This “glitching” happens with the latest kernel, but it also happened with the older LTS kernel (5.15). It has been happening for as long as I can remember.
I have tried searching for this issue on this forum and elsewhere on the Internet as well, but haven’t seen anything similar reported before.
2. Entire system freezes and crashes
Every once in a while my entire system suddenly freezes and after a few seconds it shuts down and starts back up by itself. Most of the time it happens when closing the disposable qube window, which would cause the qube to be killed and removed, but it has happened at more random moments as well. Next boot takes a bit longer, but I believe that’s because the sys-* disposables and other disposable qubes that were running before the crash need to be cleaned up before continuing.
I have gone through the journal and other log files to try to find out whether or not anything was reported before the crash, but all I have seen is that normal log output suddenly ends, followed by logs of the system starting up.
This issue happened definitely with the 5.15 kernel, I’m pretty sure it has happened at least once with the latest kernel as well.
Possibly related: QubesOS freeze, crash and reboots
3. Not powering off
This only started happening with the latest kernel. Sometimes when I shut down the computer, it wont power off. It’ll go through the normal shut down procedure, but hangs at the very last line usually shown before powering off, which is something along the lines of
nouveau ... DRM: GPU lockup - switching to software
This line is displayed during proper shut down as well, only difference is that immediately after that the computer should power off.
4. USBGuard message during boot
This also appeared with the latest kernel. Sometimes, during boot, before the disk unlock screen comes up, a message is displayed:
dracut-cmdline: Warning: The unit file, source configuration file or drop-ins of usbguard.service changed on disk. Run 'systemctl daemon-reload' to reload units.
That message is also visible when hitting ESC on the disk unlock screen to get the console/text view.
This is similar to Qubes shutdowns, but in my case, the system boots up normally. This doesn’t happen on every boot and is somewhat rare, but when it does, rebooting before unlocking the disk makes it go away.
Issues 1 and 2 are more important than the rest, but I thought I’d list everything, since I’m already making a post.
Maybe anyone has any clues about any of these issues.
TIA!