NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: "xv" video with intel graphics?



On Sun, 27 Sep 2020, John D. Baker wrote:

> > indicative of a problem. ffplay (another player) should also
> > be extremely reliable.
> 
> I'll see about trying that.

Nope, it behaves similarly to 'mpv' although it starts to play the
audio then cuts off, then crashes:

$ ffplay4 xfrm_blast.mpeg
ffplay version 4.3.1 Copyright (c) 2003-2020 the FFmpeg developers
  built with gcc 7.5.0 (nb4 20200810)
  configuration: --disable-ffmpeg --disable-ffprobe --disable-encoders --disable-decoders --disable-hwaccels --disable-muxers --disable-demuxers --disable-parsers --disable-bsfs --disable-protocols --disable-devices --disable-filters --disable-htmlpages --disable-podpages --disable-txtpages --enable-ffplay --enable-dct --enable-mdct --enable-rdft --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  WARNING: library configuration mismatch
  avutil      configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  avcodec     configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  avformat    configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  avdevice    configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  avfilter    configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  swscale     configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  swresample  configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  postproc    configuration: --enable-avfilter --enable-avresample --enable-postproc --enable-rpath --disable-ffplay --enable-fontconfig --enable-libfreetype --enable-libass --enable-libaom --disable-htmlpages --enable-libfdk_aac --enable-nonfree --enable-gnutls --disable-mbedtls --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --disable-openssl --disable-libjack --disable-libpulse --enable-librtmp --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libspeex --enable-libxvid --enable-libx264 --enable-libx265 --enable-vdpau --enable-vaapi --enable-libvpx --enable-libwebp --enable-libxcb --enable-libxcb-shape --enable-libxcb-shm --enable-libxcb-xfixes --enable-libbluray --arch=x86_64 --cc=gcc --disable-debug --disable-optimizations --disable-stripping --enable-gpl --enable-libxml2 --enable-pthreads --enable-shared --mandir=/usr/pkg/man --prefix=/usr/pkg --progs-suffix=4 --datadir=/usr/pkg/share/ffmpeg4 --docdir=/usr/pkg/share/doc/ffmpeg4 --incdir=/usr/pkg/include/ffmpeg4 --libdir=/usr/pkg/lib/ffmpeg4 --shlibdir=/usr/pkg/lib/ffmpeg4 --enable-runtime-cpudetect
  libavutil      56. 51.100 / 56. 51.100
  libavcodec     58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter     7. 85.100 /  7. 85.100
  libswscale      5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
[mpeg @ 0x73b54a06a000] Packet corrupt (stream = 1, dts = 1444422). 
Input #0, mpeg, from 'xfrm_blast.mpeg':
  Duration: 00:00:15.95, start: 0.233322, bitrate: 1386 kb/s
    Stream #0:0[0x1c0]: Audio: mp2, 44100 Hz, stereo, s16p, 224 kb/s
    Stream #0:1[0x1e0]: Video: mpeg1video, yuv420p(tv), 352x240 [SAR 200:219 DAR 880:657], 1152 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
Memory fault (core dumped) 


Loading into gdb:

[...]
Core was generated by `ffplay4'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000073b52ebe4dbc in rebase_depth_stencil (brw=brw@entry=0x73b54c0d0db0, 
    irb=irb@entry=0x73b54c0ff980, invalidate=<optimized out>)
    at /x/netbsd-9/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_misc_state.c:143
143	   intel_get_tile_masks(irb->mt->surf.tiling, irb->mt->cpp,
[Current thread is 1 (process 1)]
(gdb) bt
#0  0x000073b52ebe4dbc in rebase_depth_stencil (brw=brw@entry=0x73b54c0d0db0, 
    irb=irb@entry=0x73b54c0ff980, invalidate=<optimized out>)
    at /x/netbsd-9/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_misc_state.c:143
#1  0x000073b52ebe5824 in brw_workaround_depthstencil_alignment (
    brw=brw@entry=0x73b54c0d0db0, clear_mask=clear_mask@entry=2)
    at /x/netbsd-9/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_misc_state.c:233
#2  0x000073b52eba34e5 in brw_clear (ctx=0x73b54c0d0db0, mask=2)
    at /x/netbsd-9/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_clear.c:255
#3  0x000073b548c47ee5 in GL_RunCommandQueue ()
   from /usr/pkg/lib/libSDL2-2.0.so.0
#4  0x000073b548c3cae5 in FlushRenderCommands ()
   from /usr/pkg/lib/libSDL2-2.0.so.0
#5  0x000073b548c41934 in SDL_RenderPresent_REAL ()
   from /usr/pkg/lib/libSDL2-2.0.so.0
#6  0x0000000000411b23 in ?? ()
#7  0x0000000000413622 in ?? ()
#8  0x00000000004144d5 in ?? ()
#9  0x000000000040704d in ?? ()
#10 0x00007f7e3ba0e9f8 in ?? () from /usr/libexec/ld.elf_so
#11 0x0000000000000002 in ?? ()
#12 0x00007f7fffbe1140 in ?? ()
#13 0x00007f7fffbe1148 in ?? ()
#14 0x0000000000000000 in ?? ()
(gdb) list *0x000073b52ebe4dbc
0x73b52ebe4dbc is in rebase_depth_stencil (/x/netbsd-9/src/../xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/brw_misc_state.c:143).
138	{
139	   const struct gen_device_info *devinfo = &brw->screen->devinfo;
140	   struct gl_context *ctx = &brw->ctx;
141	   uint32_t tile_mask_x = 0, tile_mask_y = 0;
142	
143	   intel_get_tile_masks(irb->mt->surf.tiling, irb->mt->cpp,
144	                        &tile_mask_x, &tile_mask_y);
145	   assert(!intel_miptree_level_has_hiz(irb->mt, irb->mt_level));
146	
147	   uint32_t tile_x = irb->draw_x & tile_mask_x;


-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index