Cannot run certain programs

I am having trouble running thunderbird, google-chrome and mpv.

Here’s the output when I try to run google-chrome from a terminal

[0301/204750.355699:ERROR:process_memory_range.cc(75)] read out of range
[23744:1:0301/204750.870473:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[23674:23674:0301/204750.874733:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=139
[0301/204751.022238:ERROR:process_memory_range.cc(75)] read out of range
[23674:23674:0301/204751.512036:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=139
[0301/204751.645558:ERROR:process_memory_range.cc(75)] read out of range
[23744:7:0301/204752.107323:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[23674:23674:0301/204752.110739:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=139
[23748:7:0301/204752.168314:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[23744:7:0301/204752.168667:ERROR:command_buffer_proxy_impl.cc(125)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
Created TensorFlow Lite XNNPACK delegate for CPU.
Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor).
[23674:23674:0301/204753.735720:ERROR:new_tab_page_handler.cc(1306)] NewTabPage loaded into a non-browser-tab context

Here’s the output when I try to run mpv


fish: Job 1, 'mpv Week\ 1-Lecture\ 1\ :\ Int…' terminated by signal SIGSEGV (Address boundary error)

Here’s the output when I try to run thunderbird

ExceptionHandler::GenerateDump attempting to generate:/home/larry/.thunderbird/6sbhnw11.default/minidumps/347e1129-c8cb-36a6-232f-d532c9be5105.dmp
ExceptionHandler::GenerateDump cloned child 26812
ExceptionHandler::SendContinueSignalToChild sent continue signal to child
ExceptionHandler::WaitForContinueSignal waiting for continue signal...
ExceptionHandler::GenerateDump minidump generation succeeded

I have these options enabled in configuration.nix


hardware.graphics.enable = true;
services.xserver.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ];

I am running gnome on wayland.

Hello
I have a few questions. What is your system info (Hardware and Software).
Have you got following option in your hardware configuration:

  boot.initrd.kernelModules = [ "amdgpu" ];

Yes, I have that option enabled.

I am running the 9950X processor with it’s inbuilt graphics . I do not have a discrete GPU.

I am running Gnome 47 on Wayland.(Stable)

Also, on further tests, librewolf fails to launch too.

And which kernel and Nix Version are you running?
Also could you post your config?

I am running kernel 6.12.13.
Output of nix --version is nix (Nix) 2.24.12
I am running Nix OS 24.11, with flakes enabled.
Here is my configuration.nix

{ config, pkgs, ... }:

{
  imports =
    [ # Include the results of the hardware scan.
      ./hardware-configuration.nix
      ./extraconfig.nix
      ./packages.nix
      ./emacs.nix
      ./disk-config.nix
    ];

  # Bootloader.
  boot.loader.systemd-boot.enable = true;
  boot.loader.efi.canTouchEfiVariables = true;

  # Enable networking
  networking.networkmanager.enable = true;

  # Enable the X11 windowing system.
  services.xserver.enable = true;
  services.xserver.videoDrivers = [ "amdgpu" ];
  # Enable the GNOME Desktop Environment.
  services.xserver.displayManager.gdm.enable = true;
  services.xserver.desktopManager.gnome.enable = true;

  # Configure keymap in X11
  services.xserver.xkb = {
    layout = "us";
    variant = "";
  };
  services.printing.enable = true;
  services.printing.drivers = [ pkgs.brlaser pkgs.brgenml1lpr pkgs.brgenml1cupswrapper];
  services.avahi = {
  enable = true;
  nssmdns4 = true;
  openFirewall = true;
  };
  # Enable sound with pipewire.
  services.pulseaudio.enable = false;
  security.rtkit.enable = true;
  services.pipewire = {
    enable = true;
    alsa.enable = true;
    alsa.support32Bit = true;
    pulse.enable = true;
  };
  # Define a user account. Don't forget to set a password with ‘passwd’.
  users.users.REDACTED = {
    isNormalUser = true;
    description = "REDACTED";
    extraGroups = [ "networkmanager" "wheel" ];
    packages = with pkgs; [
    #  thunderbird
    ];
  };
  # Install firefox.
  programs.firefox.enable = true;
  nixpkgs.config.allowUnfree = true;
  system.stateVersion = "24.11"; # Did you read the comment?

}

So, the issue was fixed by using unstable versions of these packages. It’s not clear to me why the unstable versions of packages fixed the issue.

1 Like

That is good to hear. I think the issue was caused by a dependency that failed. Switching to unstable fixed this dependency again and that why it works now. But to be fair, switching to unstable is something I recommend when using flakes. You always get the newest versions and if something breaks you still have your old lock file (best in a git Repo) and just roll back.
But I am glad that everything works now.