dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

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

Open mindscarp opened this issue 1 month ago • 7 comments

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:

  • Here this person seems to imply that the issue gets worse with higher resolutions (I am playing at 2560x1440) https://steamcommunity.com/app/212480/discussions/0/1291817837624683725/
  • This person implies that anti-aliasing has something to do with the issue https://steamcommunity.com/app/212480/discussions/0/558751179541185261/#c558751364620004656

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

mindscarp avatar Nov 13 '25 19:11 mindscarp

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

K0bin avatar Nov 13 '25 19:11 K0bin

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.

mindscarp avatar Nov 13 '25 21:11 mindscarp

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.

K0bin avatar Nov 13 '25 22:11 K0bin

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

Blisto91 avatar Nov 14 '25 08:11 Blisto91

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

Blisto91 avatar Nov 15 '25 00:11 Blisto91

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

petran79 avatar Nov 17 '25 18:11 petran79

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

Blisto91 avatar Nov 17 '25 18:11 Blisto91