DirectX Problem

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

DirectX Problem

#1 Post by Kaen » Mon Feb 10, 2014 5:17 am

Hello everyone.

My friend is having problems while playing a game I made using Renpy 6.16.3.502, but I can't reproduce the error he got.
I recently played the game and I got a notification to update DirectX within the game. I skipped it the first time I played and everything was fine, except for the video that plays for the intro/ending, which just appeared as a blank black screen until I clicked to skip to the menu.

Just recently today, I updated to DirectX 11 and restarted the game and I no longer received the update message, but the video appeared as a slow transition of random colors and then the menu screen was just blank now.

I'm running Vista and I'm wondering if DirectX 11 is too high for my computer or something. I tried to reboot the system but it didn't help. I restarted my computer into Safe Mode and the game worked in that computer state, so it makes me think something is interfering with the game settings, whether it's DirectX related or not. When I'm using my computer in its normal mode..
Can anyone help please?
Last edited by Kaen on Mon Feb 10, 2014 5:38 am, edited 1 time in total.

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: Direct X Problem

#2 Post by nyaatrap » Mon Feb 10, 2014 5:36 am

Tell him to update his graphic driver. It must keep updating so if he didn't update it over one year, the problem might be there.
If other case, ask him to get log.txt.
BTW, there was a bug on that directX update notification in 6.15 (fixed in 6.16).

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: DirectX Problem

#3 Post by Kaen » Mon Feb 10, 2014 9:30 pm

Thank you nyaatrap for your help, sadly the graphic driver was up to date.

Here is the log.txt:

Code: Select all

Sun Feb 09 11:45:26 2014
Windows-Vista-6.0.6002-SP2
Ren'Py 6.16.3.502
SLEEPOVER 0.0


Windowed mode.
Screen sizes: virtual=(1440, 900) physical=(920, 575)
Vendor: 'Intel'
Renderer: 'Intel 965/963 Graphics Media Accelerator'
Version: '1.5.0 - Build 7.14.10.1227'
Display Info: <VideoInfo(hw = 0, wm = 1,video_mem = 0
	     blit_hw = 0, blit_hw_CC = 0, blit_hw_A = 0,
	     blit_sw = 0, blit_sw_CC = 0, blit_sw_A = 0,
	     bitsize  = 32, bytesize = 4,
	     masks =  (16711680, 65280, 255, 0),
	     shifts = (16, 8, 0, 0),
	     losses =  (0, 0, 0, 8),
	     current_w = 1024, current_h = 768
>

Fixed-function is blacklisted.
Extensions:
    
    GL_3DFX_texture_compression_FXT1
    GL_ARB_depth_texture
    GL_ARB_fragment_program
    GL_ARB_multitexture
    GL_ARB_occlusion_query
    GL_ARB_point_parameters
    GL_ARB_shadow
    GL_ARB_texture_border_clamp
    GL_ARB_texture_compression
    GL_ARB_texture_cube_map
    GL_ARB_texture_env_add
    GL_ARB_texture_env_combine
    GL_ARB_texture_env_crossbar
    GL_ARB_texture_env_dot3
    GL_ARB_transpose_matrix
    GL_ARB_vertex_buffer_object
    GL_ARB_vertex_program
    GL_ARB_window_pos
    GL_EXT_abgr
    GL_EXT_bgra
    GL_EXT_blend_color
    GL_EXT_blend_func_separate
    GL_EXT_blend_minmax
    GL_EXT_blend_subtract
    GL_EXT_clip_volume_hint
    GL_EXT_compiled_vertex_array
    GL_EXT_draw_range_elements
    GL_EXT_fog_coord
    GL_EXT_multi_draw_arrays
    GL_EXT_packed_pixels
    GL_EXT_rescale_normal
    GL_EXT_secondary_color
    GL_EXT_separate_specular_color
    GL_EXT_shadow_funcs
    GL_EXT_stencil_two_side
    GL_EXT_stencil_wrap
    GL_EXT_texture3D
    GL_EXT_texture_compression_s3tc
    GL_EXT_texture_env_add
    GL_EXT_texture_env_combine
    GL_EXT_texture_filter_anisotropic
    GL_EXT_texture_lod_bias
    GL_IBM_texture_mirrored_repeat
    GL_NV_blend_square
    GL_NV_texgen_reflection
    GL_SGIS_generate_mipmap
    GL_SGIS_texture_edge_clamp
    GL_SGIS_texture_lod
    GL_WIN_swap_hint
Number of texture units: 8
Can't find a workable environment.

Windowed mode.
Screen sizes: virtual=(1440, 900) physical=(920, 575)
Vendor: 'Google Inc.'
Renderer: 'ANGLE (Mobile Intel(R) 965 Express Chipset Family)'
Version: 'OpenGL ES 2.0 (ANGLE 1.0.0.1166)'
Display Info: <VideoInfo(hw = 0, wm = 1,video_mem = 0
	     blit_hw = 0, blit_hw_CC = 0, blit_hw_A = 0,
	     blit_sw = 0, blit_sw_CC = 0, blit_sw_A = 0,
	     bitsize  = 32, bytesize = 4,
	     masks =  (16711680, 65280, 255, 0),
	     shifts = (16, 8, 0, 0),
	     losses =  (0, 0, 0, 8),
	     current_w = 1024, current_h = 768
>

Extensions:
    GL_ANGLE_framebuffer_blit
    GL_ANGLE_instanced_arrays
    GL_ANGLE_pack_reverse_row_order
    GL_ANGLE_texture_compression_dxt3
    GL_ANGLE_texture_compression_dxt5
    GL_ANGLE_texture_usage
    GL_ANGLE_translated_shader_source
    GL_EXT_occlusion_query_boolean
    GL_EXT_read_format_bgra
    GL_EXT_robustness
    GL_EXT_texture_compression_dxt1
    GL_EXT_texture_format_BGRA8888
    GL_EXT_texture_storage
    GL_NV_fence
    GL_OES_element_index_uint
    GL_OES_packed_depth_stencil
    GL_OES_rgb8_rgba8
    GL_OES_standard_derivatives
    GL_OES_texture_half_float
    GL_OES_texture_half_float_linear
Number of texture units: 16
Using shader environment.
Using copy RTT.
Using angle renderer.
Texture testing:
- Hardware max texture size: 4096
- 64px textures work.
- 128px textures work.
- 256px textures work.
- 512px textures work.
- 1024px textures work.
- 2048px textures work.
And traceback.txt:

Code: Select all

I'm sorry, but an uncaught exception occurred.

While running game code:
  File "renpy/common/00start.rpy", line 124, in script call
  File "game/script.rpy", line 2, in script
  File "game/script.rpy", line 2, in python
MemoryError: 

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\execution.py", line 288, in run
    node.execute()
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\ast.py", line 720, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\python.py", line 1304, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/script.rpy", line 2, in <module>
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\exports.py", line 979, in movie_cutscene
    roll_forward=roll_forward)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\ui.py", line 237, in interact
    rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\display\core.py", line 1853, in interact
    repeat, rv = self.interact_core(preloads=preloads, **kwargs)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\display\core.py", line 2168, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\display\core.py", line 1422, in draw_screen
    renpy.display.draw.draw_screen(surftree, fullscreen_video)
  File "gldraw.pyx", line 661, in renpy.angle.gldraw.GLDraw.draw_screen (gen\renpy.angle.gldraw.c:7744)
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\display\video.py", line 142, in render_movie
    tex = get_movie_texture()
  File "C:\Users\Ronald\Pictures\Piccies\BMP\[21] Sleep Over\renpy\display\video.py", line 136, in get_movie_texture
    tex = renpy.display.draw.load_texture(surface, True)
  File "gldraw.pyx", line 588, in renpy.angle.gldraw.GLDraw.load_texture (gen\renpy.angle.gldraw.c:6790)
  File "gltexture.pyx", line 780, in renpy.angle.gltexture.texture_grid_from_surface (gen\renpy.angle.gltexture.c:8140)
  File "gltexture.pyx", line 324, in renpy.angle.gltexture.TextureCore.load_surface (gen\renpy.angle.gltexture.c:3246)
  File "gltexture.pyx", line 1071, in renpy.angle.gltexture.premultiply (gen\renpy.angle.gltexture.c:12359)
MemoryError: 

Windows-Vista-6.0.6002-SP2
Ren'Py 6.16.3.502
SLEEPOVER 0.0

User avatar
nyaatrap
Crawling Chaos
Posts: 1824
Joined: Mon Feb 13, 2012 5:37 am
Location: Kimashi Tower, Japan
Contact:

Re: DirectX Problem

#4 Post by nyaatrap » Mon Feb 10, 2014 9:44 pm

I'm sure mobile intel 965 supports DirectX 9 at most. He should remove DirectX 11 from his computer.
Also instead of using a buggy old intel GPU, software rendering might work better.

User avatar
AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

Re: DirectX Problem

#5 Post by AxemRed » Tue Feb 11, 2014 4:31 am

>Renderer: 'Intel 965/963 Graphics Media Accelerator'
>Version: '1.5.0 - Build 7.14.10.1227'

Unless I'm reading that wrong, it's using a driver released on March 13, 2007

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: DirectX Problem

#6 Post by Kaen » Tue Feb 11, 2014 5:13 pm

Thank you guys, I'll talk to him!

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: DirectX Problem

#7 Post by Kaen » Tue Feb 11, 2014 6:58 pm

So, my friend updated his graphic driver, he can play like 10 seconds before the game crashes.

Here is log.txt:

Code: Select all

Tue Feb 11 13:07:35 2014
Windows-Vista-6.0.6002-SP2
Ren'Py 6.16.3.502
SLEEPOVER 0.0


Windowed mode.
Screen sizes: virtual=(1440, 900) physical=(920, 575)
Vendor: 'Intel'
Renderer: 'Intel 965/963 Graphics Media Accelerator'
Version: '1.5.0 - Build 7.14.10.1329'
Display Info: <VideoInfo(hw = 0, wm = 1,video_mem = 0
	     blit_hw = 0, blit_hw_CC = 0, blit_hw_A = 0,
	     blit_sw = 0, blit_sw_CC = 0, blit_sw_A = 0,
	     bitsize  = 32, bytesize = 4,
	     masks =  (16711680, 65280, 255, 0),
	     shifts = (16, 8, 0, 0),
	     losses =  (0, 0, 0, 8),
	     current_w = 1024, current_h = 768
>

Fixed-function is blacklisted.
Extensions:
    
    GL_3DFX_texture_compression_FXT1
    GL_ARB_depth_texture
    GL_ARB_fragment_program
    GL_ARB_multitexture
    GL_ARB_occlusion_query
    GL_ARB_point_parameters
    GL_ARB_shadow
    GL_ARB_texture_border_clamp
    GL_ARB_texture_compression
    GL_ARB_texture_cube_map
    GL_ARB_texture_env_add
    GL_ARB_texture_env_combine
    GL_ARB_texture_env_crossbar
    GL_ARB_texture_env_dot3
    GL_ARB_transpose_matrix
    GL_ARB_vertex_buffer_object
    GL_ARB_vertex_program
    GL_ARB_window_pos
    GL_EXT_abgr
    GL_EXT_bgra
    GL_EXT_blend_color
    GL_EXT_blend_func_separate
    GL_EXT_blend_minmax
    GL_EXT_blend_subtract
    GL_EXT_clip_volume_hint
    GL_EXT_compiled_vertex_array
    GL_EXT_draw_range_elements
    GL_EXT_fog_coord
    GL_EXT_multi_draw_arrays
    GL_EXT_packed_pixels
    GL_EXT_rescale_normal
    GL_EXT_secondary_color
    GL_EXT_separate_specular_color
    GL_EXT_shadow_funcs
    GL_EXT_stencil_two_side
    GL_EXT_stencil_wrap
    GL_EXT_texture3D
    GL_EXT_texture_compression_s3tc
    GL_EXT_texture_env_add
    GL_EXT_texture_env_combine
    GL_EXT_texture_filter_anisotropic
    GL_EXT_texture_lod_bias
    GL_IBM_texture_mirrored_repeat
    GL_NV_blend_square
    GL_NV_texgen_reflection
    GL_SGIS_generate_mipmap
    GL_SGIS_texture_edge_clamp
    GL_SGIS_texture_lod
    GL_WIN_swap_hint
Number of texture units: 8
Can't find a workable environment.

Windowed mode.
Screen sizes: virtual=(1440, 900) physical=(920, 575)
Vendor: 'Google Inc.'
Renderer: 'ANGLE (Mobile Intel(R) 965 Express Chipset Family)'
Version: 'OpenGL ES 2.0 (ANGLE 1.0.0.1166)'
Display Info: <VideoInfo(hw = 0, wm = 1,video_mem = 0
	     blit_hw = 0, blit_hw_CC = 0, blit_hw_A = 0,
	     blit_sw = 0, blit_sw_CC = 0, blit_sw_A = 0,
	     bitsize  = 32, bytesize = 4,
	     masks =  (16711680, 65280, 255, 0),
	     shifts = (16, 8, 0, 0),
	     losses =  (0, 0, 0, 8),
	     current_w = 1024, current_h = 768
>

Extensions:
    GL_ANGLE_framebuffer_blit
    GL_ANGLE_instanced_arrays
    GL_ANGLE_pack_reverse_row_order
    GL_ANGLE_texture_compression_dxt3
    GL_ANGLE_texture_compression_dxt5
    GL_ANGLE_texture_usage
    GL_ANGLE_translated_shader_source
    GL_EXT_occlusion_query_boolean
    GL_EXT_read_format_bgra
    GL_EXT_robustness
    GL_EXT_texture_compression_dxt1
    GL_EXT_texture_format_BGRA8888
    GL_EXT_texture_storage
    GL_NV_fence
    GL_OES_element_index_uint
    GL_OES_packed_depth_stencil
    GL_OES_rgb8_rgba8
    GL_OES_standard_derivatives
    GL_OES_texture_half_float
    GL_OES_texture_half_float_linear
Number of texture units: 16
Using shader environment.
Using copy RTT.
Using angle renderer.
Texture testing:
- Hardware max texture size: 4096
- 64px textures work.
- 128px textures work.
- 256px textures work.
- 512px textures work.
- 1024px textures work.
- 2048px textures work.

User avatar
AxemRed
Veteran
Posts: 482
Joined: Sun Jan 09, 2011 7:10 am
Contact:

Re: DirectX Problem

#8 Post by AxemRed » Wed Feb 12, 2014 4:39 am

>Renderer: 'Intel 965/963 Graphics Media Accelerator'
>Version: '1.5.0 - Build 7.14.10.1329'

November 2007

Post Reply

Who is online

Users browsing this forum: Google [Bot]