-
Notifications
You must be signed in to change notification settings - Fork 13
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
Encoding hangs on AMD #63
Comments
The no usable encoding entrypoint is a red herring, it's just a warning that it doesn't support the low_power flag (probably should just not attempt that at all on AMD, as it's an Intel thing). The bug is that it freezes up--can you send me:
|
I should probably clarify that when I say it freezes, I mean that I can't end the process. It does keep producing lines of output that say
The output of strace is very long so I've put it in an attachment. The Also probably important thing to clarify, I actually didn't use the low_power flag, when I turned it off explicitly just now, I didn't get that error message, but the bug persists and it doesn't produce video. |
It seems I can't upload the attachment in the first comment since it's too long, so I'll do it here. |
I've just pushed a commit adding a bunch more debug logging around this--I have some ideas on what could be gong on. Could someone post output with |
Here's the output (hopefully this is the right commit):
|
Wasn't enough, just pushed even more logging...Also if it would be possible to get a backtrace for where the main thread is during execution... (depending on your ptrace_scope sysctl you may need to run with sudo):
(needs to be a debug build, |
Here's the -vvv with the new debug build:
And here's the output of gdb, although I'm not sure if the output is somewhat different because I'm using gdb with gef:
|
This is a pretty bizarre bug, and it's hard to imagine that it's my fault--does
work and produce a valid file? |
Yes, it does work. |
I have same issue,but wf-recorder works very well |
Is this a valid file? I use AMD and Hyprland on NixOS test.mp4 |
Yeah that's pretty messed up, but clearly a different symptom, but maybe same root cause. Can you post the full output as well as mesa & ffmpeg versions? |
Whenever I run
wl-screenrec
I get this sort of output:After which it locks, produces a file with no meaningful video, and I have to
kill -9
it.My CPU and GPU are:
CPU: AMD Ryzen 5 PRO 4650U with Radeon Graphics (12) @ 2.100GHz
GPU: AMD ATI Radeon RX Vega 6
and my output for
vainfo
is:This is an Artix Linux machine, running Hyprland, and I have
libva-mesa-driver
installed.The text was updated successfully, but these errors were encountered: