jscii icon indicating copy to clipboard operation
jscii copied to clipboard

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

Open Weirdo1312 opened this issue 4 years ago • 11 comments

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

Weirdo1312 avatar Sep 22 '19 12:09 Weirdo1312

Can you try this please?

EDIT: Updated link

d3d9.zip

Joshua-Ashton avatar Sep 23 '19 02:09 Joshua-Ashton

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

Weirdo1312 avatar Sep 23 '19 10:09 Weirdo1312

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

guihkx avatar Sep 27 '19 03:09 guihkx

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

elovin avatar Sep 29 '19 09:09 elovin

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

guihkx avatar Sep 29 '19 18:09 guihkx

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

TheGreatestJannet avatar Sep 29 '19 21:09 TheGreatestJannet

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

ByCybernetik avatar Oct 31 '19 11:10 ByCybernetik

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.

divadsn avatar Nov 09 '19 12:11 divadsn

@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 :)

meredith-johnson avatar Mar 03 '20 16:03 meredith-johnson

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 avatar Jun 07 '20 17:06 guihkx

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

guihkx avatar Jun 09 '20 08:06 guihkx