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

Bug#951778: marked as done (libva2: NULL vtable when querying nvidia render device)



Your message dated Tue, 17 Mar 2020 11:19:21 +0000
with message-id <E1jEAFl-000CNl-Jk@fasolo.debian.org>
and subject line Bug#951778: fixed in libva 2.7.0~pre1-1
has caused the Debian Bug report #951778,
regarding libva2: NULL vtable when querying nvidia render device
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.)


-- 
951778: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951778
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libva2
Version: 2.6.1-1
Severity: grave

Hi,

It seems that after a recent full-upgrade, querying certain render nodes fails,
crashing my program; it is easily reproducible using vainfo:

  gruessi:~> vainfo --display drm --device /dev/dri/renderD129
  libva info: VA-API version 1.6.0
  vainfo: VA-API version: 1.6 (libva 2.6.0)
  vainfo: Driver version: <unknown>
  zsh: segmentation fault  vainfo --display drm --device /dev/dri/renderD129

The crash is in

  Program received signal SIGSEGV, Segmentation fault.
  0x00007ffff7e254f2 in vaQueryConfigProfiles (dpy=0x55555555d2d0, profile_list=0x55555555dc10, 
      num_profiles=0x7fffffffe92c) at va.c:903
  903	va.c: Ingen slik fil eller filkatalog.
  (gdb) bt
  #0  0x00007ffff7e254f2 in vaQueryConfigProfiles (dpy=0x55555555d2d0, profile_list=0x55555555dc10, 
      num_profiles=0x7fffffffe92c) at va.c:903
  #1  0x00005555555564e3 in ?? ()
  #2  0x00007ffff7c73bbb in __libc_start_main (main=0x555555556370, argc=5, argv=0x7fffffffea48, 
      init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffea38)
      at ../csu/libc-start.c:308
  #3  0x00005555555568aa in ?? ()

It seems that somehow, the device is opened but gets a NULL vtable:

  (gdb) print *ctx
  $2 = {pDriverData = 0x0, vtable = 0x0, vtable_glx = 0x0, vtable_egl = 0x0, vtable_tpi = 0x0, 
    native_dpy = 0x0, x11_screen = 0, version_major = 0, version_minor = 0, max_profiles = 0, 
    max_entrypoints = 0, max_attributes = 0, max_image_formats = 0, max_subpic_formats = 0, 
    max_display_attributes = 0, str_vendor = 0x0, handle = 0x0, drm_state = 0x55555555d2a0, glx = 0x0, 
    display_type = 49, vtable_wayland = 0x0, vtable_vpp = 0x0, override_driver_name = 0x0, 
    pDisplayContext = 0x55555555d2d0, error_callback = 0x7ffff7e23540 <va_driverErrorCallback>, 
    info_callback = 0x7ffff7e23560 <va_driverInfoCallback>, reserved = {0 <repeats 38 times>}}

I can query renderD128, which corresponds to my Intel iGPU just fine.
renderD129 corresponds to my RTX 2070:

  gruessi:~> cat /sys/class/drm/renderD129/device/vendor
  0x10de
  gruessi:~> cat /sys/class/drm/renderD129/device/device
  0x1f02

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 5.4.0-4-amd64 (SMP w/6 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=nb_NO.UTF-8, LC_CTYPE=nb_NO.UTF-8 (charmap=UTF-8), LANGUAGE=nb_NO:nb:no_NO:no (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libva2 depends on:
ii  libc6  2.29-10

Versions of packages libva2 recommends:
ii  i965-va-driver-shaders [va-driver]          2.4.0-1
ii  intel-media-va-driver-non-free [va-driver]  19.4.0+ds1-1
ii  mesa-va-drivers [va-driver]                 19.3.3-1
ii  va-driver-all                               2.6.1-1

libva2 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libva
Source-Version: 2.7.0~pre1-1
Done: Sebastian Ramacher <sramacher@debian.org>

We believe that the bug you reported is fixed in the latest version of
libva, 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 951778@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 libva 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, 17 Mar 2020 11:45:44 +0100
Source: libva
Architecture: source
Version: 2.7.0~pre1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Sebastian Ramacher <sramacher@debian.org>
Closes: 951778
Changes:
 libva (2.7.0~pre1-1) unstable; urgency=medium
 .
   * New upstream pre-release
     - Fix NULL vtable when querying devices without drivers (Closes: #951778)
   * debian/control:
     - Bump Standards-Version
     - Add provides for new driver ABI
Checksums-Sha1:
 1d8948d53b4e912034ba228b03789811bcb882db 2443 libva_2.7.0~pre1-1.dsc
 7916189551b7113a89930be84e393a8e7b3f7ba2 233867 libva_2.7.0~pre1.orig.tar.gz
 99aebcf6cd5dcf6633af75f005c6bdfaf48a8d54 11412 libva_2.7.0~pre1-1.debian.tar.xz
Checksums-Sha256:
 f92de82b557ebdfbed6fca28378c44e8c68089051fa0562d6278772bc77f2a2f 2443 libva_2.7.0~pre1-1.dsc
 88165989e71b284f735419e9e59dabbc02b74e6fcec8ef2dc985dec2f058d768 233867 libva_2.7.0~pre1.orig.tar.gz
 2cc5511f3ccc0f06186e7dad4d48d3404215c8837a79b36bc9acb2824d68d680 11412 libva_2.7.0~pre1-1.debian.tar.xz
Files:
 7d2eecd2ce35d86740097fbb2365d34c 2443 libs optional libva_2.7.0~pre1-1.dsc
 6bda4f905d152efdd4a5fc12293e9f84 233867 libs optional libva_2.7.0~pre1.orig.tar.gz
 a29986a54fce88fc9b1533fe5cb33600 11412 libs optional libva_2.7.0~pre1-1.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl5wrQwACgkQafL8UW6n
GZPuZxAAnjdW1Adley/hrggI2alHOyEGEPq5wzS+sb27ouZ7Zpoh5OvK00/tpr37
/MjoQYUsV/wmOL3t0oQ6NX5x3BzEaVYwzUCCkIIltxmpiGcjcLDh71g18g25UHUg
QVRyJMN+jVWJyi0cqwRscmxchCs/Jv1gnTccPmzQ0d2EUEcCiEhRCtDawV2NDhdv
ydXGH1mDd8+Pfw+HU4/PwY5ABkofwksmeGnUeDMUDsyig1E4VJSVei7rFVpkYPFB
3NhULUh5lg2nSX3Dq8MTyQnkXY6+AUMnEuyNbnmT7U9nsDzG93v8UMwkQGGlS8XW
GljPYa6G2Wp/nKFeT3mgQHc8Xlr228vgenOIKpBsGwdc/klYeHmYEZRMq05WcHDg
MxtVQWVBaClytkrhsRELAa+QlKAEF6nRWSU/h+0JoKk8E25zOX+kg0sD1bryD7d4
sCDOwFRoK2tmKOAW+YiaywreXUUoi935i+EZdIMO+Hwt8hXVbQpvcdcGNaO1Wrtv
I6VmmvNYv9tocJu4kaQfO4VO26vOb1io6vtm5h3Q84ZGqxyvJHvymh6Hq9iuVpOv
1NuIqtND6bFHTVTjY1QCAKoG8VR6pXImKKWi0TtOjTHdZtB3yVc3lAvcz/BDJs/a
8i0sGbUoAVr9tDfKptZOKwKUUCeS5b//ViGRkSvhd+Rg8ZtVLrc=
=DJOD
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: