Project

General

Profile

Actions

Emulator Issues #7835

closed

Tomb Raider Anniversary - FIFO is overflowed by gatherpipe! CPU thread is too fast!

Added by learndigitalaudio about 10 years 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?
Tomb Raider Anniversary

Game ID?
RLRP4F

What's the problem? Describe what went wrong in few words.
On the opening level a minute into the game i am moving the camera about and get 'FIFO is overflowed by gatherpipe! CPU thread is too fast!'. I press NO and go back to the game, it happens again a moment later.

What did you expect to happen instead?
I expected to look around without a crash.

What steps will reproduce the problem?
1.Start game
2.Jump onto 1st ledge possible (game is instructing you how to use the controls), shimmy over, jump backwards to 2nd rock and look about
3.I don't think it is totally repeatable error, but i searched for previous instances of it and found Issue 7274, i certainly don't want to turn off dual core! :)

Dolphin 3.5 and 3.5-367 are old versions of Dolphin that have
known issues and bugs, so don't report issues about them and test the
latest Dolphin version first.
Which versions of Dolphin did you test on?
4.0-4041 (dev version)

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
Not tried, i am total Dolphin newb, 4041 is the first version i ever tried.

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Windows 7, i7-4770S, IntelĀ® HD Graphics 4600 With latest drivers 10.18.10.3960

Is there any other relevant information? (e.g. logs, screenshots,
configuration files)
[Upload big files to a hosting service and post links here!]

[Do not attach files to this issue. Upload them to another site and
link here. Use imgur.com for images and pastie.org for logs. Monitor the
email address that was used to create this issue.]

Actions #1

Updated by bgtsetso about 10 years ago

Same thing happened to me with Resident Evil Code Veronica (GameCube) - after playing ~5 min I got that Fifo message but when I pressed No the game hang (black screen).

Actions #2

Updated by JMC4789 about 10 years ago

Can we bisect to when this behavior started. We know quite a few games are doing this, but we have no clue what build started the behavior and cannot fix it through blindly guessing :(

Actions #3

Updated by kostamarino about 10 years ago

It is quite difficult to track but i would say that 4.0 3756 seems stable with no FIFO is overflowed by gatherpipe! errors. It is a rev between that and 4.0 4041.

Actions #4

Updated by kostamarino about 10 years ago

Ok, i think i found it, https://github.com/dolphin-emu/dolphin/pull/1417 should be the offending commit.

Actions #5

Updated by pauldacheez about 10 years ago

Actions #6

Updated by kostamarino about 10 years ago

No, it seems to be have the same issue until the latest.

Actions #7

Updated by kostamarino about 10 years ago

Specifically https://el.dolphin-emu.org/download/dev/af1a08fbf31be8c4871d136a2885b280455146b0/ should be the last rev without issue. I used Battallion Wars 2 and a clean shader cache to test.

Actions #8

Updated by learndigitalaudio about 10 years ago

Good work kostamar if that was indeed the offending commit!

Actions #9

Updated by comexk about 10 years ago

Anyone want to try http://dl.dolphin-emu.org/prs/pr-1519-dolphin-latest-x64.7z and see if it prevents the error?

This does not contain a true fix, but merely disables an optimization that may or may not be responsible.

Actions #10

Updated by kostamarino about 10 years ago

Tried it and got an error in a couple of minutes, it doesn't fix it.

Actions #11

Updated by Alucardj1977 about 10 years ago

with last rev fifo error continue to show up,with the rev 4.0 3756 all was fine and runs great!i stay with tht until someon fix the error :)

Actions #12

Updated by JMC4789 about 10 years ago

I can't reproduce in the latest builds... not confident this is fixed or anything. Will try again.

Actions #13

Updated by rigation about 10 years ago

I think you had only luck, problem still there (4.0-4109 - game Cursed Mountain)

Actions #14

Updated by JMC4789 about 10 years ago

What's your computer? I'm considering a few options, and I'd like to start collecting more information on the processors involved.

Actions #15

Updated by rigation about 10 years ago

Windows 8.1, Intel e8400, Nvidia GTX650ti

Actions #16

Updated by kostamarino about 10 years ago

JMC4789, Battalion wars 2 was quite known in the past to suffer from many "FIFO is overflowed by gatherpipe" errors before marcosvitali fifo rewrite. It is more important which game you try, it is definitely there in the last rev and i am pretty sure it began after https://github.com/dolphin-emu/dolphin/pull/1417 was merged.

Actions #17

Updated by JMC4789 about 10 years ago

Kostamarino: There hasn't been a consistent way to reproduce the bug yet though. Once we have that, we can finally sort down this bug.

Actions #18

Updated by kostamarino about 10 years ago

True and that's why i suggest battalion wars 2 for testing, in the past it was the most troublesome game that marcos had to deal with that error, while still somewhat random at the very least it is common enough to not have difficulty reproducing.

Actions #19

Updated by JMC4789 about 10 years ago

Marcosvit tested himself and was unable to reproduce in the game.

Actions #20

Updated by kostamarino about 10 years ago

Ok, that's weird then, could it be hardware or settings dependent? It was quite easy to reproduce here. And probably for others as well seing the reports.

Actions #21

Updated by JMC4789 about 10 years ago

That's what I'm thinking, but I have no idea what...

Actions #22

Updated by kostamarino about 10 years ago

Jmc, could you do me a favor and build the latest with pr #1417 and its follow up pr #1483 reverted for testing? I am having trouble doing it here with the latest, always getting the error openal32.lib cannot be opened. This problem has being quite annoying lately (i am getting it in a lot of games) and at the very least having the offending commit confirmed is a step forward.

Actions #24

Updated by JMC4789 about 10 years ago

Kostamarino: It seems as though we're investigating multiple issues at once right now. Please try other games (if you have any of the others afflicted) running into this problem.

Actions #25

Updated by Alucardj1977 about 10 years ago

latest builds doesen't resolve the error,it seems appears less often but is still there...

Actions #26

Updated by rigation about 10 years ago

Unfortunately pr-1536 (4.0-4139 dirty) doesn't help in Cursed Mountain.

It seems that the problem (at least for me) occurs only when fps get below normal speed (30 or 60 - so maybe that's why not everyone is experiencing the problem) and I think it is due to the fact that in latest revisions fps are not exactly in sync with vps (now when fps are at 28, vps show 60 - 100% speed), in revisions without the problem I had the "usual" 28 fps - 56 vps 94% speed)

Actions #27

Updated by rigation about 10 years ago

Kostamar, I think you pointed out the wrong revision: for me in Cursed Mountain the fifo overflown by gatherpipe error message began to appear with revision 4.0-4061 https://github.com/dolphin-emu/dolphin/pull/1230 (4.0-4059 seems to work fine here), also 4.0-4061 doesn't seem to have the "de-syncing fps vps" that I reported before, so the "desync" should not a problem at all.

Actions #28

Updated by kostamarino about 10 years ago

You were probably lucky in your testing, see the initial issue report by learndigitalaudio that has the issue with an older rev than what you reported. Also i am not testing a single game.

Actions #29

Updated by rigation about 10 years ago

Maybe there are two different issues, anyway with broken revisions I'm getting fifo overflow after 2 max 3 minutes, with 4.0-4059 I can test 1 hour without the message coming out, other than that the revision that I pointed out really has some fifo changes in it...

Actions #30

Updated by skidau about 10 years ago

rigation, alucard, I have made another attempt at this. Let me know how it goes. It can be downloaded at the same link. The file has been updated.

https://github.com/dolphin-emu/dolphin/pull/1536

It can be tested here:
https://dl.dolphin-emu.org/prs/pr-1536-dolphin-latest-x64.7z

Actions #31

Updated by JMC4789 about 10 years ago

  • Status changed from New to Accepted
Actions #32

Updated by rigation about 10 years ago

Skidau, for me with the new pr-1536 the problem is fixed
Thanks

Actions #33

Updated by cloud.8088 about 10 years ago

Same problem in game The Last Story.
Tested pr-1536,played about 1 hour without errors.
Thanks

Actions #34

Updated by Alucardj1977 about 10 years ago

i've noticed the bug with metroid prime,never get fifo error before in any past game i played but the last builds are all affected with that,at first i think was my cpu the problem(i have a phenomII 960t X4 unlocked to a 1060t x6 core)but it seems was not the case,i stay with 4.0 3576 right now and wait :)

Actions #35

Updated by rigation about 10 years ago

Seems like you missed that there's already the above branch that should fix the problem ;)

Actions #36

Updated by Alucardj1977 about 10 years ago

i'm under 4.0 4161 right now and it seems solved,i cross my finger :D

Actions #37

Updated by rigation about 10 years ago

Unfortunately 4.0-4161 still has the fifo overflow issue

I also found out that Baldur's gate Dark Alliance was effectively broken before 4.0-4061 (sligtly different problem: Fifo overflow + GFX FIFO Unknown opcode), and that it is also fixed by the new pr 1536

Actions #38

Updated by bgtsetso about 10 years ago

I'm having trouble reproducing the issue even on the problematic builds so there is no point in testing the fixed one. Might be due to the fact that I changed hardware after I wrote about the FIFO problem with Resident Evil Code Veronica. I switched from AMD CPU and GPU to Intel + Nvidia. So as mentioned already this could very well be hardware related.

Actions #39

Updated by skidau about 10 years ago

  • Status changed from Accepted to Fixed

Fixed by 4.0-4203 (1d1942dde9605785c3486c70b08aebe74730ca94)

Actions #40

Updated by learndigitalaudio about 10 years ago

https://code.google.com/p/dolphin-emu/source/detail?r=1d1942dde9605785c3486c70b08aebe74730ca94

404 not found.

is the fix available in the main branch yet? (sorry i don't know how it all works yet)

https://dolphin-emu.org/download/

Actions #41

Updated by skidau about 10 years ago

Yes, the fix is in any rev on and later than 4.0-4203. The latest development build has the fix included.

Actions #42

Updated by learndigitalaudio about 10 years ago

Thanks!

Actions #43

Updated by variedaddifeomorfa about 10 years ago

i have this problem in revision 4.0-4473 with Sonic Colours

Actions #44

Updated by skidau about 10 years ago

varie, next time that the problem occurs, write down (or screenshot) the third pop-up that begins with "Illegal command". The message contains some useful information for diagnosis.

Actions #45

Updated by kostamarino about 10 years ago

After the reports i tested battallion wars 2 again, and it seems to have regressed but not as bad as before, i have some indication that it might be after https://el.dolphin-emu.org/download/dev/ff4526b4a9b7dbcbdbaff35a657739e272aea637/ that the problem started again.

Actions #46

Updated by kostamarino about 10 years ago

After further testing i am pretty sure that the hw bounding box implementation for d3d causes it, using opengl seems fine with latest dev among all other indications.

Actions #47

Updated by degasus about 10 years ago

oh, bbox causes fifo errors? Have you tried single core? bbox is a new stalling feature which is hard for the fifo to sychronize.

Actions #48

Updated by kostamarino about 10 years ago

Yeah, weirdly though it is backend specific, it doesn't happen with the hw bbox implementation for open gl. I haven't tried single core since it worked fine with dual core till now in d3d.

Actions

Also available in: Atom PDF