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

mpv not automatically switching to discrete graphics processor on El Capitan #3242

Closed
twofoureight opened this issue Jun 12, 2016 · 6 comments · Fixed by #4181
Closed

mpv not automatically switching to discrete graphics processor on El Capitan #3242

twofoureight opened this issue Jun 12, 2016 · 6 comments · Fixed by #4181
Labels

Comments

@twofoureight
Copy link

Playback was smoother after I manually enabled the discrete graphics processor.

Does this happen by purpose?

@ghost ghost added the os:mac label Jun 12, 2016
@pigoz
Copy link
Member

pigoz commented Jun 12, 2016

Yes, we support automatic graphics switching, but don't require the discrete GPU. What kind of machine do you have? Was this not a problem on Yosemite?

@twofoureight
Copy link
Author

I have a rMBP mid 2015, Radeon R9 M370X. I never used mpv on Yosemite.

@Cpuroast
Copy link

In the past mpv did trigger a GPU switch to the discrete one, now it doesn't, in my case on my mid-2012 MBP, I simply disable automatic graphics switching in system preferences, so it never uses the Intel one.

@AirPort
Copy link

AirPort commented Jun 12, 2016

I may be wrong, but AFAIK, unless the dGPU is explicitly requested by the program, the OS apply an heurstic based on the resource requests related to the GPUs' power. The same versions of mpv and Os X used to trigger the GPU switch on my old machine, with Intel HD Graphics and nVidia 330M, but not on the new one, Iris Pro and R9 M370X (not a big problem in my case though, the Iris is able to play pretty much everything smooth, except maybe 60fps video with high quality scalers, with opengl-hq, antiring and an icc-profile on a resolution bigger than default).

@Akemi
Copy link
Member

Akemi commented Dec 15, 2016

this isn't really a bug. it just uses the GPU that works completely. so in your case the integrated GPU. the only thing that could be added, without breaking the current behaviour, is adding an option for forcing the dedicated GPU. though i am not a too big fan of this.

Akemi added a commit to Akemi/mpv that referenced this issue Feb 20, 2017
@Akemi
Copy link
Member

Akemi commented Feb 20, 2017

feel free to test above commit. --force-dedicated-gpu should always force the dedicated GPU. since i can't test it some feedback would be nice.

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

Successfully merging a pull request may close this issue.

5 participants