narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
878 stars 67 forks source link

Config Overlay not working #325

Open Pinstripe666 opened 4 weeks ago

Pinstripe666 commented 4 weeks ago

When I enable it with Shift+F11, I get a black window, with the mouse cursor being a black box. I tested this only with Arcanum.

narzoul commented 4 weeks ago

Please reproduce the issue with debug logs enabled by setting LogLevel=debug in DDrawCompat.ini. Then attach the DDrawCompat log file.

Pinstripe666 commented 4 weeks ago

https://easyupload.io/eooegn

Hope that helps.

narzoul commented 4 weeks ago

I don't have much time to look into it now, but I have some quick initial observations/questions.

Your user mode display driver is something I've never seen before: atidx9loader32.dll. Can't even find anything about it on google, and it's not part of my own AMD GPU driver package either. What kind of GPU is it?

Your game resolution seems to be 1366x768, which doesn't sound normal for this game. How did you set it? Do you have some mods installed, and which ones?

You've changed some settings like DpiAwareness and FullscreenMode, but I'm not sure why, or whether they could be related to the issue. Have you tried the default settings?

What is your Windows DPI scale factor?

Pinstripe666 commented 4 weeks ago

I'm using a RX 7700 XT. Newest driver.

The resolution is set with the HiRes patcher via config.ini that comes with the Arcanum UAP patch. I tried to use a "normal" resolution, as well as remove the DDrawCompat.ini to run everything with default values, but to no avail.

There are no changes to Windows DPI (100%).

Pinstripe666 commented 4 weeks ago

Okay, so I've now used the AMD Cleanup Utility to uninstall and reinstall my graphics drivers, and got rid of the mysterious "atidx9loader32.dll" in DXDIAG. The game now hooks with "amdxn32.dll", but alas, still the same half-transparent black window with a green line on top of it.

narzoul commented 4 weeks ago

The previous round was also using amdxn32.dll for the actual driver functions. The problem is that I don't have any hardware that uses this dll, it might be exclusive to the RX 7000 series or something. I have on old RX 480 that uses aticfx32.dll + atiu9pag.dll, and I think those are the same I've seen in every log from users with AMD GPUs so far.

Anyway, could you please take a screenshot with both the config and stats overlay (Shift+F12) open? You may need to change FullscreenMode back to the default borderless setting for that, because I don't think print screen works in exclusive fullscreen mode.

Do the overlays appear correctly in windowed mode apps, like the Arcanum World Editor (WorldEd.exe)?

Can you try any other fullscreen ddraw games?

Pinstripe666 commented 4 weeks ago

The overlay does indeed display correctly in the World Editor!

Here's what it looks like in-game: https://postimg.cc/YvzpzcWq

Pinstripe666 commented 4 weeks ago

Also tested it with Baldur's Gate 2 (original, not EE). Same thing.

It's no biggy though. Probably something on my end.

Edit: I should add the overlay does work again in BG2 when using Windowed Mode!

narzoul commented 3 weeks ago

Does this work? ddraw.zip (diff.txt compared to v0.5.2)

If not, could you check if any of the previous versions with overlay support (v0.4.0, v0.5.0, v0.5.1) works?

Pinstripe666 commented 3 weeks ago

Thank you. Your provided dll does work indeed! So does v0.5.1. and v0.5.0!

It's only the v0.5.2 where the overlay is broken.

elisimpson commented 1 week ago

Just adding a "me too" ... overlay broken with 0.5.2 but works with 0.5.1. Tested game is Syberia 1 from GOG. Graphics card is Radeon 780M.