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
Rudra6mo ago
oh, what GPU are you using?
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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🐧
game_r/dev🐧6mo ago
I've the same issue with 3500 rtx mobile gpu, I tested it and it works fine in a VM though
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Normally I would think the laptop would have an easier time with the main GPU being an iris XE
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
This is the error I'm encountering, @Rudra | blendOS, Ubuntu Unity
No description
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Looks to be a boot blocker as it stops there
🎄 Asterisk
🎄 Asterisk6mo ago
Why is that loading Technically it wouldn’t work because there’s no host agent
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
Same issue regardless of if nomodeset is present or not
Rudra
Rudra6mo ago
Alright, gonna build an ISO without qemu-user-agent to see if that helps
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
It's one of the things I pass on my desktop by default with the GPU not being fully supported by nouveau
Rudra
Rudra6mo 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
🎄 Asterisk6mo ago
Or go to the download page and click download next to master build server 🙂
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
I'll grab it when I get the chance and report the results
🎄 Asterisk
🎄 Asterisk6mo ago
I said master build server :( It uses the same link
Rudra
Rudra6mo ago
I'd probably have missed that part lol
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
No description
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
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
Valkyrja6mo ago
@Erathorn Zyltris, you've gained the level 1
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
So it seems gdm is being weird
Rudra
Rudra6mo ago
aha hmm trying to reproduce this issue on other hardware now
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
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
Rudra6mo ago
aha I can replicate it on a laptop with an RTX 4080 Mobile
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
So I might be on the right track with that last bit?
Rudra
Rudra6mo ago
Possibly, gonna try booting it with modprobe.blacklist=nouveau
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Hopefully it's just the case of it just being a nouveau issue
Rudra
Rudra6mo ago
I sure hope so
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Could also be Wayland still being weird in Nvidia hardware, that's also an easy fix
Rudra
Rudra6mo ago
Hmmm probably not, pretty sure we default to x11 in live sessions nope, still doesn't work
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Hmmm.... I'll try a few things later during my lunch break
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
Wouldn't really be surprised if it's specifically gdm being weird
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
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
Rudra6mo ago
Ohhhh might've figured it out Likely missing users, just reinstalling gdm got it working
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Oh? Something simple I'm guessing?
Rudra
Rudra6mo ago
Yep lol Most likely a missing gdm user
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Gotta love how it's the least obvious but most simple solution
Rudra
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
Them darn red herrings.
Rudra
Rudra6mo ago
logging into a gnome session might've fixed that lol this is incredibly confusing; trying to reproduce that success again
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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
Rudra6mo ago
Oh hold on lmfao
Solution
Rudra
Rudra6mo ago
@Erathorn Zyltris @game_r/dev🐧 xorg-server wasn't installed xD
Rudra
Rudra6mo ago
fixed, ISO build running
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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
Rudra6mo ago
Yep, blendOS defaults to Wayland even on NVIDIA GPUs post-installation, but the live session isn't as consistent
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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
Rudra6mo 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
Erathorn ZyltrisOP6mo ago
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🐧
game_r/dev🐧6mo ago
great! I'll give it a try :) any images which include lightdm or sddm?
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
Not that I know of, the image with gdm works now though
game_r/dev🐧
game_r/dev🐧6mo ago
GDM doesn't depend on xorg though, no?
Erathorn Zyltris
Erathorn ZyltrisOP6mo ago
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🐧
game_r/dev🐧6mo ago
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.
Want results from more Discord servers?
Add your server