Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu-context=x11egl should be selected by default if the hwdec=vaapi #5865

Closed
laichiaheng opened this issue May 28, 2018 · 2 comments
Closed

Comments

@laichiaheng
Copy link

laichiaheng commented May 28, 2018

mpv version and platform

mpv 0.28.0-583-gfae9d7744c Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
 built on UNKNOWN
ffmpeg library versions:
   libavutil       56.18.102
   libavcodec      58.19.104
   libavformat     58.17.100
   libswscale      5.2.100
   libavfilter     7.24.100
   libswresample   3.2.100
ffmpeg version: N-91158-g63c4a4b0d6
Graphics:  Card-1: AMD Baffin [Radeon RX 460/560D / Pro 450/455/460/560] driver: amdgpu 
           v: kernel 
           Display: x11 server: X.Org 1.20.0 driver: amdgpu unloaded: modesetting 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD Radeon RX 460 Graphics (POLARIS11 / DRM 3.23.0 / 
           4.16.11-1-ARCH LLVM 6.0.0) 
           v: 4.5 Mesa 18.0.4

Reproduction steps

mpv --log-file="x11egl.txt" --no-config --hwdec=vaapi Movie.mkv

Expected behavior

Enable vaapi

Actual behavior

I have to type --gpu-context=x11egl in the command, otherwise, it will fall back to CPU decoding.

Log file

https://0x0.st/s2_V.txt

@laichiaheng laichiaheng changed the title It doesn't choose gpu-context=x11egl when the hwdec=vaapi It doesn't choose gpu-context=x11egl to enable the hwdec=vaapi May 28, 2018
@laichiaheng laichiaheng changed the title It doesn't choose gpu-context=x11egl to enable the hwdec=vaapi gpu-context=x11egl should be selected if the hwdec=vaapi May 28, 2018
@laichiaheng laichiaheng changed the title gpu-context=x11egl should be selected if the hwdec=vaapi gpu-context=x11egl should be selected by default if the hwdec=vaapi May 28, 2018
@zc62
Copy link
Contributor

zc62 commented Mar 5, 2019

#5298

@Akemi
Copy link
Member

Akemi commented Sep 20, 2019

was merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants