-
-
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
Meta: GSdx HW memory wrapping #1648
Comments
Any ideas of symptoms that will appear to show it happening? |
Well depends on how much it overlaps. It could be massive flickering or miss the end of the framebuffer. Check with 1.4 SW renderer :) If it is broken and good now, it is a good hint. |
Not sure I have any games that do that :/ I may be of little use here.. lol it's not a common issue I don't think. Edit: We really should have a "Requires Research" label or something, what do you think? |
Yes I think it is quite limited. SW compatibility is rather big (even on 1.4). Note, if game use such crazy features there are potentially extra texture cache issue too. |
There were quite a few games doing it with VIF writing to the VU's, Guitar Hero 3 (i think) being an example, where it wrapped around VU memory during the unpacks. There were other games doing it too but I can't remember what. |
Wouldn't any game with this issue also have the issue in SW like SH3 had? EDIT Where is Beyond Good & Evil affected? |
Yes sw used to have the issue. And potentially still have some. I fixed beyond good&evil with my last commit. On my dump (lamguage selector) hw is fine but I'm not sure that full game will be fine. On the wiki it said that game got issue (very old report), it could be related. |
Could this be related? #1107 Game is meant to have a blurred menu background when in inventory, but it shows vertical lines instead. Same in SW and HW. |
I don't think that SW and HW will behave the same. However did you test latest git with openGL. It could be the feedback write. |
Yeah, HW is fine. Software flickered everywhere in the game before you fixed it. It's fine now. The game looks pretty good in HW (needed to unscale point line hack to see press start screen when upscaling, shadows are missing(after switching to software and back a static shadow did appear) and there looks to be a texture cache issue in the sky). I do remember seeing broken graphics like the wiki report described when I tried the demo version a good while ago. So I'll need to check up on that. EDIT: I do see a larger issue in the demo. Are there any CRC hacks for BG&E? |
I don't think there is any crc hack for BGE. GS dithering is implemented on the SW side not HW. |
I'll look up the demo issue in the full game to see what the issue exactly is. But I didn't notice any issue that seemed memory wrapping related, In SW memory wrapping flickering affected the whole game. But in HW it's fine except for unrelated issues. |
For Thrillville the cutscene getting cut off may be a separate issue. The memory wrapping on the SW renderer fixes the pause menu cutting off part of the screen but the cutscenes are still the same as on the HW renderer. |
Bump? Anything new on this topic? |
Yes, we're busy wrapping things up. |
Pun intended? |
I don't remember, my memory is acting up. |
I never corrected myself... Both issues are fixed by memory wrapping in Thrillville. Also isn't memory wrapping implemented in the hardware renderers now? Should this issue be closed? |
Say, refraction, is this still an issue? At least for Thrillville, this seems like something that's fixed. The HW mode cutscenes in Thrillville were pretty jank (basically unwatchable) in the 1.5.X days, but as best I can tell, they work flawlessly now (I think the GameDB defaults to bob interlacing to fix the "earthquake" flickering?) Couldn't say, though, for the first two games. |
I think Silent Hill 3 is still an issue, though I'm not 100% sure, we might have fixed it. Edit: Just checked, SH3 is still an issue, I guess there's still some end of memory wrapping, I know it draws to the end of memory then reads from the beginning of memory (as an offset) and our current code doesn't check this overly well. |
Fair enough. At the very least, I can present (hopefully compelling) evidence that Thrillville's cutscenes are no longer an issue. |
Beyond Good and Evil may also still be a problem. I guess I could look into this at some point... |
It's worth noting that #1562, also by Gregory, designates Silent Hill 3 as having this issue fixed. Beyond Good & Evil isn't listed there, so maybe I could poll around on Discord to see if anyone has a copy which they could test (that, or the next time I'm across town, I could pick up a copy at the used games store if the price is right). |
There was 2 parts to the memory wrapping, the hardware issue is related but different |
GS memory is 4MB. Address above 4MB are wrapped back to the start. Some games relies on this behavior. Severals fixes was done to wrap block or page address for the SW renderer. But HW renderer is still broken. I'm not sure it is even doable with an HW renderer but let's keep a trace of impacted game for future reference.
Here a list of game that use this feature.
The text was updated successfully, but these errors were encountered: