https://bugzilla.suse.com/show_bug.cgi?id=1192844
Bug ID: 1192844 Summary: vlc dvd:// crashes in Mesa init_source Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: gfx-bugs@suse.de Reporter: ohering@suse.com QA Contact: gfx-bugs@suse.de Found By: --- Blocker: ---
vlc dvd:// crashes:
Core was generated by `vlc dvd://'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007f5b2d18b011 in init_source (buffer=0x7f5ae8842088, idct=0x7f5ae87eb4e0) at ../src/gallium/auxiliary/vl/vl_idct.c:597 597 tex = buffer->sampler_views.individual.source->texture; [Current thread is 1 (Thread 0x7f5aeed36640 (LWP 2185))] (gdb) p buffer->sampler_views $1 = {all = {0x0, 0x7f5ae8829390, 0x0, 0x7f5ae8829390}, stage = {{0x0, 0x7f5ae8829390}, {0x0, 0x7f5ae8829390}}, individual = { source = 0x0, matrix = 0x7f5ae8829390, intermediate = 0x0, transpose = 0x7f5ae8829390}}
(gdb) bt #0 0x00007f5b2d18b011 in init_source (buffer=0x7f5ae8842088, idct=0x7f5ae87eb4e0) at ../src/gallium/auxiliary/vl/vl_idct.c:597 #1 vl_idct_init_buffer (intermediate=0x0, source=<optimized out>, buffer=0x7f5ae8842088, idct=0x7f5ae87eb4e0) at ../src/gallium/auxiliary/vl/vl_idct.c:806 #2 init_idct_buffer (buffer=<optimized out>, dec=0x7f5ae8841de8) at ../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:256 #3 vl_mpeg12_get_decode_buffer (dec=dec@entry=0x7f5ae87eb2e0, target=<optimized out>) at ../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:557 #4 0x00007f5b2d18ba87 in vl_mpeg12_begin_frame (decoder=0x7f5ae87eb2e0, target=<optimized out>, picture=0x7f5ae807dca8) at ../src/gallium/auxiliary/vl/vl_mpeg12_decoder.c:606 #5 0x00007f5aeddac314 in handleVASliceDataBufferType (context=context@entry=0x7f5ae807dc30, buf=<optimized out>) at ../src/gallium/frontends/va/picture.c:351 #6 0x00007f5aeddadf09 in vlVaRenderPicture (ctx=<optimized out>, context_id=<optimized out>, buffers=0x7f5ae801cb70, num_buffers=72) at ../src/gallium/frontends/va/picture.c:581 #7 0x00007f5af4bc15bf in vaRenderPicture (dpy=0x7f5ae810eb50, context=8, buffers=0x7f5ae801cb70, num_buffers=72) at /usr/src/debug/libva-2.13.0-3.1.x86_64/va/va.c:1605 #8 0x00007f5b0c92e990 in ff_vaapi_decode_issue (avctx=0x7f5ae8001580, pic=0x7f5ae807ab40) at libavcodec/vaapi_decode.c:179 #9 0x00007f5b0c93a61e in vaapi_mpeg2_end_frame (avctx=<optimized out>) at libavcodec/vaapi_mpeg2.c:121 #10 0x00007f5b0c7d3fa0 in slice_end (avctx=avctx@entry=0x7f5ae8001580, pict=pict@entry=0x7f5ae8005f80) at libavcodec/mpeg12dec.c:2042 #11 0x00007f5b0c7deb4d in decode_chunks (avctx=0x7f5ae8001580, picture=0x7f5ae8005f80, got_output=0x7f5aeed359a0, buf=0x7f5ae8045c60 "", buf_size=137080) at libavcodec/mpeg12dec.c:2495 #12 0x00007f5b0c7dfb4e in mpeg_decode_frame (avctx=0x7f5ae8001580, data=0x7f5ae8005f80, got_output=0x7f5aeed359a0, avpkt=<optimized out>) at libavcodec/mpeg12dec.c:2847 #13 0x00007f5b0c5d440a in decode_simple_internal (discarded_samples=<synthetic pointer>, frame=0x7f5ae8005f80, avctx=0x7f5ae8001580) at libavcodec/decode.c:329 #14 decode_simple_receive_frame (frame=<optimized out>, avctx=<optimized out>) at libavcodec/decode.c:530 #15 decode_receive_frame_internal (avctx=avctx@entry=0x7f5ae8001580, frame=0x7f5ae8005f80) at libavcodec/decode.c:550 #16 0x00007f5b0c5d5888 in avcodec_send_packet (avctx=avctx@entry=0x7f5ae8001580, avpkt=0x7f5ae8006d40) at libavcodec/decode.c:617 ... (gdb) info source Current source file is ../src/gallium/auxiliary/vl/vl_idct.c Compilation directory is /usr/src/debug/Mesa-drivers-21.2.5-293.2.x86_64/x86_64-suse-linux Located in /usr/src/debug/Mesa-drivers-21.2.5-293.2.x86_64/src/gallium/auxiliary/vl/vl_idct.c
... [ 26.750403][ T570] [drm] initializing kernel modesetting (RV620 0x1002:0x95C5 0x1028:0x0342 0x00). [ 26.759604][ T570] ATOM BIOS: 113 ...
No idea when it started, just tried it this week on this Dell OptiPlex 980.
https://bugzilla.suse.com/show_bug.cgi?id=1192844
Stefan Dirsch sndirsch@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |IN_PROGRESS
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c1
Stefan Dirsch sndirsch@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ohering@suse.com Flags| |needinfo?(ohering@suse.com)
--- Comment #1 from Stefan Dirsch sndirsch@suse.com --- Sorry for not handling for such a long time. :-(
Looks like an issue in VA-API backend. Could you try a different one by specifying
vlc --vout <any | gl | xcb_xv | xcb_x11 | vdpau_display> ...
(Check options via vlc --help --advanced)
Does VA-API and VPDAU work at all? Please check with 'vainfo' and 'vdpauinfo".
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c2
--- Comment #2 from Stefan Dirsch sndirsch@suse.com --- You find vainfo in package libva-utils and vdpauinfo in package libvdpau1.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c7
Olaf Hering ohering@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ohering@suse.com) |
--- Comment #7 from Olaf Hering ohering@suse.com --- I have a Samsung R505 with the same issue.
[ 8.049255] [drm] initializing kernel modesetting (RV620 0x1002:0x95C4 0x144D:0xC049 0x00).
The vdpau packages are not installed. Installing them, or setting the env vars do not fix the crash.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c8
Stefan Dirsch sndirsch@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ohering@suse.com)
--- Comment #8 from Stefan Dirsch sndirsch@suse.com --- Hmm. I meant to try running vdpauinfo with that. And once we have this working, once could try again to run vlc using vdpau.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c9
--- Comment #9 from Stefan Dirsch sndirsch@suse.com --- (In reply to Stefan Dirsch from comment #8)
Hmm. I meant to try running vdpauinfo with that. And once we have this working, once could try again to run vlc using vdpau.
Did you try this meanwhile? Any results?
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c10
--- Comment #10 from Stefan Dirsch sndirsch@suse.com --- @Olaf ping!
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c11
--- Comment #11 from Olaf Hering ohering@suse.com --- (In reply to Stefan Dirsch from comment #10)
@Olaf ping!
I will try to provide the info tomorrow.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c12
Olaf Hering ohering@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ohering@suse.com) |
--- Comment #12 from Olaf Hering ohering@suse.com --- Created attachment 858453 --> https://bugzilla.suse.com/attachment.cgi?id=858453&action=edit bug1192844.txt
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c13
--- Comment #13 from Stefan Dirsch sndirsch@suse.com --- Ok. So vdpauinfo works, just vlc crashes.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c14
Stefan Dirsch sndirsch@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(ohering@suse.com)
--- Comment #14 from Stefan Dirsch sndirsch@suse.com --- So is this still an issue with Mesa 23.0.0 on current TW?
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c15
Olaf Hering ohering@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(ohering@suse.com) |
--- Comment #15 from Olaf Hering ohering@suse.com --- Created attachment 865625 --> https://bugzilla.suse.com/attachment.cgi?id=865625&action=edit bug1192844-tw20230315.txt
different dvd, (maybe) different crash, same bad result.
https://bugzilla.suse.com/show_bug.cgi?id=1192844 https://bugzilla.suse.com/show_bug.cgi?id=1192844#c16
--- Comment #16 from Stefan Dirsch sndirsch@suse.com --- Sigh. :-( Thanks for giving it another try!