Cannot run Chrome nor Chromium

I want to run Google Chrome to read my Gmail as it is more optimized than Firefox for that.

I tried to install Chrome in an isolated shell.

env NIX_ALLOW_UNFREE=1 nix shell --impure nixpkgs#google-chrome

Then, I run google-chrome-stable which crashes after printing the following.

ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092649.046425:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092649.187014:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
[242314:242314:1015/092649.371443:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092649.480400:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092649.813286:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092649.913922:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092650.248759:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092650.338924:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092650.736074:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092650.854160:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092651.283120:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092651.391864:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092651.792934:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092651.833116:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092652.157865:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092652.198291:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092652.497838:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
[1015/092652.537955:ERROR:process_memory_range.cc(75)] read out of range
[242314:242314:1015/092652.865803:ERROR:gpu_process_host.cc(980)] GPU process exited unexpectedly: exit_code=139
[242314:242314:1015/092652.865839:FATAL:gpu_data_manager_impl_private.cc(436)] GPU process isn't usable. Goodbye.
[1015/092652.879736:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1015/092652.880208:ERROR:elf_dynamic_array_reader.h(64)] tag not found
[1015/092652.880232:ERROR:process_memory_range.cc(75)] read out of range
fish: Job 1, 'google-chrome-stable' terminated by signal SIGTRAP (DĂ©routement de suivi/point d'arrĂŞt)

I tried to disable the use of the GPU (my laptop is a ASUS Zenbook 14 with AMD GPU and CPU), by using the --no-gpu, and then --disable-gpu options, but I reached the same outcome.

I also tried to install chromium instead.

nix shell nixpkgs#chromium

But I get the same output (I have not diffed them, but they look very much the same).

I’ve searched some related issues with AMD gpu, another chrome-based browser, but the matter seems quite complicated to me, so I am asking for some feedback here first.

Thanks!

2 Likes

I’m experiencing the same issue with brave (chromium based) and framework 16 with AMD ATI Phoenix1 for more or less the same need and as you I didn’t find anything.

2 Likes

I am having the same problem as Wayfire. So this issue is not chromium exclusive

1 Like

Thanks for your reply.
I had once again a similar issue with jellyfin-media-player.

❯ jellyfinmediaplayer 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_adam.sock"
Signal handlers installed successfully.
Logging to  /home/adam/.local/share/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
fish: Job 1, 'jellyfinmediaplayer' terminated by signal SIGSEGV (Erreur de frontière d'adresse)

The same reference to amdgcn-- is made in the error message.

Therefore, it seems to be related to softwares which use AMD GPU.

In this thread, the issue was experienced so far when running

  • chromium
  • google-chrome,
  • wayfire
  • brave
  • jellyfin-media-player

I ran into the exact same issue with Chrome yesterday after updating channels.

It was the same issue as [Tracking] AMD GPUs and NixOS - 'Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)'. · Issue #343806 · NixOS/nixpkgs · GitHub and the suggestion to override mesa with stable channel worked for me

Interesting, I was always on stable channel (nixos nixos-24.05 release nixos-24.05.5993.cd3e8833d706
) to which corresponds mesa 24.0.7, so that’s not my case.
Later I wanna try to reproduce the error described in the issue tracking with an unstable channel that you mentioned and see if there is something in common in the two situation.

1 Like

I confirm that, at least in my case, the error is not related to the usage of an unstable channel

flatpaks is a way to go