Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burnout 3/Revenge/Black - Missing sky texture #563

Open
karasuhebi opened this issue May 27, 2015 · 24 comments
Open

Burnout 3/Revenge/Black - Missing sky texture #563

karasuhebi opened this issue May 27, 2015 · 24 comments

Comments

@karasuhebi
Copy link
Contributor

@karasuhebi karasuhebi commented May 27, 2015

-PCSX2 version: 1.3.1-382

-PCSX2 options: Defaults.

-Plugins used: GSdx32-AVX2, SPU2-X, LilyPad, cdvdGigaherz, the rest of the plugins were null.

-Plugin settings: Tested GSdx D3D9, D3D11 and OGL, both hardware and software renderers. Used both native and upscaled resolutions. Also tried with AF off and AF 16x.

-Description: The game's sky box appears black. Switching to software mode won't fix the problem. The issue is fixed if you boot into the game with a software renderer.

-How to replicate: Boot the game and play it. The issue shows up in any race.

-Last known version to work: Unknown, probably never worked.

-PC specifications: CPU: Intel Core i5-4670K @ 4.10GHz GPU: Sapphire HD 7950 w/Boost 3GB OS: Windows 8.1 Pro

-Other comments: If you boot into the game after already having played another game (in my case, DRIV3R), the missing sky box will be filled with garbage data, possibly from the previous game.

Screenshots:
http://imgur.com/a/0JhH9

Bonus screenshot of the blur effect in the game being broken (turned into ghosting):
http://i.imgur.com/sNTUBoY.png <- Look on the right side of the car.

@ssakash
Copy link
Member

@ssakash ssakash commented May 28, 2015

GS dump is needed to debug the graphical glitches,

@bositman
Copy link
Member

@bositman bositman commented May 28, 2015

The game has CRC hacks so you should also disable CRCs in GSdx to actually see all that is broken (and it's a lot :P)

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented May 28, 2015

Ah yes, GS dump is probably a good idea. Thank you @ssakash. @bositman brings a good point though. @gregory38, would you like a GS dump with all CRC hacks disabled?

@gregory38
Copy link
Contributor

@gregory38 gregory38 commented May 29, 2015

Just do the dump in sw mode.

@gregory38
Copy link
Contributor

@gregory38 gregory38 commented May 29, 2015

Did you try with

UserHacks = 1
UserHacks_DisableCrcHacks = 1
UserHacks_AutoSkipDrawDepth = 0

Lots of effect are disabled. And depth textures aren't read back. I can't reproduce the issue but I think it would be better to fix all effects with known issue first.

The sky issue could be related to 16 bits / 32 bits conversion. A 32 bits 640x480 target is equivalent to a 16 bits 640x960 target but guess what, gsdx still uses 640x480, and half of the screen is potentially garbage...

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented May 29, 2015

I did not try disabling CRC hacks, no. I will do so now.

@gregory38
Copy link
Contributor

@gregory38 gregory38 commented May 29, 2015

And try also to disable the texture cache (if you know how to recompile gsdx).
Config.h, => use this line

#define DISABLE_HW_TEXTURE_CACHE // Slow but fixes a lot of bugs
@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented May 29, 2015

OMG, without CRC hacks:
http://i.imgur.com/FQZLj2O.png

@gregory38
Copy link
Contributor

@gregory38 gregory38 commented May 29, 2015

yes I said various effect aren't emulated correctly ;)

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented May 29, 2015

So why did you want me to try without CRC hacks? Did you need me to provide you with a GS dump of that?

Anyway, I'll disable texture cache in a minute and get back to you.

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented May 29, 2015

Yeah the sky is still missing with hardware texture cache disabled.

@ssakash
Copy link
Member

@ssakash ssakash commented May 30, 2015

what about the ZeroGS plugin ? was the sky still present ?

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented Jun 4, 2015

ZeroGS: http://i.imgur.com/jqTGLX4.png

FWIW, ZeroGS doesn't even let me see the menus. It shows me the Loading progress bar when the game first boots and then you see NOTHING until you get into a race. Then you get what you see above.

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented Sep 6, 2015

Would someone mind booting some random game and then booting into Burnout 3 using full boot instead of fast to see if the garbage textures are still there or if they get flushed??

Thanks!

@escape209
Copy link
Contributor

@escape209 escape209 commented Sep 6, 2015

I full booted into Burnout 1, played a race and then full booted into Burnout 3. Then the game was suddenly on acid:
http://i.imgur.com/6xNQ08u.jpg

It seems like the textures ARE THERE, but the coloring is wrong. However, notice how the far right of the sky is just grey. This is on OpenGL, by the way. I'll see if D3D is any different.

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented Sep 6, 2015

Doubt D3D11 will be any different. That's the same issue I was having. I just wanted to see if doing a full boot did anything to flush the garbage textures that stick around from the previous game.

Thanks!

@karasuhebi
Copy link
Contributor Author

@karasuhebi karasuhebi commented Nov 23, 2015

@gregory38 Should I test this game now with the latest build?

@ssakash
Copy link
Member

@ssakash ssakash commented Nov 23, 2015

I think it'd be nice to check whether bug is present with Preload data frame option.

@joder666
Copy link

@joder666 joder666 commented Dec 8, 2015

@ssakash Yes, sadly it is still present.

@FlatOutPS2
Copy link
Contributor

@FlatOutPS2 FlatOutPS2 commented Feb 7, 2016

The issue is fixed if you boot into the game with a software renderer.

You don't need to boot the game with software renderer, just loading a track in software mode is enough.

If you've loaded a track with a hardware renderer and get black skies, then switch to software mode and exit back to the menu in software mode, then switch back to the hardware renderer and use that to load a track, the sky textures will also be there, but the sky will be white(the blue sky color won't get loaded).

@marios237
Copy link

@marios237 marios237 commented Dec 5, 2017

image
what is that can anyone help me ???

@MrCK1
Copy link
Member

@MrCK1 MrCK1 commented Dec 5, 2017

@marios237 This isn't a place for general support. If you have a question, please make a thread at forums.pcsx2.net instead.

@tadanokojin
Copy link
Member

@tadanokojin tadanokojin commented Jun 26, 2020

Issue is as follows (for Revenge):

Game is rendering sky texture (note rendering, no EE write) to buffer at 0x2c00. However, actual sky data is offset +32 pixels in the x direction. This happens once as the game is in the loading screen.

Later, game will sample 0x2c10 for sky data with no offset. Since the cache is not designed to deal with this situation, it results in a miss. This issue is similar to the notorious Jak Eye issue. Texture inside rt will alleviate this but it will also result in some bugs dealing with reflections on the cars.

I'll work with @iMineLink for a solution.

@tadanokojin tadanokojin changed the title Burnout 3: Takedown NTSC - SLUS-21050 - Missing sky texture Burnout 3/Revenge/Black - Missing sky texture Jun 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
10 participants
You can’t perform that action at this time.