Bug 5615

Summary: mpv run error! symbol lookup error: /lib64/libavutil.so.56: undefined symbol clGetExtensionFunctionAddressForPlatform
Product: Fedora Reporter: xxoo
Component: mpvAssignee: leigh scott <leigh123linux>
Status: RESOLVED INVALID    
Severity: normal    
Priority: P1    
Version: f32   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description xxoo 2020-04-24 02:55:48 CEST
[wj@fedora32 ~]$ mpv
mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavutil.so.56)
mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavutil.so.56)
mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavfilter.so.7)
mpv: /lib64/libOpenCL.so.1: no version information available (required by /lib64/libavfilter.so.7)
mpv: symbol lookup error: /lib64/libavutil.so.56: undefined symbol: clGetExtensionFunctionAddressForPlatform, version OPENCL_1.2
Comment 1 leigh scott 2020-04-24 09:22:11 CEST
You will need to post more info as it works fine here

[leigh@leigh ~]$ mpv
mpv 0.32.0 Copyright © 2000-2020 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.31.100
   libavcodec      58.54.100
   libavformat     58.29.100
   libswscale      5.5.100
   libavfilter     7.57.100
   libswresample   3.5.100
ffmpeg version: 4.2.2

Usage:   mpv [options] [url|path/]filename

Basic options:
 --start=<time>    seek to given (percent, seconds, or hh:mm:ss) position
 --no-audio        do not play sound
 --no-video        do not play video
 --fs              fullscreen playback
 --sub-file=<file> specify subtitle file to use
 --playlist=<file> specify playlist file

 --list-options    list all mpv options
 --h=<string>      print options which contain the given string in their name

[leigh@leigh ~]$


Post

rpm -qai mpv\* ffmpeg\* libavdevice

and

cat ~/.config/mpv/mpv.conf
Comment 2 Nicolas Chauvet 2020-04-24 10:44:29 CEST
This is a known issue
https://rpmfusion.org/Howto/CUDA#NVIDIA%20provided%20libOpenCL

This is because you are using the openCL library by nvidia.
You need to remove it from your system.
Comment 3 xxoo 2020-04-25 06:31:03 CEST
sorry for the bug.and many thanks to all of you
Comment 4 xxoo 2020-05-28 06:02:30 CEST
by do this ,i resolve it.


sudo dnf reinstall ocl-icd


thanks all.