nix
Nix ManasLmao_ 10 months ago 100%
VSCode on Home Manager crashes

Nothing fancy, I just put programs.vscode.enable = true; in home manager config. I am presented with this error after a successful rebuild switch. [1117/114505.763499:FATAL:v8_initializer.cc(538)] Error loading V8 startup snapshot file /nix/store/1lqh595004maiapcx72wkp65r1nbnh9n-vscode-1.84.2/bin/.code-wrapped: line 63: 39906 Trace/breakpoint trap (core dumped) ELECTRON_RUN_AS_NODE=1 "$ELECTRON" "$CLI" --ms-enable-electron-run-as-node "$@" I have tried a lot of fixes, from reinstalling, to adding some custom settings in vscode config. Nothing seems to work. Thanks in advance! If you want any additional information, let me know.

1
4
nix
Nix ManasLmao_ 10 months ago 66%
NixOS is crashing with nvAssertOkFailedNoLog

jounalctl gives the error - Nov 16 22:34:46 nixos kernel: input: MSFT0001:01 04F3:3140 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-2/i2c-MSFT00 01:01/0018:04F3:3140.0001/input/input15 Nov 16 22:34:46 nixos kernel: hid-multitouch 0018:04F3:3140.0001: input,hidraw0: I2C HID v1.00 Mouse [MSFT0001:01 04F3:3140] on i2c-MSFT0 001:01 Nov 16 22:34:46 nixos kernel: mousedev: PS/2 mouse device common for all mice Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Waiting for firmware download to complete Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Firmware loaded in 1603830 usecs Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Waiting for device to boot Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Device booted in 14713 usecs Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Applying Intel DDC parameters completed Nov 16 22:34:47 nixos kernel: Bluetooth: hci0: Firmware revision 0.4 build 249 week 27 2023 Nov 16 22:34:47 nixos kernel: NVRM nvAssertOkFailedNoLog: Assertion failed: Invalid data passed [NV_ERR_INVALID_DATA] (0x00000025) returned from PlatformRequestHandler failed to get target temp from SBIOS @ platform_request_handler_ctrl.c:2146 Nov 16 22:34:47 nixos kernel: NVRM nvAssertFailedNoLog: Assertion failed: PRH failed to update thermal limit! @ platform_request_handler.c:685 Nov 16 22:34:47 nixos systemd-modules-load[497]: Inserted module 'nvidia_uvm' Nov 16 22:34:47 nixos kernel: nvidia-uvm: Loaded the UVM driver, major device number 237. Nov 16 22:34:47 nixos kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1 Nov 16 22:34:47 nixos systemd-modules-load[497]: Inserted module 'nvidia_drm' Nov 16 22:34:47 nixos systemd[1]: Finished Load Kernel Modules. I don't really know if this is crashing the OS, but this was the only error that I could find. I have intel processor, plus Nvidia MX450 dedicated GPU. I am using hyprland on NixOS. My video and audio settings in hardware-configuration.nix are as follows : # Graphics Stuff hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; }; hardware.nvidia = { modesetting.enable = true; open = true; nvidiaSettings = true; package = config.boot.kernelPackages.nvidiaPackages.stable; }; hardware.nvidia.prime = { offload = { enable = true; enableOffloadCmd = true; }; intelBusId = "PCI:00:02:0"; nvidiaBusId = "PCI:01:00:0"; }; # Audio Stuff services.pipewire = { enable = true; alsa.enable = true; audio.enable = true; alsa.support32Bit = true; pulse.enable = true; }; Hyprland parameters are as follows : programs.hyprland = { enable = true; xwayland = { enable = true; }; }; x11 parameters : services.xserver = { enable = true; layout = "us"; videoDrivers = ["nvidia"]; libinput = { enable = true; }; };

1
0