protonscr

[Feature Request] enforce a high priority context VK_EXT_global_priority

dxvkclosed
doitsujin/dxvk#2407 · opened 2021-12-21 by mercuriete · updated 2021-12-22 · 4 comments · github
Mmercuriete 2021-12-21 github

Motivation:
I would like to play a game while doing cryptocurrency mining (opencl)

for example I would like to force a high priority context using a environment variable like:

DXVK_FORCE_HIGH_PRIORITY=1 %command%

expected behaviour:

all DXVK games run in a high priority context (VK_EXT_global_priority) and I hope to have more fps when using my graphic card on compute tasks at the same time.

actual behaviour:

bad fps when mining.

Thanks for your amazing work.

Mmisyltoad 2021-12-21 github

No.

Mmercuriete 2021-12-21 github

Why not?
Out of scope of this library?
Please, could you explain a little bit more than a simple no?
@Joshua-Ashton

Remember that you could leave this issue open instead of closed.

DDadSchoorse 2021-12-22 github

If you really need this you can write a vulkan layer that forces high priority. I even wrote one in the past https://github.com/DadSchoorse/vk-force-priority, no idea if it still works tho.

Mmercuriete 2021-12-22 github

Thanks, i will try to do It :)

Launch options

Launch lines