Project

General

Profile

Actions

Emulator Issues #12552

open

Luigi's Mansion: Graphical issues on Intel GPU's

Added by Adamillo about 3 years ago. Updated over 1 year ago.

Status:
Accepted
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?

Luigi's Mansion

Game ID? (right click the game in the game list, Properties, Info tab)

GLMP01

MD5 Hash? (right click the game in the game list, Properties, Verify tab, Verify Integrity button)

109274d9078b5aecf3bfa9af1d10688c

What's the problem? Describe what went wrong.

Inside the mansion there are graphical problems with the shadows.

What steps will reproduce the problem?

Start the game and start a new file. Do not skip the intro cutscene. While the second cutscene ended, try moving around and turn off the flashlight with the B button and you'll see the graphical problems with the shadows. Depending on the backend you can also see the shadow issues without turning off the flashlight by looking at the light from the flashlight itself. I think it's gonna be much more consistent if you press random buttons while the second cutscene plays

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

5.0-14435

Is the issue present in the latest stable version?

Yes I tested it on 5.0 too

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.)

If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer

DFF: https://drive.google.com/file/d/1rtxVSWFlMd8MWPDNtRudkejTwcTtERYi/view?usp=sharing
Screenshots:
https://drive.google.com/file/d/1vlz8d4SUeNoFkRw_D6sYW8-RKoXTScHX/view?usp=sharing
https://drive.google.com/file/d/1Lgq5R_Xqh3kqaM771i_-UcUbuOBjgSvv/view?usp=sharing
(Look closely at the flashlight)

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

CPU: Intel Core i5-7360U 2.30GHz
GPU:Intel Iris Plus Graphics 640
RAM: 8GB
OS: Windows 10

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

This graphical issue doesn't seem to happen in NVIDIA GPU's. Not sure if this also occurs on AMD


Files

bug.dff (4.57 MB) bug.dff Adamillo, 10/29/2022 03:31 PM
Actions #1

Updated by Adamillo about 3 years ago

I'm also using the latest stable drivers from Intel

Actions #3

Updated by JMC4789 over 1 year ago

  • Status changed from New to Questionable

Fifolog is no longer available.

Actions #4

Updated by Adamillo over 1 year ago

I see. Seems like I'll have to look and see if I can reproduce this again and reupload the fifolog

Actions #5

Updated by Adamillo over 1 year ago

Here's a fifo log!

Actions #6

Updated by pokechu22 over 1 year ago

  • Subject changed from Graphical issues on Intel GPU's to Luigi's Mansion: Graphical issues on Intel GPU's
  • Status changed from Questionable to Accepted

Confirmed on the Vulkan backend with that fifolog. Renders correctly on NVIDIA GeForce GTX 1650 Ti, but has the broken shadow on (integrated) Intel(R) UHD Graphics.

Actions #7

Updated by pokechu22 over 1 year ago

I'm not sure if this is fixable. In the first frame of that fifolog, the broken objects are 65 and 70. Here are the matrices for object 64 (which is fine):

XF register Write 12 XF mem words at 0000
Position matrix row  0 col  0 = -0.18265045
Position matrix row  0 col  1 = -0.90213823
Position matrix row  0 col  2 = -0.3908693
Position matrix row  0 col  3 = -8.256619
Position matrix row  1 col  0 = -0.7733756
Position matrix row  1 col  1 = 0.37730765
Position matrix row  1 col  2 = -0.5094408
Position matrix row  1 col  3 = -203.9755
Position matrix row  2 col  0 = 0.60706204
Position matrix row  2 col  1 = 0.20923974
Position matrix row  2 col  2 = -0.7666092
Position matrix row  2 col  3 = -4104.1064

XF register Write 9 XF mem words at 0400
Normal matrix row  0 col  0 = -0.0036530646
Normal matrix row  0 col  1 = -0.018042874
Normal matrix row  0 col  2 = -0.0078174425
Normal matrix row  1 col  0 = -0.0154675385
Normal matrix row  1 col  1 = 0.007546108
Normal matrix row  1 col  2 = -0.010188776
Normal matrix row  2 col  0 = 0.012141343
Normal matrix row  2 col  1 = 0.004184806
Normal matrix row  2 col  2 = -0.015332223

and here's the matrices for object 65 (which is broken):

XF register Write 12 XF mem words at 0000
Position matrix row  0 col  0 = 9044000
Position matrix row  0 col  1 = 14660088000000
Position matrix row  0 col  2 = 11272192
Position matrix row  0 col  3 = 3665072200000
Position matrix row  1 col  0 = -3.1993715e+19
Position matrix row  1 col  1 = 3.9438084e-16
Position matrix row  1 col  2 = 1.1901591e-13
Position matrix row  1 col  3 = 2.0936814e+21
Position matrix row  2 col  0 = 1.2779547e-28
Position matrix row  2 col  1 = 7.762309e-15
Position matrix row  2 col  2 = -1.57837355e+29
Position matrix row  2 col  3 = 14649999000000

XF register Write 9 XF mem words at 0400
Normal matrix row  0 col  0 = -77462.32
Normal matrix row  0 col  1 = 14705960000000
Normal matrix row  0 col  2 = 1.1821288e+37
Normal matrix row  1 col  0 = 1.3189584e+17
Normal matrix row  1 col  1 = -30065174000000
Normal matrix row  1 col  2 = -0.8370824
Normal matrix row  2 col  0 = 1.13881444e+17
Normal matrix row  2 col  1 = 6.4780067e+19
Normal matrix row  2 col  2 = 9.8983287e+36

These values are complete garbage, and result in extremely large positions far beyond the top and bottom of the screen. It seems like NVIDIA just rejects these as nonsense and draws nothing, but Intel is perfectly willing to draw it, resulting in the lines.

Without actually owning Luigi's Mansion I can't determine exactly why these matrices are garbage, and if it's an emulation issue or just how the game works.

Actions

Also available in: Atom PDF