PCSX2 / pcsx2

PCSX2 - The Playstation 2 Emulator
https://pcsx2.net
GNU General Public License v3.0
11.91k stars 1.63k forks source link

Meta: GS HW half bottom screen issue #1339

Open gregory38 opened 8 years ago

gregory38 commented 8 years ago

Let's list all games impacted. This way it would be easier to check any potential implementation.

Games confirmed still have the HW half-bottom screen issue:

Games unconfirmed if recent fix solved the issue:

Games confirmed to be have been resolved:

Extra

Related #2022

gregory38 commented 8 years ago

@refractionpcsx2 @ssakash @FlatOutPS2 @prafullpcsx2 I let's you complete the list :+1:

FlatOutPS2 commented 8 years ago

The Getaway doesn't have a half-screen bug as far as I know. It did have a fog wall, but it's been fixed. Black Monday does have a depth issue with sunrays, not sure if it's a half-bottom screen issue.

Games with HW half-bottom screen issue: Need For Speed Hot Pursuit 2 Killzone Total Immersion Racing(fog in wet races) TimeSplitters (Future Perfect, maybe the first two games too) WRC II Extreme (fog in distance) Crash Twinsanity

gregory38 commented 8 years ago

I need to check my get away dump (or maybe I mix it with another game)

prafullpcsx2 commented 8 years ago

Oops. Sorry I directly added few games to the first list. i hope gregory wasn't editing the post at the same time.

refractionpcsx2 commented 8 years ago

I added one :P Cant remember many off hand

pepiczech77 commented 8 years ago

NFS Underground could be probably added too.

refractionpcsx2 commented 8 years ago

Does that have the half screen issue? I've never seen it on that game, probably because it was CRC'd out though :P

I've sorted the list as well, the order was killing me :P

FlatOutPS2 commented 8 years ago

I believe most, if not all, PS2 NFS games have the issue. NFS Underground 2 and Most Wanted definitely.

refractionpcsx2 commented 8 years ago

Alrighty, added all those to the list.

pepiczech77 commented 8 years ago

I think so. Bottom half of the screen is blurred or something and it misses fog. Probably even NFS Carbon has it, but it is not the only issue there, because the game looks too green in HW mode. I will check those games on real PS2 soon.

refractionpcsx2 commented 8 years ago

Yeh carbon had a new engine I believe, so it might be different, need to test it, I have it but haven't touched it in a while

pepiczech77 commented 8 years ago

I tested it, bottom half of the screen is rendered differently than the upper half.

refractionpcsx2 commented 8 years ago

OK I'll add that one as well then

refractionpcsx2 commented 8 years ago

I've also had a scan through the forums to try and find some other games with these issues and added them to the list.

MarcoEstevez commented 8 years ago

Test drive unlimited has that problem also but only under hw custom resolution hw scaled native is not affected

FlatOutPS2 commented 8 years ago

More bottom half screen issues: Judge Dredd: Dredd VS Death Star Wars: The Force Unleashed

gregory38 commented 8 years ago

Sigh... The list might be shorter if we list the game that don't have the issue.

FlatOutPS2 commented 8 years ago

And what about right(vertical) half screen issues?

gregory38 commented 8 years ago

Open a new issue :p do you have lots of them ?

FlatOutPS2 commented 8 years ago

No, just two I know of, and a possible third and fourth.

gregory38 commented 8 years ago

Ok. Open a new issue with the list of game. Could still be useful one day.

pepiczech77 commented 8 years ago

Seems like TOCA Race Driver 3 could be added too.

refractionpcsx2 commented 8 years ago

Added, and Judge Dredd, had already done Force Unleashed

Sigh... The list might be shorter if we list the game that don't have the issue.

Told you it was a big problem ;p

FlatOutPS2 commented 8 years ago

FIFA 2003 doesn't have the issue, FIFA 2006 does. So it probably only affects FIFA from 2004-2006 and later.

refractionpcsx2 commented 8 years ago

Updated that one, thanks :)

FlatOutPS2 commented 8 years ago

I meant the issue started in 2004-2006, later games are affect too. So it should be FIFA 2006-FIFA 14(and possibly starting from FIFA 2004 or FIFA 2005, but I can't confirm those).

refractionpcsx2 commented 8 years ago

Sorry, fixed :P

okay went through a bunch of my DVD's here's other games i found with the issue plus some other misc bugs which are outside the scope of this PR

Half Screen issues: Brothers in Arms - Road to Hill 30 - All videos, 2D and 3D DragonBall Z - Buidokai Tenkaichi 3 - Transitions suffer from half screen issue, rest of game ok.

Other GS Bugs: Battle Engine Aquila - Flickering Videos with preload frame Burnout 3 Takedown & Burnout Dominator - Thick bars of light and black sky DT Racer - Shadows in wrong place in hw and sw

FlatOutPS2 commented 8 years ago

The Burnout issues are known, though the thick bars onscreen might have regressed in OpenGL. I think they were fixed for OpenGL in an earlier version. You didn't even mention the sun shining through objects. :p

refractionpcsx2 commented 8 years ago

I didn't play it that much :P I was literally just loading them until they were ingame to see if the issue was there, I went through about 100 games, I wasn't thoroughly testing them xD

gregory38 commented 8 years ago

Burnout depends on the preload option. But the game is globally broken anyway. Generally speaking the texture cache doesn't support texture/framebuffer offset.

On the SW renderer, it is easy you just allocate all the memory and you handle manually the dynamic width. On the HW it is awful. First there is upscaling and then you can't reconfigure the width on the fly. So the trick is to detect that address X is included in buffer Y and not the start of a new buffer Z. Intially I wanted to use the size of the draw, if the game draw into a 640x480 rectangle, you can guess the size of the buffer. I was naive, you have some 64x2500 draw sometimes....

refractionpcsx2 commented 8 years ago

Sounds horrible :(

gregory38 commented 8 years ago

The GS memory is awful. Everything is allowed. The only limitation is that Color/Depth buffer must be aligned on a page boundary and the remaining (texture/clut) must be aligned on a block boundary. Otherwise the rule is "there is no rule" ;)

refractionpcsx2 commented 8 years ago

Well I suppose that makes sense, considering the limitations of the GS, the developers needed free reign to come up with clever tricks :P

FlatOutPS2 commented 8 years ago

The FIFA games affected are from 2006 onwards. 2004 doesn't have it and highely likely 2005 doesn't either, as the next engine upgrade was 2006 and that engine was used on all subsequent PS2 FIFA games(and thus all have the same issue).

refractionpcsx2 commented 8 years ago

Ok thanks, updated again.

FlatOutPS2 commented 8 years ago

Just stumbled on another game with this issue: Ford Racing 2

This game actually has several graphical issues in hardware mode. One I hadn't seen before was the car shadows in hardware mode aren't black, but instead reflect the sky. :D

refractionpcsx2 commented 8 years ago

One I hadn't seen before was the car shadows in hardware mode aren't black, but instead reflect the sky. :D

How weird! :P

Added to the list :)

prafullpcsx2 commented 8 years ago

x-men origins - wolverine added to the list.

MrCK1 commented 8 years ago

Add Band Hero to the list - I'm making the compatibility report right now ;)

refractionpcsx2 commented 8 years ago

added :)

MrCK1 commented 8 years ago

Here's my report for Band Hero

Seems like a can of worms :P

0neshotJonny commented 8 years ago

Call of duty World at War : Final Front

Same issue

refractionpcsx2 commented 8 years ago

Added, thanks :)

FlatOutPS2 commented 8 years ago

Added Matrix: Path Of Neo, post on the forum showed the game having this issue.

refractionpcsx2 commented 8 years ago

added Rogue Trooper to the list http://forums.pcsx2.net/Thread-Probelm-in-Game-ROGUE-TROOPER?pid=523600#pid523600

FlatOutPS2 commented 8 years ago

Added 007: Everything Or Nothing.

AmbientMalice commented 8 years ago

Out of curiosity, what is the root cause of half screen issues in PS2 emulation? They seem very common.

gregory38 commented 8 years ago

There are 2 bugs but globally main issue is that GPU texture/framebuffer has a constant origin. Pixel 0,0 is always a top left corner (or bottom left corner depends on the API).

This assertion isn't true on the GS. The pixel 0,0 could be located anywhere, and here it is located in the middle of the framebuffer. The extra difficulty is framebuffer doesn't have any size, only a max size of 2048x2048. So you can't detect easily a half-screen issue.

AmbientMalice commented 8 years ago

@gregory38 Thanks.

MrCK1 commented 8 years ago

I almost forgot about this - you can add Jonny Moseley Mad Trix

http://forums.pcsx2.net/Thread-Jonny-Moseley-Mad-Trix-SLUS-20229-U--28361

edit (sept 5th) ignore this - options screen text is OK now; the game is no longer affected