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

Feature request: GPU affinity (WGL_NV_gpu_affinity) #79

Open
cxw42 opened this issue Sep 13, 2018 · 5 comments
Open

Feature request: GPU affinity (WGL_NV_gpu_affinity) #79

cxw42 opened this issue Sep 13, 2018 · 5 comments

Comments

@cxw42
Copy link
Contributor

cxw42 commented Sep 13, 2018

I am helping organize a Shader Showdown, and we may need to render on the dual-NVidia compo machine. If so, we will run two Bonzomatic processes concurrently, and drive them programmatically. Would you be willing to add WGL_NV_gpu_affinity support so we could be sure each process was only using one of the GPUs? I found an implemented example of querying, and a more complex example here that includes rendering. Thanks for considering this request!

@Gargaj
Copy link
Owner

Gargaj commented Sep 13, 2018

Wouldn't it be easier if you'd just fork it for yourself first and do a test run?

@cxw42
Copy link
Contributor Author

cxw42 commented Sep 13, 2018

Yep, already forked it :) . But I have never worked with this codebase, so I thought I'd ask in case it was something easy for developers who know what they're doing :D .

@Gargaj
Copy link
Owner

Gargaj commented Sep 13, 2018

It's OpenGL, noone really knows what they're doing :)

@cxw42 cxw42 mentioned this issue Oct 4, 2018
@cxw42
Copy link
Contributor Author

cxw42 commented Oct 6, 2018

OK - I have an initial Nvidia version. Would someone with two NV GPUs please try the fork and let me know if it works? Set window.gpu=0 in config.json.

My 1050 Ti doesn't support WGL_NV_gpu_affinity, and I think that might be because it's the only card in the system. (Other thoughts welcome!)

@cxw42
Copy link
Contributor Author

cxw42 commented Oct 17, 2018

Well, Demosplash's dual Titan X also doesn't support affinity. :/ Anybody have a couple of Quadros lying around? :) (per this, p. 2, first full sentence)

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

No branches or pull requests

2 participants