MolecularMatters / lpp_public

Public repository for Live++. Used for issue tracking, feedback and discussion
BSD 2-Clause "Simplified" License
14 stars 0 forks source link

Incompatibility with PIX GPU captures #13

Open axiagame opened 1 week ago

axiagame commented 1 week ago

Hello :-)

PIX DLLs cannot load when live++ is active, preventing me to do GPU captures using PIX API

Steps to repro:

It also happens if PIX DLLs are loaded first.

Thanks for your time ^^

MolecularMatters commented 4 days ago

Hello,

This sounds very similar to a previous issue regarding OBS hooks: https://github.com/MolecularMatters/lpp_public/issues/9#issuecomment-1954831343

Though I'm wondering why this would happen when PIX DLLs are loaded first as well. Do you know what happens underneath when trying to make a GPU capture using the PIX API? Does PIX try to hook functions at that time? If so, it likely won't find any unused address space in the +-2GB range surrounding the executable because that is reserved by Live++.

I was under the impression that loading the PIX DLL first would do the following:

If so, PIX should work as is.

axiagame commented 15 hours ago

Hello :-)

Following the tips in linked issue fixed the problem for us. So this is not an issue any more!

Thanks a lot for your help :-)