mjrgh / PinVol

Audio volume control software for virtual pinball cabinets
MIT License
7 stars 5 forks source link

On-Screen Volume Overlay does not display on VPX GL version - works only on DirectX version #15

Open Ltek opened 11 months ago

Ltek commented 11 months ago

PinVol's onscreen overlay does not display when using VPX's GL version.

Not sure if this is a bug in PinVol, VPX, or not a bug and PinVol cannot display the overlay if OpenGL is on-screen or full-screen?

mjrgh commented 11 months ago

If the overlay isn't displaying, it's almost certainly that VP is running exclusive full-screen mode, which means that other processes are locked out of the display device as long as the exclusive app is in the foreground. I don't know if OpenGL has any options that let you turn that off, but even if it does you probably don't want to, since the point of exclusive access is that it improves performance by taking the operating system out of the rendering loop. (So "not a bug" is the likely answer, or at least "nothing can be done about it on the PinVol side".)

Ltek commented 11 months ago

I always use DX in exclusive full-screen mode, and PinVol overlay works fine... I suspect there is something in OpenGL or the way VPX is using it, that is blocking the onscreen overlay. Prob a bug in VPX's GL... but good to document here in case anyone else runs into it.

mjrgh commented 11 months ago

I always use DX in exclusive full-screen mode, and PinVol overlay works fine...

I think that's pretty much impossible by definition of "exclusive", so maybe something's wrong the VP options dialog if that's what it's telling you.