You are not logged in.

#1 2019-04-28 17:49:00

risto3
Member
Registered: 2016-09-27
Posts: 36

[SOLVED] problems with vlc/kodi on video which works fine with mpv

Not sure how to resolve this...
Running  Linux sarchx64 5.0.9-arch1-1-ARCH #1 SMP PREEMPT Sat Apr 20 15:00:46 UTC 2019 x86_64 GNU/Linux
nouveau-fw 340.32-1
xf86-video-nouveau 1.0.16-1
with a nVidia   NV106
[   370.609] (==) NOUVEAU(0): DPI set to (96, 96)
[   370.761] (II) NOUVEAU(0): Channel setup complete.
[   370.761] (II) NOUVEAU(0): [COPY] async initialised.
[   370.761] (II) NOUVEAU(0): Hardware support for Present enabled
[   370.761] (II) NOUVEAU(0): [DRI2] Setup complete
[   370.761] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[   370.761] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[   370.761] (==) NOUVEAU(0): Backing store enabled
[   370.761] (==) NOUVEAU(0): Silken mouse disabled
[   370.762] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[   370.762] (II) NOUVEAU(0): [XvMC] Extension initialized.
[   370.762] (==) NOUVEAU(0): DPMS enabled
[   370.826] (II) NOUVEAU(0): NVEnterVT is called.
[   370.860] (II) NOUVEAU(0): Setting screen physical size to 508 x 285
[   375.427] (II) NOUVEAU(0): EDID vendor "PHL", prod id 49301
[   375.427] (II) NOUVEAU(0): Using EDID range info for horizontal sync
[   375.427] (II) NOUVEAU(0): Using EDID range info for vertical refresh

Have a video which is fine on mpv:
(+) Video --vid=1 (*) (h264 640x360 30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)

but I get only good audio and psychedelic banding under vlc or kodi
with vlc the following errors:
$ LANG=C cvlc vid.mp4
VLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)
[0000563abf648c10] dummy interface: using the dummy interface module...
[00007f549c005b00] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007f549c005b00] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
[00007f549c005b00] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
libva error: va_getDriverName() failed with operation failed,driver_name=nouveau
[00007f549c005b00] glconv_vaapi_drm gl error: vaInitialize: operation failed
[00007f54a8c15d90] avcodec decoder: Using G3DVL VDPAU Driver Shared Library version 1.0 for hardware decoding

Any ideas on how to get vlc and kodi to stop puking on h264?  I also have similar problems when trying to watch
internet tv on my freebox.

Last edited by risto3 (2019-04-28 21:51:59)

Offline

#2 2019-04-28 18:09:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [SOLVED] problems with vlc/kodi on video which works fine with mpv

Which acceleration options are you specifying in mpv? Also please use [ code ] tags for posting command outputs.

If I'm reading that right you aren't specifying anything, so mirror that and disable hardware acceleration in VLC/Kodi

Last edited by V1del (2019-04-28 18:12:16)

Online

#3 2019-04-28 18:56:43

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: [SOLVED] problems with vlc/kodi on video which works fine with mpv

Hardware decoding should actually work on this GPU with the nouveau driver, by installing nouveau-fw from AUR. At least in theory. You also need mesa-vdpau (for VDPAU decoding) and libva-mesa-driver (for VAAPI decoding).

But in general, if you have playback problems, the first thing to do is what V1del says, disable hardware decoding. It's off by default in mpv for exactly this reason, because it can be flaky. Software decoding is much more robust.

Offline

#4 2019-04-28 21:43:48

risto3
Member
Registered: 2016-09-27
Posts: 36

Re: [SOLVED] problems with vlc/kodi on video which works fine with mpv

firstly, turning of materiel decoding allowed to see the video correctly. That was good.
then, installing libva-mesa-driver and turning back on automatic materiel decoding
gave a much better rendition.
Thanks for the hints!

Offline

Board footer

Powered by FluxBB