-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Segmentation fault with mkv (av1 codec) #13708
Comments
Please obtain a backtrace with e.g. gdb, see https://wiki.archlinux.org/title/Debugging/Getting_traces#Getting_the_trace Also there is no way you ever had working AV1 hardware decoding with your GT 760 as that card is significantly older than AV1. |
Thanks @CounterPillow for the fast reply So it seems there is a different handling between old intel and old NVIDIA cards. |
Is the segfault happening in thread 1 here? gdb should tell you before the backtrace somewhere. If it is, then the problem looks to be that you have a buggy VA-API-on-nvidia wrapper installed on your system, which might either be libva-nvidia-driver or libva-vdpau-driver. Uninstall those. Not a bug in mpv as said buggy wrapper then calls into libX11 with what looks to be a nullpointer. |
Thanks for the analysis. I'll look into it. As I mentioned above, the code works, if I'm running it in an IDE - but not in terminal - something I haven't seen yet. Why doesn't it fail if I add --hwdec-codecs=nvdec-copy ? I just checked: same problem with a VP8 codec. |
Information:
Reproduction steps
The error can be reproduced with:
mpv ---hwdec=auto-safe file-withAV1.mkv
to enforce hardware decoding. Without config it works, but software decoding only.
Expected behavior
mpv does not segfault, but uses software decoding. E.g. the flag --hwdec-codecs=nvdec-copy prevents any segfaults.
Obviously my old GPU can't decode AV1.
Actual behavior
Segmentation fault. The testFile used to work with mpv and HW acceleration.
When running mpv in IDE (using libmpv in eclipse) I can see:
and code continues, using software decoding. Running in a terminal :
(If relevant )
Log file
output.log
Error message:
Sample files
I've donwloaded that file from here using yt-dl
The text was updated successfully, but these errors were encountered: