1 Reply Latest reply on Apr 9, 2017 1:27 PM by juan37

    OpenSUSE Leap 42.2 with the amdgpu-pro 16.60 (amdgpu-pro-dkms) fails to play any video with any player

    juan37

      I have a video card Gigabyte R9 380X and in the test of it get goods results with glmark2 and with

      Unigine Valley Benchmark 1.0

      FPS:

      62.2

      Score:

      2604

      Min FPS:

      24.2

      Max FPS:

      114.0

      System

      Platform:

      Linux 4.4.57-18.3-default x86_64

      CPU model:

      AMD FX-8320E Eight-Core Processor (3214MHz) x8

      GPU model:

      Unknown GPU (256MB) x1

      Settings

      Render:

      OpenGL

      Mode:

      1920x1080 fullscreen

      Preset

      Custom

      Quality

      High

       

      But when I try to play a video with VLC (invoqued from konsole to see whats happen) I get this error:

       

      VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89)

      [000055d54317d0c8] core libvlc: Ejecutar vlc con la interfaz predeterminada. Use «cvlc» para usar vlc sin interfaz.

      QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread

      QObject::~QObject: Timers cannot be stopped from another thread

       

      I tryed with many versiones of VLC, from the Packman repo or VLC, but none of it works.

       

      With Dragon Player (invoqued from konsole to see whats happen) I get this error:

       

      Opening QUrl("file:///home/jerbes/Vídeos/1938 Land Speed Trial Caracciola for Mercedes-Benz.mp4")

      detected mimetype:  "video/mp4"

      Initial offset is  0

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns -1

      libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns -1

      libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

      chapters:  0  titles:  0

      going from  "Loading"  to  "Stopped"

      Stopped state

      updated actions

      updated menus

      set titles

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns -1

      libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

      ** Message: PackageKit: xid = 98566148

      ** Message: PackageKit: desktop_id = (null)

      ** Message: PackageKit: Codec nice name: decodificador MPEG-4 AAC

      ** Message: PackageKit: ignoring field named level

      ** Message: PackageKit: ignoring field named base-profile

      ** Message: PackageKit: ignoring field named profile

      ** Message: PackageKit: field is: mpegversion, type: gint

      ** Message: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=4)()(64bit)

      ** Message: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

      chapters:  0  titles:  0

      going from  "Loading"  to  "Stopped"

      Stopped state

      updated actions

      updated menus

      set titles

      ** Message: PackageKit: xid = 98566148

      ** Message: PackageKit: desktop_id = (null)

      ** Message: PackageKit: Codec nice name: decodificador H.264 (Constrained Baseline Profile)

      ** Message: PackageKit: ignoring field named level

      ** Message: PackageKit: ignoring field named profile

      ** Message: PackageKit: structure: gstreamer1(decoder-video/x-h264)()(64bit)

      ** Message: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

      chapters:  0  titles:  0

      going from  "Loading"  to  "Stopped"

      Stopped state

      updated actions

      updated menus

      set titles

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns -1

      libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns 0

      libva info: Trying to open /usr/lib64/dri/amdgpu_drv_video.so

      libva info: va_openDriver() returns -1

      libva info: VA-API version 0.39.0

      libva info: va_getDriverName() returns -1

      libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)

      ** Message: PackageKit: xid = 98566148

      ** Message: PackageKit: desktop_id = (null)

      ** Message: PackageKit: Codec nice name: decodificador MPEG-4 AAC

      ** Message: PackageKit: ignoring field named level

      ** Message: PackageKit: ignoring field named base-profile

      ** Message: PackageKit: ignoring field named profile

      ** Message: PackageKit: field is: mpegversion, type: gint

      ** Message: PackageKit: structure: gstreamer1(decoder-audio/mpeg)(mpegversion=4)()(64bit)

      ** Message: PackageKit: Did not install codec: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PackageKit was not provided by any .service files

       

      With kaffeine (invoqued from konsole to see whats happen) I get this error:

       

      Failed to open VDPAU backend libvdpau_amdgpu.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio

      vo_vdpau: Can't create vdp device : No vdpau implementation.

       

      With mplayer (invoqued from konsole to see whats happen) I get this error:

       

      mplayer VID_20151111_071451_0.mp4

      MPlayer -4.8 (C) 2000-2017 MPlayer Team

      do_connect: could not connect to socket

      connect: No such file or directory

      Failed to open LIRC support. You will not be able to use your remote control.

       

      Playing VID_20151111_071451_0.mp4.

      libavformat version 57.56.101 (external)

      libavformat file format detected.

      [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f3bf8db4180]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol

      [lavf] stream 0: video (unknown), -vid 0

      [lavf] stream 1: audio (unknown), -aid 0, -alang eng

      VIDEO:  [H264]  1920x1080  24bpp  1000.000 fps  8514.2 kbps (1039.3 kbyte/s)

      ==========================================================================

      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

      libavcodec version 57.64.101 (external)

      Cannot find codec 'h264' in libavcodec...

      VDecoder init failed

      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

      Cannot find codec 'h264' in libavcodec...

      VDecoder init failed

      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

      Cannot find codec 'h264_crystalhd' in libavcodec...

      VDecoder init failed

      Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family

      Cannot find codec 'h264_vda' in libavcodec...

      VDecoder init failed

      Requested video codec family [coreavcwindows] (vfm=dshow) not available.

      Enable it at compilation.

      Cannot find codec matching selected -vo and video format 0x34363248.

      ==========================================================================

      Clip info:

      major_brand: isom

      minor_version: 512

      compatible_brands: isomiso2mp41

      Load subtitles in ./

      ==========================================================================

      Trying to force audio codec driver family libmad...

      Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders

      Cannot find codec 'aac' in libavcodec...

      ADecoder init failed

      ADecoder init failed

      Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)

       

      But this time appear as a codec problem.

       

      Thanks,

                      Juan

        • Re: OpenSUSE Leap 42.2 with the amdgpu-pro 16.60 (amdgpu-pro-dkms) fails to play any video with any player
          juan37

          Making a search with the line error:

           

          "Cannot find codec 'h264_vda' in libavcodec"

           

          I found the solution:

           

          Computer Stuff For The Record: H.264 on openSUSE

           

          sudo zypper dup --from packman

           

          zypper dup --from Packman

          Cargando datos del repositorio...

          Leyendo los paquetes instalados...

          Calculando actualización de distribución...

           

          Los siguientes 48 paquetes NUEVOS van a ser instalados:

            faad2 libbctoolbox0 libfaad2 libfdk-aac1 libHalf12 libIex-2_2-12 libjsoncpp1 libmad0 libMagick++-6_Q16-3 libmovit6 libopenshot0 libopenshot-audio3 libpgm-5_2-0 libQt5Bluetooth5 libQt5Bluetooth5-imports

            libQt5Nfc5 libQt5Nfc5-imports libqt5-qtconnectivity-tools libQt5SerialPort5 libQt5WebSockets5 libQt5WebSockets5-imports libsodium13 libtxc_dxtn libvidstab0_9 libxvidcore4 libzmq5 movit-data openshot-qt

            python3-certifi python3-cffi python3-ecdsa python3-httplib2 python3-openshot python3-paramiko python3-pexpect python3-pyasn1 python3-pycparser python3-pycrypto python3-pyOpenSSL python3-pyserial python3-pyxdg

            python3-pyzmq python3-qt5 python3-sip python3-tornado python3-Twisted python3-zope.interface zeromq-tools

           

          Las siguientes 2 aplicaciones serán ELIMINADAS:

            Audacity Kdenlive

           

          Los siguientes 4 paquetes van a ser ELIMINADOS:

            openshot s2tc vlc-codec-gstreamer vlc-codecs

           

          Los siguientes 79 paquetes van a ser actualizados:

            aMule aMule-kde4 audacity audacity-lang dvdauthor07 ffhevc ffmpeg ffx264 flac gmerlin gmerlin-alsamixer gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-bad-lang gstreamer-0_10-plugins-bad-orig-addon

            gstreamer-plugins-bad gstreamer-plugins-bad-lang k3b k3b-codecs k3b-lang kdenlive libavcodec57 libavdevice57 libavfilter6 libavformat57 libavresample3 libavutil55 libbzrtp0 libFLAC++6 libFLAC8 libgmerlin0

            libgmerlin_gtk0 libgpac6 libgstadaptivedemux-1_0-0 libgstbadaudio-1_0-0 libgstbadbase-1_0-0 libgstbadvideo-1_0-0 libgstbasecamerabinsrc-0_10-23 libgstbasecamerabinsrc-1_0-0 libgstbasevideo-0_10-23

            libgstcodecparsers-0_10-23 libgstcodecparsers-1_0-0 libgstgl-1_0-0 libgstmpegts-1_0-0 libgstphotography-0_10-23 libgstphotography-1_0-0 libgstsignalprocessor-0_10-23 libgsturidownloader-1_0-0 libgstvdp-0_10-23

            libgstwayland-1_0-0 libmlt++3 libmlt6 libmlt6-data libmlt6-modules libpostproc54 libqmmp1 libqmmp-plugins libquicktime0 libquicktime-tools libsox3 libswresample2 libswscale4 libvlc6 libvlccore9

            libwx_baseu_net-suse-nostl3 libwx_baseu-suse-nostl3 libwx_baseu_xml-suse-nostl3 libwx_gtk2u_adv-suse-nostl3 libwx_gtk2u_core-suse-nostl3 libwx_gtk2u_html-suse-nostl3 libwx_gtk2u_qa-suse-nostl3 libxine2-pulse

            melt melt6 mjpegtools qmmp sox vlc-lang vlmc wine-mp3-32bit

           

          Los siguientes 19 paquetes van a ser desactualizados:

            avifile avifile-data avifile-win32 libavcodec56 libavformat56 libaviplay-0_7-0 libavutil54 libdca0 libfaad-devel libmad-devel libmp3lame-devel libmpeg2-0 libmpeg2convert0 libpostproc53 librtmp1 libswresample1

            libswscale3 libxvidcore-devel rtmpdump

           

          El siguiente paquete va a ser reinstalado:

            dkms

                                                                                                                                                                                                                            

          Los siguientes 69 paquetes van a cambiar de proveedor:                                                                                                                                                            

            avifile                         obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de                                                                                                            

            avifile-data                    obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de                                                                                                            

            avifile-win32                   obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de                                                                                                            

            dkms                            The Bumblebee Project -> http://packman.links2linux.de                                                                                                                          

            ffmpeg                          openSUSE -> http://packman.links2linux.de                                                                                                                                       

            flac                            openSUSE -> http://packman.links2linux.de                                                                                                                                       

            gstreamer-plugins-bad           openSUSE -> http://packman.links2linux.de                                                                                                                                       

            gstreamer-plugins-bad-lang      openSUSE -> http://packman.links2linux.de                                                                                                                                       

            kdenlive                        openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libavcodec56                    VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de                                                                                                     

            libavcodec57                    openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libavdevice57                   openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libavfilter6                    openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libavformat56                   VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de                                                                                                     

            libavformat57                   openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libaviplay-0_7-0                obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de                                                                                                            

            libavresample3                  openSUSE -> http://packman.links2linux.de                                                                                                                                       

            libavutil54                     VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libavutil55                     openSUSE -> http://packman.links2linux.de                                 

            libbzrtp0                       openSUSE -> http://packman.links2linux.de                                 

            libdca0                         VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libfaad-devel                   obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de      

            libFLAC++6                      openSUSE -> http://packman.links2linux.de                                 

            libFLAC8                        openSUSE -> http://packman.links2linux.de                                 

            libgstadaptivedemux-1_0-0       openSUSE -> http://packman.links2linux.de                                 

            libgstbadaudio-1_0-0            openSUSE -> http://packman.links2linux.de                                 

            libgstbadbase-1_0-0             openSUSE -> http://packman.links2linux.de                                 

            libgstbadvideo-1_0-0            openSUSE -> http://packman.links2linux.de                                 

            libgstbasecamerabinsrc-0_10-23  openSUSE -> http://packman.links2linux.de                                 

            libgstbasecamerabinsrc-1_0-0    openSUSE -> http://packman.links2linux.de                                 

            libgstbasevideo-0_10-23         openSUSE -> http://packman.links2linux.de                                 

            libgstcodecparsers-0_10-23      openSUSE -> http://packman.links2linux.de                                 

            libgstcodecparsers-1_0-0        openSUSE -> http://packman.links2linux.de                                 

            libgstgl-1_0-0                  openSUSE -> http://packman.links2linux.de                                 

            libgstmpegts-1_0-0              openSUSE -> http://packman.links2linux.de                                 

            libgstphotography-0_10-23       openSUSE -> http://packman.links2linux.de                                 

            libgstphotography-1_0-0         openSUSE -> http://packman.links2linux.de                                 

            libgstsignalprocessor-0_10-23   openSUSE -> http://packman.links2linux.de                                 

            libgsturidownloader-1_0-0       openSUSE -> http://packman.links2linux.de                                 

            libgstvdp-0_10-23               openSUSE -> http://packman.links2linux.de                                 

            libgstwayland-1_0-0             openSUSE -> http://packman.links2linux.de                                 

            libmad-devel                    obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de      

            libmlt++3                       openSUSE -> http://packman.links2linux.de                                 

            libmlt6                         openSUSE -> http://packman.links2linux.de                                 

            libmlt6-data                    openSUSE -> http://packman.links2linux.de                                 

            libmlt6-modules                 openSUSE -> http://packman.links2linux.de                                 

            libmp3lame-devel                obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de      

            libmpeg2-0                      VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libmpeg2convert0                VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libpostproc53                   VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libpostproc54                   openSUSE -> http://packman.links2linux.de                                 

            libqmmp1                        openSUSE -> http://packman.links2linux.de                                 

            libqmmp-plugins                 openSUSE -> http://packman.links2linux.de                                 

            libquicktime0                   openSUSE -> http://packman.links2linux.de                                 

            libquicktime-tools              openSUSE -> http://packman.links2linux.de                                 

            librtmp1                        VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libsox3                         openSUSE -> http://packman.links2linux.de                                 

            libswresample1                  VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libswresample2                  openSUSE -> http://packman.links2linux.de                                 

            libswscale3                     VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            libswscale4                     openSUSE -> http://packman.links2linux.de                                 

            libxine2-pulse                  openSUSE -> http://packman.links2linux.de                                 

            libxvidcore-devel               obs://build.opensuse.org/home:ykoba -> http://packman.links2linux.de      

            melt                            openSUSE -> http://packman.links2linux.de                                 

            melt6                           openSUSE -> http://packman.links2linux.de                                 

            mjpegtools                      openSUSE -> http://packman.links2linux.de                                 

            qmmp                            openSUSE -> http://packman.links2linux.de                                 

            rtmpdump                        VideoLAN Project (http://www.videolan.org) -> http://packman.links2linux.de

            sox                             openSUSE -> http://packman.links2linux.de  

           

          With this 147 packages are installed (or re-installed) including video editors and players.

           

          After this I reinstalled the amdgpu-pro-16.60-379184, because the change on the dkms repo.

           

          Now all works fine, and the video editors and players can open the mp4 files without problems.

           

          It seems that the official repositories of Opensuse has not support for the codec H264.

           

          Sorry for the post, but I hope it can help someone.

           

          Juan