[Libva] Fwd: RE: libva-vdpau-driver - kernel: traps: vainfo[20535] trap divide error

Víctor M. Jáquez L. vjaquez at igalia.com
Thu Jun 2 17:09:32 UTC 2016


Hi,

On 06/02/16 at 10:12am, James Feeney wrote:
> I didn't find a specific venue for bug reports, so I'm sending this along.
> Perhaps there is something useful here, assuming this divide-by error should
> never happen.
> 
> Arch linux 4.6-1
> libva-vdpau-driver 0.7.4-2
> 
> 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV710
> [Radeon HD 4350/4550] Dual Core Intel(R) Pentium(R) D CPU 3.20GHz
>

I would say that, according to you card (Radeon HD 4000), you should use
libva-xvba-driver, not vpdau.

Sadly, both and libva-vdpau-driver[1] libva-xvba-driver[2] are not maintained
anymore. You are on your own for now.

Mesa recently added a gallium driver (libva-mesa-driver) which -afaik- works,
but, according to this archlinux wiki page[3] you card is not supported.

1. https://cgit.freedesktop.org/vaapi/vdpau-driver/ (4 years without a commit)
2. https://cgit.freedesktop.org/vaapi/xvba-driver/ (5 years)
2. https://wiki.archlinux.org/index.php/Hardware_video_acceleration

vmjl

> While running:
> 
> $ LIBVA_DRIVER_NAME=vdpau vainfo
> libva info: VA-API version 0.39.0
> libva info: va_getDriverName() returns -1 libva info: User requested driver 'vdpau'
> libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so libva info: Found
> init function __vaDriverInit_0_35 Floating point exception (core dumped)
> 
> The log has:
> 
> May 28 11:22:52 beryl kernel: traps: vainfo[20535] trap divide error
> ip:7f4ac8c0d2da sp:7ffef7cc3420 error:0 in vdpau_drv_video.so[7f4ac8c0a000+17000]
> May 28 11:22:52 beryl systemd[1]: Created slice system-systemd\x2dcoredump.slice.
> May 28 11:22:52 beryl systemd[1]: Started Process Core Dump (PID 20536/UID 0).
> May 28 11:22:52 beryl systemd-coredump[20538]: Process 20535 (vainfo) of user
> 1000 dumped core.
> 
> Stack trace of thread 20535:
>  #0  0x00007f4ac8c0d2da n/a (vdpau_drv_video.so)
>  #1  0x00007f4ac8c101e8 n/a (vdpau_drv_video.so)
>  #2  0x00007f4ac8c10236 n/a (vdpau_drv_video.so)
>  #3  0x00007f4ac8c1040c n/a (vdpau_drv_video.so)
>  #4  0x00007f4ac8c111e0 __vaDriverInit_0_35 (vdpau_drv_video.so)
>  #5  0x00007f4acb6c71f6 n/a (libva.so.1)
>  #6  0x00007f4acb6c8017 vaInitialize (libva.so.1)
>  #7  0x0000000000401690 n/a (vainfo)
>  #8  0x00007f4aca7e5741 __libc_start_main (libc.so.6)
>  #9  0x0000000000401939 n/a (vainfo)
> 
> The command seems to run fine on another machine with the same software, a Core
> 2 Quad Core Q6600 and an HD5570, but throws the divide-by error on the machine
> with the HD4350.
> 
> James
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list