Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On dual-GPU laptops, installer does not finish properly (skips firstboot, missing Qubes tools and templates) and has flashing visual glitches on screen #8912

Open
the-moog opened this issue Feb 4, 2024 · 4 comments
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: installer hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@the-moog
Copy link

the-moog commented Feb 4, 2024

How to file a helpful issue

Qubes OS release

4.2

Brief summary

At the end of the install you expect to be asked about what qubes to create, that does not happen.
The bottom of the installer is 'flashing randomly'
When you login most of qubes and it's tools are missing, no LAN, no apps.

Steps to reproduce

Install Qubes on certain systems, I think this is related to dual GPU laptops (Bumblebee/Optimus)

Expected behavior

Normal install

Actual behavior

At the end of the install you expect to be asked about what qubes to create, that does not happen.
The bottom of the installer is 'flashing randomly'
When you login most of qubes and it's tools are missing, no LAN, no apps.

Root cause?? - Needs confirmation.

I've gone through and think I have found the cause.
There are scripts in /usr/libexec/initial-setup which I assume are the scripts called before the first proper graphical login.

The issue is that if you have certain NVidia Graphics chips, (for reasons I can't explain or find how to disable) X11 tries to load libbd_nvdimm.so.2 and the rpm that contains this this is missing from the install media.

That causes X11 startup to partially fail, but the script tries to carry on anyway, a bit later on Python fails as it tries to evaluate "None".
What is weird is that the later graphical login works, so there must be a config difference between the installer xstart and the login xstart.

The flashing was this happening at a high rate, but the installer does not check the result so rather than reporting an error it allows you to press 'done'

When you reboot and login you have a generic Fedora running on Zen with most of Qubes missing.

@the-moog the-moog added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Feb 4, 2024
@andrewdavidwong andrewdavidwong added needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. labels Feb 5, 2024
@andrewdavidwong andrewdavidwong changed the title Installer issue : Qubes4.2 : No templates and most of Qubes missing after install. - initial-setup On dual-GPU laptops, installer does not finish properly (skips firstboot, missing Qubes tools and templates) and has flashing visual glitches on screen Feb 5, 2024
@marmarek
Copy link
Member

marmarek commented Feb 5, 2024

That causes X11 startup to partially fail, but the script tries to carry on anyway, a bit later on Python fails as it tries to evaluate "None".

Can you please post the full message (or a photo of it)?

@the-moog
Copy link
Author

the-moog commented Feb 9, 2024

I am not sure how I could capture this during a normal install, (one of the errors being long file not found as it's an incomplete filesystem on a ram disk) but I can run it manually after the install and capture that, if indeed my assumptions on how the install works are correct?

@the-moog

This comment was marked as off-topic.

@DemiMarie
Copy link

I am not sure how I could capture this during a normal install, (one of the errors being long file not found as it's an incomplete filesystem on a ram disk) but I can run it manually after the install and capture that, if indeed my assumptions on how the install works are correct?

Can you see the error on screen? If so, then taking a picture and uploading the picture would be sufficient.

Also, is it possible to disable the Nvidia GPU in the BIOS? That might be a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.2 This issue affects Qubes OS 4.2. C: installer hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

4 participants