2 Replies Latest reply on Apr 30, 2018 7:39 AM by amdmatt

    Can not use VDPAU for Hardware Decording when Install amdgpu for my MSI HD7770 Driver On Centos7

    denisli

      Is there anyone kindly can help me ? Thanks a lot .


      I am not a professional on Linux,I encounter a problem  I am not sure I am install the correct Driver,since

       

      [root@localhost Driver]# sh amdgpu-pro-preinstall.sh

      The amdgpu-pro driver requires access to specific RPMs from centos installation

      media as well as access to Extra Packages for Linux (EPEL) Repository

       

      This script will confirm that all required prerequisite files and repositories

      are available in order to successfully install the amdgpu-pro driver.

      Press ENTER to continue . . ."

       

       

      Checking if repositories were set up successfully...

      Something went wrong and the install media repository was not set up successfully.

      Try running the script with root priviledges.

      The required repositories have been set up.

      Please run amdgpu-pro-install to install the amdgpu-pro driver.

       

      [root@localhost Driver]#

      I don't understand this is ok  to install or not anyway I continue

      [root@localhost Driver]# cd amdgpu-pro-17.50-511655/

      [root@localhost amdgpu-pro-17.50-511655]# ls

      amdgpu-install  amdgpu-pro-install  repodata  RPMS

      [root@localhost amdgpu-pro-17.50-511655]# sh amdgpu-pro-install

       

      +已安装:

      +  amdgpu.x86_64 0:17.50-511655.el7                     amdgpu-pro.x86_64 0:17.50-511655.el7                     vulkan-amdgpu-pro.x86_64 0:17.50-511655.el7                  

      +

      +作为依赖被安装:

      +  amdgpu-core.noarch 0:17.50-511655.el7                    amdgpu-dkms.noarch 0:17.50-511655.el7                      amdgpu-pro-core.noarch 0:17.50-511655.el7             

      +  glamor-amdgpu.x86_64 0:1.19.0-511655.el7                 ids-amdgpu.noarch 0:1.0.0-511655.el7                       libdrm-amdgpu.x86_64 1:2.4.82-511655.el7              

      +  libegl-amdgpu-pro.x86_64 0:17.50-511655.el7              libgbm-amdgpu-pro.x86_64 0:17.50-511655.el7                libgbm-amdgpu-pro-base.noarch 0:17.50-511655.el7      

      +  libgl-amdgpu-pro.x86_64 0:17.50-511655.el7               libgl-amdgpu-pro-appprofiles.x86_64 0:17.50-511655.el7     libgl-amdgpu-pro-dri.x86_64 0:17.50-511655.el7        

      +  libgl-amdgpu-pro-ext.x86_64 0:17.50-511655.el7           libgles-amdgpu-pro.x86_64 0:17.50-511655.el7               libwayland-amdgpu-client.x86_64 0:1.14.90-511655.el7  

      +  libwayland-amdgpu-server.x86_64 0:1.14.90-511655.el7     llvm-amdgpu-libs.x86_64 1:5.0-511655.el7                   mesa-amdgpu-dri-drivers.x86_64 1:17.2.4-511655.el7    

      +  mesa-amdgpu-filesystem.x86_64 1:17.2.4-511655.el7        mesa-amdgpu-libEGL.x86_64 1:17.2.4-511655.el7              mesa-amdgpu-libGL.x86_64 1:17.2.4-511655.el7          

      +  mesa-amdgpu-libGLES.x86_64 1:17.2.4-511655.el7           mesa-amdgpu-libOSMesa.x86_64 1:17.2.4-511655.el7           mesa-amdgpu-libgbm.x86_64 1:17.2.4-511655.el7         

      +  mesa-amdgpu-libglapi.x86_64 1:17.2.4-511655.el7          mesa-amdgpu-libwayland-egl.x86_64 1:17.2.4-511655.el7      mesa-amdgpu-libxatracker.x86_64 1:17.2.4-511655.el7   

      +  mesa-amdgpu-vdpau-drivers.x86_64 1:17.2.4-511655.el7     xorg-x11-amdgpu-drv-amdgpu.x86_64 1:1.4.0-511655.el7    

      +

      +完毕!

      It seems I sucess installed,but I want confirm is it possible to install a amdgpu pro driver for my MSI HD7770 on Centos 7.4 System ?

      [root@localhost amdgpu-pro-17.50-511655]# glxinfo

      name of display: :0

      display: :0  screen: 0

      direct rendering: Yes

      server glx vendor string: AMD

      server glx version string: 1.4

      server glx extensions:

          GLX_ARB_create_context, GLX_ARB_create_context_profile,

          GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,

          GLX_EXT_create_context_es2_profile, GLX_EXT_framebuffer_sRGB,

          GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info,

          GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer,

          GLX_OML_swap_method, GLX_SGIS_multisample, GLX_SGIX_fbconfig,

          GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_swap_control

      client glx vendor string: AMD

      client glx version string: 1.4

      client glx extensions:

          GLX_ARB_context_flush_control, GLX_ARB_create_context,

          GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness,

          GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB,

          GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age,

          GLX_EXT_create_context_es2_profile, GLX_EXT_fbconfig_packed_float,

          GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context,

          GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating,

          GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer,

          GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,

          GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,

          GLX_SGIX_visual_select_group, GLX_SGI_make_current_read,

          GLX_SGI_swap_control, GLX_SGI_video_sync

      GLX version: 1.4

      I try to play a moive by VLC or mplayer,it can not use VDPAU like a NVIDIA card ,it print can not find a file ?

      [Denis@localhost ~]$ cd /var/tmp

      [Denis@localhost tmp]$ ls

      123.mkv                                                                  systemd-private-afa17474160247b183fbc6ca2a688f1d-colord.service-N7vq4b

      abrt                                                                     systemd-private-afa17474160247b183fbc6ca2a688f1d-cups.service-Zt3Wyq

      amdgpu-pro-17.50-511655.tar.xz                                           systemd-private-afa17474160247b183fbc6ca2a688f1d-rtkit-daemon.service-Mh9N84

      amdgpu-pro-preinstall.sh                                                 systemd-private-fb0ce1add0ae448296565657a96a80bb-chronyd.service-XvdjlE

      bella.mov                                                                systemd-private-fb0ce1add0ae448296565657a96a80bb-colord.service-egb46y

      kdecache-Denis                                                           systemd-private-fb0ce1add0ae448296565657a96a80bb-cups.service-REhdT9

      kdecache-root                                                            systemd-private-fb0ce1add0ae448296565657a96a80bb-rtkit-daemon.service-qXuMMK

      sssd_is_running                                                          yum-Denis-jFB4Qm

      systemd-private-afa17474160247b183fbc6ca2a688f1d-chronyd.service-4RagMl  果栏中的江湖大嫂国语16.mkv

      [Denis@localhost tmp]$ vlc 123.mkv

      VLC media player 2.2.8 Weatherwax (revision 2.2.7-14-g3cc1d8cba9)

      [0000000000ce8128] core libvlc: 正在以默认界面运行 vlc。使用“cvlc”可以无界面模式使用 vlc。

      Failed to open VDPAU backend libvdpau_radeonsi.so: 无法打开共享对象文件: 没有那个文件或目录

      Failed to open VDPAU backend libvdpau_radeonsi.so: 无法打开共享对象文件: 没有那个文件或目录

      ^C

      [Denis@localhost tmp]$

      [Denis@localhost tmp]$ mplayer 123.mkv

      MPlayer SVN-r37150-4.8.5 (C) 2000-2014 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 123.mkv.

      libavformat version 56.40.101 (external)

      libavformat file format detected.

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

      [lavf] stream 1: audio (ac3), -aid 0

      VIDEO:  [H264]  1024x576  0bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)

      Clip info:

      encoder: libebml v1.2.3 + libmatroska v1.3.0

      creation_time: 2012-11-30 17:36:08

      Load subtitles in ./

      Failed to open VDPAU backend libvdpau_radeonsi.so: cannot open shared object file: No such file or directory

      [vdpau] Error when calling vdp_device_create_x11: 1