-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Graphics issue: Jak 3 (USA) - SCUS97330 - Corrupted textures and excessive player shadow #168
Comments
DX11 mode making things worse is due to the newer Nvidia drivers not working correctly with PCSX2, downgrading your driver to the 327 series or lower will fix those issues. as for the missing eyes, i believe this is a known issue, i believe putting GSDX in software mode fixes it. |
This is this unfamous mipmapping bug. |
The cause of the shadow volumes being displayed is unknown for this engine, previous attempts to debug it have not been productive. The GS does not support actual stencil buffers so game engines have to simulate their functionality in various ways. |
Could you test the shadows issue on the openGL renderer? |
Latest version 1.3.1 20150813215402 from git, using OpenGL, all default settings except 4x scaling, i7-4702HQ @ 2.2GHz / nVidia 765M / 8GB RAM. Seems that the latest version has fixed some, but not all of the texture issues (water in previous screenshot fixed), but the shadow issue remains. Shadows are not fixed in Jak 1 either. Re texture issues - eyes sometimes work perfectly, sometimes they work but look in the wrong direction (up not down), and sometimes they are either noise or black. No obvious pattern as to when the eyes do/don't work. Other mipmapping issues are still visible. Jak 1 textures all look fine apart from the eyes (as they do in 1.2.1). |
Increase the level of accuracy blending (likely high). It will normally fix the shadow issue. |
Just tried all the different blending levels - none of them have any effect on the shadow issue, in Jak 1 or Jak 3. |
Strange. Can someone make me a gs dump of the shadow issue (disable all speedhack in PCSX2) |
i just posted a dump in the gsdx 1.0 thread on the forums |
You know I follow the 2 threads ;) It would have been better to post it here. Anyway I will try to give it a quick look in coming days. |
http://cjb248.com/pcsx2dump/jak-shadow-glitch.zip and http://cjb248.com/pcsx2dump/jak3-shadow-glitch.zip - for Jak 1 and Jak 3. |
Do you confirm that shadow is broken on SW renderer too? |
Hum, I think I understand the issue for the shadow. I'm not sure that we can emulate it. The bad draw call have both input texture and render target at the same address (0x3300). So they manage to implement a kind of alpha blending of the alpha channel which is normally impossible on the GS. |
The best will be to allow to read the RT from the shader but it isn't easy. Just another idea that could work.
We need an unclamped texture because as always alpha range from 0 to 2. However it means clamping won't be accurate. But it could be enough. Otherwise we can still do a 2 pass like the older colclip algo. |
Yes, it's broken in the software renderer as well. Hmm, didn't know this was such a complex issue. |
On gpu textures are read-only or write-only. Recent GPU (gl4) support RW texture but out-of-order with atomic. Hum I need to check if mult is supported as atomic. Or maybe replace with +/- 1, it must be close of it. |
Yeah no multiplication in atomic. Anyway it won't work neither the blending method above due to rounding.The game uses 127/128 factor to do a -1 and 130/128 to do a +1. Maybe we can replace the draw call with a pseudo colclip. |
@charliebruce |
No, I don't think so - all speedhacks should have been switched off for On 15 August 2015 at 19:04, Gregory Hainaut notifications@github.com
|
I pushed a hack for the shadow. Note, it is likely quite slow => |
I can test in an hour or so unless somebody else beats me to it :p |
SW renderer has wrong skin color on Jak3. If you have the issue could you test the PR #1843 |
@gregory38 Jak 3 still has skin issues in Direct3D11 Hardware mode when using upscaling. Direct3D9 and OpenGL are fine, and Direct3D11 is fine on native resolution. The skin issue is basically the same as it was in Software mode, except that the markings are black. Any idea what could be causing it? |
Hum, hum. It could be this one.
Draw call N:
Following draw calls:
It means that texture sampling must be 100% correct otherwise you won't have the good color. A slight rounding and you will get the neighbor texel which contains a wrong color. |
I would advice to just dump all the texture/frame buffers. |
i don't know if some developer already knows this, but i found that if you put the rendering in software mode, and then return to hardware mode the textures on the sand remain correctly loaded, it works every time, i don't know if its worth mentioning |
Yes because the bug are related to texture cache. Toggling force a reload of all textures from GS memory. If you're lucky it might help to fix bug. Or it will create new ones |
I tested Jax 3 US with current nightly build (crash tag team crc) and a AMD RX 480 on game's native resolution. Shadows issue still existing for me on opengl hw render and dx11 hw render. When I use dx11 sw render it looks fine, but the sw render is to slow to play. When I enable Also dx11 hw render gives me 60fps ~ while opengl hw render gives 20-30 fps ~ (in every game I tested). |
I've tested Jak 3 on build 1.5.0-3391, which should be indicitive of performance on the final 1.6.0 release (running on a Ryzen 2400G and a GTX 1060 6GB, at least) Shadows are 90% fixed in both DX11 and OGL, Eyes are 100% fixed, however DX11 performance is abysmal, while OGL performance is fantastic. The GPU is definitely the bottleneck, I'm able to run at 4x internal resolution scale smoothly on OpenGL with my 1060, but I can barely keep up 60fps at native on DX11. |
@yiays You can eliminate those shadow issues - use OpenGL (Hardware), set Blending Accuracy to Basic (or higher) and disable the Auto Flush hack. |
Yep, you're spot on. The auto flush hack causes the unusual shadows in OpenGL, and causes the terrible performance in DX11. |
Maybe we can do if auto flush on, disable the blending code for jak shadows. Need to ask Greg. |
Auto flush will do a full GS draw by primitive. I.e. we will do a texture cache lookup and downscaling (hence the no pixel perfect rendering of the shadow). Blending will render primitive by primitive at the GL level. So we skip the expensive texture cache. And we could work at the upscaled resolution hence the better shadow. |
@yiays I have an AMD GPU (RX 580), so I couldn't use OpenGL, so I fixed the shadow problem using Skipdraw Range at 1. |
any update in this? |
Update: Within the last couple months, a regression has been fixed in Jak X, and another issue which I don't believe was a regression has seemingly become more limited in scope. Both of these relate to texture corruption. Using latest dev version with D3D11 and OpenGL renderers; tested at both native resolution and 3x (1080p).
|
With the 1.7.0 and1.7.2 daily updates (1.7.2260) the green corrupted textures have resurfaced and an intermittent short freezing seems to happen on all hardware renderers, NTSC and PAL copies Update: editing this as I go through the game again |
I have marked this as fixed by #5580 as the textures and shadows are perfect as of that. However the SW mode regression is still a thing, we're aware of it and I have passed it on to the people who are concerned. |
Thanks for the reply
Very coincidental timing.... I just booted up jak 3 for the first time
since posting this pretty much the minute before I got this email. Nearly
everything seems to be fixed by using vulkan and ee 130% in 1.7.24 nightly.
you guys are all doing a great job.
I still have some minor bugs if you want a detailed submission
Stephen
…On Sat 5 Mar 2022, 14:40 refractionpcsx2, ***@***.***> wrote:
I have marked this as fixed by #5580
<#5580> as the textures and shadows
are perfect as of that. However the SW mode regression is still a thing,
we're aware of it and I have passed it on to the people who are concerned.
—
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB26GN75T4V26IYPKODOVLU6NW7NANCNFSM4ASE3XJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
yes please, saying "Minor bugs" doesn't really helps us fix anything. and GS dumps would be helpful too |
Alright, ill get back in a few hours with details I just didnt want to load
one email with multiple different topics
…On Sat 5 Mar 2022, 15:43 refractionpcsx2, ***@***.***> wrote:
yes, saying "Minor bugs" doesn't really helps us fix anything.
—
Reply to this email directly, view it on GitHub
<#168 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGB26GIW3KEVA24S5YTTL7LU6N6JTANCNFSM4ASE3XJA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID:
***@***.***>
|
Added dead zone options for L and R gamepad thumbsticks
-PCSX2 version:
1.2.1.r5873 - compiled on Feb 3 2014
-PCSX2 options:
Defaults, no settings modifications affect the issue.
-Plugins used:
-Plugin settings:
Tested GSdx DX9/11 hardware;
DX11 seems to make things worse by having more of an impact.
SkipDraw 1 used to remove player shadow altogether.
-Description:
Basically, most textures are corrupted. One great example is the right eye of most characters (also an issue in previous installments of the game).
-How to replicate:
Boot the game and enjoy the black-textured landscape and corrupted eyes and miscellaneous objects.
-Last known version to work:
Unknown, probably never worked.
-PC specifications: CPU:
-Other comments:
The graphical corruption, including the missing eye(s), is also present in previous installments, including, but not limited to Jak and Daxter (SCUS97558 & SCUS97124).
The text was updated successfully, but these errors were encountered: