Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 577718 - media-plugins/gst-plugins-vaapi-0.7.0 - Certain videos are showing a black screen on Totem
Summary: media-plugins/gst-plugins-vaapi-0.7.0 - Certain videos are showing a black sc...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-18 16:57 UTC by Marcos
Modified: 2019-06-22 08:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,5.55 KB, text/plain)
2016-03-18 16:57 UTC, Marcos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos 2016-03-18 16:57:28 UTC
Created attachment 428542 [details]
emerge --info

# totem 'Gangnam_style.mp4'
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0

(totem:5900): Cogl-WARNING **: driver/gl/cogl-buffer-gl.c:93: GL error (1280): Invalid enumeration value


    On this example, the video is not shown, just a black screen. The audio works until 7 seconds until it stops too.
    As a workaround, I've just uninstalled that library.
Comment 1 Mart Raudsepp gentoo-dev 2016-03-18 17:20:32 UTC
I will bump it to a newer release over the weekend, hope you can test that one then. I'll let you know here when it's bumped.
Where does /usr/lib64/va/drivers/nvidia_drv_video.so come from btw, and do other VAAPI using media players work (some don't make use of it by default though)?
Comment 2 Marcos 2016-03-18 18:26:58 UTC
This /usr/lib64/va/drivers/nvidia_drv_video.so probably comes from the fact I've added the vpdau USE flag on my make.conf. I have a GeForce GTX 970 and the driver is x11-drivers/nvidia-drivers-358.16-r1.


I tested this same video with vlc using the following configurations:

- VA-API video decoder via X11:

# vlc 'Gangnam_style.mp4' 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[00000000011b5118] core libvlc: Executando o VLC com a interface padrão. Use 'cvlc' para usar o VLC sem interface.
[000000000129f668] qt4 interface error: Unable to load extensions module
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
[00007fe2ecc56928] avcodec decoder: Using Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4 for hardware decoding.

    It worked.

- Decodificador de vídeo VDPAU (VDPAU video decoder):

# vlc 'Gangnam_style.mp4' 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000002128118] core libvlc: Executando o VLC com a interface padrão. Use 'cvlc' para usar o VLC sem interface.
[0000000002212668] qt4 interface error: Unable to load extensions module
[00007f4f98c56938] avcodec decoder: Using NVIDIA VDPAU Driver Shared Library  358.16  Mon Nov 16 18:57:31 PST 2015 for hardware decoding.

    It worked.

- VA-API video decoder via DRM:

# vlc 'Gangnam_style.mp4' 
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[0000000002128118] core libvlc: Executando o VLC com a interface padrão. Use 'cvlc' para usar o VLC sem interface.
[0000000002212668] qt4 interface error: Unable to load extensions module
libva info: VA-API version 0.38.1
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)
[00007f7b20048ec8] vaapi_drm generic error: Failed to initialize the VAAPI device

    It seems that failed and the vlc played the video with its software fallback since the CPU usage increased 10 times.

    I believe Totem or gstreamer should try detecting those failures and try other methods not just showing a black screen.
Comment 3 Mart Raudsepp gentoo-dev 2016-03-26 02:33:50 UTC
Sorry for the delay. The bump was to 1.6, but now I want to get in freshly released 1.8 instead, which all gstreamer packages need to be bumped to, so quite some work. Hopefully things are even better there than the 1.6 missing vaapi plugin bump.
Comment 4 Pacho Ramos gentoo-dev 2016-07-09 10:06:51 UTC
1.8.2 version is in the tree now, please retest
Comment 5 Marcos 2016-07-12 11:48:54 UTC
Same result.
Comment 6 Pacho Ramos gentoo-dev 2016-07-24 13:02:16 UTC
please report this to upstream directly then and paste here the link to let us track the issue -> bugzilla.gnome.org
Comment 7 Mart Raudsepp gentoo-dev 2019-06-22 08:52:42 UTC
No information provided for a long time. Closing until such info is provided, if it even is an issue anymore.