melonDS icon indicating copy to clipboard operation
melonDS copied to clipboard

(Compute Shader) Garbled mess of pixels

Open user18081972 opened this issue 1 year ago • 13 comments

I can't find an issue for this problem specifically. So I am making this. i'm not sure what to call it either. it happens in all games with enough 3D stuff going on and the rendering high enough, sometimes as low a 3x (Phantasy Star 0).

Is this a driver issue? Am i doing something wrong? Is my build broken?

image

user18081972 avatar Aug 31 '23 11:08 user18081972

It's probably a tile buffer overflow

RSDuck avatar Aug 31 '23 11:08 RSDuck

Sorry i'm still not sure, Did I do something wrong while building the branch? or is this a driver issue? Or is this known behavior that happens for everyone?

user18081972 avatar Sep 02 '23 18:09 user18081972

no it is a bug

RSDuck avatar Sep 02 '23 18:09 RSDuck

you should make sure melonDS is running on your dedicated gpu if applicable, this happened to me when i built the compute shader branch and that fixed it (to a point, like dont try to render something at like 10x if you have no VRAM)

sukerokushin avatar Sep 03 '23 19:09 sukerokushin

My CPU is a KF model, so there is no iGPU, its running on a rtx3080 and it happened at 3x in Phantasy Star 0.

user18081972 avatar Sep 04 '23 06:09 user18081972

like dont try to render something at like 10x if you have no VRAM)

I got 10GB of VRAM

user18081972 avatar Sep 22 '23 18:09 user18081972

https://github.com/melonDS-emu/melonDS/assets/124319511/98c23e00-a9d8-44e8-a2c6-04b9b9ded4da

It also happens in Avalon Code at 1x compute shader resolution. Or at any resolution really, also 2x and 3x. etc

user18081972 avatar Nov 30 '23 14:11 user18081972

https://github.com/melonDS-emu/melonDS/assets/124319511/49ea5403-5099-495b-8d7e-47e9db878c16

It's also broken at 1x and 2x on Chibi Robo Park Patrol. Curiously enough, it fixes itself at 3x and 4x. then broken again at 5x+

Not sure which built of the compute shader renderer im using, i cant compile it on my PC. I am using the one that was uploaded to the discord a while ago.

user18081972 avatar Jan 11 '24 22:01 user18081972

Anyone know if this is fixed on a more recent build?

user18081972 avatar Mar 10 '24 19:03 user18081972

nop , probably will be fixed on the full release seeing as how there hasnt been a public update to the branch in half a year

sandwichwater avatar Mar 10 '24 22:03 sandwichwater