Qubeos 4.2.3 fresh install stuck after entering successfully luks password

Hi,
its not the first time I use Qubes. I used it with my gtx 1060 and rtx 3060 since 2020.
Now I have a RTX 4070. I stopped using qubeos for 2 years and now I tried to install the last official version.
Install goes well without any problems.

It’s when I try to login into the desktop for the first time, I enter Luks password, then I wait, and wait, and wait… And yeah, thats a samsung nvme 980, that should not be that long.

ESC key works, every services seems to start fine.
I can log in from tty2.
Lightdm status is active, I tried to restart it, it does, but tty1 is just a black screen with a flickering every 1 second.

I tried disabling nouveau, it changed nothing. I tried reinstalling the os 5 times…
it’s always the same result.

I had no problem before qubes 4.2.
I think the last version that worked fine was 4.1.

The only changes are my cpu that went from a Ryzen 5 2600 to r7 5850x and my gpu That went from rtx 3060 to rtx 4070.

Is there any commands I can use to diagnose what is going on.

edit:
okay I ran some command to get journals.
see the photos here:
https://drive.google.com/drive/folders/15DHmfSmXuHV7bijZ7917y9d3hu6SfBic

I’m not good to read system journals.
At least I can login in tty2.

keep in mind I always intalled qubeos in dual boot on a gpt partition without any problem wince 2020. I use a 100gb partition on my 2nd nvme (which hold all steam windows games).

edit 2:
I’m starting to think that the nouveau driver that comes with fedora 37, which dom0 is built-on, does not support the RTX 4000 chip.But I know that fedora 40have no problem with it.
I wonder if I can upgrade dom0 to fedora 40.

journactl -b | grep nouveau
returns : nouveau : unknown chipset
Xorg -configure
give the error
Number of created screens does not match number of detected devices. Configuration failed.
cat /var/log/Xorg.0.log | grep EE
gives
[drm] failed to open DRM device for pci

thank you.

1 Like

There seems to be a problem with NVIDIA and new kernels:

Try to boot with nouveau.modeset=0 kernel command line option.
If it’ll boot then you can try to install the older kernel 6.6.42 and use nouveau or try to install proprietary NVIDIA driver in dom0 instead of nouveau.

1 Like

I installed kernel 6.6.42 and kernel61 and kernel515 and nothing works. all the same result.

1 Like

Only kernels starting from version 6.7 has support for rtx 4070 so 6.6.42 won’t work for you.
You can try some older kernel-latest package to see if it’ll work. You can try kernel-latest-6.7.3 for a test.
Also did you try to boot with nouveau.modeset=0 kernel command line option?

1 Like

i have a 3060, should i skip this update?

Ok, it works now, but I don’t why.
I installed the latest kernel and did some commands like sudo dracut --force
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
and sudo grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg
I had invalid volume errors when doing this commands and dnf qubes dom0 update and after rebooting it worked perfectly…

I think its because I installed the latest kernel, but I’m not sure, because last week the first time I installed qubesos, I already tried to update the kernel and it didn’t work.

So I don’t know exactly what I did to make work.
But I confirm that nouveau can work on dom0 fc37 and a RTX 4070.

edit:
Maybe it was just because I needed kernel latest.
I think the first time, I just did a normal dom0 update and it installed a new kernel that was not working with rtx 4000.