You are not logged in.

#1 2019-09-28 09:56:03

Izlude
Member
Registered: 2019-09-09
Posts: 5

[Solved] VLC can't read properly video media

Hello everyone

I can't get VLC to read videos properly ( H 264 ). It is not an hardware issue because with w10 it works properly. I installed ubuntu to test and vlc worked fine. I reinstalled arch, still not working properly

I have a chuwi surbook mini
Intel Celeron N3400
HD graphics 500

I installed xf86-video-intel
I installed intel-media-driver but it did not help, I removed it.
Same with vulkan

On VLC wiki they recommend to install VA API, but I could not find a valid package.

[root@arch archie]# lspci | grep -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation Device 5a85 (rev 0b)

[root@arch archie]# lspci -nnk |egrep -iA3 "VGA"
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:5a85] (rev 0b)
    DeviceName:  Onboard IGD
    Subsystem: Intel Corporation Device [8086:2212]
    Kernel driver in use: i915

[root@arch archie]# lsmod | egrep 'i915'
i915                 2326528  6
i2c_algo_bit           16384  1 i915
drm_kms_helper        212992  1 i915
drm                   516096  6 drm_kms_helper,i915
intel_gtt              24576  1 i915

I think I tryed everything I could find with google (here and other forums) athough most of the topic on this mater are quite old.
Any help is welcome. Thank you guys in advance for you help.

Last edited by Izlude (2019-10-06 19:49:02)

Offline

#2 2019-09-28 13:41:22

Swiggles
Member
Registered: 2014-08-02
Posts: 260

Re: [Solved] VLC can't read properly video media

This is the required driver for VAAPI for your hardware. Did you try to change the configuration as described in the wiki?

Do you have some error output? Hard to tell what could be wrong when all the information we have is "not working properly". When you launch vlc in a terminal and follow your steps does it print any error? Anything in the error console of vlc?

Offline

#3 2019-09-28 14:03:32

Izlude
Member
Registered: 2019-09-09
Posts: 5

Re: [Solved] VLC can't read properly video media

First of all, thank you for your response.

This is the required driver for VAAPI for your hardware.

> I installed intel-media-driver (the one for HD graphics 500)


Did you try to change the configuration as described in the wiki?

> I have left it in automatic. I just tryed to force it to VA API, VA API via DRM, and VDPAU. It does not change anything.


Do you have some error output? Hard to tell what could be wrong when all the information we have is "not working properly". When you launch vlc in a terminal and follow your steps does it print any error? Anything in the error console of vlc?

> No errors. It plays the file for 10 sec, then freeze for 5 secs. Glitches appears, then it resume playing for 10secs etc.
Lauching via terminal do not print any error.

Offline

#4 2019-09-28 14:15:12

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,362

Re: [Solved] VLC can't read properly video media

are you using xf86-video-intel ?

If yes, remove it and verify if installing it helps.
if not, install it and verify if it makes a difference.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2019-09-28 16:45:38

Izlude
Member
Registered: 2019-09-09
Posts: 5

Re: [Solved] VLC can't read properly video media

Lone_Wolf wrote:

are you using xf86-video-intel ?

If yes, remove it and verify if installing it helps.
if not, install it and verify if it makes a difference.

I have it installed. I have read somewhere that it can cause problems.

I just uninstall it, rebooted, and tested. Not better, not wort either.

Last edited by Izlude (2019-09-28 17:14:45)

Offline

#6 2019-10-01 08:43:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,790

Re: [Solved] VLC can't read properly video media

Just for a sanity check, disable hardware accelerated decoding in VLC, if that did help, try switching between the two VAAPI implementations mentioned in the wiki (what swiggles was refering to wasn't a VLC setting but an environment variable to switch between VAAPI implementations)

Also define "videos". How many did you try, from different sources? Maybe these specific video files are just corrupt in some way.

Last edited by V1del (2019-10-01 08:44:49)

Offline

#7 2019-10-02 18:36:42

Izlude
Member
Registered: 2019-09-09
Posts: 5

Re: [Solved] VLC can't read properly video media

V1del wrote:

Just for a sanity check, disable hardware accelerated decoding in VLC, if that did help, try switching between the two VAAPI implementations mentioned in the wiki (what swiggles was refering to wasn't a VLC setting but an environment variable to switch between VAAPI implementations)

Also define "videos". How many did you try, from different sources? Maybe these specific video files are just corrupt in some way.

Disabling hardware accelerated decoding in VLC did not change anything. On the videos I use for test it stopped at the exact same image. The videos I use for test are mkv H264 and H265

We can deduce that the hardware acceleration is not working at all.

I will look into the VA API implementation

EDIT :

I have added the environment variable

LIBVA_DRIVER_NAME = i965

[root@arch archie]# vainfo
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Broxton - 2.3.0
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :    VAEntrypointVLD
      VAProfileMPEG2Main              :    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:    VAEntrypointEncSliceLP
      VAProfileH264Main               :    VAEntrypointVLD
      VAProfileH264Main               :    VAEntrypointEncSlice
      VAProfileH264Main               :    VAEntrypointEncSliceLP
      VAProfileH264High               :    VAEntrypointVLD
      VAProfileH264High               :    VAEntrypointEncSlice
      VAProfileH264High               :    VAEntrypointEncSliceLP
      VAProfileH264MultiviewHigh      :    VAEntrypointVLD
      VAProfileH264MultiviewHigh      :    VAEntrypointEncSlice
      VAProfileH264StereoHigh         :    VAEntrypointVLD
      VAProfileH264StereoHigh         :    VAEntrypointEncSlice
      VAProfileVC1Simple              :    VAEntrypointVLD
      VAProfileVC1Main                :    VAEntrypointVLD
      VAProfileVC1Advanced            :    VAEntrypointVLD
      VAProfileNone                   :    VAEntrypointVideoProc
      VAProfileJPEGBaseline           :    VAEntrypointVLD
      VAProfileJPEGBaseline           :    VAEntrypointEncPicture
      VAProfileVP8Version0_3          :    VAEntrypointVLD
      VAProfileVP8Version0_3          :    VAEntrypointEncSlice
      VAProfileHEVCMain               :    VAEntrypointVLD
      VAProfileHEVCMain               :    VAEntrypointEncSlice
      VAProfileHEVCMain10             :    VAEntrypointVLD
      VAProfileVP9Profile0            :    VAEntrypointVLD

Last edited by Izlude (2019-10-06 16:35:05)

Offline

#8 2019-10-06 19:52:06

Izlude
Member
Registered: 2019-09-09
Posts: 5

Re: [Solved] VLC can't read properly video media

I tagged it as solved.

My problem was cause by my 256 SD card from which I copied my media from.

On w10 I could read without problem from the card. The 256 card is very slow on arch (I have not figure why yet, but 64 GB card works great) so I decided to copy from the card to the HDD.

Anyway for future research, the needed packages are : mesa, xf86-video-intel, libva-intel-driver and libvdpau-va-gl

Offline

Board footer

Powered by FluxBB