Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Log spam on NixOS unstable

Open jnsgruk opened this issue 1 year ago • 1 comments

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch main at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: 2024-08-07
Tag: v0.42.0, commits: 9a09eac79b85c846e3a865a9078a3f8ff65a9259

flags: (if any)


System Information:
System name: Linux
Node name: kara
Release: 6.10.6
Version: #1-NixOS SMP PREEMPT_DYNAMIC Mon Aug 19 04:05:40 UTC 2024


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev cc) (prog-if 00 [VGA controller])
19:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240824.d0e1602"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"


plugins:

======Config-Start======


Config File: /home/jon/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/sb8wn0zw1mk1g4mny8mqmn9h8q0ldvjj-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mod=SUPER
decoration {
  col.shadow=rgba(00000099)
  drop_shadow=true
  rounding=8
  shadow_ignore_window=true
  shadow_offset=0 5
  shadow_range=50
  shadow_render_power=3
}

dwindle {
  force_split=2
  preserve_split=true
}

general {
  border_size=0
  gaps_in=4
  gaps_out=8
}

gestures {
  workspace_swipe=true
  workspace_swipe_forever=true
  workspace_swipe_invert=false
}

group {
  groupbar {
    font_family=Inter
    font_size=12
    gradients=true
  }
}

input {
  follow_mouse=2
  kb_layout=gb
  repeat_delay=300
  repeat_rate=50
}

misc {
  animate_manual_resizes=true
  background_color=rgb(494d64)
  disable_hyprland_logo=true
  disable_splash_rendering=true
}


xwayland {
  force_zero_scaling=true
}
animation=border, 1, 2, default
animation=fade, 1, 4, default
animation=windows, 1, 3, default, popin 80%
animation=workspaces, 1, 2, default, slide
monitor=DP-1, 7680x2160@120Hz, auto, 1
windowrulev2=noshadow, floating:0
windowrulev2=idleinhibit focus, class:^(mpv|.+exe)$
windowrulev2=idleinhibit fullscreen, class:.*
windowrulev2=float, title:^(Picture-in-Picture)$
windowrulev2=pin, title:^(Picture-in-Picture)$
windowrulev2=float, class:^(1Password)$
windowrulev2=stayfocused,title:^(Quick Access — 1Password)$
windowrulev2=dimaround,title:^(Quick Access — 1Password)$
windowrulev2=noanim,title:^(Quick Access — 1Password)$
windowrulev2=float, class:^(org.gnome.*)$
windowrulev2=float, class:^(pavucontrol)$
windowrulev2=float, class:(blueberry.py)
windowrulev2=float, title:(Open|Progress|Save File)
windowrulev2=center, title:(Open|Progress|Save File)
windowrulev2=pin, title:(Open|Progress|Save File)
windowrulev2=float, class:^(code)$
windowrulev2=center, class:^(code)$
windowrulev2=pin, class:^(code)$
windowrulev2=workspace special silent, title:^(Firefox — Sharing Indicator)$
windowrulev2=workspace special silent, title:^(.*is sharing (your screen|a window).)$
# terminal, screen locking, launcher
bind = $mod, RETURN, exec, alacritty
bind = $mod, L, exec, hyprlock
bind = $mod, SPACE, exec, rofi -show drun
bind = ALT, Q, killactive,

# screenshots
$screenshotarea = hyprctl keyword animation "fadeOut,0,0,default"; grimblast save area - | swappy -f -; hyprctl keyword animation "fadeOut,1,4,default"
bind = , Print, exec, grimblast save output - | swappy -f -
bind = SHIFT, Print, exec, grimblast save active - | swappy -f -
bind = ALT, Print, exec, $screenshotarea

# media controls
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bindl = , XF86AudioNext, exec, playerctl next

# volume
bindle = , XF86AudioRaiseVolume, exec, volumectl -u up
bindle = , XF86AudioLowerVolume, exec, volumectl -u down
bindl = , XF86AudioMute, exec, volumectl -u toggle-mute
bindl = , XF86AudioMicMute, exec, volumectl -m toggle-mute
bindl = $mod, C, exec, volumectl -m toggle-mute

# backlight
bindle = , XF86MonBrightnessUp, exec, lightctl up
bindle = , XF86MonBrightnessDown, exec, lightctl down

# clipboard
bind = $mod, V, exec, bash -c "export XDG_CACHE_HOME=/home/$USER/.local/cache; cliphist list | rofi -dmenu -display-columns 2 -window-title "📋" | cliphist decode | wl-copy"

# apps
bind = $mod, grave, exec, 1password --quick-access
bind = $mod, E, exec, bemoji -c -n

# window controls
bind = $mod, F, fullscreen,
bind = $mod SHIFT, Space, togglefloating,
bind = $mod, A, togglesplit,

# override the split direction for the next window to be opened
bind = $mod, B, layoutmsg, preselect d
bind = $mod, H, layoutmsg, preselect r

# group management
bind = $mod, G, togglegroup,
bind = $mod SHIFT, G, moveoutofgroup,
bind = ALT, left, changegroupactive, b
bind = ALT, right, changegroupactive, f

# move focus
bind = $mod, left, movefocus, l
bind = $mod, right, movefocus, r
bind = $mod, up, movefocus, u
bind = $mod, down, movefocus, d

# move window
bind = $mod SHIFT, left, movewindoworgroup, l
bind = $mod SHIFT, right, movewindoworgroup, r
bind = $mod SHIFT, up, movewindoworgroup, u
bind = $mod SHIFT, down, movewindoworgroup, d

# window resize
bind = $mod, R, submap, resize
submap = resize
binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
bind = , escape, submap, reset
submap = reset

# mouse bindings
bindm = SUPER, mouse:272, movewindow
bindm = SUPER, mouse:273, resizewindow

# navigate workspaces
bind = $mod, 1, workspace, 1
bind = $mod, 2, workspace, 2
bind = $mod, 3, workspace, 3
bind = $mod, 4, workspace, 4
bind = $mod, 5, workspace, 5
bind = $mod, 6, workspace, 6
bind = $mod, 7, workspace, 7
bind = $mod, 8, workspace, 8
bind = $mod, 9, workspace, 9

# move window to workspace
bind = $mod SHIFT, 1, movetoworkspace, 1
bind = $mod SHIFT, 2, movetoworkspace, 2
bind = $mod SHIFT, 3, movetoworkspace, 3
bind = $mod SHIFT, 4, movetoworkspace, 4
bind = $mod SHIFT, 5, movetoworkspace, 5
bind = $mod SHIFT, 6, movetoworkspace, 6
bind = $mod SHIFT, 7, movetoworkspace, 7
bind = $mod SHIFT, 8, movetoworkspace, 8
bind = $mod SHIFT, 9, movetoworkspace, 9


======Config-End========

Description

My journal is getting spammed multiple times per second with content like the following:

Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.119033:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.119056:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.119088:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.119124:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.119145:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.119175:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.124988:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125025:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.125068:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125122:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125144:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.125176:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125219:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125240:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.125271:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125302:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125322:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.125352:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125385:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.125403:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.125430:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.140635:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.140677:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.140726:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.140779:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.140808:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.140851:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.152041:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.152077:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.152114:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.152150:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.152171:ERROR:gpu_channel.cc(502)] Buffer Handle is null.
Aug 28 15:12:13 kara hyprland[5151]: [332478:19:0828/151213.152207:ERROR:shared_image_interface_proxy.cc(129)] Buffer handle is null. Not creating a mailbox from it.
Aug 28 15:12:13 kara hyprland[5151]: [332302:332466:0828/151213.152242:ERROR:gbm_pixmap_wayland.cc(82)] Cannot create bo with format= YUV_420_BIPLANAR and usage=SCANOUT_CPU_READ_WRITE

But repeated!

How to reproduce

Seems to happen consistently when using my machine.

Crash reports, logs, images, videos

No recent crash logs.

jnsgruk avatar Aug 28 '24 14:08 jnsgruk

@fufexan mismatched mesa?

vaxerski avatar Aug 28 '24 20:08 vaxerski

Yeah might be. I've just updated the lockfile. @jnsgruk care to try again?

fufexan avatar Aug 29 '24 13:08 fufexan

I can certainly try using Hyprland from the flake in this repo and see if it solves the issue - though at the moment this occurs when just consuming from nixos-unstable, so might need a change in nixpkgs too?

jnsgruk avatar Aug 29 '24 13:08 jnsgruk

Mesa mismatches cannot happen if you're consuming hyprland from nixos-unstable. Must be something else.

fufexan avatar Aug 29 '24 14:08 fufexan

Can you try setting AQ_DRM_DEVICES to each of the cards separately and checking if it happens for both or only one of them? Though I doubt it makes a difference since they both use the same driver.

fufexan avatar Aug 29 '24 14:08 fufexan

Can you try setting AQ_DRM_DEVICES to each of the cards separately and checking if it happens for both or only one of them? Though I doubt it makes a difference since they both use the same driver.

Sure, I'll give that a go now.

jnsgruk avatar Aug 29 '24 14:08 jnsgruk

Setting env = AQ_DRM_DEVICES,/dev/dri/card0 just resulted in a blank screen when I tried to login, setting env = AQ_DRM_DEVICES,/dev/dri/card1 works, but I still see the errors in the original report.

jnsgruk avatar Aug 29 '24 14:08 jnsgruk

Okay I have worked out what seems to trigger it... the moment I try to use my webcam in a browser (Google Meet, Zoom, etc.), I see these errors start appearing. If I stop the camera, the journal stops filling up.

(The camera is presented by an Elgato Camlink if that's useful context).

Edit: I think these logs might actually be coming from Chrome, not Hyprland itself...

jnsgruk avatar Aug 29 '24 14:08 jnsgruk

Okay, spent a bit more time on this, and I think it's an issue with Chromium on Linux. I'll close this for now -- thank you for the quick response.

jnsgruk avatar Aug 29 '24 14:08 jnsgruk