You are not logged in.

#1 2020-03-16 00:45:05

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

VLC player not working [SOLVED]

Hi, i used to play videos with VLC and it was working fine until i guess i installed nvidia-390xx-lts drivers and rebooted, since then whenever i open a video in vlc it gets terminated with this output in terminal :

[00007fda98001f50] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
[00007fda98001f50] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
[00007fda98001f50] glconv_vaapi_drm gl error: vaInitialize: unknown libva error

Last edited by erfanjoker (2020-03-16 21:19:09)

Offline

#2 2020-03-16 10:59:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,393

Re: VLC player not working [SOLVED]

Why and how did you install nvidia-390xx-lts? You need to ensure it's properly built, as the relevant packages have been moved to the AUR: https://bbs.archlinux.org/viewtopic.php?id=253628

Last edited by V1del (2020-03-16 11:00:09)

Offline

#3 2020-03-16 13:38:27

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

because i have this :

^^>>> lspci -k | grep -A 2 -E "(VGA|3D)"                     17:06:44 
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
	Subsystem: Lenovo 3rd Gen Core processor Graphics Controller
	Kernel driver in use: i915
--
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [GeForce 610M] (rev a1)
	Subsystem: Lenovo GF119M [GeForce 610M]
	Kernel driver in use: nvidia

i've looked again it seems i have installed nvidia-390xx-dkms not nvidia-390xx-lts

Offline

#4 2020-03-16 14:53:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,005

Re: VLC player not working [SOLVED]

You wanted to read https://wiki.archlinux.org/index.php/NVIDIA_Optimus
VLC is configured to use VA, so you're gonna need https://www.archlinux.org/packages/extr … au-driver/ or alter this to vdpau, but again: you wanted to read https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Offline

#5 2020-03-16 16:19:31

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

Installed libva-vdpau-driver and set VLC decoder to VDPAU, the same error

Also about Nvidia optimus, i dont really plan to use both graphic cards, i just want Nvidia so i guess nvidia-390xx-dkms would suffice

Offline

#6 2020-03-16 17:27:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,393

Re: VLC player not working [SOLVED]

If that is your end goal you will at least want to follow: https://wiki.archlinux.org/index.php/NV … phics_only or check whether your BIOS/UEFI has an option to switch to the dedicated card exclusively.

Otherwise you might want to share a xorg log and

glxinfo -B

Offline

#7 2020-03-16 18:07:33

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

here it is :

^^>>> glxinfo -B                                             21:30:06 
name of display: :0.0
Error: couldn't find RGB GLX visual or fbconfig

here is xorg log

I also have to mention that since vlc is no working, im using parole and it seems to work fine but when i try to navigate and go forward or backward in video, the screen gets black and i have to move mouse cursor to get screen back which i guess is related to xorg and graphic drivers stuff, but the thing is i had such kind of problems even with nouveau and before installing 390xx, my screen used to get some glitches like it go black for less than a sec and then get to work again, that was why i installed 390xx and it fixed that glitches, but now im getting issues by using parole

Offline

#8 2020-03-16 18:13:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,393

Re: VLC player not working [SOLVED]

The only way this fixed any glitches is because you broke hardware acceleration and fall back to software, configure parole to not use HW accel and everything would be fine.

Right now your system doesn't have any usable 3D acceleration, so if you still want to use nvidia as your primary card you should read and follow the section I linked (and remove xf86-video-intel).

Offline

#9 2020-03-16 18:18:17

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

How can i fix hardware acceleration ?

Offline

#10 2020-03-16 19:02:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,005

Re: VLC player not working [SOLVED]

V1del wrote:

so if you still want to use nvidia as your primary card you should read and follow the section I linked

Offline

#11 2020-03-16 20:00:21

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

I did and set Nvidia as my main

but i still have vlc problem

^^>>> glxinfo -B                                             23:30:05 
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 1024 MB
    Total available memory: 1024 MB
    Currently available dedicated video memory: 855 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 610M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 390.132
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 390.132
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.132
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Offline

#12 2020-03-16 20:25:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,393

Re: VLC player not working [SOLVED]

If you changed that to VDPAU that's impossible you will have gotten a new or different error. But still you might just want to disable HW accel entirely, that chip is unlikely to really have much added benefit anyway.

Offline

#13 2020-03-16 20:41:43

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,005

Re: VLC player not working [SOLVED]

Please post the complete output of "vlc --verbose 2 /path/top/video.mp4"

Offline

#14 2020-03-16 21:18:30

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: VLC player not working [SOLVED]

I rebooted and problem got solved
Thank You

Offline

Board footer

Powered by FluxBB