Project

General

Profile

Emulator Issues #8951

Resident Evil 4's smoke/dust effects are squares

Added by TheDimensioner almost 5 years ago. Updated about 4 years ago.

Status:
Fixed
Priority:
High
Assignee:
% Done:

0%

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

Description

Game Name?

Resident Evil 4 (Game Cube or Wii Edition)

Game ID?

G4BE08/RB4E08

What's the problem? Describe what went wrong in few words.

Whenever there's "combat" generated smoke or dust, squares fly off enemies. Either by kicking them, detonating a grenade or exploding their heads will trigger this effect. In earlier revisions, this seemed to happen in a smaller degree when EFB Access from CPU was disabled, the square would appear in a split second, and become smoke. Now with it enabled or disabled, big squares are visible for the duration of the animations. Tested both D3D and OGL, but I wouldn't trust OGL since my video card doesn't have all of what it's needed for OGL to work properlly.

Which versions of Dolphin did you test on? Does using an older version of Dolphin solve your issue? If yes, which versions of Dolphin used to work?

I didn't test many version as of recently, but the earliest one I had where this didn't happen was 4.0-7133, but in the one I'm using right now, which is 4.0-7717, that happens.

What are your PC specifications?

Windows 8.1 Pro
AMD Athlon II x2 240 2.80Ghz
5GB RAM
GeForce 9600GT 1GB

Is there any other relevant information?

Although I'm using the widescreen hack on those screenshots, it happens without it too. Also, EFB Access from CPU is enabled on those. I usually disabled it because I have a big speedup in many areas of the game, and the only missing effect was the flash grenade's "flash".

re4_01.jpg (306 KB) re4_01.jpg TheDimensioner, 09/14/2015 09:29 PM
re4_03.jpg (300 KB) re4_03.jpg TheDimensioner, 09/14/2015 09:29 PM
re4_02.jpg (381 KB) re4_02.jpg TheDimensioner, 09/14/2015 09:29 PM
re4_04.jpg (292 KB) re4_04.jpg TheDimensioner, 09/14/2015 09:29 PM
RB4E08-7.png (1.37 MB) RB4E08-7.png EFB2Tex TheDimensioner, 10/06/2015 03:19 AM
RB4E08-6.png (1.71 MB) RB4E08-6.png EFB2RAM TheDimensioner, 10/06/2015 03:19 AM
RB4E08-3.png (1.75 MB) RB4E08-3.png TheDimensioner, 10/06/2015 03:20 AM
RB4E08-5.png (2 MB) RB4E08-5.png TheDimensioner, 10/06/2015 03:20 AM
4943
4944
4945
4946
4987
4988
4989
4990

Related issues

Has duplicate Emulator - Emulator Issues #9141: Black square glitch - Resident Evil 4 Wii EditionDuplicate

Has duplicate Emulator - Emulator Issues #9120: Donkey and Diddy Kong 3D models flicker and turn invisibleDuplicate

History

#1 Updated by JMC4789 almost 5 years ago

Can you narrow this down to a closer build? Bisect it, test a build halfway between the last known good, and first known bad, and you should find the culprit within 10 steps.

#2 Updated by TheDimensioner almost 5 years ago

It happens on 4.0-7630 onwards, not in 4.0-7626. If I enable EFB to RAM, it doesn't happen, but the slowdown is not good. So there you go, hope I helped with something.

#3 Updated by TheDimensioner almost 5 years ago

Just discovered it isn't the smoke, it's rather the blur effect that becomes squares. The blur isn't that evident on higher internal resolutions, but since I'm using native res to test it in EFB to RAM, I can see the blur much more "clearly".

#4 Updated by phire almost 5 years ago

  • Status changed from New to Questionable
  • Assignee set to phire

Well, it's my fault.

I'll take a look into it. But it's possible that the actual bug is the fact that it worked on efb2tex before.

#5 Updated by phire almost 5 years ago

Could you see if it works with this build?

https://dl.dolphin-emu.org/prs/pr-3030-dolphin-latest-x64.7z

#6 Updated by TheDimensioner almost 5 years ago

On the build you provided, there's no square effects. Any combination of EFB to RAM/Texture or EFB Access enabled/disabled works as intended. Also, for some reason this build seems to have fixed the save state slowdown problem with this game. While I was testing on "master" versions, loading a save state would either slow down, cut the audio or improperly load the next scenario after a door or cutscene. On this one I can load at any time, and nothing seems to go wrong. Even the Wii Edtion works well with save states now.

#7 Updated by phire almost 5 years ago

  • Status changed from Questionable to Work started

#8 Updated by TheDimensioner almost 5 years ago

4987
4988
4989
4990

Any update on this? I dicided to play it anyways on Dolphin and found other issues. It also makes any "pool" of water black. In the lake where's the boss "Del Lago", the water is pitch black. It makes the fight with it not impossible but a little harder. It's also harder to fish. Again, activating EFB2RAM fixes all of that, but still, it didn't happen on previous builds.

#9 Updated by JMC4789 almost 5 years ago

This should be fixed now. Can you confirm?

#10 Updated by TheDimensioner almost 5 years ago

Nope, it still happens on latest build (4.0-8125). Both GC and Wii versions with squares and black water.

#11 Updated by phire over 4 years ago

  • Assignee deleted (phire)
  • Milestone set to Current
  • Regression changed from No to Yes

This was fixed by #3030, however #3030 never got merged and was superseded by another PR by mimimi (Can't remember the number) which I would have expected to solve this issue too.

Mimimi, could you look into this?

#12 Updated by delroth over 4 years ago

  • Assignee set to mimimi

#13 Updated by phire over 4 years ago

#14 Updated by JMC4789 over 4 years ago

Cannot reproduce. I have both the Wii and GameCube version (which, I bought the Wii version for this issue report to make sure,) and neither have an issue with EFB2Texture on.

#15 Updated by TheDimensioner over 4 years ago

Still happens for me, just tested in the latest build (4.0-8979).

#16 Updated by phire over 4 years ago

Could we have a fifolog? Once with efb2ram, once with efb2tex.

#17 Updated by TheDimensioner over 4 years ago

Well, I really don't know if that worked. I just read the wiki about FIFO, than set frames to "300" (Resident Evil 4 being 30FPS, I wanted 10 secs) and than hit "Record". Was disappointed it generated a 500MB file, being on Brazil with this low internet thing (1Mb upstream only, sheesh). Thankfully I remembered of 7-Zip, compression got them files to about 18MBs, so here they are:

EFB2RAM

https://mega.nz/#!bcgmkDxC!iqsh3Q7k9uXydKKxFrxSAn8771YN9Qb57fIbSn8lAoA

EFB2Tex

https://mega.nz/#!LNwW1bgI!8o-qYXoDg9l16ZK60QqKpcYoiXsGF1hd2V4itXAJ_qM

I played them back to see how it went. Frame rate seems uncapped, and they work just as ingame, if I use a hotkey to enable/disable EFB copies, the square shows or not in both of them, so that's why I don't know it worked. Is that normal, by the way? Also, it crashed sometimes when I tried to exit Dolphin (during FIFO play).

If MEGA doesn't work, I could also use Mediafire, if that's more convenient. I would really like to see this issue fixed. Thanks for the attention!

#18 Updated by TheDimensioner over 4 years ago

Uhh, I meant to say "then", should have an edit button for indivual comments, just saying XD.

#19 Updated by JMC4789 over 4 years ago

I'm beginning to think it's the old NVIDIA cards that are the problem. Pre-4xx have different drivers with less features...

#20 Updated by TheDimensioner over 4 years ago

Well, that's true. Last update I got (341.92 on 2015.11.10) only had "security updates". Sure this thing is old, but I remember nvidia at least tried to add stuff to drivers before completely discontinuing GeForce 6000 and 7000 series, although the last driver broke a lot of things for older games, besides the bugs on the control panel. The card I had was a 6200 XD. Anyways, seeing that Dolphin is already entering the DX12 bandwagon, I don't think older stuff will be supported for much longer, right? It was true for other things, as I've been following the progress reports for a while, so, no surprise. Well, I better update on my part than. I like playing Nintendo games on a computer, and Dolphin helps me with that, so the computer should help Dolphin.

#21 Updated by JMC4789 over 4 years ago

It shouldn't show up in the fifologs if that's true though, that's the one thing making what I'm saying likely not right. I don't know what to do.

#22 Updated by TheDimensioner over 4 years ago

Oh, it shows in the logs, than? I don't know how to read that stuff, but we have hope for a fix, than?

#23 Updated by phire over 4 years ago

I can reproduce just fine on my GTX 960.

Not sure why JMC47 is having problems.

#24 Updated by JMC4789 over 4 years ago

  • Priority changed from Normal to High

reproduced fine on my GTX 760; I was in the wrong spot. Sorry!

#25 Updated by JMC4789 over 4 years ago

  • Status changed from Work started to Fix pending

Fixed in PR3266. Verified on your fifologs.

#26 Updated by Fog over 4 years ago

#27 Updated by Fog over 4 years ago

#28 Updated by Fog over 4 years ago

  • Has duplicate deleted (Emulator Issues #9369: Depth-related outline issues in Suzumiya Haruhi no Heiretsu)

#29 Updated by Fog over 4 years ago

  • Status changed from Fix pending to Fixed

#30 Updated by Fog over 4 years ago

  • Status changed from Fixed to Fix pending

A bit early on that last comment, only partially fixed

#31 Updated by Fog over 4 years ago

  • Status changed from Fix pending to Fixed

#32 Updated by 7Aizen7 about 4 years ago

Fog wrote:

Fixed in 4.0-9142: https://dolphin-emu.org/download/dev/647fec92a047c7341be0216e81a81f48c7301749/

I'm using Dolphin 4.0-9230 and I still get the black squares.I have a GeForce GTX 980

#33 Updated by JMC4789 about 4 years ago

Your computer is broken. /s

I absolutely don't know what could be causing that now.

#34 Updated by 7Aizen7 about 4 years ago

JMC4789 wrote:

Your computer is broken. /s

I absolutely don't know what could be causing that now.

I bought a new computer this year.. literally about 2 months ago. I don't think it's the computer.. Maybe my settings are off?

#35 Updated by JMC4789 about 4 years ago

The /s is for sarcasm. Could you tell me what settings you're using?

#36 Updated by 7Aizen7 about 4 years ago

JMC4789 wrote:

The /s is for sarcasm. Could you tell me what settings you're using?

If you need screenshots let me know.. but you can see it in real action on my twitch. Fast forward to 5:46 and watch for like 7 seconds.[[[https://www.twitch.tv/7aizen7/v/65907926]]]

I also had a slowdown that I couldn't fix until the boss featured in this video but after rebooting it was all well.

So my settings are as follows:

Config:

dual core enabled, idle skipping enabled, cheats enabled, 100% normal speed, JIT recompiler recommended, interface tab(default), audio (fast, backend xaudio2) enable cpu clock override 100% 486 mhz

Graphics:

Backend 3d11, Adapter NVIDIA GeForce GTX 980 M, Fullscreen Resolution (Auto), Aspect Ratio (Stretch to Window)

Internal resolution 3x Native (1920 x 1584) for 1080p Anti - Aliasing 2x MSAA, Filtering - 1x

Scaled EFB Copy checked. Everything else on enhancements tab unchecked.

Hacks:

everything is checked on this tab

Advanced

Nothing is checked

If you need screenshots of anything let me know. Also, if you want to see gameplay running smoothly(inspite of the squares) just look at the previous broadcast of my twitch.

#37 Updated by TheDimensioner about 4 years ago

You're using D3D. Download the newest dolphin build, or from 4.0-9233 onwards, since that fixes EFB issues with Donkey Kong Country Returns and, as stated in this issue, Resident Evil 4. You were unlucky to be using the build prior to the fix XD.

#38 Updated by 7Aizen7 about 4 years ago

TheDimensioner wrote:

You're using D3D. Download the newest dolphin build, or from 4.0-9233 onwards, since that fixes EFB issues with Donkey Kong Country Returns and, as stated in this issue, Resident Evil 4. You were unlucky to be using the build prior to the fix XD.

It is good to know that 4.0-9230 doesn't get the job done, but 4.0-9233 and later(I now have 4.0-9320) does. Now I can shoot peoples faces and not see random polygons. Thank you! _^

#39 Updated by TheDimensioner about 4 years ago

Thank the Dolphin devs/testers, for their great work. Keep on playing!

Also available in: Atom PDF