RSDKv5-Decompilation icon indicating copy to clipboard operation
RSDKv5-Decompilation copied to clipboard

Game game launches in small rectangle.

Open 6ell opened this issue 2 years ago • 9 comments

Снимок экрана (161) On RSDKv5-gl3_64.exe

6ell avatar Nov 12 '22 10:11 6ell

What's your GPU and its OpenGL version?

stxticOVFL avatar Nov 15 '22 02:11 stxticOVFL

What's your GPU and its OpenGL version?

Integrated AMD Radeon Vega 8. OpenGL version is 4.6

6ell avatar Nov 15 '22 13:11 6ell

What result does the latest commit produce?

stxticOVFL avatar Nov 15 '22 16:11 stxticOVFL

Now it's just a white rectangle. No game, no music.

Screenshot 2022-11-15 19-59-51

6ell avatar Nov 15 '22 17:11 6ell

That means that game logic didn't link which is due to your setup, but clearly small screen wasn't fixed by this commit unfortunately.. This is the first case of this bug I've seen on Window, which makes it very valuable to debug. @Mefiresu has stated that it's likely an AMD GL driver issue, but please hold off on updating it if at all possible. I'll try other fixes in a bit and will get back to you periodically to see if Android can be fixed as well.

stxticOVFL avatar Nov 15 '22 17:11 stxticOVFL

Could you please also tell us your current AMD driver version?

Mefiresu avatar Nov 15 '22 17:11 Mefiresu

Actually, let's try this too:

Download RenderDoc from https://renderdoc.org/. Go to the Launch Application tab (might need to be opened from Window) and set it to launch the RSDKv5-gl3 executable. Queue 5 captures from the first frame as so: image Save them, upload them and send them here.

stxticOVFL avatar Nov 15 '22 17:11 stxticOVFL

AMD GPU driver version is 30.0.13023.4001.

6ell avatar Nov 16 '22 04:11 6ell

FrameCaps.zip

6ell avatar Nov 16 '22 04:11 6ell

These captures show pre-ba8c62b behavior. Pull/rebuild and capture again. image

stxticOVFL avatar Nov 16 '22 14:11 stxticOVFL

FrameCaps2.zip

6ell avatar Nov 16 '22 15:11 6ell

Is this producing the same output for the white rectangle/small screen? Also, can you take a capture when something would be displayed as well (i.e. the Sega sound or just the white screen if logic isn't linking?) It just hit me that the first few frames won't draw anything to the texture. Additionally, can you try with the shaders set up? I've just noticed from analyzing that it's using the backup shader, which should still work, but I want to know if the proper shaders produce different results.

stxticOVFL avatar Nov 16 '22 16:11 stxticOVFL

Addframes.zip The screen is still small. White rectangle was my fault, by the way. I used v5, and not v5U.

6ell avatar Nov 17 '22 11:11 6ell

RSDKv5U-OGL.zip Tried to rebuild again. Same result.

6ell avatar Nov 17 '22 12:11 6ell

Shaders mod still doesn't appear to be on (missing pixelSize, viewSize, and textureSize uniforms.) Make sure you have a mod with the data structure of Data/Shaders/OGL/None.vs.

For now, what resolution are you running v5 on? Is it fullscreen or windowed?

stxticOVFL avatar Nov 17 '22 15:11 stxticOVFL

Fullscreen 1366x768 resolution. Tried to set shaders up again. Now as you said. triedagain.zip

6ell avatar Nov 17 '22 16:11 6ell

Do you have a custom maxPixWidth set in your Settings.ini? This is stating your pixWidth is 428, when by default it gets restricted to 424.

stxticOVFL avatar Nov 17 '22 16:11 stxticOVFL

wait hold on i think i figured it out

stxticOVFL avatar Nov 17 '22 16:11 stxticOVFL

Does this commit fix it all? (also, you have outdated shaders; the vertex shader isn't bound. If your shaders aren't outdated (Search for SUPPORTS_DERIVATIVES in None.vs,) send your log.txt here)

stxticOVFL avatar Nov 17 '22 16:11 stxticOVFL

Yes. It's all fine now. Thank you. I don't know about shaders, though.

6ell avatar Nov 17 '22 18:11 6ell