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

Overlay corruption in some DirectX 12 games #68

Open
yU93r opened this issue Oct 22, 2024 · 10 comments
Open

Overlay corruption in some DirectX 12 games #68

yU93r opened this issue Oct 22, 2024 · 10 comments
Labels
bug Something isn't working overlay Overlay related

Comments

@yU93r
Copy link

yU93r commented Oct 22, 2024

In some DirectX 12 games (e.g. The Last of Us™ Part I) the overlay is corrupted. In some DirectX 12 games (e.g. The Last of Us™ Part I) the overlay is corrupted. Most probably the problem is in render hooker. Because the old render hooker didn't have this problem (I don't want to be misunderstood. The old render hooker was definitely worse).

The Last of Us™ Part I Overlay Corruption

@Detanup01 Detanup01 added bug Something isn't working overlay Overlay related labels Oct 22, 2024
@Detanup01
Copy link
Owner

edit configs.overlay.ini to use this:

[overlay::general]
enable_experimental_overlay=1
disable_achievement_progress=1
[overlay::appearance]
Font_Override=Roboto-Medium.ttf
Font_Size=20.0
Icon_Size=64.0
Font_Glyph_Extra_Spacing_x=1.0
Font_Glyph_Extra_Spacing_y=0.0
Notification_R=0.12
Notification_G=0.14
Notification_B=0.21
Notification_A=1.0
Notification_Rounding=10.0
Notification_Margin_x=5.0
Notification_Margin_y=5.0
Notification_Animation=0.35
Notification_Duration_Progress=6.0
Notification_Duration_Achievement=7.0
Notification_Duration_Invitation=8.0
Notification_Duration_Chat=4.0
Achievement_Unlock_Datetime_Format=%Y/%m/%d - %H:%M:%S
Background_R=0.12
Background_G=0.11
Background_B=0.11
Background_A=0.55
Element_R=0.30
Element_G=0.32
Element_B=0.40
Element_A=1.0
ElementHovered_R=0.278
ElementHovered_G=0.393
ElementHovered_B=0.602
ElementHovered_A=1.0
ElementActive_R=-1.0
ElementActive_G=-1.0
ElementActive_B=-1.0
ElementActive_A=-1.0
PosAchievement=bot_right
PosInvitation=top_right
PosChatMsg=top_center

And response if this fixed your issue

@yU93r
Copy link
Author

yU93r commented Oct 22, 2024

Unfortunately, it is still the same.

The Last of Us™ Part I Overlay Corruption 2

@Detanup01
Copy link
Owner

Check new Release

@yU93r
Copy link
Author

yU93r commented Nov 10, 2024

Unfortunately, it's still the same.

SILENT HILL 2

@CHESIRE721
Copy link

image
I just tried the Silent Hill remake, and that overlay issue doesn't exist. I'm completely sure that it only happens when there's video driver corruption. Try reinstalling your drivers from scratch so the DX12 hook loads correctly.

@DogancanYr
Copy link
Contributor

DogancanYr commented Nov 12, 2024

Unfortunately, it is still the same.

The Last of Us™ Part I Overlay Corruption 2

Are you using amd graphics card?
I have the same problem.

@yU93r
Copy link
Author

yU93r commented Nov 12, 2024

image I just tried the Silent Hill remake, and that overlay issue doesn't exist. I'm completely sure that it only happens when there's video driver corruption. Try reinstalling your drivers from scratch so the DX12 hook loads correctly.

I uninstalled video card driver with DDU and reinstalled, unfortunately it's still the same. Have you experienced this problem with other DirectX 12 games?

SILENT HILL 2

Unfortunately, it is still the same.
The Last of Us™ Part I Overlay Corruption 2

Are you using amd graphics card? I have the same problem.

Yes, I'm using AMD Radeon™ RX 6700 XT.

@CHESIRE721
Copy link

I uninstalled video card driver with DDU and reinstalled, unfortunately it's still the same. Have you experienced this problem with other DirectX 12 games?

Yes, I'm using AMD Radeon™ RX 6700 XT.

I checked a couple of forums, mostly related to imgui, and from what I read, this seems to be more of an issue with how the drivers work and how the AMD graphics card loads things. It appears that it takes time to find the correct hook, and when it tries to load it, it causes corruption in the overlay. (Just a note, what I’m saying might or might not be the problem, since I only skimmed through the information, and someone with more knowledge on this might be able to clarify it better.)

Just in case, try adding the following lines:

hook_delay_sec=0
renderer_detector_timeout_sec=15

Then set hook_delay_sec=0 to 30, to give the overlay enough time to find and load the DX12 hook correctly. (This might work or not, as this goes beyond the support that can be provided to the overlay.)

Regarding whether I’ve encountered this problem in other games, it only happened once with Lies of P, but the error only occurred when I was switching the graphics API from DX12 to Vulkan. When I did that, the game rendered the overlay incorrectly, just like in your photos

@yU93r
Copy link
Author

yU93r commented Nov 12, 2024

I uninstalled video card driver with DDU and reinstalled, unfortunately it's still the same. Have you experienced this problem with other DirectX 12 games?

Yes, I'm using AMD Radeon™ RX 6700 XT.

I checked a couple of forums, mostly related to imgui, and from what I read, this seems to be more of an issue with how the drivers work and how the AMD graphics card loads things. It appears that it takes time to find the correct hook, and when it tries to load it, it causes corruption in the overlay. (Just a note, what I’m saying might or might not be the problem, since I only skimmed through the information, and someone with more knowledge on this might be able to clarify it better.)

Just in case, try adding the following lines:

hook_delay_sec=0 renderer_detector_timeout_sec=15

Then set hook_delay_sec=0 to 30, to give the overlay enough time to find and load the DX12 hook correctly. (This might work or not, as this goes beyond the support that can be provided to the overlay.)

Regarding whether I’ve encountered this problem in other games, it only happened once with Lies of P, but the error only occurred when I was switching the graphics API from DX12 to Vulkan. When I did that, the game rendered the overlay incorrectly, just like in your photos

Unfortunately it is still the same. I think the problem lies in the AMD software. Maybe we should report this problem to ImGui.

@aspectedu
Copy link

The overlay works fine in the game STRAY, but in Spider-Man: Miles Morales, the SHIFT + TAB shortcut doesn't open the overlay at all. Considering Spider-Man runs on DX12, what could be causing this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working overlay Overlay related
Projects
None yet
Development

No branches or pull requests

5 participants