Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waybar crash after hyprctl dpms off/on #3365

Closed
mattrobineau opened this issue Jun 16, 2024 · 1 comment · Fixed by #3389
Closed

Waybar crash after hyprctl dpms off/on #3365

mattrobineau opened this issue Jun 16, 2024 · 1 comment · Fixed by #3389

Comments

@mattrobineau
Copy link

I started using hyprland and noticed that after my monitors turn on after dpms off, waybar had crashed. This issue is similar to #1165.

Output [2024-06-15 21:28:47.554] [info] Using configuration file /home/matt/.config/waybar/config.jsonc

[2024-06-15 21:28:47.555] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

[2024-06-15 21:28:47.555] [info] Using CSS file /home/matt/.config/waybar/style.css

[2024-06-15 21:28:47.558] [info] Hyprland IPC starting

[2024-06-15 21:28:47.562] [info] Loading persistent workspaces from Hyprland workspace rules

[2024-06-15 21:28:47.562] [error] media stopped unexpectedly, is it endless?

[2024-06-15 21:28:47.563] [warning] module backlight: Disabling module "backlight", No backlight found

[2024-06-15 21:28:47.584] [info] Loading persistent workspaces from Hyprland workspace rules

[2024-06-15 21:28:47.585] [warning] module backlight: Disabling module "backlight", No backlight found

[2024-06-15 21:28:47.586] [error] media stopped unexpectedly, is it endless?

[2024-06-15 21:28:47.828] [warning] Requested height: 30 is less than the minimum height: 43 required by the modules

[2024-06-15 21:28:47.828] [info] Bar configured (width: 1080, height: 43) for output: DP-2

[2024-06-15 21:28:47.828] [warning] Requested height: 30 is less than the minimum height: 43 required by the modules

[2024-06-15 21:28:47.828] [info] Bar configured (width: 1920, height: 43) for output: DP-1

[2024-06-15 21:30:03.469] [info] Bar removed from output: DP-2

terminate called after throwing an instance of 'std::runtime_error'
what(): Error parsing JSON: * Line 1, Column 1
Syntax error: value, object or array expected.

fish: Job 1, 'waybar' terminated by signal SIGABRT (Abort)

Command:

hyprctl dispatch dpms off; sleep 12; hyprctl dispatch dpms on

Waybar Config

Software:

  1. hyprland 0.41.0-1
  2. Waybar v0.10.3
@yangyingchao
Copy link
Contributor

yangyingchao commented Jun 20, 2024

I believe this issue should have been fixed in #3289. Can you build and try latest code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants