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

NixOS 24.11 Plasma6 ISO is broken #363797

Closed
InSelfControll opened this issue Dec 10, 2024 · 29 comments · Fixed by #368074
Closed

NixOS 24.11 Plasma6 ISO is broken #363797

InSelfControll opened this issue Dec 10, 2024 · 29 comments · Fixed by #368074
Labels
0.kind: bug Something is broken

Comments

@InSelfControll
Copy link

Describe the bug

ISO not loading on VM and barely loading on bare metal machine.
The installation failed 7 times yesterday and at 8th time it succeed but half of the system is broken and things like mounts barely work too, crashing the system to emergency mode.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Download the latest ISO
  2. trying to install it - it'll stuck on black screen for 5 minutes
  3. Installation will crash

Expected behavior

Clean install stable OS like the old one was version 23.11/23.05

Screenshots

Example on VM.
image
stuck like this for more than 5 minutes.

Additional context

OS unstable currently I somehow succeed to install it on my main system but I'll have to format again since nothing works.
The name of the ISO says plasma6 while the installation itself installs plasma5.

Metadata

Notify maintainers


Note for maintainers: Please tag this issue in your PR.


Add a 👍 reaction to issues you find important.

@InSelfControll InSelfControll added the 0.kind: bug Something is broken label Dec 10, 2024
@RaySlash
Copy link
Member

@InSelfControll Please be more specific while you write bug report. Link the ISO file you got and write steps to reproduce properly. Without any logs, we are not able to help you or reproduce the same.

Regardless, you should be fine working with any ISO file. You can alternatively make yourself an ISO file if that fits your need as some hardware like WiFi cards might need some extra kernel module such as wl. But it should not cause whatever is happening in your case. Please make sure the file you downloaded SHA matches as well.

@InSelfControll
Copy link
Author

InSelfControll commented Dec 10, 2024

I cannot share logs from the installation.
The steps I share are the steps I did and encountered the issue.

I had to downgrade back to 24.05 because almost all the apps I use barely worked even Nvidia drivers and basic mounts of brtfs / ext4 drives.

I tried the last two isos of version 24.11 and both of them stuck on black screen like in the pic I shared.

On my main computer I successfully loaded the iso after 7 tries that it was stuck on black screen and after that I successfully got to the install screen and it also failed 7 times on the 8th time after I disabled ipv6 and replaced my DNS servers and reformatted the drive 7 times it decided to work but still ended with broken libs that were actually missing when the system booted so I couldn't stay on it and decided to downgrade.

It was a clean install all the times.
On vm the latest iso was stuck on black screen for over 30 minutes, when I tried with version 24.05 it booted in light speed to the installation and then into the OS.

https://channels.nixos.org/nixos-24.11/latest-nixos-plasma6-x86_64-linux.iso

https://releases.nixos.org/nixos/24.11/nixos-24.11.710486.4dc2fc4e62db/nixos-plasma6-24.11.710486.4dc2fc4e62db-x86_64-linux.iso

@nang-dev
Copy link

+1

@bjornfor
Copy link
Contributor

I verified that the default graphical ISO (which is based on GNOME) works (in virtual-manager), but I see now that you link to the plasma6 version (which I haven't tested).

@bjornfor bjornfor changed the title NixOS 24.11 ISO is broken NixOS 24.11 Plasma6 ISO is broken Dec 11, 2024
@Ben9986
Copy link
Contributor

Ben9986 commented Dec 12, 2024

Just tested the plasma 24.11 iso you linked in virt-manager QEMU. Did not boot first time for me.
Got the boot menu, initial stage 1 outputs then stuck on black screen indefinitely.

Stopped the VM then started it again with no changes made and it booted completely fine. And every time after that too.
Note i did not give the VM any persistent storage, just the read only ISO.

This was the last output of the failed boot, however the exact same messages also appear on the successful boot so likely not related.
image

@InSelfControll
Copy link
Author

Yea but it doesn't suppose to be like that...
I installed it on my PC and it was stuck like it for 10 minutes each time I tried.
I tried 7 times and at the 8th it booted and then the installation itself failed 7 times and succeed only at the 8th time with a crash at the end so clearly it doesn't install all the necessary OS components correctly.

@bjornfor
Copy link
Contributor

https://releases.nixos.org/nixos/24.11/nixos-24.11.710486.4dc2fc4e62db/nixos-plasma6-24.11.710486.4dc2fc4e62db-x86_64-linux.iso

I also get black screen with that plasma6 ISO in virt-manager (with default settings) after that stage 1 output posted above. Booted the VM twice.

@bjornfor bjornfor pinned this issue Dec 12, 2024
@JohnRTitor
Copy link
Contributor

CC @K900, plasma maintainer

@K900
Copy link
Contributor

K900 commented Dec 17, 2024

I can't reproduce here.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/brand-new-to-nixos-wont-boot-to-desktop-environment/56292/6

@SuperSandro2000
Copy link
Member

Do you have configured some video memory for the VM?

@InSelfControll
Copy link
Author

Do you have configured some video memory for the VM?

I'm talking about my main PC not the VM.
On the VM when I tested it I haven't configured anything special, base OS.

@K900
Copy link
Contributor

K900 commented Dec 19, 2024

Can you get any sort of log output from your PC?

@InSelfControll
Copy link
Author

Can you get any sort of log output from your PC?

Already downgraded to version 24.05 can't send a log.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/runing-a-qemu-nix-guest-in-a-fedora-host/57644/2

@CallMeLaNN
Copy link

This is my first time to try NixOS Plasma 6 from the Download (Plasma Desktop, 64-bit Intel/AMD) button 3 days ago, I'm looking around to fix my graphic driver, I'm not sure until I found this.

Downloaded this name: nixos-plasma6-24.11.711349.394571358ce8-x86_64-linux.iso

Flash in USB thumbdrive, boot it on an old PC, select "Installer", receive error message like above and then just blank screen with "_" for long time.

CTRL+ALT+F1 to view logs. This are some errors I saw

  • Firmware Bug which might not related
  • nouveau error with some memory addresses
  • spice vdagentd with no data available

@K900
Copy link
Contributor

K900 commented Dec 21, 2024

Is this Nvidia? Which GPU model?

@InSelfControll
Copy link
Author

Is this Nvidia? Which GPU model?

I'm using an Nvidia GPU.

@K900
Copy link
Contributor

K900 commented Dec 21, 2024

Which exact model?

@InSelfControll
Copy link
Author

Which exact model?

Rtx 2070 super but it was also in VM without GPU.

@K900
Copy link
Contributor

K900 commented Dec 21, 2024

Those are likely separate issues. Does booting in nomodeset mode work?

@InSelfControll
Copy link
Author

Those are likely separate issues. Does booting in nomodeset mode work?

No, the Nvidia driver was also broken on 24.11 it couldn't detect the GPU correctly so always back to noveau.

I had to downgrade the OS to make it work, only after downgrading and disabling sddm my PC became more stable.

@CallMeLaNN
Copy link

Mine one nvidia gtx 1060.

Booting from nomodeset also the same, it's blank if I switch to ctrl+alt+f2. It always hang for a moment when switching to there.
Using nomodeset, if I restart the desktop-manager svc, I can see login screen (with the word wayland at the bottom) but if I enter, it become black again with "x" at the center.

Reproduce for a couple of times, it is consistent.

@jogrie
Copy link

jogrie commented Dec 22, 2024

Hi together,
i have the same problem and i got it fixed.

Yesterday i tried to install NixOS with Plasma on a HP ProDesk 400 with an AMD Ryzen 3400G, but the ISO bootet only to the Blank screen with the blinking underscore.

So i decided to boot the Gnome Image which worked fine.

After the installation of NixOS with Plasma 6 i had the same again.
When Plasma should start i got redirectet to the shell Login screen (STRG + ALT + F1)
Switching to the graphical session (STRG + ALT + F2) showed only the blinking underscore.

after a few tries i found the solution.

i made the following change in the nixos configuration
old
services.displayManager.sddm.enable = true;
new
services.displayManager.sddm.wayland.enable = true;

tldr:
setting up sddm for wayland fixed the problem.
services.displayManager.sddm.wayland.enable = true;

@muggenhor
Copy link
Contributor

tldr: setting up sddm for wayland fixed the problem.

services.displayManager.sddm.wayland.enable = true;

Thanks for discovering and reporting this! It fixes, or at least works around, #360678 for me.

For reference: I'm running with an nvidia RTX 2060 & Intel i9-9900K and this config snippet:

  services.xserver = {
    enable = true;
    videoDrivers = [ "nvidia" ];

    xkb = {
      layout = "us";
      model = "pc104";
      options = "eurosign:5,lv3:ralt_switch";
    };
  };

  services.desktopManager.plasma6.enable = true;
  services.displayManager.sddm.enable = true;
  services.displayManager.sddm.wayland.enable = true; # https://github.com/NixOS/nixpkgs/issues/363797#issuecomment-2558384445

  hardware.graphics.enable = true;

  hardware.nvidia = {
    open = true;
    modesetting.enable = true;
    nvidiaSettings = true;
    package = config.boot.kernelPackages.nvidiaPackages.stable;
  };

@K900
Copy link
Contributor

K900 commented Dec 22, 2024

SDDM on Wayland is still experimental, but we may want to enable it by default if it works better for people...

@AggraHub
Copy link

I want to confirm that I had the same problem (amd gpu 6700XT) and booting from the GNOME iso and then changing to sddm in the config did fix the problem and allowed me to use KDE.

@InSelfControll
Copy link
Author

I really don't understand why the ticket closed.
The issue still accord booting into GNOME is not a solution...

@K900
Copy link
Contributor

K900 commented Jan 9, 2025

Are you able to reproduce the issue with the latest 24.11 ISO? On what hardware?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.