hudec117 / Mpv.NET-lib-

.NET embeddable video/media player based on mpv for WinForms and WPF
MIT License
139 stars 36 forks source link

Select GPU device #40

Closed sctrueew closed 2 years ago

sctrueew commented 3 years ago

Hi,

I have two GPUs,

GPU 0: Intel(R) GPU 1: NVIDIA GeForce GTX 1650

mpv is using GPU 0 but I would like to use GPU 1. How can I set it?

Thanks

mysteryx93 commented 3 years ago

Normally you use NVIDIA control panel to control what GPU each application uses. Add your app and tell it to use "performance" GPU.

hudec117 commented 2 years ago

@mysteryx93 is on the right lines. I found this after a quick Google: https://www.reddit.com/r/mpv/comments/dm9vxy/comment/f512goh/?utm_source=share&utm_medium=web2x&context=3

Try adding your app's executable to NVIDIA control panel and selecting the GPU.