NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.45k stars 13.65k forks source link

mission center fails to launch #303336

Open AldebaraanMKII opened 5 months ago

AldebaraanMKII commented 5 months ago

Describe the bug

mission center fails to launch. when i run missioncenter from terminal, i get the following errors:

(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.902: Starting...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.902: Initializing platform utilities...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.902: Setting up connection to main app...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.902: Setting up D-Bus connection...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.908: Requesting bus name...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.912: Bus name acquired
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.912: Setting up D-Bus proxy...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.912: Setting up D-Bus signal match...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.913: Setting up D-Bus crossroads...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.913: Registering D-Bus methods...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.913: Registering D-Bus method `GetCpuStaticInfo`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.913: Registering D-Bus method `GetCpuDynamicInfo`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetGPUs`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetGPUStaticInfo`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetGPUDynamicInfo`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetProcesses`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetApps`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `TerminateProcess`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `KillProcess`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus interface `org.freedesktop.DBus.Peer`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `GetMachineId`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Registering D-Bus method `Ping`...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.914: Instatiating System...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.920: Refreshing CPU static info cache...

(missioncenter-gatherer:36628): Gatherer::CPU-WARNING **: 11:43:14.926: Virtualization: `/dev/kvm` does not exist

(missioncenter-gatherer:36628): Gatherer::CPU-WARNING **: 11:43:14.926: Virtualization: Failed to open /proc/xen/capabilities: No such file or directory (os error 2)
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.930: Inserting system into Crossroads...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:14.930: Serving D-Bus requests...
(missioncenter-gatherer:36628): Gatherer::Main-MESSAGE: 11:43:18.305: Parent process exited, exiting...

Steps To Reproduce

  1. Add mission-center to your configuration.nix
  2. sudo nixos-rebuild switch
  3. try to launch mission center

Expected behavior

That it would launch and work.

Metadatasystem:

"x86_64-linux", multi-user?: yes, version: nix-env (Nix) 2.18.1, nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Aleksanaa commented 5 months ago

image

Works on

 - system: `"x86_64-linux"`
 - host os: `Linux 6.8.0-zen1, NixOS, 24.05 (Uakari), 24.05.20240314.d691274`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.21.0`
 - nixpkgs: `/nix/store/9mf8fkjw3vw1gm4s6j5fqlwrv5wf2knf-source`
AldebaraanMKII commented 5 months ago

MyNixOSConfig.zip i can't seem to get it working with this config. Even setting nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; so that every package uses the latest version doesn't make it work.