protonscr

Games failing to minimize after alttabbing from fullscreen.

dxvkopen dxgid3d9
doitsujin/dxvk#3095 · opened 2022-11-24 by LethalManBoob · updated 2022-11-28 · 9 comments · github
1 matching comments, n / p to jump
LLethalManBoob 2022-11-24 github

Any game on fullscreen that runs dx9, dx10, or dx11 will often fail to minimize when alt-tabbing. I have to click the game tab (I use gnome dash to panel) a few times to make it minimize correctly so I can tab back in.

System information

  • GPU: NVIDIA GeForce RTX 3070
  • Driver: 525.53
  • Wine version: GE.Proton7.41-1
  • DXVK version: 2.0
BBlisto91 2022-11-24 github

Did you experience the same in older versions of dxvk or did the behavior change with 2.0? 🙂

KK0bin maintainer 2022-11-24 github

@Blisto91 It's a known issue, we don't implement that behaviorm

LLethalManBoob 2022-11-24 github

Whos as fault for this then?

BBlisto91 2022-11-24 github

What do you mean :thinking:

LLethalManBoob 2022-11-24 github

"we don't implement that behavior"
Figured that meant that you don't control that behavior. Unless I'm wrong.

KK0bin maintainer 2022-11-24 github

It means we didnt bother to make it work like that yet.

LLethalManBoob 2022-11-25 github

It means we didnt bother to make it work like that yet.

oh ok, you probably want to make it work like that then. ;)

Ddoitsujin maintainer 2022-11-25 github

There's two problems with this, a) it requires intercepting window messages which is always very risky and prone to bugs, and b) I simply don't fully understand every detail of how DXGI (and D3D9/D3D9EX) behave in this regard, and the current state is arguably better than implementing something that works half the time but makes a the other half crash because there's some inaccuracy somewhere.

It's definitely not "minimize window if certain keys are pressed" either, there's a lot more to it, and as far as I'm aware it doesn't involve minimizing windows at all (some games may do that if they lose focus, but in general DXGI will transition out of fullscreen mode under certain conditions).

LLethalManBoob 2022-11-28 github

the dxvk-mingw build in the chaotic aur doesn't have this issue. its also 2.0

Proton versions