Wednesday, December 20, 2023

Re: mpv won't play video : "Consider fixing your graphic drivers"

Le 2023-12-21 04:55, Anthony J. Bentley a écrit :
> Sylvain Saboua writes:
>> [vo/sdl] Using opengl
>> [vo/sdl] Warning: this legacy VO has bad performance. Consider fixing
>> your graphics drivers, or not forcing the sdl VO.
>
> This message is specific to the sdl and xv outputs. The mpv manpage
> says:
>
> The recommended output driver is --vo=gpu, which is the default.
> All
> other drivers are for compatibility or special purposes. If the
> default does not work, it will fallback to other drivers (in the
> same
> order as listed by --vo=help).
>
> So either you're specifying sdl manually (in a config file?) or the
> default is not working and mpv is falling back to sdl. Can you confirm
> which it is?

Second, it's a fallback. Nothing even plays and the warning displays
in red when specifying --vo=gpu :

$mpv --vo=gpu /home/media/E\ -\ Séries/Salem/Salem\
S01/Salem.S01E07.VOSTFR.720p.HDTV.x264-RUDY.mkv
(+) Video --vid=1 (*) 'Video' (h264 1280x720 23.976fps)
(+) Audio --aid=1 --alang=eng (*) 'Audio' (ac3 6ch 48000Hz)
Subs --sid=1 --slang=fre (*) 'Subs' (subrip)
[vo/gpu] Failed initializing any suitable GPU context!
Error opening/initializing the selected video_out (--vo) device.
Video: no video

Exiting... (Errors when loading file)
$

>> What could go wrong ? I doubt that it would only be that my
>> computer isn't powerful enough. I have tried different --vo
>> arguments without success.
>
> What does "without success" mean? That it continues to fall back to
> sdl and print that message (say, if you specify --vo=gpu)?

I mean that it does not change the behavior at all.
I was not aware that the default was overrun however,
and hadn't tried --vo=gpu.
The error above I got for the first time.

--
Sylvain Saboua
linktr.ee/Sylvain

No comments:

Post a Comment