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

Alt Tabbing with engines that change window status is busted #4309

Open
LethalManBoob opened this issue Sep 30, 2024 · 5 comments
Open

Alt Tabbing with engines that change window status is busted #4309

LethalManBoob opened this issue Sep 30, 2024 · 5 comments

Comments

@LethalManBoob
Copy link

LethalManBoob commented Sep 30, 2024

Two games have this issue afaik, battlefield 4 and black ops 3.
These two games change from fullscreen to windowed when alt tabbing, this causes focus stealing issues with the app instantly stealing focus, denying alt tab activity.

Tested this on gnome and kde, identical issue
Tested different proton versions, same problem.

@K0bin
Copy link
Collaborator

K0bin commented Sep 30, 2024

Which DXVK version did this happen with?

@doitsujin
Copy link
Owner

doitsujin commented Sep 30, 2024

2.4.1 should fix issues like these, please try that.

But yes, it is exceptionally difficult to emulate correct behaviour here because DXGI and the finicky expectations that some games have are just massive black boxes, and doing literally anything window-related at can very easily break stuff.

@LethalManBoob
Copy link
Author

LethalManBoob commented Sep 30, 2024

@K0bin Yes it uses the latest git for DXVK.

@doitsujin unfortunately it does not fix the issue. I suppose application specific hacks are not on the table ether.

@doitsujin
Copy link
Owner

I don't really have the knowledge to fix this. The patch that solved this problem for other games took several revisions and months of testing with hundreds of games and we're still finding regressions, this is the kind of problem we're talking about.

@Blisto91
Copy link
Contributor

Blisto91 commented Oct 1, 2024

I am not sure that this is strictly a dxvk issue. Note that i have only tested Black Ops 3 so far.

The behavior of the game going windowed mode when you alt-tab from a exclusive fullscreen is just the native behavior as it will do the same on Windows. There you can also alt-tab and focus other apps fine even when using dxvk.
On Linux i do see that with Proton you kinda have to alt-tab twice to be able to focus another Window. With regular Wine this doesn't work at all as the game will only very briefly switch to windowed before snapping back to fullscreen so you can't focus anything else there at all.
But all this behavior is the exact same with wined3d during my testing.

Borderless mode works fine though (only tested in Proton).

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

4 participants