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

Grim - grim failed to take a test screenshot #14

Open
Saharamijir opened this issue Oct 28, 2024 · 0 comments
Open

Grim - grim failed to take a test screenshot #14

Saharamijir opened this issue Oct 28, 2024 · 0 comments

Comments

@Saharamijir
Copy link

System spec

OS: Arch Linux x86_64
Kernel: Linux 6.11.5-zen1-1-zen
Display (UGD1503): 1920x1080 @ 60 Hz in 15" [External]
Display (DENON-AVR): 3840x2160 @ 120 Hz (as 3202x1801) in 72" [External]
Display (PL3270Q): 2560x1440 @ 60 Hz in 32" [External]
Display (MSI MPG341QR): 3440x1440 @ 144 Hz in 34" [External]
WM: Hyprland (Wayland)
CPU: AMD Ryzen 9 5950X (32) @ 5.08 GHz
GPU: AMD Radeon RX 6800 XT [Discrete]
Memory: 5.66 GiB / 31.25 GiB (18%)

Kamite: latest AUR version

Issue

Kamite fails to load grim, because taking a test screenshot times out

[DEBUG] 22:49:59 [] ProcessHelper - Exception while running process 'grim': io.github.kamitejp.platform.process.ProcessTimeoutException
[DEBUG] 22:49:59 [] Grim - grim failed to take a test screenshot
[DEBUG] 22:49:59 [] ProcessHelper - Running: `wlrctl -h`
[ERROR] 22:49:59 [] RecognitionConductor - Text recognition will not be available due to missing dependencies: grim
[DEBUG] 22:49:59 [] Server - Sent a 'program-status' message

Disabling one of the displays, launching Kamite, then enabling it back is working workaround

➜  ~ time grim

================
CPU	96%
user	3.959
system	0.028
total	4.143
➜  ~ time grim

================
CPU	96%
user	3.953
system	0.027
total	4.136
➜  ~ hyprctl keyword monitor HDMI-A-1,disable
ok
➜  ~ time grim

================
CPU	91%
user	1.382
system	0.009
total	1.512
➜  ~ time grim

================
CPU	91%
user	1.376
system	0.012
total	1.508
➜  ~ time grim

================
CPU	91%
user	1.375
system	0.013
total	1.509
➜  ~

Expected behavior

Kamite doesn't time out with all displays enabled

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

No branches or pull requests

1 participant