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

Bug#977286: marked as done (crash on H.264 encoding)



Your message dated Sun, 13 Dec 2020 18:04:19 +0000
with message-id <E1koVjH-000AfF-J6@fasolo.debian.org>
and subject line Bug#977286: fixed in intel-media-driver-non-free 20.4.3+ds1-1
has caused the Debian Bug report #977286,
regarding crash on H.264 encoding
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
977286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977286
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: intel-media-va-driver-non-free
Version: 20.4.2+ds1-1
Severity: important
Tags: patch upstream

Hi,

Whenever I start Nageru on my Kaby Lake laptop, it segfaults in the VA driver.
This was fine in 20.3.0+ds1-1, broke in 20.4.1+ds1-1, and is still the case
in 20.4.2+ds1-1. However, compiling upstream 20.4.3 appears to fix it.
This is the relevant patch according to bisect:

  commit fe06066f8c643b75d6cdac21df8e16106d74e89c
  Author: JasonChen <jason.k.chen@intel.com>
  Date:   Thu Nov 26 10:35:24 2020 +0800
  
      [Media Common] Integrate new gmm API for external surface
      
      Integrate new gmm API to create gmmResInfo for external surface.
      Need to update gmm to intel-gmmlib-20.3.3.

This is the backtrace:

Thread 15 "QS_Encode" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb166d700 (LWP 1311008)]
0x00007fffe930d8bf in CodecHalSetRcsSurfaceState (hwInterface=<optimized out>, cmdBuffer=cmdBuffer@entry=0x7fffb166af90, 
    surfaceCodecParams=surfaceCodecParams@entry=0x7fffb166acc0, kernelState=kernelState@entry=0x555556748fd0)
    at ./media_driver/agnostic/common/codec/hal/codechal_utilities.cpp:463
463	./media_driver/agnostic/common/codec/hal/codechal_utilities.cpp: Ingen slik fil eller filkatalog.
(gdb) bt
#0  0x00007fffe930d8bf in CodecHalSetRcsSurfaceState(CodechalHwInterface*, _MOS_COMMAND_BUFFER*, _CODECHAL_SURFACE_CODEC_PARAMS*, MHW_KERNEL_STATE*)
    (hwInterface=<optimized out>, cmdBuffer=cmdBuffer@entry=0x7fffb166af90, surfaceCodecParams=surfaceCodecParams@entry=0x7fffb166acc0, kernelState=kernelState@entry=0x555556748fd0) at ./media_driver/agnostic/common/codec/hal/codechal_utilities.cpp:463
#1  0x00007fffe9431121 in CodechalEncodeAvcEncG9::SendAvcMbEncSurfaces(_MOS_COMMAND_BUFFER*, _CODECHAL_ENCODE_AVC_MBENC_SURFACE_PARAMS*)
    (this=0x5555567124a0, cmdBuffer=0x7fffb166af90, params=0x7fffb166b140)
    at ./media_driver/agnostic/gen9/codec/hal/codechal_encode_avc_g9.cpp:1955
#2  0x00007fffe9369020 in CodechalEncodeAvcEnc::MbEncKernel(bool) (this=0x5555567124a0, mbEncIFrameDistInUse=<optimized out>)
    at ./media_driver/agnostic/common/codec/hal/codechal_encode_avc.cpp:3896
#3  0x00007fffe936d2e9 in CodechalEncodeAvcEnc::ExecuteKernelFunctions() (this=0x5555567124a0)
    at ./media_driver/agnostic/common/codec/hal/codechal_encode_avc.cpp:6460
#4  0x00007fffe9354660 in CodechalEncoderState::ExecuteEnc(EncoderParams*) (this=0x5555567124a0, encodeParams=0x5555566f41d8)
    at ./media_driver/agnostic/common/codec/hal/codechal_encoder_base.cpp:4755
#5  0x00007fffe96557f3 in DdiEncodeAvc::EncodeInCodecHal(unsigned int) (this=0x555556614d40, numSlices=1)
    at ./media_driver/linux/common/codec/ddi/media_ddi_encode_avc.cpp:1141
#6  0x00007fffe9640a77 in DdiEncodeBase::EndPicture(VADriverContext*, unsigned int)
    (this=0x555556614d40, ctx=<optimized out>, context=<optimized out>) at ./media_driver/linux/common/codec/ddi/media_ddi_encode_base.cpp:77
#7  0x00007fffe9645d8b in DdiEncode_EndPicture(VADriverContext*, unsigned int) (ctx=ctx@entry=0x5555561c9590, context=context@entry=536870912)
    at ./media_driver/linux/common/codec/ddi/media_libva_encoder.cpp:629
#8  0x00007fffe9672b9b in DdiMedia_EndPicture(VADriverContextP, VAContextID) (ctx=0x5555561c9590, context=536870912)
    at ./media_driver/linux/common/ddi/media_libva.cpp:3831
#9  0x00007ffff6718adf in vaEndPicture () at /lib/x86_64-linux-gnu/libva.so.2
#10 0x00005555555dc03e in QuickSyncEncoderImpl::encode_frame(QuickSyncEncoderImpl::PendingFrame, int, int, int, int, long, long, long, movit::YCbCrLumaCoefficients)
    (this=this@entry=0x555556633210, frame=..., encoding_frame_num=encoding_frame_num@entry=0, display_frame_num=display_frame_num@entry=0, gop_start_display_frame_num=gop_start_display_frame_num@entry=0, frame_type=frame_type@entry=7, pts=12000, dts=10000, duration=24000, ycbcr_coefficients=movit::YCBCR_REC_601) at /usr/include/c++/10/bits/unique_ptr.h:173
#11 0x00005555555de2e3 in QuickSyncEncoderImpl::encode_thread_func() (this=0x555556633210) at ../nageru/quicksync_encoder.cpp:1832
#12 0x00005555555decbc in operator() (__closure=0x55555661e248) at ../nageru/quicksync_encoder.cpp:1491
#13 std::__invoke_impl<void, QuickSyncEncoderImpl::QuickSyncEncoderImpl(const string&, movit::ResourcePool*, QSurface*, const string&, int, int, AVOutputFormat*, X264Encoder*, DiskSpaceEstimator*)::<lambda()> > (__f=...) at /usr/include/c++/10/bits/invoke.h:60
#14 std::__invoke<QuickSyncEncoderImpl::QuickSyncEncoderImpl(const string&, movit::ResourcePool*, QSurface*, const string&, int, int, AVOutputFormat*, X264Encoder*, DiskSpaceEstimator*)::<lambda()> > (__fn=...) at /usr/include/c++/10/bits/invoke.h:95
#15 std::thread::_Invoker<std::tuple<QuickSyncEncoderImpl::QuickSyncEncoderImpl(const string&, movit::ResourcePool*, QSurface*, const string&, int, int, AVOutputFormat*, X264Encoder*, DiskSpaceEstimator*)::<lambda()> > >::_M_invoke<0> (this=0x55555661e248) at /usr/include/c++/10/thread:264
#16 std::thread::_Invoker<std::tuple<QuickSyncEncoderImpl::QuickSyncEncoderImpl(const string&, movit::ResourcePool*, QSurface*, const string&, int, int, AVOutputFormat*, X264Encoder*, DiskSpaceEstimator*)::<lambda()> > >::operator() (this=0x55555661e248) at /usr/include/c++/10/thread:271
#17 std::thread::_State_impl<std::thread::_Invoker<std::tuple<QuickSyncEncoderImpl::QuickSyncEncoderImpl(const string&, movit::ResourcePool*, QSurface*, const string&, int, int, AVOutputFormat*, X264Encoder*, DiskSpaceEstimator*)::<lambda()> > > >::_M_run(void) (this=0x55555661e240)
    at /usr/include/c++/10/thread:215
#18 0x00007ffff4077ed0 in  () at /lib/x86_64-linux-gnu/libstdc++.so.6
#19 0x00007ffff3e2fea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
#20 0x00007ffff3d5fd8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Please upgrade to 20.4.3, and the crash should go away.

-- System Information:
Debian Release: 10.7
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'proposed-updates'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.9.1 (SMP w/40 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8), LANGUAGE=en_NO:en_US:en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages intel-media-va-driver-non-free depends on:
ii  libc6                          2.28-10
ii  libgcc1                        1:9.1.0-2
ii  libigdgmm5                     18.4.1+ds1-1
ii  libpciaccess0                  0.14-1
ii  libstdc++6                     9.1.0-2
ii  libva2 [libva-driver-abi-1.4]  2.4.0-1

intel-media-va-driver-non-free recommends no packages.

intel-media-va-driver-non-free suggests no packages.

--- End Message ---
--- Begin Message ---
Source: intel-media-driver-non-free
Source-Version: 20.4.3+ds1-1
Done: Sebastian Ramacher <sramacher@debian.org>

We believe that the bug you reported is fixed in the latest version of
intel-media-driver-non-free, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 977286@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sebastian Ramacher <sramacher@debian.org> (supplier of updated intel-media-driver-non-free package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 13 Dec 2020 18:07:37 +0100
Source: intel-media-driver-non-free
Architecture: source
Version: 20.4.3+ds1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 977286
Changes:
 intel-media-driver-non-free (20.4.3+ds1-1) unstable; urgency=medium
 .
   * New upstream version 20.4.3+ds1
     - Fix crash on H.264 encoding (Closes: #977286)
   * debian/control: Bump libigdgmm-dev BD
Checksums-Sha1:
 bf6b3c287d5a9f4fc882f3d6087c7b3b4ed3e406 2329 intel-media-driver-non-free_20.4.3+ds1-1.dsc
 253c1e2710828c3f389a54eed85966693d3fef9e 12309244 intel-media-driver-non-free_20.4.3+ds1.orig.tar.xz
 665d7e03585398952dc78cc1020aae667bdea799 4936 intel-media-driver-non-free_20.4.3+ds1-1.debian.tar.xz
Checksums-Sha256:
 eaa83f5454d7b49ba5c45385e66e5e95373d747c9997fc34b9f36b69692c728c 2329 intel-media-driver-non-free_20.4.3+ds1-1.dsc
 681ac47296b840bc31116d1e25011b677e3ae23bed2d495f7d2afd5d8f6c9b54 12309244 intel-media-driver-non-free_20.4.3+ds1.orig.tar.xz
 a619280850d05635867cbc464d7978f893f03b32bcbf617acce92143f00abd2e 4936 intel-media-driver-non-free_20.4.3+ds1-1.debian.tar.xz
Files:
 e764cbe901f9b0e4c8b9d5cdfa94868d 2329 non-free/video optional intel-media-driver-non-free_20.4.3+ds1-1.dsc
 be600e2dd0b45b9e4c4d7c8b48434fde 12309244 non-free/video optional intel-media-driver-non-free_20.4.3+ds1.orig.tar.xz
 7e10c79da575460e643a6699ba94fdb3 4936 non-free/video optional intel-media-driver-non-free_20.4.3+ds1-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl/WU/AACgkQafL8UW6n
GZN14xAAlqsetbGZYLadbI3o2TnctBcr7S9H+6eX6YwwbObL+h4NS1CotfKe7Pmd
oRzBQ0vyF4PfalgJWcwfYjcqbIIdxTDraDsWm3qzF+aCV+uY5qkc11p0O8z5bLl9
hu327hKj9oG/cZgUS9EpwJeXnWXyV9x8/aTOcnAVnTTPhkC/7spWlcbdCmoAHe2l
SsQF5xh1nNHcZip8gIRGKk0MG7trTsd6FU1KSQlq8U6DLGZY79NqOBmrIvvqzgoU
8mbWRWw9TBXnJueNYH6+hQBiveVayz4H1IEkQ/cb+eiAyTCdrvzeOnzUYavq6njy
PnvsbA5IKCQbDc404ZZYTxvwPYwCVreK1zudOpj1QrUefOhicScgHTjVQOZENl0X
ZzyvBFfT1OjajX08yeiV+UaVJTyxGut1WuLaSJbV7MrXC3JbbNojiP2Ysxb86/zK
2nJUj+2jT3UCc8K8p9LblYA1rcsBl/GLKcigQ+CYbli5lmWeFgX29SfRwCUTvU+l
hdcZcgxjs+E+U1cidDcnPV4hKRwR4EyjPMH2ZyQJ45l4wNEU9LGA3Wv0kVYAKrb6
EXeoWvkW3EfEtY/QF+OFcA7fjv0j78DMQdKqTbxh0p09Jr0nQyLKgzI1PXqR3fQ2
25w+fiz7NnSutPVAVIqg+VGMvLBny9OEal5ezdMbbCt3aCjW7XY=
=7kBu
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: