VOGONS


Reply 180 of 315, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie

I don't have 005 build.
And 006 logging and nologging both same binary. The folder of nologging and logging dated as 20240224 not a 20240225. I think there is somewhere possibility I tested older build after new ones, that why there might be confusion. Idk need to dig more and carefully here... What did you can spot?

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 181 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

I've fixed the logging issue, was using the wrong logging function.

https://1drv.ms/u/s!As-dKk-N73dSl3EMo-Zu9Ad0nTvO
MD5: 0df28fb899aa7a00d003545962162038
No logging but default triangle implementation (this should work, apart from a few minor library load logging)

https://1drv.ms/u/s!As-dKk-N73dSl3IMo-Zu9Ad0nTvO
MD5: 5c82b2fbb9098470a89d474d19af2839
with linebytes and logging.

[EDIT]
This one from below is all you need to run:
This should disable paletted texture selection and log just command buffer traces, texture load and selects (disabled for paletted) and setsrcstride.

https://1drv.ms/u/s!As-dKk-N73dSl3MMo-Zu9Ad0nTvO
MD5: 8a3a6266b2fa2e0064ac966bc1466394

Last edited by sharangad on 2024-02-25, 12:21. Edited 1 time in total.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 182 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

We've managed to isolate the dump to a single buffer, but which command is the question.

Get me the linebyte dumps and I'll start selectively disabling some of them after encoutering VL_Triangle or selecting a paletted texture.

There's nothing in terms of assembler crashing this, which is not what I thought. No unbalanced stack pops. One of those commands in the locked up buffer (buffer id 8 in 003) is causing a stall. The previous buffer, id 7 in 003, comes back cleanly, unless one of the previous buffers has messes something up. Things which can cause a stall include VL_LockBuffer, VL_WaitForDisplaySwap (waits for refresh rate based VL_SwapBuffers) and possibly DMA transfers. It's entirely possible the command buffer's corrupted somewhere along the line and it's stuck in a loop or something.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 183 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

There is this in the problematic buffer:
07:50:50.920 VL_IssueCmdBufferAync_ buffer id 7
07:50:50.920 V_QueryCmdBuffer_ id 8 returned 504
07:50:50.920 VL_InstallTextureMap_
07:50:50.920 Paletted texture map
07:50:50.920 Paletted textures dims 256x256, stride 64

This should disable paletted texture selection and log just command buffer traces, texture load and selects (disabled for paletted) and setsrcstride.

https://1drv.ms/u/s!As-dKk-N73dSl3MMo-Zu9Ad0nTvO
MD5: 8a3a6266b2fa2e0064ac966bc1466394

Right at the start.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 184 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

Tomorrow, I'm going to implement RReady's point buffer solution for v2k.

Hopefully it won't all blow apart.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 185 of 315, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie
sharangad wrote on 2024-02-25, 11:34:
I've fixed the logging issue, was using the wrong logging function. […]
Show full quote

I've fixed the logging issue, was using the wrong logging function.

https://1drv.ms/u/s!As-dKk-N73dSl3EMo-Zu9Ad0nTvO
MD5: 0df28fb899aa7a00d003545962162038
No logging but default triangle implementation (this should work, apart from a few minor library load logging)

https://1drv.ms/u/s!As-dKk-N73dSl3IMo-Zu9Ad0nTvO
MD5: 5c82b2fbb9098470a89d474d19af2839
with linebytes and logging.

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 186 of 315, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie
sharangad wrote on 2024-02-25, 12:08:
There is this in the problematic buffer: 07:50:50.920 VL_IssueCmdBufferAync_ buffer id 7 07:50:50.920 V_QueryCmdBuffer_ id 8 ret […]
Show full quote

There is this in the problematic buffer:
07:50:50.920 VL_IssueCmdBufferAync_ buffer id 7
07:50:50.920 V_QueryCmdBuffer_ id 8 returned 504
07:50:50.920 VL_InstallTextureMap_
07:50:50.920 Paletted texture map
07:50:50.920 Paletted textures dims 256x256, stride 64

This should disable paletted texture selection and log just command buffer traces, texture load and selects (disabled for paletted) and setsrcstride.

https://1drv.ms/u/s!As-dKk-N73dSl3MMo-Zu9Ad0nTvO
MD5: 8a3a6266b2fa2e0064ac966bc1466394

Right at the start.

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 187 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

Do any parts of the menu work with this?

https://1drv.ms/u/s!As-dKk-N73dSl3QMo-Zu9Ad0nTvO
MD5: 023bc12fde29579489c68b16c2be28ef

If it doesn't crash. There should be minimal logging with this.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 188 of 315, by RaVeN-05

User metadata
Rank Oldbie
Rank
Oldbie

works faster, menu corrupted. Rest the same, going to black screen.
idk maybe game crashes itself here? but should be not as logging still continues.
maybe exe crashes and cant go out of what videocard last drawn?

https://www.youtube.com/user/whitemagicraven
https://go.twitch.tv/whitemagicraventv

Reply 189 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

I can fix the corruption.

The logs are what I need to see.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 190 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

Need to check the earlier logs and correlate.

This should hopefully fix the menu corruption. Logging is slightly increased here.

https://1drv.ms/u/s!As-dKk-N73dSl3UMo-Zu9Ad0nTvO
MD5: 2f3b524b12ce9e16f637fb1170ea6b2d

With this release, RReady's texture selection is fully implemented .

See if everything looks OK and try the demo.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 192 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

https://1drv.ms/u/s!As-dKk-N73dSl3YMo-Zu9Ad0nTvO
MD5: 42e134951dc0d6be7ba322eb0627426f

The menu's should definitely work with this. I forgot VL_SetUMultiplier and VL_SetVMultiplier work with 16.16 fixed point, so the multiplier's have to be dividied by 65536 (shft right by 16 bits).

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 194 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

The stride is doubled or the height is halved.

Need to call VL_SetSrcStride.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda

Reply 196 of 315, by sharangad

User metadata
Rank l33t
Rank
l33t

One final build to check out tomorrow:

https://1drv.ms/u/s!As-dKk-N73dSl3cMo-Zu9Ad0nTvO
MD5: 6df1670d3060bc34ba95ed04ea80cbb9

This is the old texture select with full logging. I botched the setsrcstride capture with this earlier.

Developer of RReady - Rendition Verité Wrapper.
https://www.youtube.com/@sharangadayananda