Renpy Games Crashing Graphics/Computer

jimmysjimmy

New Member
Feb 6, 2018
1
2
I'd say for about a month now? Maybe more or less, whenever I am trying Renpy games, they'll randomly crash my computer. Sometimes it is like a graphics crash where my computer locks up for a couple of seconds and then comes back but closes everything using my graphics card, or sometimes it crashes my entire computer. I've made sure my graphics drivers are fully updated, and my computer can more than handle anything thrown at it. I play other big games without issue.

System Info
GPU: RTX 3080
CPU: Ryzen 5900x
32GB RAM

I'm not tech savvy, but I suspect the error is related to OpenGL or GL2? Not sure what the difference is between those. I've tried forcing Renpy games to launch using ANGLE2 renderer, but that didn't help either. Here is a recent traceback that came up when a game crashed.

Full traceback:
File "renpy/bootstrap.py", line 326, in bootstrap
renpy.main.main()
File "renpy/main.py", line 617, in main
run(restart)
File "renpy/main.py", line 148, in run
renpy.execution.run_context(True)
File "renpy/execution.py", line 922, in run_context
context.run()
File "before_real_game/patch4/p4_ayano.rpyc", line 11, in script
File "before_real_game/patch4/p4_ayano.rpyc", line 11, in script
File "renpy/ast.py", line 1683, in execute
choice = renpy.exports.menu(choices, self.set, args, kwargs, item_arguments)
File "renpy/exports.py", line 1062, in menu
rv = renpy.store.menu(new_items)
File "renpy/exports.py", line 1298, in display_menu
rv = renpy.ui.interact(mouse='menu', type=type, roll_forward=roll_forward)
File "renpy/ui.py", line 298, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "renpy/display/core.py", line 3276, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, pause=pause, pause_start=pause_start, **kwargs)
File "renpy/display/core.py", line 3768, in interact_core
if renpy.display.draw.update(force=self.display_reset):
File "gl2draw.pyx", line 554, in renpy.gl2.gl2draw.GL2Draw.update
File "gl2draw.pyx", line 512, in renpy.gl2.gl2draw.GL2Draw.on_resize
File "gl2texture.pyx", line 75, in renpy.gl2.gl2texture.TextureLoader.init
File "renpy/gl2/gl2shadercache.py", line 278, in get
rv.load()
File "gl2shader.pyx", line 227, in renpy.gl2.gl2shader.Program.load
File "gl2shader.pyx", line 211, in renpy.gl2.gl2shader.Program.load_shader
ShaderError: I�"

Windows-10-10.0.19041
Ren'Py 7.4.8.1894

It's been such a bummer to be honest. I really hope someone can help.