protonscr

[d3d9] Sonic Racing Transformed: Excessive sun glare / lens flare

dxvkopen needs apitraced3d9windows
doitsujin/dxvk#5325 · opened 2025-11-13 by mindscarp · updated 2025-11-17 · 7 comments · github
1 matching comments, n / p to jump
Mmindscarp 2025-11-13 github

Software information

Game: Sonic & All-Stars Racing Transformed Collection
SteamId: 212480 https://store.steampowered.com/app/212480/Sonic__AllStars_Racing_Transformed_Collection/

System information

  • GPU: Nvidia RTX 5090
  • Driver: 581.80 Game Ready Driver
  • Windows version: Windows 11 24H2 (26100.7171)
  • DXVK version: dxvk-2.7.1

DXVK is used there on Windows instead of native DirectX 9 because the game notoriously crashes when using a Nvidia Turing or newer GPU (RTX 20XX+), see https://steamcommunity.com/app/212480/discussions/0/2944747978665782364/

Log files

ASN_App_PcDx9_Final_d3d9.log

Launcher_d3d9.log

In-game settings

The game has a separate executable "Launcher.exe", located in the same folder as the game's executable (ASN_App_PcDx9_Final.exe), that you have to run to change graphic settings. Settings used:

Image

Issue

The sun glare / lens flare visual effects are so exaggerated that you can't see where you are going. This is especially noticeable on the race track "Rogue's Landing", before and during the water section. The glare is not random; the issue occurs every single time on the same part. First screenshot shows the issue; second screenshot shows what the game is supposed to look like, taken from https://www.youtube.com/watch?v=_HfZ4MeagAk (who says he's using a GTX 660).

Example 1: exaggerated glare
Image

Example 1: normal glare
Image

Example 2: exaggerated glare
Image

Example 2: normal glare
Image

Video (downscaled to 720p due to size limits): exaggerated glare
https://github.com/user-attachments/assets/c448cb22-fec3-44db-8f85-aca5fa2f684b

Related searches

I've found a couple other people talking about this issue:

I don't have a Linux device to test this.

KK0bin maintainer 2025-11-13 github

Thanks for the good bug report. Please also record an apitrace (see our wiki).

Mmindscarp 2025-11-13 github

The game is 32-bit. It seems that apitrace makes the game crash.

  • Using https://github.com/apitrace/apitrace/releases/download/13.0/apitrace-13.0-win32.7z : inside the folder \lib\wrappers when moving the d3d9.dll + dxgi.dll + dxgitrace.dll to the game's folder, the game crashes upon launching, with a generic 0xc0000005 Windows error.

  • If I put dxvk-2.7.1\x32\d3d9.dll in the game's folder instead, the game starts normally using Vulkan (but obviously no .trace file is created).

  • If I don't put any d3d9.dll in the game's folder, the game starts normally using native DirectX 9.

KK0bin maintainer 2025-11-13 github

If I don't put any d3d9.dll in the game's folder, the game starts normally using native DirectX 9.

Yes, please make an apitrace regardless. We'll be able to replay it with DXVK then.

BBlisto91 2025-11-14 github

I'll try my luck at making one here later.

BBlisto91 2025-11-15 github

On amd at least the glare seems to be the same strength between native d3d9 and dxvk

Screenshots

dxvk

Image

native amd d3d9

Image

Edit: Will check nvidia later

Ppetran79 2025-11-17 github

Software information

DXVK is used there on Windows instead of native DirectX 9 because the game notoriously crashes when using a Nvidia Turing or newer GPU (RTX 20XX+), see https://steamcommunity.com/app/212480/discussions/0/2944747978665782364/

Did it crash when you tried to run it without DXVK? It runs fine natively in my case on an rtx 5060 via Flawless Widescreen

BBlisto91 2025-11-17 github

Yes wined3d crashes for me

Edit: Of you mean Windows? No it didn't
Edit 2: i also realize now that wasn't directed at me

DLLs

Error codes