RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.69k stars 1.93k forks source link

[NPEB00435] Beyond Good and Evil HD: visual glitches #10960

Open Linear524 opened 3 years ago

Linear524 commented 3 years ago

Beyond Good and Evil [NPEB00435] have some long standing issues with mipmapping on grass textures and invalid geometry occlusion (Zcull or Z-buffer bug ?). Many things was fixed by latest revisions and by WCB+RCB, but mipmapping and "see-through geometry" bugs still here with any configuration and settings applied...

Here is my screenshots: screenshot-2021_10_04_19_11_32 screenshot-2021_10_04_19_11_38 screenshot-2021_10_04_19_12_36 screenshot-2021_10_04_19_12_23 screenshot-2021_10_04_19_12_05

My rig: SYS: Intel(R) Xeon(R) CPU E5-2690 v4 @ 3.20GHz | 14 Threads | 31.83 GiB RAM | SYS: Operating system: Windows, Major: 10, Minor: 0, Build: 18362 GPU: 'NVIDIA GeForce GTX 1080' running on driver 471.41.0.0 SYS: Firmware version: 9.1.0

My settings: WCB+RCB+WDB+RDB = ON LLVM Recompilers. Zcull Accuracy = Precise. No external patches applied. Everything else is set to Default.

Additional info: This title is well know of its old and tricky engine and it is a pain in the ass on any emulated platform (GC, PS2, PS3, XBOX360) due to unusual mipmapping implementation and hardware vertex processing... It even have some W-buffer settings on PC port ! :P The only way I saw to emulate this game correctly with all features = use software renderer in PCSX2, but it's slow and native resolution of PS2 is too damn low. RPCS3 only needs some mipmapping fixes for this title and Zcull tweak in order to being perfectly emulated. Maybe it suffer from some kind of texture cache issue as well... (O_O)

Well, this game engine is weird, but the game itself is very good and too important to not being forgot through decades... Even PC port is broken and buggy under Windows 10.

DonelBueno commented 3 years ago

@Linear524 The only non-default settings I'm using are "Write Color Buffers", "Framelimit" on "Auto" and "Vsync" on. I know WCB fixes graphical corruption on models, but what are RCB+WDB+RDB supposed to fix?

I don't get the broken mipmapping or invalid texture mapping issues here, they are either intermitent or caused by RCB+WDB+RDB. The geometry occlusion issue also happens here, though.

Does resolution scaling work for you? My game doesn't get upscaled, the GPU usage increases, but there is no resolution enhancement.

RPCS3_2021_10_28_08_49_24_735

RPCS3_2021_10_28_08_49_20_835

RPCS3_2021_10_27_12_06_31_791

Linear524 commented 3 years ago

@DonelBueno WCB+RCB+WDB+RDB fixes deep and color issues in many games, so I uses this combination for testing. But on my rig even WCB only doesn't help... Maybe it is another Nvidia driver bug ? What GPU do you use with this title ?

P.S. - I never use resolution scaling... Only native mode.

DonelBueno commented 3 years ago

@Linear524 I'm using a GTX 1070 with drivers 471.96 and Windows 10 Pro 2H21.

Linear524 commented 3 years ago

@DonelBueno Can you show your RPCS3 config ? I'm using 1080 via 471.41 drivers and have no idea why this mipmapping crap is happening on my side... P.S. - how exactly did you install BGE into RPCS3 ? Maybe game file s is been corrupted while unpacking pkg...

DonelBueno commented 3 years ago

@Linear524 config_NPEB00435.txt

Rename to .yml and see if that works for you.

Linear524 commented 3 years ago

@DonelBueno Tried your config, still the same result. Far grass is with broken mipmapping and texture corruption on some surfaces... Funny thing - latest update broke skies texture :P ( PR #11080)

DonelBueno commented 3 years ago

Well, I don't know what is happening in your setup =/

The latest update didn't break anything here.

Linear524 commented 3 years ago

GOT IT ! I've found what is wrong with yours and mine configurations - if I disable WCB = I getting exact same image as you do... But without WCB a lot of other important effects got screwed. For example - some faces are not shaded correctly and character eyes become black colored at far distance (another mipmap fail)... So I believe there is some mipmapping error when WCB is enabled. Maybe some mip stage got inverted for those buggy textures or wrong dimension calculated... Anyway, only KD-11 can help us here )))

Linear524 commented 3 years ago

Little addition - I've double checked geometry issue (legs see-through stone) and it is not an emulator bug - it is ubisoft shanghai lammers bug = real PS3 has this issue due to porting studio dumb mistake in materials for PS3... P.S. - Also those idiots from porting team forgot to implement original DoF effects, frontal blur layer and dynamic color mixing on particles... PS3bug

So now the only issue left here for sure is WCB mipmapping stage fail...

LifeIsStrange commented 2 years ago

Update: Turning Vsync ON does not fix the mipmapping issues but it does resolve a lot of screen tearing which is surprising since my hardware was not limiting FPS but wow the difference is huge.

Hi, just to say that I used the latest rpcs3 version and there is still the mipmapping issue... By default no mipmaping issue but there are missing textures which cause glitches. Enabling WCB fixes the black missing textures but introduce mimpaping textures bugs on textures that are otherwise perfectly rendered without WCB. It seems WCB introduce a side effect :/

If this was fixed the game would become perfectly playable, and this game is one of the best game ever ! Note that for some mimapped texture bug it disappear when the player become close to the texture.

JimScript commented 2 years ago

It seems like the LOD textures get mixed up with each load: NPUB30394_screenshot_2022_07_18_10_29_34 NPUB30394_screenshot_2022_07_18_10_30_36 That lock symbol is apart of the UI textures, so maybe the other glitched textures are other textures somewhere they shouldn't be.

JimScript commented 2 years ago

This is without WCB: NPUB30394_screenshot_2022_07_19_23_55_42 NPUB30394_screenshot_2022_07_19_23_57_16 It seems that WCB doesn't cause the issue so much as remix it.

Linear524 commented 2 years ago

Mipmapping bug is fixed by pull #12905 and with LOD bias set to -3 with WCB+RCB I think real mip bug is still not resolved, but using this settings fixes overal scene rendering... So I closing this issue :)

JimScript commented 2 years ago

I found -5 to fix a few particles not fixed by -3, and all else I have in WCB and CPU Blit(for upscaling), along 2 SPU threads in each category to make the game use less CPU with no apparent downsides.

kd-11 commented 2 years ago

This is not fixed. I think https://github.com/RPCS3/rpcs3/pull/12905 caused some confusion - it is not meant to be used as a fix. It is a hack. That's why I moved it to debug. it also doesn't set lod bias it adds some offset to LOD bias which is configured by the game. So if this is somehow hiding bugs, then we have deeper issues elsewhere.

Triticum0 commented 2 years ago

I've had the same issue with Bulletstorm with getting hit with lighting causing similar issues with mipmaps #12899

Linear524 commented 2 years ago

@Triticum0 Nope - your issue is not related to this current mipmapping bug. From what I see from your images - it is just broken MLAA shader function or maybe some depth texture resolving bug/ Z-bug ...

Linear524 commented 2 years ago

Damn - another bug in this title discovered = framebuffer readback (or wrong memory address) is broken somewhere: when you capture images on Jade's camera - menu shows wrong/buggy images... This bug is possibly triggered by WCB function, but I', not sure...

Fewnity commented 11 months ago

Texture problem is still a thing at this day, even with Write color buffers enabled

AniLeo commented 11 months ago

Unless there's a new regression on recent builds within the v0.0.29 timeframe causing a new bug with similar symptoms, the original issue has long been fixed as I've already verified multiple times, ask for support on the Discord and Forums first to make sure you don't have a local issue going on

craigsonoffergus commented 10 months ago

I can verify the black texture bug, often showing in Jayde's eyes and Peyj's face. I have a brand new install of RPCS3 on my Steam Deck, installed from Emudeck. The only change I've made to the settings is to enable Write Color Buffers, as per instructions. That did not help. Is there any other info I can provide? My game looks exactly like the screenshots in the close #6160 thread.

Fewnity commented 10 months ago

Probably a regression I guess? Nobody was able to help me with this bug... And I noticed some audio problem on the game, I will probably open a new issue

AniLeo commented 4 months ago

I'm tired of reverifying the same non-issue, black photography bug claims without a log file and RSX capture won't be accepted and they were not even part of this ticket in the first place.

AniLeo commented 4 months ago

Alright, still no logs or RSX capture after asking twice, cleaning up.

If you're not going to do the bare minimum in a bug report, you shouldn't be writing on GitHub tickets in the first place.

Subsequent bug reports for this bug will only be accepted with the aforementioned attachments. We're not here to guess root causes on issues we can't reproduce from leechers that are ready to complain at any time but never to provide the necessary debug information.

TryingToLove commented 4 months ago

Alright, still no logs or RSX capture after asking twice, cleaning up.

If you're not going to do the bare minimum in a bug report, you shouldn't be writing on GitHub tickets in the first place.

Subsequent bug reports for this bug will only be accepted with the aforementioned attachments. We're not here to guess root causes on issues we can't reproduce from leechers that are ready to complain at any time but never to provide the necessary debug information.

If you haven’t fixed the issue in 5 years, when others in that thread/report already provided plenty of attached screenshots and info for you demonstrating the blank/black photo entries issue, I doubt there’s anything I can provide that you’ll really take seriously.

Best of luck…

AniLeo commented 4 months ago

Holy shit, are you retarded? Because you either can't read or your browser is rendering a completely different version of 6160 than the one we have on our repository.

Plenty of attached screenshots and info

The ONLY log and ONLY screenshot in #6160 of the black camera photo issue shows WCB disabled, so that's already a bad report.

The other user that mentioned the issue also said in reply they don't have the issue after enabling WCB, so the report was also wrong in the first place.

Every other post is discussing other unrelated bugs, besides the two last ones that also provide no log or RSX capture.

Besides the fact that the only screenshot was provided without WCB, screenshots are completely useless to debug this issue, I can draw a black rectangle in my screenshot and that would provide exactly zero additional insight to the problem.

The mental gymnastics you do to refuse to upload debug information are fucking insane.

TryingToLove commented 4 months ago

Holy shit, are you retarded? Because you either can't read or your browser is rendering a completely different version of 6160 than the one we have on our repository.

Plenty of attached screenshots and info

The ONLY log and ONLY screenshot in #6160 of the black camera photo issue shows WCB disabled, so that's already a bad report.

The other user that mentioned the issue also said in reply they don't have the issue after enabling WCB, so the report was also wrong in the first place.

Every other post is discussing other unrelated bugs, besides the two last ones that also provide no log or RSX capture.

Besides the fact that the only screenshot was provided without WCB, screenshots are completely useless to debug this issue, I can draw a black rectangle in my screenshot and that would provide exactly zero additional insight to the problem.

The mental gymnastics you do to refuse to upload debug information are fucking insane.

First of all, there’s no need for cursing and rudeness. It’s unprofessional, especially for a Mod. I’ve been very polite to you.

Second of all, I’ve looked at the process of uploading RPCS3 debug info and it seems quite complicated. I would have assumed you’d been well aware of this issue anyway, on a fairly popular game. Very surprised if that’s not the case. In the 6160 report, the very last comment politely stated that they’d done the suggested WCB fix and were still getting the camera black boxes, asking for more help. Your response? To not reply to them and close the report instead.

If I was a dev, I’d not dismiss a graphical error as a “non issue”. If just one person was having problems, I’d want to investigate. That’s how you get your program better. But that’s just me. I’m sorry you find my questions so distasteful to you.

AniLeo commented 4 months ago

I think you're under the wrong impression I'm supposed to be polite to people that come in here to complain, ignore bug report guidelines, refuse to upload debug information and then proceed to accuse us of ignoring non-issues that we do not reproduce and that never had a proper bug report.

If you think that reading and following the step-by-step instructions made on how to make a bug report are too complicated, you shouldn't be on GitHub in the first place. This platform is for developers and users that want to contribute to improving the software they use. Not for voicing empty handed complaints.

TryingToLove commented 4 months ago

I think you're under the wrong impression I'm supposed to be polite to people that come in here to complain, ignore bug report guidelines, refuse to upload debug information and then proceed to accuse us of ignoring non-issues that we do not reproduce and that never had a proper bug report.

If you think that reading and following the step-by-step instructions made on how to make a bug report are too complicated, you shouldn't be on GitHub in the first place. This platform is for developers and users that want to contribute to improving the software they use. Not for voicing empty handed complaints.

It says a lot that you view average folks who bring emulator issues to light as those who “complain”. We’re all just here to get in your way, apparently. That’s fine. Good eye opener for sure. We can’t all be techies or developers. Many of us are just everyday emulator users with issues, seeking a tweak here or there to better things. But now that I know you have no real intention of helping people like me, I’ll stay away from any RPCS3 discussion here. It’s gratifying that you don’t speak for all of Github because I’ve absolutely gotten helpful info here before.

AniLeo commented 4 months ago

Ah, fuck off you piece of shit. After hours you still refuse to upload a log or RSX capture, proceed to play the victim, strawman other imaginary people into the discussion and even have the gall to add "no real intention of helping people like me".

TryingToLove commented 4 months ago

Ah, fuck off you piece of shit. After hours you still refuse to upload a log or RSX capture, proceed to play the victim, strawman other imaginary people into the discussion and even have the gall to add "no real intention of helping people like me".

Ok now you’re just being toxic and abusive. Shame on you. You shouldn’t even be allowed to be on GitHub, tbh, treating people like that…whether what I say annoys you or not. Try to have some class. As I’ve told you, the process of the debug report is a bit complicated for a noob/non-dev like myself. Chill out.

And just a reminder, all this started just cause I wrote a very short response to another user here saying I was having the same issue. You easily could have ignored that but I guess it’s just in your DNA to be a jerk.

AniLeo commented 4 months ago

Banned. Enough is enough, I've never seen someone so fucking obnoxious in years.