Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers
@ 2023-01-29 13:12 chloris-pale-green
  2023-06-17 15:57 ` jeromecst
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: chloris-pale-green @ 2023-01-29 13:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1718 bytes --]

New issue by chloris-pale-green on void-packages repository

https://github.com/void-linux/void-packages/issues/41938

Description:
### Is this a new report?

Yes

### System Info

Void 6.1.7_1 x86_64 GenuineIntel uptodate FFF

### Package(s) Affected

vlc-3.0.18_2

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

VLC runs and plays media normally.

### Actual behaviour

On playing an MP4 file with h264 video codec and aac audio codec, the following happens:

```text
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000056541648a600] main libvlc: Zagon predvajalnika s privzetim vmesnikom. Uporabite »cvlc« za zagon brez vmesnika.
[00007f866c005790] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f866c005790] glconv_vaapi_x11 gl error: vaInitialize: unknown 
libva error
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_5
Napaka segmentacije (this means segmentation fault)
```

In another case, a video appeared like one would be watching it through a blue filter. Definitely abnormal.

Here are some currently installed package versions that might be useful:
```text
vlc-3.0.18_2
libvlc-3.0.18_2
nvidia-525.85.05_1
nvidia-dkms-525.85.05_1
libva-2.17.0_1
libva-vdpau-driver-0.7.4_4
```

### Steps to reproduce

1. Unclear. Probably just use an updated Void installation with VLC and Nvidia drivers.
2. Try playing videos with various video codecs.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `vlc-3.0.18_2` segmentation fault with Nvidia drivers
  2023-01-29 13:12 [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers chloris-pale-green
@ 2023-06-17 15:57 ` jeromecst
  2023-09-25 15:56 ` XiaoPanPanKevinPan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: jeromecst @ 2023-06-17 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2129 bytes --]

New comment by jeromecst on void-packages repository

https://github.com/void-linux/void-packages/issues/41938#issuecomment-1595793672

Comment:
Can reproduce, no file playable.

For information, I manually downloaded the NVIDIA drivers and compiled them against my custom kernel.

```
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b42bec0600] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00007f16a8001160] dvdnav demux error: Couldn't find device name.
[00007f16a8001160] dvdnav demux error: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007f16a8001160] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007f16a0001160] dvdnav demux error: Couldn't find device name.
[00007f16a0001160] dvdnav demux error: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007f16a0001160] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007f16a0001160] dvdnav demux error: Couldn't find device name.
[00007f16a0001160] dvdnav demux error: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007f16a0001160] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007f16a8015340] dvdnav demux error: Couldn't find device name.
[00007f16a8015340] dvdnav demux error: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007f16a8015340] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007f16a8015070] dvdnav demux error: Couldn't find device name.
[00007f16a8015070] dvdnav demux error: DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
[00007f16a8015070] dvdnav demux error: vm: vm: failed to read VIDEO_TS.IFO
[00007f1684007040] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[00007f1684007040] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib64/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_1_5
Segmentation fault
```

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `vlc-3.0.18_2` segmentation fault with Nvidia drivers
  2023-01-29 13:12 [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers chloris-pale-green
  2023-06-17 15:57 ` jeromecst
@ 2023-09-25 15:56 ` XiaoPanPanKevinPan
  2023-09-25 15:57 ` XiaoPanPanKevinPan
  2023-09-26 11:48 ` jeromecst
  3 siblings, 0 replies; 5+ messages in thread
From: XiaoPanPanKevinPan @ 2023-09-25 15:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

New comment by XiaoPanPanKevinPan on void-packages repository

https://github.com/void-linux/void-packages/issues/41938#issuecomment-1734034253

Comment:
Same error here:
```text
$ vlc some.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b89e8a9550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libEGL warning: DRI3: Screen seems not DRI3 capable
[00007f4904004940] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f4904004940] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f4910d33800] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding
[1]    314955 segmentation fault  vlc 2023-09-20.mp4
```

This is the version of vlc:
```text
$ vlc --version
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC version 3.0.18 Vetinari (3.0.13-8-g41878ff4f2)
Compiled by Debian buildd for unstable on Debian amd64 buildd (Dec  4 2022 21:11:55)
Compiler: gcc version 12.2.0 (Debian 12.2.0-9)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public Licence;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
```

I'm using Debain 12 (bookworm). The Nvidia driver's version is 525.89.02. The driver was downloaded from the official site.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `vlc-3.0.18_2` segmentation fault with Nvidia drivers
  2023-01-29 13:12 [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers chloris-pale-green
  2023-06-17 15:57 ` jeromecst
  2023-09-25 15:56 ` XiaoPanPanKevinPan
@ 2023-09-25 15:57 ` XiaoPanPanKevinPan
  2023-09-26 11:48 ` jeromecst
  3 siblings, 0 replies; 5+ messages in thread
From: XiaoPanPanKevinPan @ 2023-09-25 15:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1809 bytes --]

New comment by XiaoPanPanKevinPan on void-packages repository

https://github.com/void-linux/void-packages/issues/41938#issuecomment-1734034253

Comment:
Same error here:
```text
$ vlc some.mp4
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
[000055b89e8a9550] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
libEGL warning: DRI3: Screen seems not DRI3 capable
[00007f4904004940] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f4904004940] gl gl: Initialized libplacebo v4.208.0 (API v208)
libva info: VA-API version 1.17.0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_17
libva info: va_openDriver() returns 0
[00007f4910d33800] avcodec decoder: Using OpenGL/VAAPI backend for VDPAU for hardware decoding
[1]    314955 segmentation fault  vlc 2023-09-20.mp4
```

This is the version of vlc:
```text
$ vlc --version
VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC version 3.0.18 Vetinari (3.0.13-8-g41878ff4f2)
Compiled by Debian buildd for unstable on Debian amd64 buildd (Dec  4 2022 21:11:55)
Compiler: gcc version 12.2.0 (Debian 12.2.0-9)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public Licence;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.
```

I'm using Debain 12 (bookworm). The Nvidia driver's version is 525.89.02. The driver was downloaded from the official site.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: `vlc-3.0.18_2` segmentation fault with Nvidia drivers
  2023-01-29 13:12 [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers chloris-pale-green
                   ` (2 preceding siblings ...)
  2023-09-25 15:57 ` XiaoPanPanKevinPan
@ 2023-09-26 11:48 ` jeromecst
  3 siblings, 0 replies; 5+ messages in thread
From: jeromecst @ 2023-09-26 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

New comment by jeromecst on void-packages repository

https://github.com/void-linux/void-packages/issues/41938#issuecomment-1735376155

Comment:
Fixed after setting `export LIBVA_DRIVER_NAME=nvidia`

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-09-26 11:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-29 13:12 [ISSUE] `vlc-3.0.18_2` segmentation fault with Nvidia drivers chloris-pale-green
2023-06-17 15:57 ` jeromecst
2023-09-25 15:56 ` XiaoPanPanKevinPan
2023-09-25 15:57 ` XiaoPanPanKevinPan
2023-09-26 11:48 ` jeromecst

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).