omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Chrome crashes when moving tile between monitors on Hyprland

Open Tatuck opened this issue 1 year ago • 33 comments

System details

AMD Ryzen 7 7840HS, NVIDIA GeForce RTX 4060 Max-Q, AMD Radeon 780M

What's wrong?

Hello. When running Google Chrome with Wayland (--ozone-platform=wayland) under Omarchy (Hyprland), Chrome crashes if the window is moved from one monitor to another. The following error appears in the terminal:

~ ❯ google-chrome-stable --ozone-platform=wayland
[25566:25566:1003/120242.562772:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120242.562831:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120243.276944:ERROR:ui/ozone/platform/wayland/host/wayland_wp_image_description.cc:219] Incomplete image description info from compositor.
[25566:25566:1003/120244.619696:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: wl_display#1: error 0: invalid object 63

[1003/120244.631334:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
[1003/120244.631782:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
Trace/breakpoint trap      (core dumped) google-chrome-stable --ozone-platform=wayland

I was able to do this without having to change anything, but now I am receiving that error. Could it be because of the update? (v3.0.2)

Steps to reproduce:

  1. Launch Chrome with Wayland backend: google-chrome-stable --ozone-platform=wayland
  2. Move the Chrome window from one monitor to another using SUPER + SHIFT + 2
  3. Chrome crashes immediately with the above error.

Workarounds tried:

  1. Running with --ozone-platform=x11 works, but the scaling is broken (window contents appear oversized). The scaling can be fixed using --force-device-scale-factor=1.
  2. Updating Chrome and Hyprland didn’t resolve the issue.

I know that running Chrome with --ozone-platform=x11 --force-device-scale-factor=1 works as a workaround, but I’d like to understand why I didn’t need these flags before to move windows between monitors without crashing.

System info:

  • OS: Omarchy v3.0.2
  • Linux 6.16.10-arch1-1
  • Hyprland 0.51.1 (Wayland)
  • Google Chrome version: Google Chrome 141.0.7390.54

Thank you.

Tatuck avatar Oct 03 '25 10:10 Tatuck

Same behavior happening here.

Runninng on AMD Ryzen 5 3600, NVIDIA GeForce RTX 3060

OS: Omarchy v3.0.2 Linux 6.16.10-arch1-1 Hyprland 0.51.1 (Wayland) Google Chrome 141.0.7390.54

cebms avatar Oct 03 '25 12:10 cebms

Same behavior here.

CPU: i5-1250p GPU: Integrated Inte Xe Graphics OS: Omarchy v3.0.2 Linux: 6.16.10-arch1-1 Hyprland 0.51.1 Chrome 141.0.7390.54

mathieucollet avatar Oct 03 '25 12:10 mathieucollet

Probably a Hyprland or Chrome bug as I have the same issue and not using Omarchy (yet)

BasitAli avatar Oct 03 '25 13:10 BasitAli

Same issue here. Doesn't seem to be unique to omarchy; since i'm running pure arch.

AMD ATI Radeon RX 6600/6600 XT/6600M; OS: Arch linux (pure), Linux AeonArch 6.16.8-arch3-1, hyprland 0.51.1-1. Chrome 141.0.7390.54-1

robindegen avatar Oct 03 '25 13:10 robindegen

Same issue here. Both Chrome and Brave Browser crash when moving their window to another monitor. Other apps (I tested Firefox and Alacritty) seem to be fine. I'm on pure Arch + Hyprland.

EDIT: It's not just above moving window to another monitor. If I open Brave on my laptop and then try to open another instance of Brave on my external monitor, the app crashes and both windows close.

ih8d8 avatar Oct 03 '25 14:10 ih8d8

For chrome, downgrading to 140.0.7339 fixes the crash for me

BasitAli avatar Oct 03 '25 16:10 BasitAli

Same issue observed on Brave 1.83.109 (Chromium 141.0.7390.55), but only when click/dragging.

Hotkey to send a window to a new workspace (Super+Shift+[Workspace Num]) still works for me.

i7-1370z Omarchy v3.0.2 Hyprland 0.51.1 Linux 6.16.10-arch1-1,

I'm going to go back to using qutebrowser for the afternoon (or maybe try out Nyxt!), while keeping an eye on this thread.

daltonwillard avatar Oct 03 '25 19:10 daltonwillard

A few more observations:

  • I've observed the same behavior on the Brave Brave 1.84.113 beta.
  • The 'send window to workspace [number]' hotkey does crash for me when it's the only window. If I launch a second window in the same workspace, that seems to fix the crashing for the keyboard shortcut.
  • I get a very similar output to @Tatuck when I run brave in verbose:
[2468232:2468232:1003/143730.039601:ERROR:ui/events/platform/wayland/wayland_event_watcher.cc:47] libwayland: wl_display#1: error 0: invalid object 64

[1003/143730.048283:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
[1003/143730.048814:ERROR:third_party/crashpad/crashpad/snapshot/elf/elf_dynamic_array_reader.h:64] tag not found
Trace/breakpoint trap      (core dumped) brave -v

daltonwillard avatar Oct 03 '25 19:10 daltonwillard

same here with:

Omarchy v3.0.2 Linux 6.16.8-arch3-1 Hyprland 0.51.1 (Wayland) Chrome Version 141.0.7390.54 (Official Build) (64-bit)

Oct 03 16:33:55 x1 systemd[1606]: Started google-chrome-stable.
Oct 03 16:33:55 x1 systemd[1606]: Started app-com.google.Chrome-54374.scope.
Oct 03 16:34:12 x1 onedriver[4688]: 16:34:12 INF Fetched 0 deltas.
Oct 03 16:34:12 x1 onedriver[4688]: 16:34:12 DBG Serializing cache metadata to disk.
Oct 03 16:34:15 x1 uwsm_hyprland.desktop[1971]: error in client communication (pid 54374)
Oct 03 16:34:15 x1 systemd-coredump[55091]: Process 54374 (chrome) of user 1000 terminated abnormally with signal 5/TRAP, processing...
Oct 03 16:34:15 x1 systemd[1]: Started Process Core Dump (PID 55091/UID 0).
Oct 03 16:34:17 x1 systemd-coredump[55092]: [🡕] Process 54374 (chrome) of user 1000 dumped core.
                                            
                                            Stack trace of thread 54374:
                                            #0  0x000055cd4046965f n/a (/opt/google/chrome/chrome + 0x7d2565f)
                                            #1  0x000055cd40469c9d n/a (/opt/google/chrome/chrome + 0x7d25c9d)
                                            #2  0x00007f06894c3f4d n/a (libglib-2.0.so.0 + 0x5ef4d)
                                            #3  0x00007f06894c5617 n/a (libglib-2.0.so.0 + 0x60617)
                                            #4  0x00007f06894c5825 g_main_context_iteration (libglib-2.0.so.0 + 0x60825)
                                            #5  0x000055cd3bedcc1f n/a (/opt/google/chrome/chrome + 0x3798c1f)
                                            #6  0x000055cd3d55bd57 n/a (/opt/google/chrome/chrome + 0x4e17d57)
                                            #7  0x000055cd3d55b401 n/a (/opt/google/chrome/chrome + 0x4e17401)
                                            #8  0x000055cd3d5532cf n/a (/opt/google/chrome/chrome + 0x4e0f2cf)
                                            #9  0x000055cd3d552b8a n/a (/opt/google/chrome/chrome + 0x4e0eb8a)
                                            #10 0x000055cd3e998d75 n/a (/opt/google/chrome/chrome + 0x6254d75)
                                            #11 0x000055cd3b97a001 n/a (/opt/google/chrome/chrome + 0x3236001)
                                            #12 0x000055cd3b978b79 n/a (/opt/google/chrome/chrome + 0x3234b79)
                                            #13 0x000055cd3b979837 ChromeMain (/opt/google/chrome/chrome + 0x3235837)
                                            #14 0x00007f0688627675 n/a (libc.so.6 + 0x27675)
                                            #15 0x00007f0688627729 __libc_start_main (libc.so.6 + 0x27729)
                                            #16 0x000055cd3f959b9a _start (/opt/google/chrome/chrome + 0x7215b9a)

andresantoniuk avatar Oct 03 '25 19:10 andresantoniuk

Brave downgraded to 1.82.170 fixed this for me.

daltonwillard avatar Oct 03 '25 20:10 daltonwillard

Also having this problem, regular arch + hyprland

Glue415 avatar Oct 03 '25 20:10 Glue415

I guess the issue is with Chromium, I have faced the same issue in both Edge and Chrome. Firefox seems to be working just fine.

mhbidhan avatar Oct 04 '25 02:10 mhbidhan

Also happened in Fedora with copr packages.

It definitely started after the least Chrome update.

rogervn avatar Oct 04 '25 09:10 rogervn

Also having for chromium, brave or chrome. It might be an issue with chromium engine. Works fine on firefox.

krzysztofplazio avatar Oct 04 '25 09:10 krzysztofplazio

@hjanuschka do you know if this is already tracked upstream?

dhh avatar Oct 04 '25 10:10 dhh

i ll get into it. either finding, filing or fixing it.

sounds reproduceable

hjanuschka avatar Oct 04 '25 11:10 hjanuschka

@daltonwillard might share your brave://version output? mainly looking for chromium version? so it would be easier to bisect and find a culprit commit if it used to work.

hjanuschka avatar Oct 04 '25 11:10 hjanuschka

This issue has been discussed on the Hyprland bug tracker: https://github.com/hyprwm/Hyprland/discussions/11919 & https://github.com/hyprwm/Hyprland/discussions/11843

There is also a fix - https://github.com/hyprwm/Hyprland/pull/11877 - available on the git branch It can be worked around by either downgrading chrome / brave, or by using '--ozone-platform=x11'

SirMaxwellSmart avatar Oct 04 '25 13:10 SirMaxwellSmart

thx - so we just need a new release of hyprland?

hjanuschka avatar Oct 04 '25 14:10 hjanuschka

I think so, for now I will just use the flag I mentioned on my first post until the next hyprland update. Thank you all for your replies.

Tatuck avatar Oct 04 '25 14:10 Tatuck