Closed prestbit closed 5 years ago
Which version of core beetle_psx_hw you use?
when I load the core it displays: Beetle PSX HW 0.9.44.1 a305ec2
could you try to update RA and beetle-psx-hw?
Your version isn't latest nightly.
Ok, I will give it a shot this evening when I get in.
I stopped by the house for lunch and grabbed the nightly for RA nd beetle-psx-hw. The version numbers did not change however the logs have provided different information but still rendering the black screen with audio when using the opengl driver with the core. Is the log file sufficient? If not, what else may I do to provide some value to the troubleshooting?
Comparing the two logs to my eyes I'm not sure it reveals anything helpful. The error messages are missing but the core still crashes when the game should launch. No error messages. Just segmentation fault.
The game will run when 'software' is selected.
I did not compile this one I just downloaded the nightly 7z dated for today and grabbed the beetle-psx-hw from "latest" dated 12-31-17 for a hasty test during my lunch break.
I've added the output from the debug exe. When I launch the debug exe it crashes too and i've included the text after the **debug text***** below.
Log:
[INFO] RetroArch 1.7.0 (Git 73c36c47e)
[INFO] === Build =======================================
[INFO] Version: 1.7.0
[INFO] Git: 73c36c47e
[INFO] =================================================
[INFO] [Config]: Loading default config.
[INFO] [Config]: loading config from: (null).
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "C:\msys64\home\retro nightys\saves\.srm".
[INFO] Redirecting savestate to "C:\msys64\home\retro nightly\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1920x1200.
[ERROR] Error registering for notifications
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: ATI Technologies Inc., Renderer: ATI Radeon HD 4800 Series.
[INFO] [GL]: Version: 3.3.11672 Compatibility Profile Context.
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] XAudio2: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Menu]: Found menu display driver: "menu_display_gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000790820
[INFO] SRAM will not be saved.
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_favorites.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_music_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_video_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] Using content: C:\Users\1346home\Desktop\testy\Metal Gear Solid (USA) (Disc 1) (v1.1).cue.
[INFO] arg #0: retroarch
[INFO] arg #1: C:\Users\1346home\Desktop\testy\Metal Gear Solid (USA) (Disc 1) (v1.1).cue
[INFO] arg #2: -s
[INFO] arg #3: C:\msys64\home\retro nightly\saves
[INFO] arg #4: -S
[INFO] arg #5: C:\msys64\home\retro nightly\states
[INFO] arg #6: -c
[INFO] arg #7: C:\msys64\home\retro nightly\retroarch.cfg
[INFO] arg #8: -L
[INFO] arg #9: C:\msys64\home\retro nightly\cores\mednafen_psx_hw_libretro.dll
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] Set config file to : C:\msys64\home\retro nightly\retroarch.cfg
[INFO] RetroArch 1.7.0 (Git 73c36c47e)
[INFO] === Build =======================================
[INFO] Version: 1.7.0
[INFO] Git: 73c36c47e
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "C:\msys64\home\retro nighty\cores\mednafen_psx_hw_libretro.dll"
[INFO] [overrides] no core-specific overrides found at C:\msys64\home\retro nightly\config\Beetle PSX HW\Beetle PSX HW.cfg.
[INFO] [overrides] no game-specific overrides found at C:\msys64\home\retro nightly\config\Beetle PSX HW\Metal Gear Solid (USA) (Disc 1) (v1.1).cfg.
[INFO] Shaders: preset directory: C:\msys64\home\retro nightlies\shaders\presets
[INFO] Shaders: no game-specific preset found at C:\msys64\home\retro nightly\shaders\presets\Beetle PSX HW\Metal Gear Solid (USA) (Disc 1) (v1.1).cgp.
[INFO] Shaders: no game-specific preset found at C:\msys64\home\retro nightly\shaders\presets\Beetle PSX HW\Metal Gear Solid (USA) (Disc 1) (v1.1).glslp.
[INFO] Shaders: no core-specific preset found at C:\msys64\home\retro nightly\shaders\presets\Beetle PSX HW\Beetle PSX HW.cgp.
[INFO] Shaders: no core-specific preset found at C:\msys64\home\retro nightly\shaders\presets\Beetle PSX HW\Beetle PSX HW.glslp.
[INFO] Environ SET_VARIABLES.
*
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Environ SET_DISK_CONTROL_INTERFACE.
[INFO] Environ GET_PERF_INTERFACE.
[INFO] Environ PERFORMANCE_LEVEL: 15.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO] Environ GET_RUMBLE_INTERFACE.
[libretro INFO] Rumble interface supported!
[INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
[INFO] Environ GET_VARIABLE beetle_psx_hw_renderer:
[INFO] opengl
[INFO] Environ GET_VARIABLE beetle_psx_hw_cd_access_method:
[INFO] sync
[INFO] Environ GET_VARIABLE beetle_psx_hw_cpu_overclock:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_skipbios:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_widescreen_hack:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_enable_memcard1:
[INFO] enabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_analog_calibration:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_dither_mode:
[INFO] 1x(native)
[INFO] Environ GET_VARIABLE beetle_psx_hw_pgxp_mode:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_pgxp_caching:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_pgxp_texture:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_analog_toggle:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_enable_multitap_port1:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_enable_multitap_port2:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_mouse_sensitivity:
[INFO] 100%
[INFO] Environ GET_VARIABLE beetle_psx_hw_gun_cursor:
[INFO] Cross
[INFO] Environ GET_VARIABLE beetle_psx_hw_initial_scanline:
[INFO] 0
[INFO] Environ GET_VARIABLE beetle_psx_hw_last_scanline:
[INFO] 239
[INFO] Environ GET_VARIABLE beetle_psx_hw_initial_scanline_pal:
[INFO] 0
[INFO] Environ GET_VARIABLE beetle_psx_hw_last_scanline_pal:
[INFO] 287
[INFO] Environ GET_VARIABLE beetle_psx_hw_use_mednafen_memcard0_method:
[INFO] libretro
[INFO] Environ GET_VARIABLE beetle_psx_hw_shared_memory_cards:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_frame_duping_enable:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_display_internal_framerate:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_crop_overscan:
[INFO] enabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_image_offset:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_image_crop:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_cd_fastload:
[INFO] 2x (native)
[libretro INFO] Loading C:\Users\1346home\Desktop\testy\Metal Gear Solid (USA) (Disc 1) (v1.1).cue...
[libretro INFO] Checking if required firmware is present.
[libretro INFO] Firmware found: C:\msys64\home\retro nightly\system\scph5501.bin
[libretro INFO] Firmware SHA1: 0555C6FAE8906F3F09BAF5988F00E55F88E9F30B
[INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
[INFO] Environ SET_HW_RENDER.
[INFO] Requesting core OpenGL context (3.1).
[INFO] [CHEEVOS]: system RAM: 0000000011A15D00 2097152
[INFO] [CHEEVOS]: save RAM: 000000000E689E71 131072
[INFO] [CHEEVOS]: video RAM: 0000000000000000 0
[INFO] [CHEEVOS]: RTC: 0000000000000000 0
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] Environ GET_VARIABLE beetle_psx_hw_internal_resolution:
[INFO] 1x(native)
[INFO] Environ GET_VARIABLE beetle_psx_hw_display_vram:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_widescreen_hack:
[INFO] disabled
[INFO] [Audio]: Set audio input rate to: 44099.31 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [Video]: Using HW render, OpenGL driver forced.
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1920x1200.
[ERROR] Error registering for notifications
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: ATI Technologies Inc., Renderer: ATI Radeon HD 4800 Series.
[INFO] [GL]: Version: 3.1.11672 Compatibility Profile Context.
[INFO] [GL]: Using Core GL context, setting up VAO...
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Vertex shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Using GLSL version 140.
[INFO] Shader log: Fragment shader was successfully compiled to run on hardware.
[INFO] [GLSL]: Linking GLSL program.
[INFO] Linker log: Vertex shader(s) linked, fragment shader(s) linked.
[INFO] [GL]: Using 1 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [GL]: Initializing HW render (1024 x 1024).
[INFO] [GL]: Max texture size: 8192 px, renderbuffer size: 8192 px.
[INFO] [GL]: Supports FBO (render-to-texture).
[INFO] [XInput]: Found XInput v1.4.
[INFO] [XInput]: Found XInput v1.4.
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[libretro INFO] gl_context_reset called.
[INFO] Environ GET_VARIABLE beetle_psx_hw_internal_resolution:
[INFO] 1x(native)
[INFO] Environ GET_VARIABLE beetle_psx_hw_display_vram:
[INFO] disabled
[INFO] Environ GET_VARIABLE beetle_psx_hw_filter:
[INFO] nearest
[INFO] Environ GET_VARIABLE beetle_psx_hw_internal_color_depth:
[INFO] dithered 16bpp (native)
[INFO] Environ GET_VARIABLE beetle_psx_hw_dither_mode:
[INFO] 1x(native)
[INFO] Environ GET_VARIABLE beetle_psx_hw_wireframe:
[INFO] disabled
[libretro INFO] Building OpenGL state (1x internal res., 16bpp)
[libretro INFO] Binding program for first time: 30
[libretro INFO] Unbinding program for first time: 30
[libretro INFO] Binding program for first time: 31
[libretro INFO] Unbinding program for first time: 31
[libretro INFO] Binding program for first time: 32
[libretro INFO] Unbinding program for first time: 32
[INFO] XAudio2: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000790820
[libretro INFO] Controller 1: PlayStation Controller
[libretro INFO] Controller 2: PlayStation Controller
[libretro INFO] Controller 3: PlayStation Controller
[libretro INFO] Controller 4: PlayStation Controller
[libretro INFO] Controller 5: PlayStation Controller
[libretro INFO] Controller 6: PlayStation Controller
[libretro INFO] Controller 7: PlayStation Controller
[libretro INFO] Controller 8: PlayStation Controller
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_favorites.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_music_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_video_history.lpl].
[INFO] Loading history file: [C:\msys64\home\retro nightly\content_image_history.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[libretro INFO] Target framebuffer size: 256x240
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 640x239
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 256x240
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 640x478
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 640x472
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 640x478
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Target framebuffer size: 256x240
[INFO] Environ SET_GEOMETRY.
[libretro INFO] Saving memcard 0...
[libretro INFO] Saving memcard 1...
[libretro INFO] Saving memcard 0...
[libretro INFO] Saving memcard 1...
*******************************************debug text******************************
[INFO] RetroArch 1.7.0 (Git 73c36c47e)
[INFO] === Build =======================================
[INFO] Version: 1.7.0
[INFO] Git: 73c36c47e
[INFO] =================================================
[INFO] [Config]: Loading default config.
[INFO] [Config]: loading config from: (null).
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "C:\msys64\home\retro nightly\saves\.srm".
[INFO] Redirecting savestate to "C:\msys64\home\retro nightly\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1920x1200.
[ERROR] Error registering for notifications
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: ATI Technologies Inc., Renderer: ATI Radeon HD 4800 Series.
[INFO] [GL]: Version: 3.3.11672 Compatibility Profile/Debug Context.
[INFO] [GL]: Supported extensions:
[INFO] GL_AMDX_debug_output
[INFO] GL_AMDX_vertex_shader_tessellator
[INFO] GL_AMD_conservative_depth
[INFO] GL_AMD_debug_output
[INFO] GL_AMD_depth_clamp_separate
[INFO] GL_AMD_draw_buffers_blend
[INFO] GL_AMD_name_gen_delete
[INFO] GL_AMD_performance_monitor
[INFO] GL_AMD_pinned_memory
[INFO] GL_AMD_sample_positions
[INFO] GL_AMD_seamless_cubemap_per_texture
[INFO] GL_AMD_shader_stencil_export
[INFO] GL_AMD_texture_cube_map_array
[INFO] GL_AMD_texture_texture4
[INFO] GL_AMD_vertex_shader_tessellator
[INFO] GL_ARB_ES2_compatibility
[INFO] GL_ARB_base_instance
[INFO] GL_ARB_blend_func_extended
[INFO] GL_ARB_color_buffer_float
[INFO] GL_ARB_compressed_texture_pixel_storage
[INFO] GL_ARB_conservative_depth
[INFO] GL_ARB_copy_buffer
[INFO] GL_ARB_debug_output
[INFO] GL_ARB_depth_buffer_float
[INFO] GL_ARB_depth_clamp
[INFO] GL_ARB_depth_texture
[INFO] GL_ARB_draw_buffers
[INFO] GL_ARB_draw_buffers_blend
[INFO] GL_ARB_draw_elements_base_vertex
[INFO] GL_ARB_draw_instanced
[INFO] GL_ARB_explicit_attrib_location
[INFO] GL_ARB_fragment_coord_conventions
[INFO] GL_ARB_fragment_program
[INFO] GL_ARB_fragment_program_shadow
[INFO] GL_ARB_fragment_shader
[INFO] GL_ARB_framebuffer_object
[INFO] GL_ARB_framebuffer_sRGB
[INFO] GL_ARB_geometry_shader4
[INFO] GL_ARB_get_program_binary
[INFO] GL_ARB_half_float_pixel
[INFO] GL_ARB_half_float_vertex
[INFO] GL_ARB_imaging
[INFO] GL_ARB_instanced_arrays
[INFO] GL_ARB_internalformat_query
[INFO] GL_ARB_map_buffer_alignment
[INFO] GL_ARB_map_buffer_range
[INFO] GL_ARB_multisample
[INFO] GL_ARB_multitexture
[INFO] GL_ARB_occlusion_query
[INFO] GL_ARB_occlusion_query2
[INFO] GL_ARB_pixel_buffer_object
[INFO] GL_ARB_point_parameters
[INFO] GL_ARB_point_sprite
[INFO] GL_ARB_provoking_vertex
[INFO] GL_ARB_sample_shading
[INFO] GL_ARB_sampler_objects
[INFO] GL_ARB_seamless_cube_map
[INFO] GL_ARB_separate_shader_objects
[INFO] GL_ARB_shader_bit_encoding
[INFO] GL_ARB_shader_objects
[INFO] GL_ARB_shader_precision
[INFO] GL_ARB_shader_stencil_export
[INFO] GL_ARB_shader_texture_lod
[INFO] GL_ARB_shading_language_100
[INFO] GL_ARB_shading_language_420pack
[INFO] GL_ARB_shading_language_packing
[INFO] GL_ARB_shadow
[INFO] GL_ARB_shadow_ambient
[INFO] GL_ARB_sync
[INFO] GL_ARB_texture_border_clamp
[INFO] GL_ARB_texture_buffer_object
[INFO] GL_ARB_texture_buffer_object_rgb32
[INFO] GL_ARB_texture_compression
[INFO] GL_ARB_texture_compression_rgtc
[INFO] GL_ARB_texture_cube_map
[INFO] GL_ARB_texture_cube_map_array
[INFO] GL_ARB_texture_env_add
[INFO] GL_ARB_texture_env_combine
[INFO] GL_ARB_texture_env_crossbar
[INFO] GL_ARB_texture_env_dot3
[INFO] GL_ARB_texture_float
[INFO] GL_ARB_texture_gather
[INFO] GL_ARB_texture_mirrored_repeat
[INFO] GL_ARB_texture_multisample
[INFO] GL_ARB_texture_non_power_of_two
[INFO] GL_ARB_texture_query_lod
[INFO] GL_ARB_texture_rectangle
[INFO] GL_ARB_texture_rg
[INFO] GL_ARB_texture_rgb10_a2ui
[INFO] GL_ARB_texture_snorm
[INFO] GL_ARB_texture_storage
[INFO] GL_ARB_timer_query
[INFO] GL_ARB_transform_feedback2
[INFO] GL_ARB_transform_feedback3
[INFO] GL_ARB_transform_feedback_instanced
[INFO] GL_ARB_transpose_matrix
[INFO] GL_ARB_uniform_buffer_object
[INFO] GL_ARB_vertex_array_bgra
[INFO] GL_ARB_vertex_array_object
[INFO] GL_ARB_vertex_buffer_object
[INFO] GL_ARB_vertex_program
[INFO] GL_ARB_vertex_shader
[INFO] GL_ARB_vertex_type_2_10_10_10_rev
[INFO] GL_ARB_viewport_array
[INFO] GL_ARB_window_pos
[INFO] GL_ATI_draw_buffers
[INFO] GL_ATI_envmap_bumpmap
[INFO] GL_ATI_fragment_shader
[INFO] GL_ATI_meminfo
[INFO] GL_ATI_separate_stencil
[INFO] GL_ATI_texture_compression_3dc
[INFO] GL_ATI_texture_env_combine3
[INFO] GL_ATI_texture_float
[INFO] GL_ATI_texture_mirror_once
[INFO] GL_EXT_abgr
[INFO] GL_EXT_bgra
[INFO] GL_EXT_bindable_uniform
[INFO] GL_EXT_blend_color
[INFO] GL_EXT_blend_equation_separate
[INFO] GL_EXT_blend_func_separate
[INFO] GL_EXT_blend_minmax
[INFO] GL_EXT_blend_subtract
[INFO] GL_EXT_compiled_vertex_array
[INFO] GL_EXT_copy_buffer
[INFO] GL_EXT_copy_texture
[INFO] GL_EXT_direct_state_access
[INFO] GL_EXT_draw_buffers2
[INFO] GL_EXT_draw_instanced
[INFO] GL_EXT_draw_range_elements
[INFO] GL_EXT_fog_coord
[INFO] GL_EXT_framebuffer_blit
[INFO] GL_EXT_framebuffer_multisample
[INFO] GL_EXT_framebuffer_object
[INFO] GL_EXT_framebuffer_sRGB
[INFO] GL_EXT_geometry_shader4
[INFO] GL_EXT_gpu_program_parameters
[INFO] GL_EXT_gpu_shader4
[INFO] GL_EXT_histogram
[INFO] GL_EXT_multi_draw_arrays
[INFO] GL_EXT_packed_depth_stencil
[INFO] GL_EXT_packed_float
[INFO] GL_EXT_packed_pixels
[INFO] GL_EXT_pixel_buffer_object
[INFO] GL_EXT_point_parameters
[INFO] GL_EXT_provoking_vertex
[INFO] GL_EXT_rescale_normal
[INFO] GL_EXT_secondary_color
[INFO] GL_EXT_separate_specular_color
[INFO] GL_EXT_shadow_funcs
[INFO] GL_EXT_stencil_wrap
[INFO] GL_EXT_subtexture
[INFO] GL_EXT_texgen_reflection
[INFO] GL_EXT_texture3D
[INFO] GL_EXT_texture_array
[INFO] GL_EXT_texture_buffer_object
[INFO] GL_EXT_texture_compression_latc
[INFO] GL_EXT_texture_compression_rgtc
[INFO] GL_EXT_texture_compression_s3tc
[INFO] GL_EXT_texture_cube_map
[INFO] GL_EXT_texture_edge_clamp
[INFO] GL_EXT_texture_env_add
[INFO] GL_EXT_texture_env_combine
[INFO] GL_EXT_texture_env_dot3
[INFO] GL_EXT_texture_filter_anisotropic
[INFO] GL_EXT_texture_integer
[INFO] GL_EXT_texture_lod
[INFO] GL_EXT_texture_lod_bias
[INFO] GL_EXT_texture_mirror_clamp
[INFO] GL_EXT_texture_object
[INFO] GL_EXT_texture_rectangle
[INFO] GL_EXT_texture_sRGB
[INFO] GL_EXT_texture_sRGB_decode
[INFO] GL_EXT_texture_shared_exponent
[INFO] GL_EXT_texture_snorm
[INFO] GL_EXT_texture_storage
[INFO] GL_EXT_texture_swizzle
[INFO] GL_EXT_timer_query
[INFO] GL_EXT_transform_feedback
[INFO] GL_EXT_vertex_array
[INFO] GL_EXT_vertex_array_bgra
[INFO] GL_IBM_texture_mirrored_repeat
[INFO] GL_KTX_buffer_region
[INFO] GL_NV_blend_square
[INFO] GL_NV_conditional_render
[INFO] GL_NV_copy_depth_to_color
[INFO] GL_NV_copy_image
[INFO] GL_NV_explicit_multisample
[INFO] GL_NV_float_buffer
[INFO] GL_NV_half_float
[INFO] GL_NV_primitive_restart
[INFO] GL_NV_texgen_reflection
[INFO] GL_NV_texture_barrier
[INFO] GL_SGIS_generate_mipmap
[INFO] GL_SGIS_texture_edge_clamp
[INFO] GL_SGIS_texture_lod
[INFO] GL_SUN_multi_draw_arrays
[INFO] GL_WIN_swap_hint
[INFO] WGL_EXT_swap_control
I managed to figure out how to run gdb after a little research on windows and here is the output:
This is the build DEBUG=1 & GL_DEBUG=1
For a debug RA build I cannot launch RA and at risk of looking like an idiot here is the gdb log from the RA when attempting to launch RA with gl enabled. I was unable to run bt or bt full because it froze my system:
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lsystemd
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvcos
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lvchiq_arm
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lbcm_host
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lminiupnpc
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lasound
collect2.exe: error: ld returned 1 exit status
.tmp.c:1:10: fatal error: sys/soundcard.h: No such file or directory
#include <sys/soundcard.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
.tmp.c:1:10: fatal error: soundcard.h: No such file or directory
#include <soundcard.h>
^~~~~~~~~~~~~
compilation terminated.
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lossaudio
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ljack
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpulse
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lSDL
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lFLAC
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lusb-1.0
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgbm
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ldrm
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lv4l2
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lX11
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lxcb
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-egl
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-client
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-cursor
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lxkbcommon
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lXext
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lXxf86vm
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ludev
collect2.exe: error: ld returned 1 exit status
.tmp.c:1:10: fatal error: linux/parport.h: No such file or directory
#include <linux/parport.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
first you should run:
./configure
Ah, in a tired stooper I posted the output from ./config. I thought I may have built the environment wrong but I get similar if not the same results from running ./configure. The failure to launch is only related to the debug build with gl driver enabled. The debug will only launch when I supply a config file the and run the video driver set to sdl2 or d3d with rgui set as menu driver.
Here are two logs ./configure & gdb: would the "no" items in ./configure have an impact on launching the debug build?
Checking operating system ... Win32
Checking for suitable working C compiler ... /mingw64/bin/gcc works
Checking for suitable working C++ compiler ... /mingw64/bin/g++ works
Checking for windres ... /mingw64/bin/windres
Checking for pkg-config ... /mingw64/bin/pkg-config
Checking for availability of switch -std=gnu99 in /mingw64/bin/gcc ... yes
Checking for availability of switch -Wno-unused-result in /mingw64/bin/gcc ... yes
Checking for availability of switch -Wno-unused-variable in /mingw64/bin/gcc ... yes
Checking function sd_get_machine_names in -lsystemd ... no
Checking presence of package bcm_host ... no
Checking function bcm_host_init in -lbcm_host ... no
Checking function ass_library_init in -lass ... yes
Checking function socket in -lws2_32 ... yes
Checking existence of -lminiupnpc ... no
Checking function fcntl in -lc ... no
Checking function getopt_long in -lc ... no
Checking presence of package alsa ... no
Checking existence of -lasound ... no
Checking presence of header file sys/soundcard.h ... no
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking function alcOpenDevice in -lopenal ... yes
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar ... no
Checking presence of package jack >= 0.120.1 ... no
Checking presence of package libpulse ... no
Checking presence of package sdl >= 1.2.10 ... no
Checking presence of package sdl2 >= 2.0.0 ... 2.0.7
Checking existence of -ljack ... no
Checking existence of -lpulse ... no
Checking existence of -lSDL ... no
Checking presence of package flac ... no
Checking existence of -lFLAC ... no
Checking presence of package libusb-1.0 >= 1.0.13 ... no
Checking existence of -lusb-1.0 ... no
Checking existence of -ldinput8 ... yes
Checking existence of -ld3d9 ... yes
Checking existence of -ldsound ... yes
Checking presence of header file GL/gl.h ... yes
Checking existence of -lopengl32 ... yes
Checking function cgCreateContext in -lcg -lcgGL ... yes
Checking presence of package zlib ... 1.2.11
Checking presence of package libavcodec >= 54 ... 57.107.100
Checking presence of package libavformat >= 54 ... 57.83.100
Checking presence of package libavdevice ... 57.10.100
Checking presence of package libswresample ... 2.9.100
Checking presence of package libavresample ... 3.7.0
Checking presence of package libavutil >= 51 ... 55.78.100
Checking presence of package libswscale >= 2.1 ... 4.8.100
Checking presence of header file libavutil/channel_layout.h ... yes
Checking presence of package gbm >= 9.0 ... no
Checking presence of package libdrm ... no
Checking existence of -lgbm ... no
Checking existence of -ldrm ... no
Checking presence of package libxml-2.0 ... 2.9.7
Checking presence of package libv4l2 ... no
Checking presence of package freetype2 ... 21.0.15
Checking presence of package x11 ... no
Checking presence of package xcb ... no
Checking presence of package wayland-egl ... no
Checking presence of package wayland-cursor ... no
Checking presence of package xkbcommon >= 0.3.2 ... no
Checking presence of package xext ... no
Checking presence of package xxf86vm ... no
Checking existence of -lv4l2 ... no
Checking existence of -lX11 ... no
Checking existence of -lxcb ... no
Checking existence of -lwayland-egl -lwayland-client ... no
Checking existence of -lwayland-cursor ... no
Checking existence of -lxkbcommon ... no
Checking existence of -lXext ... no
Checking existence of -lXxf86vm ... no
Checking presence of package libudev ... no
Checking existence of -ludev ... no
Checking presence of header file linux/parport.h ... no
Checking function strcasestr in -lc ... no
Checking function mmap in -lc ... no
Creating make config: config.mk
Creating config header: config.h
/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lX11
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lxcb
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-egl
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-client
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lwayland-cursor
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lxkbcommon
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lXext
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lXxf86vm
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -ludev
collect2.exe: error: ld returned 1 exit status
.tmp.c:1:10: fatal error: linux/parport.h: No such file or directory
#include <linux/parport.h>
^~~~~~~~~~~~~~~~~
compilation terminated.
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
C:/update/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lc
collect2.exe: error: ld returned 1 exit status
******************************************************************************************
After compiling with DEBUG=1 and GL_DEBUG=1 I get the following from gdb:
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./retroarch...done.
(gdb) Starting program: C:\update\msys64\home\1346home\retroarch\retroarch.exe -L ./retroarch
[New Thread 4108.0x202c]
[New Thread 4108.0x1898]
[New Thread 4108.0x1c48]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) #0 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) #0 0x0000000000000000 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) A debugging session is active.
Inferior 1 [process 4108] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
You should run
make clean && ./configure && make DEBUG=1 & GL_DEBUG=1
THEN, after compile is finished, compile core beetle_psx_hw
put it to retroarch/cores folder and make sure core path in your retroarch configuration ways to proper directory.
THEN, return to retroarch folder
And run:
gdb retroarch.exe
./configure has to come make clean, right? It fails to make if I issue make clean first.
I think the issue lies with the Radeon HD 4850. One more shot tomorrow.
Please type EXACTLY commands which I give you
make clean && ./configure && make DEBUG=1 & GL_DEBUG=1
Here is the last line after the compile completed: [1]+ Done make clean && ./configure && make DEBUG=1
Does this mean it did not complete the GL_DEBUG=1?
Below is my input to the terminal followed by the compile
#######@XXXXXXXXX MINGW64 ~/retroarch
$ make clean && ./configure && make DEBUG=1 & GL_DEBUG=1
[1] 1164
#######@XXXXXXXXX MINGW64 ~/retroarch
$ rm -rf obj-unix
rm -f retroarch
rm -f *.d
Checking operating system ... Win32
Checking for suitable working C compiler ... /mingw64/bin/gcc works
Checking for suitable working C++ compiler ... /mingw64/bin/g++ works
Checking for windres ... /mingw64/bin/windres
Checking for pkg-config ... /mingw64/bin/pkg-config
Checking for availability of switch -std=gnu99 in /mingw64/bin/gcc ... yes
Checking for availability of switch -Wno-unused-result in /mingw64/bin/gcc ... yes
Checking for availability of switch -Wno-unused-variable in /mingw64/bin/gcc ... yes
Checking function sd_get_machine_names in -lsystemd ... no
Checking presence of package bcm_host ... no
Checking function bcm_host_init in -lbcm_host ... no
Checking function ass_library_init in -lass ... yes
Checking function socket in -lws2_32 ... yes
Checking existence of -lminiupnpc ... no
Checking function fcntl in -lc ... no
Checking function getopt_long in -lc ... no
Checking presence of package alsa ... no
Checking existence of -lasound ... no
Checking presence of header file sys/soundcard.h ... no
Checking presence of header file soundcard.h ... no
Checking existence of -lossaudio ... no
Checking function alcOpenDevice in -lopenal ... yes
Checking presence of package rsound >= 1.1 ... no
Checking presence of package libroar ... no
Checking presence of package jack >= 0.120.1 ... no
Checking presence of package libpulse ... no
Checking presence of package sdl >= 1.2.10 ... no
Checking presence of package sdl2 >= 2.0.0 ... 2.0.7
Checking existence of -ljack ... no
Checking existence of -lpulse ... no
Checking existence of -lSDL ... no
Checking presence of package flac ... no
Checking existence of -lFLAC ... no
Checking presence of package libusb-1.0 >= 1.0.13 ... no
Checking existence of -lusb-1.0 ... no
Checking existence of -ldinput8 ... yes
Checking existence of -ld3d9 ... yes
Checking existence of -ldsound ... yes
Checking presence of header file GL/gl.h ... yes
Checking existence of -lopengl32 ... yes
Checking function cgCreateContext in -lcg -lcgGL ... yes
Checking presence of package zlib ... 1.2.11
Checking presence of package libavcodec >= 54 ... 57.107.100
Checking presence of package libavformat >= 54 ... 57.83.100
Checking presence of package libavdevice ... 57.10.100
Checking presence of package libswresample ... 2.9.100
Checking presence of package libavresample ... 3.7.0
Checking presence of package libavutil >= 51 ... 55.78.100
Checking presence of package libswscale >= 2.1 ... 4.8.100
Checking presence of header file libavutil/channel_layout.h ... yes
Checking presence of package gbm >= 9.0 ... no
Checking presence of package libdrm ... no
Checking existence of -lgbm ... no
Checking existence of -ldrm ... no
Checking presence of package libxml-2.0 ... 2.9.7
Checking presence of package libv4l2 ... no
Checking presence of package freetype2 ... 21.0.15
Checking presence of package x11 ... no
Checking presence of package xcb ... no
Checking presence of package wayland-egl ... no
Checking presence of package wayland-cursor ... no
Checking presence of package xkbcommon >= 0.3.2 ... no
Checking presence of package xext ... no
Checking presence of package xxf86vm ... no
Checking existence of -lv4l2 ... no
Checking existence of -lX11 ... no
Checking existence of -lxcb ... no
Checking existence of -lwayland-egl -lwayland-client ... no
Checking existence of -lwayland-cursor ... no
Checking existence of -lxkbcommon ... no
Checking existence of -lXext ... no
Checking existence of -lXxf86vm ... no
Notice: X11, Xext or xf86vm not present. Skipping X11 code paths.
Checking presence of package libudev ... no
Checking existence of -ludev ... no
Checking presence of header file linux/parport.h ... no
Checking function strcasestr in -lc ... no
Checking function mmap in -lc ... no
Creating make config: config.mk
Creating config header: config.h
CC version_git.c
CC frontend/frontend.c
CC frontend/frontend_driver.c
CC frontend/drivers/platform_null.c
CC ui/ui_companion_driver.c
CC ui/drivers/ui_null.c
CC ui/drivers/null/ui_null_window.c
CC ui/drivers/null/ui_null_browser_window.c
CC ui/drivers/null/ui_null_msg_window.c
CC ui/drivers/null/ui_null_application.c
CC core_impl.c
CC retroarch.c
CC dirs.c
CC paths.c
CC command.c
CC msg_hash.c
CC intl/msg_hash_us.c
CC libretro-common/queues/task_queue.c
CC tasks/task_content.c
CC tasks/task_save.c
CC tasks/task_file_transfer.c
CC tasks/task_image.c
CC tasks/task_audio_mixer.c
CC libretro-common/encodings/encoding_utf.c
CC libretro-common/encodings/encoding_crc32.c
CC libretro-common/compat/fopen_utf8.c
CC libretro-common/lists/file_list.c
CC libretro-common/lists/dir_list.c
CC libretro-common/file/retro_dirent.c
CC libretro-common/streams/stdin_stream.c
CC libretro-common/streams/file_stream.c
CC libretro-common/streams/file_stream_transforms.c
CC libretro-common/streams/interface_stream.c
CC libretro-common/streams/memory_stream.c
CC libretro-common/vfs/vfs_implementation.c
CC libretro-common/lists/string_list.c
CC libretro-common/string/stdstring.c
CC libretro-common/memmap/memalign.c
CC setting_list.c
CC list_special.c
CC libretro-common/file/nbio/nbio_stdio.c
CC libretro-common/file/nbio/nbio_linux.c
CC libretro-common/file/nbio/nbio_unixmmap.c
CC libretro-common/file/nbio/nbio_windowsmmap.c
CC libretro-common/file/nbio/nbio_intf.c
CC libretro-common/file/file_path.c
CC file_path_special.c
CC file_path_str.c
CC libretro-common/hash/rhash.c
CC audio/audio_driver.c
CC libretro-common/audio/audio_mixer.c
CC input/input_driver.c
CC led/led_driver.c
CC led/null_led_driver.c
CC gfx/video_coord_array.c
CC gfx/video_display_server.c
CC gfx/video_driver.c
CC camera/camera_driver.c
CC wifi/wifi_driver.c
CC location/location_driver.c
CC driver.c
CC configuration.c
CC libretro-common/dynamic/dylib.c
CC dynamic.c
CC cores/dynamic_dummy.c
CC libretro-common/queues/message_queue.c
CC managers/core_manager.c
CC managers/state_manager.c
CC gfx/drivers_font_renderer/bitmapfont.c
CC tasks/task_autodetect.c
CC input/input_autodetect_builtin.c
CC input/input_keymaps.c
CC input/input_remapping.c
CC libretro-common/queues/fifo_queue.c
CC managers/core_option_manager.c
CC libretro-common/compat/compat_fnmatch.c
CC libretro-common/compat/compat_posix_string.c
CC managers/cheat_manager.c
CC core_info.c
CC libretro-common/file/config_file.c
CC libretro-common/file/config_file_userdata.c
CC tasks/task_screenshot.c
CC tasks/task_powerstate.c
CC libretro-common/gfx/scaler/scaler.c
CC gfx/drivers_shader/shader_null.c
CC gfx/video_shader_parse.c
CC libretro-common/gfx/scaler/pixconv.c
CC libretro-common/gfx/scaler/scaler_int.c
CC libretro-common/gfx/scaler/scaler_filter.c
CC gfx/font_driver.c
CC gfx/video_filter.c
CC libretro-common/audio/resampler/audio_resampler.c
CC libretro-common/audio/dsp_filter.c
CC libretro-common/audio/resampler/drivers/sinc_resampler.c
CC libretro-common/audio/resampler/drivers/nearest_resampler.c
CC libretro-common/audio/resampler/drivers/null_resampler.c
CC location/drivers/nulllocation.c
CC camera/drivers/nullcamera.c
CC wifi/drivers/nullwifi.c
CC gfx/drivers/nullgfx.c
CC gfx/display_servers/dispserv_null.c
CC audio/drivers/nullaudio.c
CC input/drivers/nullinput.c
CC input/drivers_hid/null_hid.c
CC input/drivers_joypad/null_joypad.c
CC playlist.c
CC movie.c
CC record/record_driver.c
CC record/drivers/record_null.c
CC libretro-common/features/features_cpu.c
CC performance_counters.c
CC verbosity.c
CC audio/drivers_resampler/cc_resampler.c
CC intl/msg_hash_de.c
CC intl/msg_hash_eo.c
CC intl/msg_hash_es.c
CC intl/msg_hash_fr.c
CC intl/msg_hash_it.c
CC intl/msg_hash_ja.c
CC intl/msg_hash_ko.c
CC intl/msg_hash_nl.c
CC intl/msg_hash_pl.c
CC intl/msg_hash_pt_br.c
CC intl/msg_hash_pt_pt.c
CC intl/msg_hash_ru.c
CC intl/msg_hash_vn.c
CC intl/msg_hash_chs.c
CC intl/msg_hash_cht.c
CC libretro-common/compat/compat_getopt.c
CC libretro-common/compat/compat_strcasestr.c
CC libretro-common/compat/compat_strl.c
CC libretro-common/formats/image_texture.c
CC cores/libretro-imageviewer/image_core.c
CC libretro-db/bintree.c
CC libretro-db/libretrodb.c
CC libretro-db/query.c
CC libretro-db/rmsgpack.c
CC libretro-db/rmsgpack_dom.c
CC database_info.c
CC tasks/task_database.c
CC tasks/task_database_cue.c
CC audio/drivers/openal.c
CC audio/drivers/dsound.c
CC audio/drivers/wasapi.c
CC audio/drivers/xaudio.c
CC libretro-common/audio/conversion/s16_to_float.c
CC libretro-common/audio/conversion/float_to_s16.c
CC libretro-common/audio/audio_mix.c
CC libretro-common/formats/wav/rwav.c
CC menu/drivers/rgui.c
CC menu/drivers/materialui.c
CC menu/drivers/xmb.c
CC menu/menu_driver.c
CC menu/menu_content.c
CC menu/menu_input.c
CC menu/menu_event.c
CC menu/menu_entries.c
CC menu/menu_setting.c
CC menu/menu_networking.c
CC menu/menu_shader.c
CC menu/widgets/menu_filebrowser.c
CC menu/widgets/menu_dialog.c
CC menu/widgets/menu_input_dialog.c
CC menu/widgets/menu_input_bind_dialog.c
CC menu/widgets/menu_entry.c
CC menu/widgets/menu_list.c
CC menu/widgets/menu_osk.c
CC menu/menu_cbs.c
CC menu/cbs/menu_cbs_ok.c
CC menu/cbs/menu_cbs_cancel.c
CC menu/cbs/menu_cbs_select.c
CC menu/cbs/menu_cbs_start.c
CC menu/cbs/menu_cbs_info.c
CC menu/cbs/menu_cbs_refresh.c
CC menu/cbs/menu_cbs_left.c
CC menu/cbs/menu_cbs_right.c
CC menu/cbs/menu_cbs_deferred_push.c
CC menu/cbs/menu_cbs_scan.c
CC menu/cbs/menu_cbs_get_value.c
CC menu/cbs/menu_cbs_label.c
CC menu/cbs/menu_cbs_sublabel.c
CC menu/cbs/menu_cbs_title.c
CC menu/cbs/menu_cbs_up.c
CC menu/cbs/menu_cbs_down.c
CC menu/cbs/menu_cbs_contentlist_switch.c
CC menu/menu_displaylist.c
CC menu/menu_animation.c
CC menu/drivers_display/menu_display_null.c
CC menu/drivers/menu_generic.c
CC menu/drivers/null.c
CC tasks/task_overlay.c
CC input/input_overlay.c
CC led/overlay_led_driver.c
CC gfx/drivers_font_renderer/stb.c
CC gfx/drivers_font_renderer/stb_unicode.c
CC gfx/drivers_font_renderer/freetype.c
CC libretro-common/rthreads/rthreads.c
CC gfx/video_thread_wrapper.c
CC audio/audio_thread_wrapper.c
CC input/drivers/dinput.c
CC input/drivers_joypad/dinput_joypad.c
CC input/drivers_joypad/xinput_joypad.c
CC input/drivers_joypad/hid_joypad.c
CC input/connect/joypad_connection.c
CC input/connect/connect_ps2adapter.c
CC input/connect/connect_psxadapter.c
CC input/connect/connect_ps3.c
CC input/connect/connect_ps4.c
CC input/connect/connect_wii.c
CC input/connect/connect_nesusb.c
CC input/connect/connect_snesusb.c
CC input/connect/connect_wiiupro.c
CC input/connect/connect_wiiugca.c
CC input/drivers/winraw_input.c
CC ui/drivers/ui_win32.c
CC ui/drivers/win32/ui_win32_window.c
CC ui/drivers/win32/ui_win32_browser_window.c
CC ui/drivers/win32/ui_win32_msg_window.c
CC ui/drivers/win32/ui_win32_application.c
CC gfx/drivers_context/gfx_null_ctx.c
CC gfx/video_state_tracker.c
CC gfx/drivers_renderchain/null_renderchain.c
CC gfx/drivers/gl.c
CC gfx/drivers_renderchain/gl2_renderchain.c
CC libretro-common/gfx/gl_capabilities.c
CC gfx/common/gl_common.c
CC gfx/drivers_font/gl_raster_font.c
CC libretro-common/glsym/rglgen.c
CC menu/drivers_display/menu_display_gl.c
CC cores/libretro-ffmpeg/ffmpeg_fft.c
CC libretro-common/glsym/glsym_gl.c
CC gfx/drivers_shader/shader_glsl.c
CC gfx/drivers/sdl2_gfx.c
CC input/drivers/sdl_input.c
CC input/drivers_joypad/sdl_joypad.c
CC audio/drivers/sdl_audio.c
CC gfx/drivers_context/sdl_gl_ctx.c
CC gfx/drivers/vulkan.c
CC gfx/common/vulkan_common.c
CC libretro-common/vulkan/vulkan_symbol_wrapper.c
CC gfx/drivers_font/vulkan_raster_font.c
CXX gfx/drivers_shader/shader_vulkan.cpp
CXX gfx/drivers_shader/glslang_util.cpp
CXX gfx/drivers_shader/slang_reflection.cpp
CXX gfx/drivers_shader/slang_preprocess.cpp
CXX deps/glslang/glslang.cpp
CXX deps/glslang/glslang/SPIRV/disassemble.cpp
CXX deps/glslang/glslang/SPIRV/GlslangToSpv.cpp
deps/glslang/glslang/SPIRV/GlslangToSpv.cpp:5048:9: warning: 'spv::Id {anonymous}::TGlslangToSpvTraverser::getExtBuiltins(const char*)' defined but not used [-Wunused-function]
spv::Id TGlslangToSpvTraverser::getExtBuiltins(const char* name)
^~~~~~~~~~~~~~~~~~~~~~
CXX deps/glslang/glslang/SPIRV/Logger.cpp
CXX deps/glslang/glslang/SPIRV/doc.cpp
CXX deps/glslang/glslang/SPIRV/InReadableOrder.cpp
CXX deps/glslang/glslang/SPIRV/SPVRemapper.cpp
CXX deps/glslang/glslang/SPIRV/SpvBuilder.cpp
CXX deps/glslang/glslang/glslang/GenericCodeGen/CodeGen.cpp
CXX deps/glslang/glslang/glslang/GenericCodeGen/Link.cpp
CXX deps/glslang/glslang/OGLCompilersDLL/InitializeDll.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/PoolAlloc.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/linkValidate.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/ParseContextBase.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/Scan.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/Constant.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/reflection.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/ShaderLang.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/InfoSink.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/IntermTraverse.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/ParseHelper.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/glslang_tab.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/parseConst.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/SymbolTable.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/Initialize.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/intermOut.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/limits.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/propagateNoContraction.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/iomapper.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/RemoveTree.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/Versions.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/Intermediate.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpSymbols.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpMemory.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp
CXX deps/glslang/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp
CXX deps/glslang/glslang/hlsl/hlslParseables.cpp
CXX deps/glslang/glslang/hlsl/hlslParseHelper.cpp
CXX deps/glslang/glslang/hlsl/hlslScanContext.cpp
CXX deps/glslang/glslang/hlsl/hlslTokenStream.cpp
CXX deps/glslang/glslang/hlsl/hlslAttributes.cpp
CXX deps/glslang/glslang/hlsl/hlslOpMap.cpp
CXX deps/glslang/glslang/hlsl/hlslGrammar.cpp
CXX deps/glslang/glslang/glslang/OSDependent/Windows/main.cpp
CXX deps/glslang/glslang/glslang/OSDependent/Windows/ossource.cpp
CXX deps/SPIRV-Cross/spirv_cross.cpp
CXX deps/SPIRV-Cross/spirv_cfg.cpp
CC gfx/drivers_context/khr_display_ctx.c
CC menu/drivers_display/menu_display_vulkan.c
CC gfx/drivers_context/wgl_ctx.c
CC gfx/drivers_shader/shader_gl_cg.c
CC gfx/drivers_font/d3d_w32_font.c
CC gfx/drivers_renderchain/d3d9_cg_renderchain.c
CC gfx/drivers/d3d.c
CC gfx/common/d3d_common.c
CC gfx/drivers_context/d3d_ctx.c
CC menu/drivers_display/menu_display_d3d.c
CC libretro-common/file/archive_file.c
CC libretro-common/streams/trans_stream.c
CC libretro-common/streams/trans_stream_pipe.c
CC libretro-common/file/archive_file_7z.c
CC deps/7zip/7zIn.c
CC deps/7zip/Bra86.c
CC deps/7zip/7zFile.c
CC deps/7zip/7zStream.c
CC deps/7zip/LzFind.c
CC deps/7zip/LzmaDec.c
CC deps/7zip/LzmaEnc.c
CC deps/7zip/7zCrcOpt.c
CC deps/7zip/Bra.c
CC deps/7zip/7zDec.c
CC deps/7zip/Bcj2.c
CC deps/7zip/7zCrc.c
CC deps/7zip/Lzma2Dec.c
CC deps/7zip/7zBuf.c
CC deps/ibxm/ibxm.c
CC deps/libFLAC/bitmath.c
CC deps/libFLAC/bitreader.c
CC deps/libFLAC/cpu.c
CC deps/libFLAC/crc.c
CC deps/libFLAC/fixed.c
CC deps/libFLAC/float.c
CC deps/libFLAC/format.c
CC deps/libFLAC/lpc.c
CC deps/libFLAC/lpc_intrin_avx2.c
CC deps/libFLAC/lpc_intrin_sse2.c
CC deps/libFLAC/lpc_intrin_sse41.c
CC deps/libFLAC/lpc_intrin_sse.c
CC deps/libFLAC/md5.c
CC deps/libFLAC/memory.c
CC deps/libFLAC/stream_decoder.c
CC deps/libFLAC/windows_unicode_filenames.c
CC libretro-common/file/archive_file_zlib.c
CC libretro-common/streams/trans_stream_zlib.c
CC libretro-common/formats/tga/rtga.c
CC libretro-common/formats/png/rpng.c
CC libretro-common/formats/png/rpng_encode.c
CC libretro-common/formats/jpeg/rjpeg.c
CC libretro-common/formats/bmp/rbmp.c
CC libretro-common/formats/bmp/rbmp_encode.c
CC libretro-common/formats/json/jsonsax.c
CC libretro-common/formats/json/jsonsax_full.c
CC libretro-common/formats/image_transfer.c
CC libretro-common/net/net_compat.c
CC libretro-common/net/net_http.c
CC libretro-common/net/net_http_parse.c
CC libretro-common/net/net_socket.c
CC libretro-common/net/net_natt.c
CC network/net_http_special.c
CC tasks/task_http.c
CC tasks/task_netplay_lan_scan.c
CC tasks/task_netplay_nat_traversal.c
CC tasks/task_wifi.c
CC tasks/task_netplay_find_content.c
CC libretro-common/net/net_ifinfo.c
CC network/netplay/netplay_delta.c
CC network/netplay/netplay_frontend.c
CC network/netplay/netplay_handshake.c
CC network/netplay/netplay_init.c
CC network/netplay/netplay_io.c
CC network/netplay/netplay_sync.c
CC network/netplay/netplay_discovery.c
CC network/netplay/netplay_buf.c
CC network/netplay/netplay_room_parse.c
CC cheevos/cheevos.c
CC cheevos/var.c
CC cheevos/cond.c
CC cheevos/badges.c
CC libretro-common/utils/md5.c
CC input/input_mapper.c
CC input/input_remote.c
CC cores/libretro-net-retropad/net_retropad_core.c
CC deps/miniupnpc/igd_desc_parse.c
CC deps/miniupnpc/upnpreplyparse.c
CC deps/miniupnpc/upnpcommands.c
CC deps/miniupnpc/upnperrors.c
CC deps/miniupnpc/connecthostport.c
CC deps/miniupnpc/portlistingparse.c
CC deps/miniupnpc/receivedata.c
CC deps/miniupnpc/upnpdev.c
CC deps/miniupnpc/minissdpc.c
CC deps/miniupnpc/miniwget.c
CC deps/miniupnpc/miniupnpc.c
CC deps/miniupnpc/minixml.c
CC deps/miniupnpc/minisoap.c
WINDRES media/rarch.rc
CC gfx/common/win32_common.c
CC frontend/drivers/platform_win32.c
CC gfx/drivers/gdi_gfx.c
CC gfx/drivers_context/gdi_ctx.c
CC gfx/drivers_font/gdi_font.c
CC gfx/display_servers/dispserv_win32.c
CC menu/drivers_display/menu_display_gdi.c
CC record/drivers/record_ffmpeg.c
CC cores/libretro-ffmpeg/ffmpeg_core.c
CC tasks/task_decompress.c
LD retroarch
[1]+ Done make clean && ./configure && make DEBUG=1
I refuse to give up. I came across a drmingw debugger and it produced the following:
retroarch.exe caused an Access Violation at location 0000000000000000 DEP violation at location 0000000000000000.
AddrPC Params 0000000000000000 00007FFAC5E32270 0000000000000042 0000000000000000 000000001549E979 0000000000000004 0000000000000DE1 0000000000000000 mednafen_psx_hw_libretro.dll!rglCopyImageSubData [C:/msys64/home/1346home/beetle-psx-libretro/libretro-common/glsm/glsm.c @ 1786] 1784: { 1785: #if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) && defined(HAVE_OPENGLES_3_2)
1786: glCopyImageSubData(srcName, 1787: srcTarget, 1788: srcLevel, 00000000151071F8 000000000B610300 00000000087F00C4 000000000A550300 mednafen_psx_hw_libretro.dll!rsx_gl_copy_rect [C:/msys64/home/1346home/beetle-psx-libretro/rsx/rsx_lib_gl.cpp @ 2746] 2744: explicitely / 2745: / TODO - OpenGL 4.3 and GLES 3.2 requirement! FIXME! / 2746: glCopyImageSubData( renderer->fb_out.id, GL_TEXTURE_2D, 0, new_src_x, new_src_y, 0, 2747: renderer->fb_out.id, GL_TEXTURE_2D, 0, new_dst_x, new_dst_y, 0, 2748: new_w, new_h, 1 ); 000000001549A9EE 0000000000000300 00000000000000C4 000000000B610300 mednafen_psx_hw_libretro.dll!rsx_intf_copy_rect [C:/msys64/home/1346home/beetle-psx-libretro/rsx/rsx_intf.cpp @ 584] 582: case RSX_OPENGL: 583: #if defined(HAVE_OPENGL) || defined(HAVE_OPENGLES) 584: rsx_gl_copy_rect(src_x, src_y, dst_x, dst_y, 585: w, h, mask_test, set_mask); 586: #endif 0000000015140558 00000000155FA4A0 000000000023F110 00000000000C3E34 mednafen_psx_hw_libretro.dll!Command_FBCopy [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/gpu.cpp @ 249] 247: } 248: 249: rsx_intf_copy_rect(sourceX, sourceY, destX, destY, width, height, g->MaskEvalAND, g->MaskSetOR); 250: } 251: 0000000015141B4D 0000000000000004 000000000023F1B0 0000008000000002 mednafen_psx_hw_libretro.dll!ProcessFIFO [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/gpu.cpp @ 1035] 1033: 1034: if ((cc >= 0x80) && (cc <= 0x9F)) 1035: Command_FBCopy(&GPU, CB); 1036: else if ((cc >= 0xA0) && (cc <= 0xBF)) 1037: Command_FBWrite(&GPU, CB); 0000000015141D12 00000000001E0100 00000000000C3E34 00000080120FE1A0 mednafen_psx_hw_libretro.dll!GPU_WriteCB [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/gpu.cpp @ 1061] 1059: 1060: if(GPU_BlitterFIFO.in_count && GPU.InCmd != INCMD_FBREAD) 1061: ProcessFIFO(GPU_BlitterFIFO.in_count); 1062: } 1063: 00000000151420EB 00000000001E0100 00000000000C3E34 00000000120FE1A0 mednafen_psx_hw_libretro.dll!GPU_WriteDMA [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/gpu.cpp @ 1193] 1191: void GPU_WriteDMA(uint32_t V, uint32 addr) 1192: { 1193: GPU_WriteCB(V, addr); 1194: } 1195: 000000001510C156 0000000000000002 0000000200000401 00000000000C3E34 mednafen_psx_hw_libretro.dll!ChRW [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/dma.cpp @ 216] 214: case CH_GPU: 215: if(CRModeCache & 0x1) 216: GPU_WriteDMA(V, addr); 217: else 218: V = GPU_ReadDMA(); 000000001510CAA5 000000000000C3F8 0000000000000040 0000000000000002 mednafen_psx_hw_libretro.dll!RunChannel [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/dma.cpp @ 439] 437: 438: //iCB: Pass address of memory for GPU 439: ChRW(ch, CRModeCache, DMACH[ch].CurAddr, &vtmp, &voffs); 440: 441: if(!(CRModeCache & 0x1)) 000000001510D2C2 000000000000C3F8 000000001F8010A8 000000F001000401 mednafen_psx_hw_libretro.dll!DMA_Write [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/dma.cpp @ 629] 627: // Also, it's needed for RecalcHalt() to work with some semblance of workiness. 628: // 629: RunChannel(timestamp, 64, ch);//std::max
(128 - DMACycleCounter, 1)); //64); //1); //128 - DMACycleCounter); 630: } 631: 000000001549478B 000000000023F340 000000001F8010A8 000000000023F350 mednafen_psx_hw_libretro.dll!MemRW<unsigned int, true, false> [C:/msys64/home/1346home/beetle-psx-libretro/libretro.cpp @ 793] 791: 792: if(IsWrite) 793: DMA_Write(timestamp, A, V); 794: else 795: V = DMA_Read(timestamp, A); 000000001548BB14 000000000000C3F8 000000001F8010A8 0000000001000401 mednafen_psx_hw_libretro.dll!PSX_MemWrite32 [C:/msys64/home/1346home/beetle-psx-libretro/libretro.cpp @ 887] 885: void MDFN_FASTCALL PSX_MemWrite32(int32_t timestamp, uint32_t A, uint32_t V) 886: { 887: MemRW<uint32, true, false>(timestamp, A, V); 888: } 889: 00000000155471E2 00000000120FE1A0 000000000023F570 00007FFA1F8010A8 mednafen_psx_hw_libretro.dll!WriteMemory [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/../state_helpers.h @ 19] 17: 18: INLINE uint32_t SF_FORCE_A32(int32_t ) { return(0); } 19: INLINE uint32_t SF_FORCE_A32(uint32_t ) { return(0); } 20: 21: INLINE uint32_t SF_FORCE_A64(int64_t ) { return(0); } 000000001554FAAB 00000000120FE1A0 0000000000000000 0000000005A41220 mednafen_psx_hw_libretro.dll!RunReal [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/cpu.cpp @ 2230] 2228: } 2229: else 2230: WriteMemory argv[]) 150: { 151: return rarch_main(argc, argv, NULL); 152: } 153: #endif 0000000000746EB8 0000000000000000 0000000000000030 00007FF5FFFFE000 retroarch.exe!main_getcmdline 00000000004013F7 0000000000000000 0000000000000000 0000000000000000 retroarch.exe!__tmainCRTStartup [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 341] 00000000004014FB 0000000000000000 0000000000000000 0000000000000000 retroarch.exe!WinMainCRTStartup [C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c @ 191] 00007FFAC82013D2 00007FFAC82013B0 0000000000000000 0000000000000000 KERNEL32.DLL!BaseThreadInitThunk 00007FFACA0F54F4 0000000000000000 0000000000000000 0000000000000000 ntdll.dll!RtlUserThreadStart(timestamp, address, GPR[rt]); 2231: 2232: if (PGXP_GetModes() & PGXP_MODE_MEMORY) 000000001511366F 00000000120FE1A0 0000000000000000 0000000000A26D92 mednafen_psx_hw_libretro.dll!Run [C:/msys64/home/1346home/beetle-psx-libretro/mednafen/psx/cpu.cpp @ 2449] 2447: return(RunReal (timestamp_in)); 2448: #endif 2449: return(RunReal (timestamp_in)); 2450: } 2451: 00000000154922D1 0000000000000004 0000000000000000 00000000073262E0 mednafen_psx_hw_libretro.dll!retro_run [C:/msys64/home/1346home/beetle-psx-libretro/libretro.cpp @ 3504] 3502: 3503: Running = -1; 3504: timestamp = CPU->Run(timestamp); 3505: 3506: assert(timestamp); 0000000000402E3D 00000000073430B0 0000000000000000 000000000023FDC0 retroarch.exe!core_run [C:/msys64/home/1346home/retroarch/core_impl.c @ 415] 413: } 414: 415: current_core.retro_run(); 416: 417: if (current_core.poll_type == POLL_TYPE_LATE && !current_core.input_polled) 000000000040868B 000000000023FDC0 0000000000000000 000000000023FDA0 retroarch.exe!runloop_iterate [C:/msys64/home/1346home/retroarch/retroarch.c @ 3126] 3124: retro_sleep(settings->uints.video_frame_delay); 3125: 3126: core_run(); 3127: 3128: #ifdef HAVE_CHEEVOS 000000000040171F 0000000000000001 00000000073262E0 0000000000000000 retroarch.exe!rarch_main [C:/msys64/home/1346home/retroarch/frontend/frontend.c @ 131] 129: { 130: unsigned sleep_ms = 0; 131: int ret = runloop_iterate(&sleep_ms); 132: 133: if (ret == 1 && sleep_ms > 0) 000000000040177F FFFFFFFF00000001 00000000073262E0 0000000004F41AFE retroarch.exe!SDL_main [C:/msys64/home/1346home/retroarch/frontend/frontend.c @ 151] 149: int main(int argc, char
Has this error occur in all builds? (more earlier versions of beetle_psx_hw too?)
So try to bisect this issue.
Connect me on Skype (ofryaka), if you don't know how to bisect.
I am not familiar with how to bisect but I will try and give it a shot. I am on the IRC same name. I've tried earlier versions of beetle-psx-hw and always get the black screen with audio and ultimate crash.
I am obviously new to this and apologize if I say some crazy stuff.
I thought it was related to the legacy video card so I installed on a newer system with an intel hd 2500. I need to do a debug build but get a similar event with the beetle-psx-hw core, with a minor difference: the psx bios can be seen but still crashes when it's time for the rom to load.
Have you tried a different game? You said it works fine with software? does it work fine in both GPUs?
Seems related: https://gamedev.stackexchange.com/questions/7394/opengl-3-and-the-radeon-hd-4850x2
I tried to bisecting in his computer via TeamViewer
ATI Radeon HD 4850 - can't launch in GL mode at all. GDI works fine intel hd 2500 - can run in GL mode, but after start beetle_psx_hw with GL renderer - same issue.
I dumped windows and installed linux on the box with the hd 2500 and was able to get two different psx games to render and play at 4x internal resolution (crash bandicoot and metal gear solid). There is an issue with the underwater scene and walking under water on MGS and I do remember reading something about that and the psx polys loading during the bios boot during this whole ordeal. Legacy video card - 1 : Prestbit - 0. For now...if there is no interest in further exploring this I will close it out.
@prestbit
retroarch.exe caused an Access Violation at location 0000000000000000 DEP violation at location 0000000000000000.
https://msdn.microsoft.com/en-us/library/bb736299.aspx
In short, open CMD as Administrator and execute: bcdedit.exe /set nx OptIn
After that, reboot your machine. And try again.
If you're interested to debug again, PM me on IRC, Discord or Skype.
Tried the DEP settings with no luck on both windows pc builds to include a 32 bit build and a bios disable all to still receive the Access Violation and DEP violation messages. Some of the other articles I've read are above my head dealing with null pointers and some other stuff.
The Radeon gpu fails on linux and windows, at least using opengl with beetle-psx-hw. I've reached my capable limit on this one...going to relegate this box to some sort of media server.
The 2nd PC with the intel gpu works on linux with no issue running both vulkan and opengl.
However, same pc with windows 8.1 the intel gpu fails with beetle-psx-hw after the psx bios when running vulkan or opengl drivers and gdb returns the ...corrupt stack ()? message when attempting to debug past the RA frontend. From what I've read I don't think the hd 2500 gpu is considered legacy. At this point I am border line obsessed with trying to figure out why the stupid thing wont work. If it was just about playing a game I could do it with the linux distro. Is this how the path to the dark side begins?
I assume the issue is with the gpu drivers as drmingw spits out a bunch of error related info to opengl that and windows generally sucks.
Is the gdb the only useful debug application for this project?
@prestbit, all the symptoms you describe point to corruption in RAM. Check your RAM with Memtest86+ or any other memory test tool at boot time.
Is the gdb the only useful debug application for this project?
In *nix case, you can use valgrind for everything.
@ Jj0YzL5nvJ - I did the mem test and it didn't return any derogatory information.
Update: A few other notes...I was pointed to the skeeto/opengl-demo and was able to run the minimal opengl 3.3 core profile demo with the rotating square. It was recommended that I yell at the AMD execs. I'll try it if it brings resolution...get it, resolution.
As I continue to dig on how to use back trace I came across an article on how to deal with the seg fault issues and I was able to get the following debug information from the windows box running with the HD 4850:
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./retroarch...done.
(gdb) Temporary breakpoint 1 at 0x82e520: file C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c, line 17.
Starting program: C:\msys64\home\1346home\retroarch\retroarch.exe
[New Thread 2968.0xbfc]
Temporary breakpoint 1, main (flags=1, cmdline=0x58fbc60, inst=0x58f1ff0)
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:17
(gdb) Continuing.
[New Thread 2968.0x8c4]
[New Thread 2968.0x1138]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) (gdb) (gdb) #0 gl_begin_debug (gl=0x7b691b0) at gfx/drivers/gl.c:1654
#1 0x00000000005997bc in gl_init (video=0x23f780,
input=0xb015b0 <current_input>, input_data=0xb015b8 <current_input_data>)
at gfx/drivers/gl.c:1790
#2 0x00000000004484b1 in video_driver_init_internal (
video_is_threaded=0x23f877) at gfx/video_driver.c:1049
#3 0x0000000000449952 in video_driver_init (video_is_threaded=0x23f877)
at gfx/video_driver.c:1745
#4 0x000000000044e366 in drivers_init (flags=511) at driver.c:354
#5 0x000000000040538a in retroarch_main_init (argc=1, argv=0x58fbe80)
at retroarch.c:1301
#6 0x000000000041b708 in content_load (info=0x23fda0)
at tasks/task_content.c:270
#7 0x000000000041c89a in task_load_content (content_info=0x23fda0,
content_ctx=0x23fcc0, launched_from_menu=true, launched_from_cli=true,
error_string=0x23fcb8) at tasks/task_content.c:857
#8 0x000000000041dcaa in task_load_content_callback (content_info=0x23fda0,
loading_from_menu=true, loading_from_cli=true)
at tasks/task_content.c:1537
#9 0x000000000041de1d in task_push_load_content_from_cli (core_path=0x0,
fullpath=0x0, content_info=0x23fda0, type=CORE_TYPE_PLAIN, cb=0x0,
user_data=0x0) at tasks/task_content.c:1601
#10 0x00000000004016f9 in rarch_main (argc=1, argv=0x58fbe80, data=0x0)
at frontend/frontend.c:115
#11 0x000000000040177f in SDL_main (argc=1, argv=0x58fbe80)
at frontend/frontend.c:151
#12 0x00000000007475b8 in main_getcmdline ()
#13 0x00000000004013f7 in __tmainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:341
#14 0x00000000004014fb in WinMainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:191
(gdb) #0 gl_begin_debug (gl=0x7b691b0) at gfx/drivers/gl.c:1654
No locals.
#1 0x00000000005997bc in gl_init (video=0x23f780,
input=0xb015b0 <current_input>, input_data=0xb015b8 <current_input_data>)
at gfx/drivers/gl.c:1790
mode = {width = 960, height = 720, fullscreen = false}
inp = {input = 0x7067f10, input_data = 0x584e13 <slock_unlock+35>}
interval = 1
mip_level = 8646304
full_x = 1920
full_y = 1200
shader_filter = {index = 8796537, smooth = 0x23f6c8}
shader_info = {set_active = 160, num = 0, idx = 4201167,
data = 0x7b69150}
ident_info = {
ident = 0x447064 <snprintf+68> "‰Ã‰ØHƒÄ8[]ÃUH‰åH‰M\020Hƒ}\020"}
settings = 0x7067fb0
wrap_info = {idx = 0, type = RARCH_WRAP_BORDER}
win_width = 960
win_height = 720
temp_width = 0
temp_height = 0
force_smooth = false
vendor = 0x9565ba8 "ATI Technologies Inc."
renderer = 0x99df58c "ATI Radeon HD 4800 Series"
version = 0xabfee50 "3.3.11672 Compatibility Profile/Debug Context"
hwr = 0xb057e0 <hw_render>
error_string = 0x0
gl = 0x7b691b0
ctx_driver = 0xa28020 <gfx_ctx_wgl>
#2 0x00000000004484b1 in video_driver_init_internal (
video_is_threaded=0x23f877) at gfx/video_driver.c:1049
video = {fullscreen = false, vsync = true, force_aspect = true,
font_enable = true, width = 960, height = 720, swap_interval = 1,
smooth = true, is_threaded = false, rgb32 = false, input_scale = 2,
parent = 52}
max_dim = 320
scale = 2
width = 960
height = 720
custom_vp = 0x709751c
tmp = 0x83e7e0 <input_dinput>
system = 0x0
dummy_pixels = {0 <repeats 32 times>}
settings = 0x7067fb0
geom = 0xb01680 <video_driver_av_info>
#3 0x0000000000449952 in video_driver_init (video_is_threaded=0x23f877)
at gfx/video_driver.c:1745
No locals.
#4 0x000000000044e366 in drivers_init (flags=511) at driver.c:354
hwr = 0xb057e0 <hw_render>
video_is_threaded = false
#5 0x000000000040538a in retroarch_main_init (argc=1, argv=0x58fbe80)
at retroarch.c:1301
init_failed = false
#6 0x000000000041b708 in content_load (info=0x23fda0)
at tasks/task_content.c:270
i = 0
retval = true
rarch_argc = 0
rarch_argv = {0x0 <repeats 32 times>}
argv_copy = {0x0 <repeats 32 times>}
rarch_argv_ptr = 0x58fbe80
rarch_argc_ptr = 0x23fda0
wrap_args = 0x7097570
#7 0x000000000041c89a in task_load_content (content_info=0x23fda0,
content_ctx=0x23fcc0, launched_from_menu=true, launched_from_cli=true,
error_string=0x23fcb8) at tasks/task_content.c:857
contentless = false
is_inited = false
#8 0x000000000041dcaa in task_load_content_callback (content_info=0x23fda0,
loading_from_menu=true, loading_from_cli=true)
at tasks/task_content.c:1537
content_ctx = {subsystem = {data = 0x0, size = 0}, name_ips = 0x0,
name_bps = 0x0, name_ups = 0x0, valid_extensions = 0x0,
directory_cache = 0x0, directory_system = 0x0, is_ips_pref = false,
is_bps_pref = false, is_ups_pref = false,
history_list_enable = false, block_extract = false,
need_fullpath = false, set_supports_no_game_enable = false,
patch_is_blocked = false, bios_is_missing = false,
check_firmware_before_loading = false, temporary_content = 0x66}
ret = false
error_string = 0x0
global = 0xad0740 <g_extern>
settings = 0x7067fb0
#9 0x000000000041de1d in task_push_load_content_from_cli (core_path=0x0,
fullpath=0x0, content_info=0x23fda0, type=CORE_TYPE_PLAIN, cb=0x0,
user_data=0x0) at tasks/task_content.c:1601
No locals.
#10 0x00000000004016f9 in rarch_main (argc=1, argv=0x58fbe80, data=0x0)
at frontend/frontend.c:115
info = {argc = 1, argv = 0x58fbe80, args = 0x0,
environ_get = 0x7389b0 <frontend_win32_environment_get>}
args = 0x0
#11 0x000000000040177f in SDL_main (argc=1, argv=0x58fbe80)
at frontend/frontend.c:151
No locals.
#12 0x00000000007475b8 in main_getcmdline ()
No symbol table info available.
#13 0x00000000004013f7 in __tmainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:341
lock_free = <optimized out>
fiberid = <optimized out>
nested = <optimized out>
lpszCommandLine = <optimized out>
StartupInfo = {cb = 104, lpReserved = 0x4fe0470 "",
lpDesktop = 0x4fe0800 "Winsta0\\Default",
lpTitle = 0x4fe57e0 "C:\\msys64\\home\\1346home\\retroarch\\retroarch.exe", dwX = 0, dwY = 0, dwXSize = 0, dwYSize = 0, dwXCountChars = 0,
dwYCountChars = 0, dwFillAttribute = 0, dwFlags = 0,
wShowWindow = 0, cbReserved2 = 0, lpReserved2 = 0x0,
hStdInput = 0xffffffffffffffff, hStdOutput = 0xffffffffffffffff,
hStdError = 0xffffffffffffffff}
inDoubleQuote = <optimized out>
#14 0x00000000004014fb in WinMainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:191
ret = 255
(gdb) Continuing.
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) A debugging session is active.
Inferior 1 [process 2968] will be killed.
Quit anyway? (y or n) [answered Y; input not from terminal]
Assuming this information is useful I will replicate with the windows box running the HD 2500.
Hmm... what version of the Catalyst driver are you using? The last stable version was 13.1 (2013/01/20) The last beta version was 13.4 (2013/04/28)
I don't know anything about the HD 4XXX series, but in the case of the HD 5XXX series, the latest beta version works better. From Catalyst to Crimson...
Is the software rendering working in the beta driver? If your answer is affirmative, that means that now the hardware rendering is completely disabled.
vendor = 0x7ff8a21f4710 "Microsoft Corporation"
renderer = 0x7ff8a21f4728 "GDI Generic"
version = 0x7ff8a21f4734 "1.1.0"
Maybe it never worked properly at all...
And try video_driver = "d3d" and menu_driver="rgui" combination
@Jj0YzL5nvJ - I deleted the post that reflected the Generic driver debug. I posted the wrong text. I've cleaned up the files to keep that from happening again. Nonetheless, I've installed the beta drivers and still get seg fault. Here is the debug with exception to the driver information it's probably close to the same.
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./retroarch...done.
(gdb) Temporary breakpoint 1 at 0x82e520: file C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c, line 17.
Starting program: C:\msys64\home\1346home\retroarch\retroarch.exe
[New Thread 5700.0x1648]
Temporary breakpoint 1, main (flags=1, cmdline=0x5babc60, inst=0x5ba1ff0)
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:17
(gdb) Continuing.
[New Thread 5700.0x1668]
[New Thread 5700.0x167c]
Thread 1 received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) (gdb) (gdb) #0 gl_begin_debug (gl=0x79e91b0) at gfx/drivers/gl.c:1654
#1 0x00000000005997bc in gl_init (video=0x23f780,
input=0xb015b0 <current_input>, input_data=0xb015b8 <current_input_data>)
at gfx/drivers/gl.c:1790
#2 0x00000000004484b1 in video_driver_init_internal (
video_is_threaded=0x23f877) at gfx/video_driver.c:1049
#3 0x0000000000449952 in video_driver_init (video_is_threaded=0x23f877)
at gfx/video_driver.c:1745
#4 0x000000000044e366 in drivers_init (flags=511) at driver.c:354
#5 0x000000000040538a in retroarch_main_init (argc=1, argv=0x5babe80)
at retroarch.c:1301
#6 0x000000000041b708 in content_load (info=0x23fda0)
at tasks/task_content.c:270
#7 0x000000000041c89a in task_load_content (content_info=0x23fda0,
content_ctx=0x23fcc0, launched_from_menu=true, launched_from_cli=true,
error_string=0x23fcb8) at tasks/task_content.c:857
#8 0x000000000041dcaa in task_load_content_callback (content_info=0x23fda0,
loading_from_menu=true, loading_from_cli=true)
at tasks/task_content.c:1537
#9 0x000000000041de1d in task_push_load_content_from_cli (core_path=0x0,
fullpath=0x0, content_info=0x23fda0, type=CORE_TYPE_PLAIN, cb=0x0,
user_data=0x0) at tasks/task_content.c:1601
#10 0x00000000004016f9 in rarch_main (argc=1, argv=0x5babe80, data=0x0)
at frontend/frontend.c:115
#11 0x000000000040177f in SDL_main (argc=1, argv=0x5babe80)
at frontend/frontend.c:151
#12 0x00000000007475b8 in main_getcmdline ()
#13 0x00000000004013f7 in __tmainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:341
#14 0x00000000004014fb in WinMainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:191
(gdb) #0 gl_begin_debug (gl=0x79e91b0) at gfx/drivers/gl.c:1654
No locals.
#1 0x00000000005997bc in gl_init (video=0x23f780,
input=0xb015b0 <current_input>, input_data=0xb015b8 <current_input_data>)
at gfx/drivers/gl.c:1790
mode = {width = 960, height = 720, fullscreen = false}
inp = {input = 0x7317f10, input_data = 0x584e13 <slock_unlock+35>}
interval = 1
mip_level = 8646304
full_x = 1920
full_y = 1200
shader_filter = {index = 8796537, smooth = 0x23f6c8}
shader_info = {set_active = 160, num = 0, idx = 4201167,
data = 0x79e9150}
ident_info = {
ident = 0x447064 <snprintf+68> "‰Ã‰ØHƒÄ8[]ÃUH‰åH‰M\020Hƒ}\020"}
settings = 0x7317fb0
wrap_info = {idx = 0, type = RARCH_WRAP_BORDER}
win_width = 960
win_height = 720
temp_width = 0
temp_height = 0
force_smooth = false
vendor = 0x93e5ba8 "ATI Technologies Inc."
renderer = 0x985f58c "ATI Radeon HD 4800 Series"
version = 0xa7980a0 "3.3.11672 Compatibility Profile/Debug Context"
hwr = 0xb057e0 <hw_render>
error_string = 0x0
gl = 0x79e91b0
ctx_driver = 0xa28020 <gfx_ctx_wgl>
#2 0x00000000004484b1 in video_driver_init_internal (
video_is_threaded=0x23f877) at gfx/video_driver.c:1049
video = {fullscreen = false, vsync = true, force_aspect = true,
font_enable = true, width = 960, height = 720, swap_interval = 1,
smooth = true, is_threaded = false, rgb32 = false, input_scale = 2,
parent = 52}
max_dim = 320
scale = 2
width = 960
height = 720
custom_vp = 0x734751c
tmp = 0x83e7e0 <input_dinput>
system = 0x0
dummy_pixels = {0 <repeats 32 times>}
settings = 0x7317fb0
geom = 0xb01680 <video_driver_av_info>
#3 0x0000000000449952 in video_driver_init (video_is_threaded=0x23f877)
at gfx/video_driver.c:1745
No locals.
#4 0x000000000044e366 in drivers_init (flags=511) at driver.c:354
hwr = 0xb057e0 <hw_render>
video_is_threaded = false
#5 0x000000000040538a in retroarch_main_init (argc=1, argv=0x5babe80)
at retroarch.c:1301
init_failed = false
#6 0x000000000041b708 in content_load (info=0x23fda0)
at tasks/task_content.c:270
i = 0
retval = true
rarch_argc = 0
rarch_argv = {0x0 <repeats 32 times>}
argv_copy = {0x0 <repeats 32 times>}
rarch_argv_ptr = 0x5babe80
rarch_argc_ptr = 0x23fda0
wrap_args = 0x7347570
#7 0x000000000041c89a in task_load_content (content_info=0x23fda0,
content_ctx=0x23fcc0, launched_from_menu=true, launched_from_cli=true,
error_string=0x23fcb8) at tasks/task_content.c:857
contentless = false
is_inited = false
#8 0x000000000041dcaa in task_load_content_callback (content_info=0x23fda0,
loading_from_menu=true, loading_from_cli=true)
at tasks/task_content.c:1537
content_ctx = {subsystem = {data = 0x0, size = 0}, name_ips = 0x0,
name_bps = 0x0, name_ups = 0x0, valid_extensions = 0x0,
directory_cache = 0x0, directory_system = 0x0, is_ips_pref = false,
is_bps_pref = false, is_ups_pref = false,
history_list_enable = false, block_extract = false,
need_fullpath = false, set_supports_no_game_enable = false,
patch_is_blocked = false, bios_is_missing = false,
check_firmware_before_loading = false, temporary_content = 0x66}
ret = false
error_string = 0x0
global = 0xad0740 <g_extern>
settings = 0x7317fb0
#9 0x000000000041de1d in task_push_load_content_from_cli (core_path=0x0,
fullpath=0x0, content_info=0x23fda0, type=CORE_TYPE_PLAIN, cb=0x0,
user_data=0x0) at tasks/task_content.c:1601
No locals.
#10 0x00000000004016f9 in rarch_main (argc=1, argv=0x5babe80, data=0x0)
at frontend/frontend.c:115
info = {argc = 1, argv = 0x5babe80, args = 0x0,
environ_get = 0x7389b0 <frontend_win32_environment_get>}
args = 0x0
#11 0x000000000040177f in SDL_main (argc=1, argv=0x5babe80)
at frontend/frontend.c:151
No locals.
#12 0x00000000007475b8 in main_getcmdline ()
No symbol table info available.
#13 0x00000000004013f7 in __tmainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:341
lock_free = <optimized out>
fiberid = <optimized out>
nested = <optimized out>
lpszCommandLine = <optimized out>
StartupInfo = {cb = 104, lpReserved = 0x4fa0470 "",
lpDesktop = 0x4fa0800 "Winsta0\\Default",
lpTitle = 0x4fa57e0 "C:\\msys64\\home\\1346home\\retroarch\\retroarch.exe", dwX = 0, dwY = 0, dwXSize = 0, dwYSize = 0, dwXCountChars = 0,
dwYCountChars = 0, dwFillAttribute = 0, dwFlags = 0,
wShowWindow = 0, cbReserved2 = 0, lpReserved2 = 0x0,
hStdInput = 0xffffffffffffffff, hStdOutput = 0xffffffffffffffff,
hStdError = 0xffffffffffffffff}
inDoubleQuote = <optimized out>
#14 0x00000000004014fb in WinMainCRTStartup ()
at C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:191
ret = 255
(gdb)
I will attempt to summarize what I've tried and the results with the driver combinations and the RA results:
Retroarch build with no build flags set
I could try a beetle-psx-hw DEBUG=1 build and see what it produces assuming it would produce a debug when RA does not have any flags set.
Thoughts?
Please contact me again for next debug session ^^
windows 8.1 pro i7 CPU 920 @ 2.67GHz ATI Radeon HD 4850 OpenGL 3.3
When launching beetle-psx-hw with opengl driver I get the black screen with audio during the psx bios boot and retroarch crashes at the game load.
I generated the text with RetroArch and beetle-psx-hw debug builds with MINGW64
I will be glad to further assist in whatever way I can. I'm all researched out at this point.
Here is the text from the log file: