skmp / reicast-gamebugs

issue tracker for game bugs
0 stars 0 forks source link

Quake 3 crashes after intro video (texture decode) #86

Open skmp opened 5 years ago

skmp commented 5 years ago

From @skmp on May 8, 2015 18:2

Something goes awry on the texture decoder.

Verify Failed : w==h || !tcw.MipMapped in Create -> ../../core/rend/gles/gltex.cpp : 217

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/60867591-quake-3-crashes-after-intro-video-texture-decode?utm_campaign=plugin&utm_content=tracker%2F91046168&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F91046168&utm_medium=issues&utm_source=github).
skmp commented 5 years ago

It looks like it sends some invalid texture configurations, which are most likely ignored on the real hardware.

It sends a non-square mipmap texture, and a a texture w/ VQ enabled. In both cases we verify, which can lead to a crash or an error message. We need some better way to collect this kind of 'validation' data, as it is really useful when debugging random crashes or stubbing out functionality.