Rivmun/SuperFancyCloudsRefabricated

[1.18.2] Crash with Rubidium

Opened this issue · 12 comments

hs_err_pid30548.log

Client just closes when using bow sight aim from tetra multiple times (just a random crash).

There's no crash-report, and latest.log is also empty. But lwgl generate file above. Without mod everything works fine

image

Minimal reproducible modlist

Rivmun commented

I test with this minimal bundle in all mods in default config then zoom with bow sight multiple times but found nothing happen.

I think it can't be crash if just zoom in and out. The culling function is runs well. What special action or config are you with?

The error log file you uploaded I met once when I close / reopen game in multiple times for testing mods.
I'm not a expert for opengl, so I think simply solution maybe: restart your PC.

I've just made a video for you

https://www.youtube.com/watch?v=t9L93s0td48

Looks like you need to aim and shoot some mobs to get game crashed. Also I was testing on another PC riht after new restart and first minecraft launch. As you can see, I can make game crash just in few seconds.

I've just reproduced crash without tetra, only with vanilla minecraft zoom (but with Rubidium)

https://www.youtube.com/watch?v=6JcFrCxUL4c

Rivmun commented

I've still got nothing from same action (shoot some cow or etc.)
Notice that in latest.log you posted has some lines are:

[11:26:39] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Target buffer must be bound.'

I've checked my log but not found.
Compare to your log and mine. Here is a forge version differ: I've using 40.2.0. So I installed a 40.2.9 version to testing and get same OpenGL INFO. (But my game still run)
In this step, try downgrade forge version to 40.2.0?

I was able to reproduce with forge 40.2.0 too. Same pattern

You can build same zoom-machine as in latest video and try to spawn some mobs (cows, for example)

I've still got nothing from same action (shoot some cow or etc.) Notice that in latest.log you posted has some lines are:

[11:26:39] [Render thread/INFO]: OpenGL debug message: id=1282, source=API, type=ERROR, severity=HIGH, message='GL_INVALID_OPERATION error generated. Target buffer must be bound.'

I've checked my log but not found. Compare to your log and mine. Here is a forge version differ: I've using 40.2.0. So I installed a 40.2.9 version to testing and get same OpenGL INFO. (But my game still run) In this step, try downgrade forge version to 40.2.0?

Rivmun commented

I still got nothing. See on https://drive.google.com/file/d/12EoTCG8TQ2Dgyf8l-A03by83K3AFw4-n/view?usp=sharing
If you got the same on forge 40.2.0, I've no idea why this issue happened. Only hardware driver or something else except game can result it, I guess.

Sure it can be driver or OpenGL issue, but I've got this error first from my modpack user and then confirm this on my own. Sadly, can't leave this mod with this behavior in my modpack.

Both systems (mine and user) have Nvidia RTX3060 (both notebook and desktop) and RTX3070 (desktop) graphic cards with latest drivers installed

Rivmun commented

Hi, though I don't know if it's useful, but try to disable view culling by set the view culling angle multiplier to rightmost.

Few moments before, I test another mod on fabric-1.18.2 (without uninstalled SFCR). When I down head to facing the ground it sudden crash and a hs_err.log thrown to my face. After several test I found that its maybe causing by the cloud culling. It's culled whole clouds layer that let mesh built no faces. When the mesh number down to zero (in F3 screen) game will crash. Lately I turn culling off then it no crashes anymore.
I'm not sure because when I down head to facing ground on forge-1.18.2 to let SFCR culling whole clouds and predict it will crash the game, -- it's nothing happen. As strange as this issue :(
As a possible reason, I think it worth a try.