Bug#881358: nvidia_drv_video.so has no function __vaDriverInit_1_0

2017-11-10 Thread Anthony DeRobertis
Package: vdpau-va-driver
Version: 0.7.4-6
Severity: grave

anthony@Zia:~ [$?=3]$ vainfo 
libva info: VA-API version 1.0.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so
libva error: /usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so has no function 
__vaDriverInit_1_0
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

And indeed, it does not:

anthony@Zia:~$ nm --demangle -D 
/usr/lib/x86_64-linux-gnu/dri/nvidia_drv_video.so  | grep vaDriverInit
6320 T __vaDriverInit_0_31
6d40 T __vaDriverInit_0_39


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

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

Versions of packages vdpau-va-driver depends on:
ii  libc6   2.24-17
ii  libgl1  0.2.999+git20170802-5
ii  libgl1-mesa-glx 17.2.4-1+b1
ii  libva1 [libva-driver-abi-0.39]  1.8.3-2
ii  libvdpau1   1.1.1-8
ii  libx11-62:1.6.4-3

vdpau-va-driver recommends no packages.

vdpau-va-driver suggests no packages.

-- no debconf information

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#821883: ImportError: When using gi.repository you must not import static modules like "gobject"

2016-04-20 Thread Anthony DeRobertis
Package: morituri
Version: 0.2.3-2
Severity: grave

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

After a recent apt-get upgrade, appears morituri (from experimental) no
longer works at all (traceback below). I attempted to fix it myself, but
I don't know Python so I didn't really get anywhere...

$ rip cd rip
Using configured read offset 6
Checking device /dev/sr0
CDDB disc id: 3d0cb416
MusicBrainz disc id fmCeZFVMZYuZ5ZGySzKhWgDlNNM-
MusicBrainz lookup URL 
https://musicbrainz.org/cdtoc/attach?toc=1+22+244050+150+17881+24489+34744+62335+65971+67088+70519+74719+86494+93347+98152+104826+128780+146665+148207+152406+162293+176335+193912+204024+233637=22=fmCeZFVMZYuZ5ZGySzKhWgDlNNM-
Disc duration: 00:54:12.000, 22 audio tracks

Matching releases:

Artist  : Richard Strauss; Staatskapelle Weimar, Antoni Wit
Title   : An Alpine Symphony
Duration: 00:54:11.992
URL : https://musicbrainz.org/release/084a9bbb-c722-40ad-8f32-097d697b7b09
Release : 084a9bbb-c722-40ad-8f32-097d697b7b09
Type: Album

Traceback (most recent call last):
  File "/usr/bin/rip", line 46, in 
h.handleImportError(e)
  File "/usr/bin/rip", line 41, in 
sys.exit(main.main(sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/morituri/rip/main.py", line 50, in main
h.handleImportError(e)
  File "/usr/lib/python2.7/dist-packages/morituri/rip/main.py", line 45, in main
ret = c.parse(argv)
  File "/usr/lib/python2.7/dist-packages/morituri/rip/main.py", line 123, in 
parse
logcommand.LogCommand.parse(self, argv)
  File "/usr/lib/python2.7/dist-packages/morituri/extern/command/command.py", 
line 401, in parse
return self.subCommands[command].parse(args[1:])
  File "/usr/lib/python2.7/dist-packages/morituri/extern/command/command.py", 
line 401, in parse
return self.subCommands[command].parse(args[1:])
  File "/usr/lib/python2.7/dist-packages/morituri/extern/command/command.py", 
line 363, in parse
ret = self.do(args)
  File "/usr/lib/python2.7/dist-packages/morituri/rip/cd.py", line 160, in do
self.doCommand()
  File "/usr/lib/python2.7/dist-packages/morituri/rip/cd.py", line 276, in 
doCommand
self.program.result.gstreamerVersion = gstreamer.gstreamerVersion()
  File "/usr/lib/python2.7/dist-packages/morituri/common/gstreamer.py", line 
59, in gstreamerVersion
import gi
  File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 39, in 
raise ImportError(_static_binding_error)
ImportError: When using gi.repository you must not import static modules like 
"gobject". Please change all occurrences of "import gobject" to "from 
gi.repository import GObject". See: 
https://bugzilla.gnome.org/show_bug.cgi?id=709183




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

Kernel: Linux 4.4.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages morituri depends on:
ii  cdparanoia 3.10.2+debian-11
ii  cdrdao 1:1.2.3-2+b1
ii  gstreamer1.0-plugins-good  1.8.0-1+b1
ii  python 2.7.11-1
ii  python-cddb1.4-5.2
ii  python-gi  3.18.2-2+b1
ii  python-gobject 3.18.2-2
ii  python-gst-1.0 1.8.0-1
ii  python-musicbrainzngs  0.5-2
ii  python-pkg-resources   18.8-1

Versions of packages morituri recommends:
ii  gstreamer1.0-libav  1:1.8.0-1+b1
ii  gstreamer1.0-tools  1.8.0-2
ii  python-xdg  0.25-4

Versions of packages morituri suggests:
ii  gstreamer1.0-plugins-ugly  1.8.0-1
ii  python-gtk22.24.0-4
pn  python-pycdio  

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlcXMmIACgkQ+z+IwlXqWf5tuQCfRpYKL8hVlkjvPczvzrSQOt66
tiYAn1XyXHpFtX7G5/7pxkLzH3T//gGQ
=zOKV
-END PGP SIGNATURE-

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#773669: See Also isrcsubmit-config(5) missing

2014-12-21 Thread Anthony DeRobertis
Package: isrcsubmit
Version: 2.0.0-1
Severity: normal
File: /usr/share/man/man1/isrcsubmit.1.gz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

The man page has:

SEE ALSO
   isrcsubmit-config(5)

but the package doesn't ship that manpage, nor does it appear any other
package does. I see a doc/isrcsubmit-config.5.rst in the source package, so
it appears that it just didn't make to the binary package.

- -- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (500, 'testing'), (130, 'unstable'), (120, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages isrcsubmit depends on:
ii  python3 3.4.2-2
ii  python3-libdiscid   0.4.1-2
ii  python3-musicbrainzngs  0.5-2
pn  python3:any none

Versions of packages isrcsubmit recommends:
ii  cdrdao  1:1.2.3-2
ii  chromium [www-browser]  39.0.2171.71-2
ii  elinks [www-browser]0.12~pre6-5+b2
ii  google-chrome-stable [www-browser]  39.0.2171.95-1
ii  iceweasel [www-browser] 34.0-1
ii  konqueror [www-browser] 4:4.14.2-1
ii  links [www-browser] 2.8-2+b3
ii  links2 [www-browser]2.8-2+b3
ii  lynx-cur [www-browser]  2.8.9dev1-2+b1
ii  python3-keyring 4.0-1
ii  w3m [www-browser]   0.5.3-19
ii  xdg-utils   1.1.0~rc1+git20111210-7.1

isrcsubmit suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iEYEARECAAYFAlSXKVYACgkQ+z+IwlXqWf6ergCeMYAUrAo+CjXpHYKWSJdlcCjJ
y0sAnjfarUGQT4lyQys8cnXDIqI+MzJo
=GhZD
-END PGP SIGNATURE-

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


Bug#599329: Found cause of vainfo segfaults

2011-03-29 Thread Anthony DeRobertis
reassign 599329 vdpau-va-driver
forcemerge 611974 599329
thanks

Sorry for the mess here, this is from combining three emails...

I'm seeing the same segfault here, and rebuild with nostrip to get a
more useful backtrace:

anthony@Zia:~$ gdb vainfo
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/vainfo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/vainfo 
[Thread debugging using libthread_db enabled]
libva: libva version 0.31.1
Xlib:  extension XFree86-DRI missing on display :0.0.
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so

Program received signal SIGSEGV, Segmentation fault.
XDisplayString (dpy=0x0) at ../../src/Macros.c:118
118 ../../src/Macros.c: No such file or directory.
in ../../src/Macros.c
(gdb) bt
#0  XDisplayString (dpy=0x0) at ../../src/Macros.c:118
#1  0x75e92e62 in vdpau_common_Initialize (driver_data=0x611b90) at 
vdpau_driver.c:181
#2  0x75e937c3 in vdpau_Initialize_0_31_1 (ctx=0x60eb40) at 
vdpau_driver_template.h:534
#3  __vaDriverInit_0_31 (ctx=0x60eb40) at vdpau_driver.c:291
#4  0x77bba242 in vaInitialize () from /usr/lib/libva.so.1
#5  0x00400a92 in ?? ()
#6  0x77330c4d in __libc_start_main (main=value optimized out, 
argc=value optimized out, 
ubp_av=value optimized out, init=value optimized out, fini=value 
optimized out, 
rtld_fini=value optimized out, stack_end=0x7fffe0d8) at 
libc-start.c:228
#7  0x00400959 in ?? ()
#8  0x7fffe0d8 in ?? ()
#9  0x001c in ?? ()
#10 0x0001 in ?? ()
#11 0x7fffe435 in ?? ()
#12 0x in ?? ()





After rebuilding with noopt as well, I found this:

(gdb) up
#3  0x75e8f5a0 in __vaDriverInit_0_31 (ctx=0x60eb40) at 
vdpau_driver.c:291
291 return vdpau_Initialize_0_31_1(ctx);
(gdb) l
286
287 /* Assume a NULL display implies VA-API 0.31.1 struct with the
288vtable_tpi field placed just after the vtable, thus replacing
289original native_dpy field */
290 if (!ctx0-native_dpy)
291 return vdpau_Initialize_0_31_1(ctx);
292
293 return vdpau_Initialize_0_31_0(ctx);
294 }
295 #endif

That comment looks damning. It is calling vdpau_Initialize_0_31_1, with
the null native_dpy (as apparently expected), which is then ultimately
being passed to XDisplayString, leading to a segfault.

So, it seems there is an API mismatch.




Finally, list of all the related (hopefully) packages I have installed:

anthony@Zia:~$ dpkg --get-selections | egrep 'nvidia|vdpau|libva' | awk '{print 
$1}' | xargs dpkg-query -W
libgl1-nvidia-alternatives  260.19.44-1
libgl1-nvidia-glx   260.19.44-1
libglx-nvidia-alternatives  260.19.44-1
libva-dev   1.0.8-3
libva-glx1  1.0.8-3
libva-tpi1  1.0.8-3
libva-x11-1 1.0.8-3
libva1  1.0.8-3
libvamp-hostsdk32.1-1
libvariable-magic-perl  0.43-1
libvdpau-dev0.4.1-2
libvdpau1   0.4.1-2
nvidia-common   20110213+1
nvidia-glx  260.19.44-1
nvidia-kernel-common20100522+1
nvidia-kernel-dkms  260.19.44-1
nvidia-settings 195.36.24-1
nvidia-vdpau-driver 260.19.44-1
nvidia-xconfig  195.36.31-1
vdpau-va-driver 0.7.2-1
vdpau-video-build-deps  1.0




___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers


Bug#599329: Somewhat useful backtrace

2011-03-29 Thread Anthony DeRobertis
Package: libva-x11-1
Version: 1.0.8-3
Severity: normal

I rebuilt vdpau-video-0.7.2 with noopt,nostrip to get a more useful
backtrace. It ignored noopt, but did manage to not strip.

Will try and fix that problem and followup again.

anthony@Zia:~$ gdb vainfo
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /usr/bin/vainfo...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/vainfo 
[Thread debugging using libthread_db enabled]
libva: libva version 0.31.1
Xlib:  extension XFree86-DRI missing on display :0.0.
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/nvidia_drv_video.so

Program received signal SIGSEGV, Segmentation fault.
XDisplayString (dpy=0x0) at ../../src/Macros.c:118
118 ../../src/Macros.c: No such file or directory.
in ../../src/Macros.c
(gdb) bt
#0  XDisplayString (dpy=0x0) at ../../src/Macros.c:118
#1  0x75e92e62 in vdpau_common_Initialize (driver_data=0x611b90) at 
vdpau_driver.c:181
#2  0x75e937c3 in vdpau_Initialize_0_31_1 (ctx=0x60eb40) at 
vdpau_driver_template.h:534
#3  __vaDriverInit_0_31 (ctx=0x60eb40) at vdpau_driver.c:291
#4  0x77bba242 in vaInitialize () from /usr/lib/libva.so.1
#5  0x00400a92 in ?? ()
#6  0x77330c4d in __libc_start_main (main=value optimized out, 
argc=value optimized out, 
ubp_av=value optimized out, init=value optimized out, fini=value 
optimized out, 
rtld_fini=value optimized out, stack_end=0x7fffe0d8) at 
libc-start.c:228
#7  0x00400959 in ?? ()
#8  0x7fffe0d8 in ?? ()
#9  0x001c in ?? ()
#10 0x0001 in ?? ()
#11 0x7fffe435 in ?? ()
#12 0x in ?? ()

(gdb) up
#1  0x75e92e62 in vdpau_common_Initialize (driver_data=0x611b90) at 
vdpau_driver.c:181
181 const char * const x11_dpy_name = 
XDisplayString(driver_data-x11_dpy);
(gdb) info locals
x11_dpy_name = value optimized out
vdp_status = value optimized out
__PRETTY_FUNCTION__ = vdpau_common_Initialize
api_version = value optimized out
impl_string = value optimized out
(gdb) l
176 // vaInitialize
177 static VAStatus
178 vdpau_common_Initialize(vdpau_driver_data_t *driver_data)
179 {
180 /* Create a dedicated X11 display for VDPAU purposes */
181 const char * const x11_dpy_name = 
XDisplayString(driver_data-x11_dpy);
182 driver_data-vdp_dpy = XOpenDisplay(x11_dpy_name);
183 if (!driver_data-vdp_dpy)
184 return VA_STATUS_ERROR_UNKNOWN;
185
(gdb) info args
driver_data = 0x611b90
(gdb) p driver_data
$1 = (vdpau_driver_data_t *) 0x611b90
(gdb) p *driver_data
$2 = {va_context = 0x0, va_display_type = 0, config_heap = {object_size = 0, 
id_offset = 0, heap_index = 0x0, 
next_free = 0, heap_size = 0, heap_increment = 0}, context_heap = 
{object_size = 0, id_offset = 0, 
heap_index = 0x0, next_free = 0, heap_size = 0, heap_increment = 0}, 
surface_heap = {object_size = 0, 
id_offset = 0, heap_index = 0x0, next_free = 0, heap_size = 0, 
heap_increment = 0}, glx_surface_heap = {
object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 0, heap_size 
= 0, heap_increment = 0}, 
  buffer_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 
0, heap_size = 0, heap_increment = 0}, 
  output_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 
0, heap_size = 0, heap_increment = 0}, 
  image_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, next_free = 
0, heap_size = 0, heap_increment = 0}, 
  subpicture_heap = {object_size = 0, id_offset = 0, heap_index = 0x0, 
next_free = 0, heap_size = 0, 
heap_increment = 0}, mixer_heap = {object_size = 0, id_offset = 0, 
heap_index = 0x0, next_free = 0, heap_size = 0, 
heap_increment = 0}, x11_dpy = 0x0, x11_screen = 6299664, vdp_dpy = 0x0, 
vdp_device = 0, vdp_get_proc_address = 0, 
  vdp_vtable = {vdp_device_destroy = 0, vdp_generate_csc_matrix = 0, 
vdp_video_surface_create = 0, 
vdp_video_surface_destroy = 0, vdp_video_surface_get_bits_ycbcr = 0, 
vdp_video_surface_put_bits_ycbcr = 0, 
vdp_output_surface_create = 0, vdp_output_surface_destroy = 0, 
vdp_output_surface_get_bits_native = 0, 
vdp_output_surface_put_bits_native = 0, 
vdp_output_surface_render_bitmap_surface = 0, 
vdp_output_surface_render_output_surface = 0, 
vdp_output_surface_query_put_bits_indexed_capabilities = 0, 
vdp_output_surface_put_bits_indexed = 0, 
vdp_bitmap_surface_query_capabilities = 0, vdp_bitmap_surface_create = 0, 
vdp_bitmap_surface_destroy = 0, 

Bug#599329: Got a noopt build

2011-03-29 Thread Anthony DeRobertis
Package: libva-x11-1
Version: 1.0.8-3
Severity: normal

(gdb) up
#3  0x75e8f5a0 in __vaDriverInit_0_31 (ctx=0x60eb40) at 
vdpau_driver.c:291
291 return vdpau_Initialize_0_31_1(ctx);
(gdb) l
286
287 /* Assume a NULL display implies VA-API 0.31.1 struct with the
288vtable_tpi field placed just after the vtable, thus replacing
289original native_dpy field */
290 if (!ctx0-native_dpy)
291 return vdpau_Initialize_0_31_1(ctx);
292
293 return vdpau_Initialize_0_31_0(ctx);
294 }
295 #endif

That comment looks damning. It is calling vdpau_Initialize_0_31_1, with
the null native_dpy (as apparently expected), which is then ultimately
being passed to XDisplayString, leading to a segfault.

So, it seems there is an API mismatch.

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (200, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libva-x11-1 depends on:
ii  libc6 2.11.2-10  Embedded GNU C Library: Shared lib
ii  libdrm2   2.4.23-0.0 Userspace interface to kernel DRM 
ii  libx11-6  2:1.3.3-4  X11 client-side library
ii  libxext6  2:1.1.2-1  X11 miscellaneous extension librar
ii  libxfixes31:4.0.5-1  X11 miscellaneous 'fixes' extensio

libva-x11-1 recommends no packages.

libva-x11-1 suggests no packages.

-- no debconf information




___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers