misyltoad / d9vk

A Direct3D9 to Vulkan layer using the DXVK backend. [Upstreamed to DXVK]
https://github.com/doitsujin/dxvk
zlib License
838 stars 42 forks source link

alt tabbing does not work well when using d9vk in kde plasma #391

Open Weirdo1312 opened 5 years ago

Weirdo1312 commented 5 years ago

i can use alt tab and select another program but it just does not switch to it i had this issue with few games like deus ex the fall or borderlands 2 while all of them were fine with alt tabbing using wined3d

misyltoad commented 5 years ago

Can you try this please?

EDIT: Updated link

d3d9.zip

Weirdo1312 commented 5 years ago

Can you try this please?

EDIT: Updated link

d3d9.zip

sorry i'm noob how can i use it? i replaced it with both d3d9.dll files in version 0.20 installer and now game does not launch

guihkx commented 5 years ago

Can you try this please?

EDIT: Updated link

d3d9.zip

I'm also on KDE Plasma and that build did nothing for me. You can see it happening on GTA:SA as well (video):

2019-09-27 00-18-23.zip

elovin commented 5 years ago

@barfin @guihkx I have this issue with DXVK, disabling the compositor works around this issue.

guihkx commented 5 years ago

@elovin Well, at least for me, the kwin compositor is automatically disabled when you launch any Steam game

TheGreatestJannet commented 5 years ago

This issue doesn't just affect KDE Plasma. I am experiencing the same issue on Gnome 3.32. This issue has affected me for a long while so it isn't related to any new builds. It is happening for me with League of Legends. Switching to borderless windowed mode is a workaround for the time being. If I remember correctly it was setting always on top to be enabled for some reason preventing alt-tabbing out of the game. Here is the other thread: https://github.com/Joshua-Ashton/d9vk/issues/76

ByCybernetik commented 5 years ago

I have the same issue, the only games alt + tab works for are games created on Source Engine and game Wolfenstein 2009.

divadsn commented 5 years ago

Alt+Tab in any D9VK enabled fullscreen game doesn't work on KDE Plasma 5 despite enabling the disable desktop effects (compositor) in Lutris runner options.

Also worth mentioning that in native fullscreen games (eg. CS:GO) Alt+Tab does work properly.

meredith-johnson commented 4 years ago

@Joshua-Ashton

I did some testing, and I’ve identified two separate issues: one is KDE-specific, and one affects both KDE and Gnome.

KDE-specific: Many games stay on top when using alt+tab in fullscreen mode. I was able to reproduce this issue on A Hat in Time, Downwell, S.T.A.L.K.E.R.: Shadow of Chernobyl, Aftergrinder, Grand Theft Auto San Andreas and Mount & Blade: With Fire and Sword. I did not see this issue on Gnome or with wined3d.

Both KDE and Gnome: For some games, the window stays on top when using alt+tab in windowed mode only if fullscreen mode had previously been toggled. If the game is started in windowed mode and fullscreen is never used, alt+tab works correctly. I was able to reproduce this issue on Downwell and Aftergrinder. I did not see this issue with wined3d.

Of course, there could be other alt+tab issues; these are just the two I’ve narrowed down :)

guihkx commented 4 years ago

I'm not on KDE anymore, but apparently Proton 5.0-8 fixed this?

On KDE, games being fullscreen should no longer prevent alt-tabbing out of the game. Commit: https://github.com/ValveSoftware/wine/commit/41022f9151475da15ec64a2ac64fd4830253e3f5

Can someone test and confirm this?

guihkx commented 4 years ago

Tested it myself on KDE and, at least on GTA:SA, I can alt tab out of the game normally.