Blend OS v4 doesn't boot on bare metal

the new v4 stable ISO doesn't boot on bare metal with systemd throwing an error about a qemu service failing, it doesn't get far enough to generate logs or be able to switch to a TTY (when the latter is attempted, it immediately snaps back to the output of systemd, which just shows the aforementioned qemu error).
Solution:
@Erathorn Zyltris @game_r/dev🐧 xorg-server wasn't installed xD
Jump to solution
62 Replies
フ卂ㄖ卄乇卂卄
@Rudra | blendOS, Ubuntu Unity
Rudra
Rudra4w ago
oh, what GPU are you using?
Erathorn Zyltris
On my laptop it's an Intel igp with an Nvidia 1660 Ti, desktop it's an Nvidia RX 4080 Super, same issue appears on both
game_r/dev🐧
I've the same issue with 3500 rtx mobile gpu, I tested it and it works fine in a VM though
Erathorn Zyltris
Normally I would think the laptop would have an easier time with the main GPU being an iris XE
Erathorn Zyltris
This is the error I'm encountering, @Rudra | blendOS, Ubuntu Unity
No description
Erathorn Zyltris
Looks to be a boot blocker as it stops there
Asterisk
Asterisk4w ago
Why is that loading Technically it wouldn’t work because there’s no host agent
Rudra
Rudra4w ago
That's quite surprising, what if you pass nomodeset by following the guide here https://linuxmint-installation-guide.readthedocs.io/en/latest/boot_options.html#nomodeset-boot-option It's included by default, and might be enabled in the v4 ISO (we had disabled it in the v3 ISOs)
Erathorn Zyltris
Same issue regardless of if nomodeset is present or not
Rudra
Rudra4w ago
Alright, gonna build an ISO without qemu-user-agent to see if that helps
Erathorn Zyltris
It's one of the things I pass on my desktop by default with the GPU not being fully supported by nouveau
Rudra
Rudra4w ago
Oh, nvidia-dkms is included in the ISO btw; I should've mentioned that But yeah, I'm just running an ISO build right now (this should take about 2 minutes) @Erathorn Zyltris built the new ISO, you can download it from https://git.blendos.co/api/v4/projects/32/jobs/artifacts/main/raw/blendOS.iso?job=build-job @game_r/dev🐧 ^ this might come in handy
Asterisk
Asterisk4w ago
Or go to the download page and click download next to master build server 🙂
Rudra
Rudra4w ago
people might still end up downloading an outdated ISO from a mirror that's not an issue with direct download links from my experience
Erathorn Zyltris
I'll grab it when I get the chance and report the results
Asterisk
Asterisk4w ago
I said master build server :( It uses the same link
Rudra
Rudra4w ago
I'd probably have missed that part lol
Erathorn Zyltris
So it boots further, but the GUI doesn't start even with nomodeset and I can't get to a GUI for more then a split second. I'll try forcing systemd to boot to single user mode, I'll also attach what errors it shows on boot
Rudra
Rudra4w ago
oh hmm, does it drop you into a shell if you pass init=/bin/bash as a kernel argument? if that does, it's very likely something's up with gdm but then it does boot for me on very similar hardware
Erathorn Zyltris
Managed to get out to boot to tty by just adding "3" to the end of the kennel commandment systemctl start gdm just brings up a black screen (I can get back to a tty in this case though)
Valkyrja
Valkyrja4w ago
@Erathorn Zyltris, you've gained the level 1
Erathorn Zyltris
So it seems gdm is being weird
Rudra
Rudra4w ago
aha hmm trying to reproduce this issue on other hardware now
Erathorn Zyltris
That try was without nomodeset as this laptop normally doesn't need it, trying with now And nada Nomodeset makes it worse, looks like gdm is repeatedly and rapidly crashing
Rudra
Rudra4w ago
there was a similar issue with gdm back when v4 was first announced, but that was due to missing directories however, it does appear to work in VMs and on certain hardware, so this seems to be a lot more concerning
Erathorn Zyltris
I'll see if arch has a way to blacklist drives on the kennel command line, I have a sinking feeling it's nouveau I know I can disable that entirely on Fedora with a kernel argument
Rudra
Rudra4w ago
aha I can replicate it on a laptop with an RTX 4080 Mobile
Erathorn Zyltris
So I might be on the right track with that last bit?
Rudra
Rudra4w ago
Possibly, gonna try booting it with modprobe.blacklist=nouveau
Erathorn Zyltris
Hopefully it's just the case of it just being a nouveau issue
Rudra
Rudra4w ago
I sure hope so
Erathorn Zyltris
Could also be Wayland still being weird in Nvidia hardware, that's also an easy fix
Rudra
Rudra4w ago
Hmmm probably not, pretty sure we default to x11 in live sessions nope, still doesn't work
Erathorn Zyltris
Hmmm.... I'll try a few things later during my lunch break
Rudra
Rudra4w ago
Gonna try other display managers now To see if it works with those; if it doesn't, it's definitely a cause for concern
Erathorn Zyltris
Wouldn't really be surprised if it's specifically gdm being weird
Rudra
Rudra4w ago
Yeahh, happens all the time lol Oh, tried with sddm, and just as predicted, it works. So something's clearly up with gdm I'm also able to log into a GNOME Wayland session from SDDM with no problem
Erathorn Zyltris
Go figure. On my machine when gdm goes into the crash loop on the live medium, there's no obvious way to access logs Actually, ssh might be the key to that part, but that'd have to wait until I get home, don't think my work would like me doing that on their network, what with it being a secure facility
Rudra
Rudra4w ago
Ohhhh might've figured it out Likely missing users, just reinstalling gdm got it working
Erathorn Zyltris
Oh? Something simple I'm guessing?
Rudra
Rudra4w ago
Yep lol Most likely a missing gdm user
Erathorn Zyltris
Gotta love how it's the least obvious but most simple solution
Rudra
Rudra4w ago
True that lol I'll just reboot and make sure that is in fact what's happening Hmm no, that might not have been it
Erathorn Zyltris
Them darn red herrings.
Rudra
Rudra4w ago
logging into a gnome session might've fixed that lol this is incredibly confusing; trying to reproduce that success again
Erathorn Zyltris
Hmmm..... Wonder if it's missing files in the home directory that aren't correctly being created Without logging into gnome itself Or possibly temp files?
Rudra
Rudra4w ago
Oh hold on lmfao
Solution
Rudra
Rudra4w ago
@Erathorn Zyltris @game_r/dev🐧 xorg-server wasn't installed xD
Rudra
Rudra4w ago
fixed, ISO build running
Erathorn Zyltris
Haha, that simple, eh? That'd explain how it's not consistent, as a lot of systems once installed default to Wayland unless you don't force it otherwise on this distro
Rudra
Rudra4w ago
Yep, blendOS defaults to Wayland even on NVIDIA GPUs post-installation, but the live session isn't as consistent
Erathorn Zyltris
555.xx Nvidia make Wayland at least somewhat better from what I tested on vanilla Arch, not sure if 555 is out of beta yet though
Rudra
Rudra4w ago
oh yep, pretty sure it's still in beta though there's also the new MESA release with NVK and Nouveau has decent support for RTX 40xx, so I might as well remove nvidia-dkms from the ISO at this point (not sure if the new mesa's in core yet though)
Erathorn Zyltris
I'll have to test that out when I get home, my desktop has one of those I've heard that's really nice
game_r/dev🐧
great! I'll give it a try :) any images which include lightdm or sddm?
Erathorn Zyltris
Not that I know of, the image with gdm works now though
game_r/dev🐧
GDM doesn't depend on xorg though, no?
Erathorn Zyltris
It needs it in some configs, but Arch being Arch, it's not a dependency because it is assumed it's already installed in those cases
game_r/dev🐧
is this pointing to the latest build with xorg added, or must I go to the download page to get the latest?
フ卂ㄖ卄乇卂卄
That link is the latest It always points to the latest build.