-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
crashes randomly #2757
Comments
Pretty sure this is from nouveau. What version of libdrm are you using? |
2.4.66 |
This is definitely some form of nouveau fail. It's trying to do a flush, and as part of the pushbuf kick it tries to call into pushbuf_krel() with bs arguments. Not sure how that can happen. Either way, this is probably best tracked over at bugs.freedesktop.org Mesa -> DRI/nouveau . |
BTW, if mpv does any sort of multithreading between doing GL and VDPAU calls (or even just GL or just VDPAU calls, s.t. multiple threads are hitting nouveau at the same time), then nouveau will fail. This kind of weirdo crash can be a sign of such failure. |
Yes, concurrent vdpau and GL calls can happen. vdpau is supposed to be thread-safe, though. |
Yes, that should totally work. Except on nouveau it doesn't, and can end up in fairly non-sensical errors such as this one, as the two threads attempt to write and submit the same pushbuf. [And no, giving each thread its own pushbuf won't solve the larger issue.] I guess for now, mpv + vdpau+gl + nouveau = no go. |
This looks like a new way this issue has presented itself, this printed at the start of watching a video and there was no crash...
I don't think the whole thing needs to be pasted, its long. |
There is a bug filed for nouveau with exactly the same issue, https://bugs.freedesktop.org/show_bug.cgi?id=94727 |
I think it because of weak graphics card. Mesa 11.2.1 and --vo=xv work without crashes so far. |
This issue is thoroughly analyzed. Either it crashes for you because you use vdpau and opengl, or it's a different bug. |
Interesting. I've just met with this bug, but unlike most, I'm not using VDPAU (card is a lowly GF6200 AGP on an prehistoric Pentium 4 crapbox, so no VDPAU possible on this setup, ever). Just noticed that when watching YouTube videos with softsubs, mpv may crash with this error. Short of switching to AMD (and potentially exposing my sanity to a whole different class of bugs), which should be the most proper end-user-facing workaround there? |
Using NVIDIA’s proprietary drivers, of course. 304.132 should support your card, and surprisingly it will still work with recent kernels if you apply this patch. |
crashes at random parts of videos with the following output:
although, it says "[vo/opengl] Could not create EGL context!" when playing videos but it doesn't crash, i don't know if the egl context has something to do with it.
The text was updated successfully, but these errors were encountered: