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

Bug#974772: marked as done (intel-media-va-driver: Programs crash with "Illegal instruction" in iHD_drv_video.so)



Your message dated Tue, 26 Jan 2021 20:24:18 +0000
with message-id <E1l4Uss-000Dyf-Vk@fasolo.debian.org>
and subject line Bug#974772: fixed in intel-media-driver 21.1.0+dfsg1-1
has caused the Debian Bug report #974772,
regarding intel-media-va-driver: Programs crash with "Illegal instruction" in iHD_drv_video.so
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.)


-- 
974772: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974772
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: intel-media-va-driver
Version: 20.3.0+dfsg1-1
Severity: important
Tags: ftbfs

Dear Maintainer,

Since my latest debian update, VLC is crashing when playing video with the message:
  Illegal instruction

After a bit of debug in GDB, I have confirmed that the crash comes from:
  /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so

(gdb) bt
#0  0x00007fffa133ba6b in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#1  0x00007fffa133bb8f in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#2  0x00007fffa133b2c8 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#3  0x00007fffa133bc67 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#4  0x00007fffa1342a05 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#5  0x00007fffa12c6597 in ?? () from /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
#6  0x00007fffac244e86 in ?? () from /usr/lib/x86_64-linux-gnu/libva.so.2
#7  0x00007fffac245feb in vaInitialize () from /usr/lib/x86_64-linux-gnu/libva.so.2

I am suspecting it is because the package is compiled from a very recent architecture
(i7 with sse4.1 explicitely enabled) which my processor does not support.

I have tryed compiling the package from source, but after tweaking the flags to
set -march=native, the compilation fails:

In file included from [...]/intel-media-driver-20.3.0+dfsg1/media_driver/linux/common/cm/hal/cm_mem_os.h:30,
                 from [...]/intel-media-driver-20.3.0+dfsg1/media_driver/agnostic/common/cm/cm_mem.h:128,
                 from [...]/intel-media-driver-20.3.0+dfsg1/media_driver/agnostic/common/cm/cm_buffer_rt.cpp:33:
/usr/lib/gcc/x86_64-linux-gnu/10/include/smmintrin.h: In function ‘void CmFastMemCopyFromWC(void*, const void*, size_t, CPU_INSTRUCTION_LEVEL)’:
/usr/lib/gcc/x86_64-linux-gnu/10/include/smmintrin.h:582:1: error: inlining failed in call to ‘always_inline’ ‘__m128i _mm_stream_load_si128(__m128i*)’: target specific option mismatch
  582 | _mm_stream_load_si128 (__m128i *__X)
      | ^~~~~~~~~~~~~~~~~~~~~
In file included from [...]/intel-media-driver-20.3.0+dfsg1/media_driver/agnostic/common/cm/cm_mem.h:128,
                 from [...]/intel-media-driver-20.3.0+dfsg1/media_driver/agnostic/common/cm/cm_buffer_rt.cpp:33:
[...]/intel-media-driver-20.3.0+dfsg1/media_driver/linux/common/cm/hal/cm_mem_os.h:201:53: note: called from here
  201 |                         xmm3 = _mm_stream_load_si128(mmSrc + 3);
      |                                ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~

I am wondering what would be a good solution to at least avoid crashes...

Regards,
Christophe

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-2-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages intel-media-va-driver depends on:
ii  libc6                          2.30-4
ii  libgcc-s1                      10.2.0-16
ii  libigdgmm11                    20.3.2+ds1-1
ii  libstdc++6                     10.2.0-16
ii  libva2 [libva-driver-abi-1.9]  2.9.0-1

intel-media-va-driver recommends no packages.

intel-media-va-driver suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: intel-media-driver
Source-Version: 21.1.0+dfsg1-1
Done: Sebastian Ramacher <sramacher@debian.org>

We believe that the bug you reported is fixed in the latest version of
intel-media-driver, 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 974772@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 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: Tue, 26 Jan 2021 20:35:46 +0100
Source: intel-media-driver
Architecture: source
Version: 21.1.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 972833 974772
Changes:
 intel-media-driver (21.1.0+dfsg1-1) unstable; urgency=medium
 .
   * New upstream release
     - Check availability of instruction sets before using them (Closes:
       #974772, #972833)
Checksums-Sha1:
 ab1ed911c9c79ebf2d7bf742cfe7a09f34cccb58 2359 intel-media-driver_21.1.0+dfsg1-1.dsc
 9a0f9e13fdc1908bb32a6307a7cc8352e9c6d4e4 6352612 intel-media-driver_21.1.0+dfsg1.orig.tar.xz
 8269366d2fba4cadc8a21aa607d803a1828e2879 5792 intel-media-driver_21.1.0+dfsg1-1.debian.tar.xz
Checksums-Sha256:
 af17a5d0f592a5bbd41e1c00e20ff6d5b608415ef66d70c1a125931daef21547 2359 intel-media-driver_21.1.0+dfsg1-1.dsc
 91d84548b37cc809a4a641eabf5fa3a1b119d112816f3d6a0b7f819a7ce9ca4d 6352612 intel-media-driver_21.1.0+dfsg1.orig.tar.xz
 cf41715aa4c99f6dff11c8192cdfd1871a5d12ae333a70c9c60f3daeb38414f6 5792 intel-media-driver_21.1.0+dfsg1-1.debian.tar.xz
Files:
 ff2001451997d3be05261a111e864ea0 2359 video optional intel-media-driver_21.1.0+dfsg1-1.dsc
 36f03083e632989250b733da9420257c 6352612 video optional intel-media-driver_21.1.0+dfsg1.orig.tar.xz
 4b670fb43e212f7fc863825e2eb28290 5792 video optional intel-media-driver_21.1.0+dfsg1-1.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAmAQczUACgkQafL8UW6n
GZOXPw//dc4n8AwEiX/9d8NFk9HHcaDQaKsWMnooiniER/VAl5xvK+doHav/+9Vg
5xDfOCOYmNvEDyMUuyUduhrDORd3T19O04DOi4jbwxDF/j34hyH3LIrz6LPY0sMd
IYvfltWKkYBRdDt+o/8RI2vjrKK9I58Bfp+b74/Q23aZGL9SpmkX+/UhBvucIJVo
frCupD1cd35Pv8kf+krpSRb94vvdkHvMXJk6teIRWIzgqCrLE0gsekS0w+xJT/wt
PkU+x8hKISqxbVQu06nFsqNQG2u/DM9/zouFUQsI0/2j7xGkjsoqrtcUkbYCVeih
PmBpwXwSfdIf6av+H3H3/ZkUKW5PPwOtGN2CQEz+oAfGB6jLwB7cutJaeVgMT8aj
dyjUtsKVZC057xR2WHGvM5CrDkWIOyEmdmWo9G9RAbTHQsEni7CQ221N58eXLIsp
uLy9sd8XMchMvFJDrUeYH6ZH1Mmb+f5i8tYGC+Dd2Mt6IXPwR/6uf8N2XgD2yAIA
xXMELXTHdvDGULJVYGyiIi1TZmGAr2EgbU2DqvCv+pFI4fOCgfcgqKpFvaWeLfd/
gXRh/1FADnnV/N6RJyydggbe4MkaNrp6Mw4A4ywPF/CHMKEaUzZeBt4K1eh/T6lN
6ToERs6/0EUb3Pdkb7s5NO+Cx320yx4y8DVteX3juh+yTHDnj7U=
=5k/v
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: