RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
14.55k stars 1.85k forks source link

Demon's Souls with v7077 #4857

Closed Dani1977 closed 5 years ago

Dani1977 commented 5 years ago

hi, with v7077 thre is no more ragdoll problem; but I have flashing and flickering screen problem. I have Nvidia gtx 1080. this is my config (hope do not something wrong) immagine immagine

thanks, regards. RPCS3.zip

spyropt commented 5 years ago

I can confirm the same issue i haven't had the time to bisect the build were the flickering started

Dani1977 commented 5 years ago

flickering in every stage, training, nexus, boletaria etc...

psennermann commented 5 years ago

with the same settings I can't even start the game, it always crashes at loading or logo screen...

theoldsport commented 5 years ago

I believe the flickering began around the time SPU LLVM was first merged, if that helps finding the exact PR/commit. I don't have much time to look myself at the moment.

tommis15 commented 5 years ago

Yes, I'm also having the same issue with the flickering.

isshininu commented 5 years ago

Huh, I noticed black flickering when travel from Nexus to first Boletaria archstone. After that screen goes white flash somehow.

trevorbennett commented 5 years ago

I'm experiencing the same issue as @psennermann . I can't even hit the title screen, the emulator seems to freeze anywhere from the launch of the game, to the from software logo.

psennermann commented 5 years ago

It's almost a relief, finally someone else that's experiencing the same issue...I think PR responsible should be #4750 but I'm not 100% sure because according to the thread only ASMJIT should be "broken", while I'm experiencing crashes in LLVM as well...

isshininu commented 5 years ago

I think it's latest @kd-11 PR

kd-11 commented 5 years ago

Which bug? I played about a half hour before merging, it does have sporadic flickering but I checked older builds with a patch to disable the hang and the flicker was still there. It regressed (flickering) some time back, not recently. Its just that it was not playable so no one noticed. As for the freezing, I cannot reproduce on Ryzen.

psennermann commented 5 years ago

No, it's not the latest kd-11, for me last working build (except ragdoll proble) was 6978, then with 6980 came out the crashes unrelated to radgoll problem, while I admit that latest builds 7xxx crash more often, so maybe the already existing issue was a little amplified by another PR...

Sildurs-shaders commented 5 years ago

Can't reproduce crashes on 7077, flickering mostly happens during inital load of the game / area. Xeon x3440, gtx 960 398.36, vulkan, I don't get that much flickering with llvm recompiler.

psennermann commented 5 years ago

I don't think flickering are due to 7077: while bisecting builds for the other issue, I noticed some flickering in 69xx builds as well

miho171 commented 5 years ago

Hi, have a i5 7600k TSX gtx 1080, with last build i can play several hours no problem, but once in a while game freeze at start logos like @psennermann experienced.

Finoderi commented 5 years ago

@psennermann I'm not sure it will help, but try to uncheck 'Run this program as an Administrator' in the rpcs3.exe's properties. For me Demon's Souls crushes more often when this option is enabled.

trevorbennett commented 5 years ago

For what little it's worth, I pulled the binary for 6998 and it ran fine. I don't currently have the time to regression test but the breaking change seems to have come in the last two weeks. Also unlike @miho171 it's a consistent failure for me on 7077.

Joltee commented 5 years ago

I have 8700k with gtx 1080oc running Windows 10 and I also have flickering issues. Flickering is happening everywhere, sometimes it crashes the game as the screen goes complete white.

Dani1977 commented 5 years ago

thanks for reply; the flickering still present with 7117, I have try every setting in spu section but i haven't see any difference. regards.

FluffyToaster621 commented 5 years ago

If you're talking about the screen flickering white, then it's still happening in 7166

Dani1977 commented 5 years ago

screen flickering white/black still happening in 7221

RPCS3.log.gz

kd-11 commented 5 years ago

retest with https://github.com/RPCS3/rpcs3/pull/5013

Dani1977 commented 5 years ago

hi, sure I can test but I don't know how to download the build. thanks

HenningJW commented 5 years ago

@Dani1977 https://ci.appveyor.com/project/rpcs3/rpcs3/build/0.0.5-8bfe38b3/artifacts you can click on the green check mark on the newest code (the one furthest below) in the #5013 PR (pull request). Then click on details on AppVeyor for Windows builds and TravisCI for Linux.

Dani1977 commented 5 years ago

@HenningJW , thanks . @kd-11 , I try only windows version

Dani1977 commented 5 years ago

Hi, I tried the build 7298, Nexus, Boletaria 1-1 and 1-2 it seems that there are no more black/white flickering.

i try to do more levels . RPCS3.log.gz

Regards,

kd-11 commented 5 years ago

I finally isolated the black flickering, but it needs a lot of work to fix properly. You can try this branch if you have this problem and report if it is improved or fixed.

Dani1977 commented 5 years ago

Hi @kd-11, thanks for reply, sure i can try, where i can find the build ? This branch fix also the problem with cpu with 4/4 core, otherwise i can't start the game, it stuck then crash after i press start button.

Regards

kd-11 commented 5 years ago

Latest build that removes almost all the flickering for me is https://ci.appveyor.com/project/kd-11/rpcs3/builds/21175314, but the branch is still experimental and subject to constant changes.

Dani1977 commented 5 years ago

Hi @kd-11 I try the build but i can't test it:

the game, like other versions of RPCS3, game crash (emulator too) after or FromSoftware, or Havok or Intro cut-scene or in pg creation screen.

i'm sorry, i can do to much.

this log after Havok cut-scene crash

RPCS3.zip

jbaribeault commented 5 years ago

@kd-11 That build fixes the flickers; BUT it seems to have re-introduced the Z-Cull issue (bright sun coming through walls, like in the Nexus)....

kd-11 commented 5 years ago

Thanks. I have noticed the zcull thing as well, not sure why the nvidia driver is being wierd again. Flicker also seems to creep in if you die too many times in one area over and over and becomes almost persistent until you leave or restart. Definately a lot of work left to do.

greentop commented 5 years ago

The des_fbo_fixes branch also corrected the flicking in some of the Tales Of games.

educobuci commented 5 years ago

Hi all, I found a workaround for this issue on Nvidia cards: just force v-sync for RPCS3 on Nvidia panel, It totally fixed the problem for me (blinking white). I'm on latest drivers, Windows 10 and RPCS3 7645.

AniLeo commented 5 years ago

vSync has been broken on NVIDIA drivers for a long time, we have always recommended forcing through the Control Panel Apparently they fixed some things related to vSync recently but it still doesn't work

miho171 commented 5 years ago

@educobuci you've just resolved the painful 4 core condition one year long! seriously, tested vsync on my i5 7600k with version 7652 passed logos section (basically a miracle), loading save and a straight hour of gameplay. never happened in versions with spu llvm and async compiling implemented.

kd-11 commented 5 years ago

Hanging on quad cores was fixed in a recent PR by GalCiv (RipleyTom). The remaining flicker issues are fixed in my fbo_fixes branch, but it may be a while before it is merged into master as well.

miho171 commented 5 years ago

@kd-11 yeah, sorry. saw the game work and thought was the vsync just enabled for testing. too much excitement gave me to the head. by the way, great work, thank you.

ovitus commented 5 years ago

Still getting lots of white flicker with fbo_fixes branch. It's really distracting. I'm on Fedora 29.

kd-11 commented 5 years ago

Use an older version of the branch. Had to restore some stuff to hide a few regressions which are a blocker for merging.

kd-11 commented 5 years ago

The fix has been updated to be a little more friendly with WCB so it should work a little better. Expect rare blinking on that branch though, much less distracting but will take a lot longer to actually fix properly. Should be perfect in des_fbo_fixes once that branch is rebased properly, but the work in that branch is very experimental and not mergable.

ovitus commented 5 years ago

Was on the wrong branch.. flicker is nearly gone, it did come back in force once in the Nexus, also the lens flare glitch someone mentioned. Separate issue, but any chance of fixing the audio stutter? It's really terrible on Linux using PulseAudio and not much better on Windows. I have it set to ALSA now, which just mutes it entirely.

ovitus commented 5 years ago

This is very playable. Please resolve the Z-cull issue.. it's the second most annoying bug ever!

ovitus commented 5 years ago

Ok, adding this to config.yml this does the trick for now: Disable ZCull Occlusion Queries: true

Keep up the good work.

kd-11 commented 5 years ago

Fbo fixes is merged into master now so it should work correctly without any workarounds on the master branch. The des_fbo_fixes branch is missing a lot of work that went into fbo_fixes PR instead which is why zcull was broken on it.

kd-11 commented 5 years ago

As for audio, you need https://github.com/RPCS3/rpcs3/pull/5456. If flickering is gone with master, update this issue so we can close it.

Parthorisian commented 5 years ago

@ovitus

.. flicker is nearly gone, it did come back in force once in the Nexus

Yep, flickering is almost gone except some small in World4-2 begin

ovitus commented 5 years ago

Yeah flickering happens randomly it seems, then fixes itself when I reload the game or warp somewhere else.

#5456 does fix the audio.. on WIndows with XAudio2. No solution for Linux I guess. I know these are experimental branches, but I wish there was a binary available, it's a slog compiling on Windows.

HerrHulaHoop commented 5 years ago

Binaries for Windows are available for all PRs.

To download windows builds from a Pull request on Github:

  1. Go to the specific Pull request's page
  2. Click on the Commits tab
  3. Click on the :heavy_check_mark: at the bottom (always click on the bottom-most green check mark)
  4. Click on the details link next to the AppVeyor build
  5. In the AppVeyor site linked, click on the Artifacts tab and download the file with the Deployment Name rpcs3. It is the largest file in the artifact list.
ovitus commented 5 years ago

Oh, wow hey now I see that: https://ci.appveyor.com/project/kd-11/rpcs3/builds/21272375/artifacts

Thanks dude!

ovitus commented 5 years ago

Well things are looking and sounding good, but I'm getting frequent crashes on the latest build of the des_fbo_fixes branch. Going to test it a bit more on Linux now.