Open aidalgol opened 7 months ago
Try the following as a workaround:
boot.initrd.kernelModules = [
"nvidia"
"nvidia_modeset"
"nvidia_uvm"
"nvidia_drm"
];
That workaround works!
Weird. Having a similar issue but on a AMD integrated graphics laptop with a static text cursor on a black screen. Checking journalctl
suggests my user logged in with its services starting. Though if I boot into target multi-user.target
then isolate into graphical.target
, it works correctly.
- system: `"x86_64-linux"`
- host os: `Linux 6.6.43, NixOS, 24.11 (Vicuna), 24.11pre661606.d04953086551`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.18.5`
- channels(root): `"nixos"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Auto-start configuration
{ config, pkgs, lib, ... }:
{
services.displayManager.sddm.autoLogin = {
enable = true;
user = "jarrod";
};
}
Graphical configuration:
# GPU Accelerated Computing
{ config, pkgs, ...}:
{
hardware.graphics = {
enable = true;
enable32Bit = true;
extraPackages = with pkgs; [
rocmPackages.clr.icd
amdvlk
];
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
hardware.amdgpu = {
opencl.enable = true;
initrd.enable = true;
};
systemd.tmpfiles.rules = [
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}"
];
}
Describe the bug
Plasma 6 on my RTX 3080 system works, but only with autologin disabled. With it enabled, my system instead boots to a virtual console with a blinking cursor, without even failing back to the SDDM login screen.
Steps To Reproduce
Apply the following to the NixOS system configuration and reboot.
Expected behavior
The system to boot into a Plasma 6 session for user "bob".
Screenshots
N/A
Additional context
N/A
Notify maintainers
@NixOS/qt-kde
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.System NixOS flake
nixpkgs
input revision (fromnix flake metadata
):Add a :+1: reaction to issues you find important.