Project

General

Profile

Emulator Issues #11572

Gecko OS Vertexshadergen.cpp error

Added by ryanebola16 over 1 year ago. Updated 7 months ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

Game Name?

Gecko OS with Super Smash Bros. Brawl as default ISO

Game ID? (right click the game in the game list, properties, info tab)

Super Smash Bros. Brawl

MD5 Hash? (right click the game in the game list, properties, info tab, MD5 Hash: Compute)

4ea8dda4fadb4b58b15052d053bc0af8
WIIScrubber edited ISO, only replaces music and intro video. Works fine on Dolphin and real Wii.

What's the problem? Describe what went wrong.

An error occurs during startup in Vertexshadergen.cpp. See attached image.

What steps will reproduce the problem?

  1. Set Brawl as default ISO
  2. Load Gecko OS (tested with D3D/OGL, single/dual core)

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

Yes, 5.0-9616 (Line: 285)

Is the issue present in the latest stable version?

No, 5.0

If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)

5.0-6467 (Line: 281, ShaderCache: Decouple shader UID cache from git commit)

What are your PC specifications? (CPU, GPU, Operating System, more)

Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
2x 8GB Hynix 1600MHz
GeForce Game Ready Driver 418.91

509616.PNG (7.14 KB) 509616.PNG ryanebola16, 02/18/2019 03:47 AM
00000000.rar (189 KB) 00000000.rar ryanebola16, 04/30/2019 07:03 AM
7251

History

#1 Updated by ryanebola16 about 1 year ago

I'm not sure which version fixed this problem but it no longer occurs in 5.0-9739.

#2 Updated by JosJuice about 1 year ago

  • Status changed from New to Fixed

#3 Updated by ryanebola16 about 1 year ago

Please re-open, either this issue occurs inconsistently or I accidentally had panic handlers disabled. Occured in 5.0-9739 and 5.0-9984.

#4 Updated by JosJuice about 1 year ago

  • Status changed from Fixed to New

#5 Updated by ryanebola16 about 1 year ago

Deleting ...Dolphin Emulator\Cache\Shaders has no effect on this issue but deleting both ...Dolphin Emulator\Cache\Shaders and 00000000.uidcache makes this issue temporary disappear. Something in the attached 00000000.uidcache may be causing this problem.

#6 Updated by Stenzek about 1 year ago

Sounds like Gecko OS is sending an incorrect configuration to the GPU, and these are getting persisted in the UID cache the next boot. I've verified some of the other "bad" register combinations on hardware and they just cause broken rendering, not GPU hangs. But I haven't tested the sourcerow one specifically.

IMO, the fix is to log a warning and either replace it with a default value, or fail the shader compiling in the first place and skip the draw. Matching the excact "undefined" behavior on the hardware could be tricky because sometimes the behavior is based on the last thing drawn/whatever was last in the registers.

#7 Updated by ryanebola16 7 months ago

I haven't seen this issue in a while so I think we can assume it's fixed. Currently using 5.0-11094.

#8 Updated by JosJuice 7 months ago

  • Status changed from New to Fixed

Also available in: Atom PDF