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

GW2 with d3d9 can't have a window/software in "front"/"always on top" #475

Closed nykoo closed 4 years ago

nykoo commented 4 years ago

Hi,

Not sure if it's an issue but with d3d9.dll in gw2 x64 i can't have a window/software in top of the game in fullscreen windowed mode. Even if the software is tagged as "always in front".

This is is a bit annonying for some hardware monitor soft i use.

If it's a know issue and if someone know a solution, that will be great as without d3d9 guild wars 2 is unplayable :(

GPU: RX 5700 XT (last AMD driver 19.12.2) gw2.exe in x64 d3d9 last version from d9vk jobs -> https://git.froggi.es/joshua/d9vk/-/jobs (was the same problem with some previous version)

Thank you.

logan001 commented 4 years ago

Do you mean TacO or the likes?

nykoo commented 4 years ago

No not TacO (i haven't tried with TacO) some hardware monitoring like CPU/GPU temp, GPU/CPU usage or ispy with a cctv monitor in a small bottom window (foced in always on top).

misyltoad commented 4 years ago

Hi, Borderless Vulkan windows by default that encompass the screen will steal exclusive fullscreen rights.

I'll add a config option to disable this behaviour.

nykoo commented 4 years ago

:D :D thank you very much :D :D

nykoo commented 4 years ago

Thank you @Joshua-Ashton for the option... but i certainly did something wrong as this don't seems to work :(

But not working for me :( game still in exclusive top

Here is a part of my d3d9 debug log, if you know what i missed. Thank you very much

info: Game: Gw2-64.exe info: DXVK: v1.4.6 info: Found config file: C:\Guild Wars 2\bin64\dxvk.conf info: Effective configuration: info: d3d9.enableDialogMode = True info: Built-in extension providers: info: Win32 WSI info: OpenVR warn: OpenVR: Failed to locate module info: Enabled instance extensions: info: VK_KHR_get_physical_device_properties2 info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: D3D9: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT info: AMD Radeon RX 5700 XT: info: Driver: 2.0.116 info: Vulkan: 1.1.125

misyltoad commented 4 years ago

Can you send the full log?

nykoo commented 4 years ago

Here it is

Gw2-64_d3d9.log

nykoo commented 4 years ago

Still don't work with last Version 0.40.1 - Croakacola Zero 🥤0️⃣🐸 :D i'd remove d3dcompiler_43.dll but it went recreat as soon i launch game, don't know if it can be part of my problem. i certainly did something wrong :( if have any idea, will be great :) :)

Thank you very much and sorry for my english (and my inexistant coding skills)

misyltoad commented 4 years ago

Hm, it's working fine here (testing a few other games, I don't have GW2)

Perhaps your issue is just that the game is flagging the window as always on top, in which there isn't really anything I can do about that 🤷‍♀️

misyltoad commented 4 years ago

Is GW2 x64 or x86? I have something for you to try.

nykoo commented 4 years ago

x64

Will check and try tomorrow as it's 2:24am here and time to sleep :)

Thank you for your answer

nykoo commented 4 years ago

I test again this morning, this have definitly something to do with d3d9.dll as when i remove it from bin64 folder and run the game, i can have somthing in front of the game (always on top) without problem. But the game in nearly unplayable due to FPS drop. so bad to bought a rx5700xt quite expensive and can't play the game i usually played the most :(

Really don't know what the problem is... anyway can still play the game with your d3d9.dll so really thank you for that and too bad if i can't have soft in front but not so vital anyway :)