Originally created by @ryan4yin on GitHub (Jul 30, 2023).
grim works fine at v0.1.1, but will report an error on the latest commit: 81a41049:
› grim
*** BUG ***
In create_bits_image_internal: The expression bits == NULL || (rowstride_bytes % sizeof (uint32_t)) == 0 was false
Set a breakpoint on '_pixman_log_error' to debug
Failed to create image
Originally created by @ryan4yin on GitHub (Jul 30, 2023).
`grim` works fine at [v0.1.1](https://github.com/ryan4yin/nix-config/releases/tag/v0.1.1), but will report an error on the latest commit: [81a41049](https://github.com/ryan4yin/nix-config/tree/81a41049732a161ae4d3aed366115ce5dd7a0abf):
```
› grim
*** BUG ***
In create_bits_image_internal: The expression bits == NULL || (rowstride_bytes % sizeof (uint32_t)) == 0 was false
Set a breakpoint on '_pixman_log_error' to debug
Failed to create image
```
Related:
- https://www.reddit.com/r/hyprland/comments/14aqixm/i_cant_take_screen_shot_on_my_hyprland/
adam
added the bug label 2025-12-29 04:20:34 +01:00
The problem may be caused by inconsistent nixpkgs commit, hyprland's flake follows github:NixOS/nixpkgs/nixos-unstable, but I'm on the nixpkgs's stable branch.
@ryan4yin commented on GitHub (Jul 30, 2023):
Fixed by https://github.com/ryan4yin/nix-config/commit/26da19ba38f1f2ee957f6861edc9be1d3801f9b4.
The problem may be caused by inconsistent nixpkgs commit, hyprland's flake follows `github:NixOS/nixpkgs/nixos-unstable`, but I'm on the nixpkgs's stable branch.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @ryan4yin on GitHub (Jul 30, 2023).
grimworks fine at v0.1.1, but will report an error on the latest commit: 81a41049:Related:
@ryan4yin commented on GitHub (Jul 30, 2023):
Fixed by https://github.com/ryan4yin/nix-config/commit/26da19ba38f1f2ee957f6861edc9be1d3801f9b4.
The problem may be caused by inconsistent nixpkgs commit, hyprland's flake follows
github:NixOS/nixpkgs/nixos-unstable, but I'm on the nixpkgs's stable branch.