-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
rsx: Fixes #3638
rsx: Fixes #3638
Conversation
4c5a915 to
f1a4453
Compare
|
Ubuntu 16.04 / Nvidia 387.12 / LLVM 4 / (PR #3638) RPCS3 GPU Additional Settings: Game: ToCS2 BLUS31597 Log line: 18769 ·F 0:01:10.914775 {rsx::thread} St13runtime_error thrown: Assertion Failed! Vulkan API call failed with unrecoverable error: Out of video memory (VRAM) (VK_ERROR_OUT_OF_DEVICE_MEMORY) |
|
@greentop What are the texture statistics shown if you enable the debug overlay? Log cant really show leaks. Enable the debugging tab by editing CurrentSettings.ini in GuConfigs and enable Debug Overlay. Or just set it to true in the config file manually |
|
VirtualMemory.cpp crash seems fixed in NHL 16 and Far cry 2 |
|
Nier Replicant [BLJM602223] |
|
The screenshot was taken at the point after the game freezes with the out of video memory error. |
|
That might be the cause. 157 large textures will easily consume alot of extra VRAM. On vulkan, objects are not released immediately due to frame synchronization, but on openGL they can be released back to the driver. I'll see about balancing the memory tracker for lower end GPUs with smaller memory pools |
|
It should be improved now. There was unnecessary thrashing of texture memory due to an overzealous prepare memory blocks. Should also fix the broken bink videos for OpenGL |
|
As of (d865dec) |
|
I'm also playing ToCS2 too but in chinese version (shouldn't matter right?). The fps did drop a lot when I reached an area with weather visual effects just like @greentop mentioned. I'm using GTX970 with vulkan. |
|
Check VRAM usage with this PR to see if its worse. |
|
I'm not sure if I check it the correct way. On master: On this PR: P.S. From what I see, it seems the same. EDIT: |
|
It seems the game is using some large textures if 22 textures can fill 64MB. As long as performance is stable then it should not be too much of an issue. @greentop Any improvement on your end? |
|
Will this improve the fps on weather effect intensive area(snowing, fog...)? I have yet to try that. |
|
(As of 01b19d3) For comparison, below is another map area that doesn't have a weather effect present. Edit: |
|
@alex88510 Idk. I don't run these games myself which is why I rely on testers to assist |
|
Maybe I'll go test out the weather effect intensive area and see how much vram it used for that(although it doesn't crash on me before), after the new build is complete. UPDATE: UPDATE2: I noticed the flying snow effect was gone, not sure if it is because of my game progress. |
|
(As of 5b7717d) |
|
I guess the only issue left for ToCS2 is the random texture corruption, which can be annoying sometimes (when you are playing the mini card game - BLADE and can't see the card properly...). |
|
The "S {rsx::thread} RSX: New program compiled successfully" lines are observed working much faster now. (Far less noticeable game pauses upon camera rotation.) |
- Refactor invalidate memory functions into one function - Add cached object rebuilding functionality to avoid throwing away useful memory on an invalidate - Added debug monitoring of texture unit VRAM usage
- Fix buffer invalidate behaviour (wcb) - Disable auto rebuild with only framebuffer storage getting rebuilt - Fix vulkan subresource sampling
- Fix subresource sampling - Invalidate memory range before uploading textures to prevent hangs
- Should these be ignored? Needs investigation
- Optimizes search functionality and avoids thrashing valid sections
…out of VRAM on 1GB cards
- Still requires texture stitching to work correctly, but matching dimensions works well for now
|
This PR Fixed Soul Calibur II HD online black screen, now works good |
|
lbp karting working same for me |
|
can you add borderless window? Fullscreen mode wont show trophies |
|
Dengeki_Bunko_FightingClimaxIgnition[BLJM61322] now freezes on the sega logo. |













Fixes the remaining regressions with the new texture cache. Also adds a few improvements elsewhere