directx error
Posted: Mon Feb 19, 2018 9:32 am
I am trying to run renpy.exe on win 7. I got the following error:
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 198, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 441, in script
$ __gl_test()
File "renpy/common/00gltest.rpy", line 441, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 359, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 384, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
error: directx not available
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\project\renpy-6.99.14.1-sdk\renpy\bootstrap.py", line 306, in bootstrap
renpy.main.main()
File "D:\project\renpy-6.99.14.1-sdk\renpy\main.py", line 523, in main
run(restart)
File "D:\project\renpy-6.99.14.1-sdk\renpy\main.py", line 149, in run
renpy.execution.run_context(True)
File "D:\project\renpy-6.99.14.1-sdk\renpy\execution.py", line 835, in run_context
context.run()
File "renpy/common/00start.rpy", line 198, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 441, in script
$ __gl_test()
File "D:\project\renpy-6.99.14.1-sdk\renpy\ast.py", line 848, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\project\renpy-6.99.14.1-sdk\renpy\python.py", line 1812, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00gltest.rpy", line 441, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 359, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 384, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
File "D:\project\renpy-6.99.14.1-sdk\renpy\ui.py", line 287, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 2592, in interact
self.start()
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 1760, in start
self.set_mode()
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 1990, in set_mode
if draw.set_mode(virtual_size, physical_size, fullscreen):
File "gldraw.pyx", line 197, in renpy.gl.gldraw.GLDraw.set_mode
File "src/pygame_sdl2/display.pyx", line 96, in pygame_sdl2.display.init
error: directx not available
Windows-7-6.1.7601-SP1
Ren'Py 6.99.14.1.3218
Ren'Py Launcher 6.99.14.1.3218
Mon Feb 19 14:26:51 2018
Directx is installed and works well. It might come from the pygame_sdl2 library. It does the same with all 6.99.x versions. Versions 6.18.3 and earlier work well. I tried on another computer and it works well.
Any idea?
Thanks
I'm sorry, but an uncaught exception occurred.
While running game code:
File "renpy/common/00start.rpy", line 198, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 441, in script
$ __gl_test()
File "renpy/common/00gltest.rpy", line 441, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 359, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 384, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
error: directx not available
-- Full Traceback ------------------------------------------------------------
Full traceback:
File "D:\project\renpy-6.99.14.1-sdk\renpy\bootstrap.py", line 306, in bootstrap
renpy.main.main()
File "D:\project\renpy-6.99.14.1-sdk\renpy\main.py", line 523, in main
run(restart)
File "D:\project\renpy-6.99.14.1-sdk\renpy\main.py", line 149, in run
renpy.execution.run_context(True)
File "D:\project\renpy-6.99.14.1-sdk\renpy\execution.py", line 835, in run_context
context.run()
File "renpy/common/00start.rpy", line 198, in script call
call _gl_test
File "renpy/common/00gltest.rpy", line 441, in script
$ __gl_test()
File "D:\project\renpy-6.99.14.1-sdk\renpy\ast.py", line 848, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "D:\project\renpy-6.99.14.1-sdk\renpy\python.py", line 1812, in py_exec_bytecode
exec bytecode in globals, locals
File "renpy/common/00gltest.rpy", line 441, in <module>
$ __gl_test()
File "renpy/common/00gltest.rpy", line 359, in _m1_00gltest__gl_test
_gl_performance_test()
File "renpy/common/00gltest.rpy", line 384, in _gl_performance_test
ui.interact(suppress_underlay=True, suppress_overlay=True)
File "D:\project\renpy-6.99.14.1-sdk\renpy\ui.py", line 287, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 2592, in interact
self.start()
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 1760, in start
self.set_mode()
File "D:\project\renpy-6.99.14.1-sdk\renpy\display\core.py", line 1990, in set_mode
if draw.set_mode(virtual_size, physical_size, fullscreen):
File "gldraw.pyx", line 197, in renpy.gl.gldraw.GLDraw.set_mode
File "src/pygame_sdl2/display.pyx", line 96, in pygame_sdl2.display.init
error: directx not available
Windows-7-6.1.7601-SP1
Ren'Py 6.99.14.1.3218
Ren'Py Launcher 6.99.14.1.3218
Mon Feb 19 14:26:51 2018
Directx is installed and works well. It might come from the pygame_sdl2 library. It does the same with all 6.99.x versions. Versions 6.18.3 and earlier work well. I tried on another computer and it works well.
Any idea?
Thanks