ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.35k stars 233 forks source link

OpenGL error #566

Closed Ilya114 closed 2 years ago

Ilya114 commented 2 years ago

After run on arm64, I have error OpenGL, host system have hardware acceleration (OpenGL 3.0,4.6,ES 3.1). Screenshot_2022-02-04-08-02-59-087_com termux x11

bbbruni commented 2 years ago

d3d:wined3d_dxtn_init Wine cannot find the txc_dxtn library, DXTn

Please run sudo apt update && sudo apt-cache search dxtn

And post the result here

Ilya114 commented 2 years ago
root@localhost:~# sudo apt-cache search dxtn            root@localhost:~# sudo apt search dxtn
Sorting... Done
Full Text Search... Done
root@localhost:~#
bbbruni commented 2 years ago

sudo apt update

What does sudo apt update return?

Ilya114 commented 2 years ago

root@localhost:~# sudo apt update && sudo apt-cache search dxtn Hit:1 http://deb.debian.org/debian bullseye InRelease Get:2 http://deb.debian.org/debian bullseye-updates InRelease [39.4 kB] Get:3 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] Get:4 http://deb.debian.org/debian bullseye-backports InRelease [44.2 kB] Get:5 http://security.debian.org/debian-security bullseye-security/main armhf Packages [118 kB] Get:6 http://security.debian.org/debian-security bullseye-security/main arm64 Packages [113 kB] Get:7 http://security.debian.org/debian-security bullseye-security/main Translation-en [74.8 kB] Get:8 http://deb.debian.org/debian bullseye-backports/main arm64 Packages.diff/Index [63.3 kB] Get:9 http://deb.debian.org/debian bullseye-backports/main armhf Packages.diff/Index [63.3 kB] Get:10 http://deb.debian.org/debian bullseye-backports/main arm64 Packages T-2022-02-03-2003.56-F-2022-02-03-2003.56.pdiff [325 B] Get:10 http://deb.debian.org/debian bullseye-backports/main arm64 Packages T-2022-02-03-2003.56-F-2022-02-03-2003.56.pdiff [325 B] Get:11 http://deb.debian.org/debian bullseye-backports/main armhf Packages T-2022-02-03-2003.56-F-2022-02-03-2003.56.pdiff [324 B] Get:11 http://deb.debian.org/debian bullseye-backports/main armhf Packages T-2022-02-03-2003.56-F-2022-02-03-2003.56.pdiff [324 B] Fetched 561 kB in 11s (50.1 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it.

bbbruni commented 2 years ago

ok, try sudo apt-file update and post the result Then sudo apt-file search dxtn and post the result

Ilya114 commented 2 years ago

Command not found

bbbruni commented 2 years ago

Command not found

Then run sudo apt-get install apt-file and repeat the previous command

Ilya114 commented 2 years ago

root@localhost:~# apt-file search dxtn root@localhost:~#

bbbruni commented 2 years ago

Well, this looks like a symptom of an outdated OpenGL driver: https://www.phoronix.com/forums/forum/software/linux-gaming/1026281-wine-d3d-code-now-defaults-to-opengl-4-4-contexts/page2

  1. post your wine version
  2. post result of sudo apt-get install mesa-utils && glxgears -info

Also: https://www.codeweavers.com/support/wiki/Diag/MissingLibTxc_dxtn

Ilya114 commented 2 years ago

root@localhost:~# export DISPLAY=:1 root@localhost:~# glxgears -info WARNING: tu is not a conformant vulkan implementation, testing use only. WARNING: The Vulkan device doesn't support the base Zink requirements, some incorrect rendering might occur GL_RENDERER = zink (FD640) GL_VERSION = 3.0 Mesa 21.2.0-devel (git-49138d8349) GL_VENDOR = Collabora Ltd GL_EXTENSIONS = GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_NV_half_float GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_depth_bounds_test GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_texture_array GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_ATI_meminfo GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_NV_copy_image GL_NV_texture_barrier GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_texture_compression_bptc GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_viewport_array GL_EXT_direct_state_access GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_query_buffer_object GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_compute_variable_group_size GL_ARB_indirect_parameters GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_query_buffer_object GL_ARB_shader_draw_parameters GL_ARB_shader_group_vote GL_ARB_shading_language_include GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_NVX_gpu_memory_info GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_derivative_control GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_shader_texture_image_samples GL_ARB_texture_barrier GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_EXT_shader_image_load_formatted GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_ARB_texture_filter_minmax GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_ARB_gl_spirv GL_ARB_spirv_extensions GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_ARB_texture_filter_anisotropic GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_EXT_EGL_sync VisualID 69, 0x45 1701 frames in 5.0 seconds = 340.112 FPS 1323 frames in 5.0 seconds = 264.592 FPS 1495 frames in 5.0 seconds = 298.993 FPS 1659 frames in 5.0 seconds = 331.715 FPS 1551 frames in 5.0 seconds = 310.122 FPS

Ilya114 commented 2 years ago

Okay,I export MESA_GL_VERSION_OVERRIDE=4.6COMPAT is error OpenGL too Screenshot_2022-02-05-07-53-21-211_com termux x11

bbbruni commented 2 years ago

002d:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems

~# glxgears -info GL_RENDERER = zink (FD640) GL_VERSION = 4.6 (Compatibility Profile) Mesa 21.2.0-devel (git-49138d8349)

So your OPENGL driver as such is working (since glxgears is shown) but 32-bit wine cannot access it. We need to compare verbose GL debug output from glxgears and from wine.

post the output of LIBGL_DEBUG=verbose glxinfo 2>&1 >/dev/null | grep so$ then post the output of LIBGL_DEBUG=verbose wine 'DolphinVS.exe' 2>&1 >/dev/null | grep so$

Ilya114 commented 2 years ago

LIBGL_DEBUG=verbose glxinfo | grep OpenGL 2>&1 >/dev/null | grep so$ libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /root/.drirc: No such file or directory. WARNING: tu is not a conformant vulkan implementation, testing use only. libGL: Can't open configuration file /etc/drirc: No such file or directory. libGL: Can't open configuration file /root/.drirc: No such file or directory. WARNING: The Vulkan device doesn't support the base Zink requirements, some incorrect rendering might occur root@localhost:~# root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# LIBGL_DEBUG=verbose wine DolphinVS.exe 2>&1 >/dev/null | grep so$ root@localhost:~# Screenshot_2022-02-05-10-55-50-054_x org server

bbbruni commented 2 years ago

missing DRIRC files are not critical, opengl applications should work without them. Please post the output of LIBGL_DEBUG=verbose glxinfo post the output of find / -name "DolphinVS.exe"

Ilya114 commented 2 years ago
root@localhost:~# LIBGL_DEBUG=verbose glxinfo
name of display: 192.168.0.102:0
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
WARNING: tu is not a conformant vulkan implementation, testing use only.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
WARNING: The Vulkan device doesn't support the base Zink requirements, some incorrect rendering might occur
display: 192.168.0.102:0  screen: 0
direct rendering: Yes
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 21.2.0-devel
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_EXT_create_context_es2_profile,
    GLX_EXT_create_context_es_profile, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_pixmap_colormap, GLX_MESA_release_buffers, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 21.2.0-devel
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_EXT_create_context_es2_profile,
    GLX_EXT_create_context_es_profile, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_pixmap_colormap, GLX_MESA_release_buffers, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_EXT_create_context_es2_profile,
    GLX_EXT_create_context_es_profile, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_pixmap_colormap, GLX_MESA_release_buffers, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 1106 MB, largest block: 1106 MB
    VBO free aux. memory - total: 0 MB, largest block: 0 MB
    Texture free memory - total: 1106 MB, largest block: 1106 MB
    Texture free aux. memory - total: 0 MB, largest block: 0 MB
    Renderbuffer free memory - total: 1106 MB, largest block: 1106 MB
    Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 4125 MB
    Total available memory: 4125 MB
    Currently available dedicated video memory: 1106 MB
OpenGL vendor string: Collabora Ltd
OpenGL renderer string: zink (FD640)
OpenGL core profile version string: 3.2 (Core Profile) Mesa 21.2.0-devel (git-49138d8349)
OpenGL core profile shading language version string: 1.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend,
    GL_AMD_gpu_shader_int64, GL_AMD_multi_draw_indirect,
    GL_AMD_query_buffer_object, GL_AMD_shader_stencil_export,
    GL_AMD_shader_trinary_minmax, GL_AMD_texture_texture4,
    GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_viewport_index,
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_1_compatibility,
    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance,
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage,
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image,
    GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access,
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_draw_instanced, GL_ARB_enhanced_layouts,
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location,
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport,
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments,
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB,
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv,
    GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64,
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex,
    GL_ARB_indirect_parameters, GL_ARB_instanced_arrays,
    GL_ARB_internalformat_query, GL_ARB_internalformat_query2,
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment,
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect,
    GL_ARB_occlusion_query2, GL_ARB_parallel_shader_compile,
    GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object,
    GL_ARB_point_sprite, GL_ARB_polygon_offset_clamp,
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex,
    GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior,
    GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects,
    GL_ARB_seamless_cube_map, GL_ARB_separate_shader_objects,
    GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters,
    GL_ARB_shader_bit_encoding, GL_ARB_shader_draw_parameters,
    GL_ARB_shader_group_vote, GL_ARB_shader_image_load_store,
    GL_ARB_shader_image_size, GL_ARB_shader_objects, GL_ARB_shader_precision,
    GL_ARB_shader_stencil_export, GL_ARB_shader_storage_buffer_object,
    GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples,
    GL_ARB_shader_texture_lod, GL_ARB_shader_viewport_layer_array,
    GL_ARB_shading_language_420pack, GL_ARB_shading_language_include,
    GL_ARB_shading_language_packing, GL_ARB_spirv_extensions,
    GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader,
    GL_ARB_texture_barrier, GL_ARB_texture_buffer_object,
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression_bptc,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_multisample,
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels,
    GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg,
    GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8,
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample,
    GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_uniform_buffer_object,
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object,
    GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_viewport_array, GL_ATI_blend_equation_separate, GL_ATI_meminfo,
    GL_ATI_texture_float, GL_EXT_EGL_image_storage, GL_EXT_EGL_sync,
    GL_EXT_abgr, GL_EXT_blend_equation_separate, GL_EXT_depth_bounds_test,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_framebuffer_blit,
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled,
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB,
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float,
    GL_EXT_pixel_buffer_object, GL_EXT_polygon_offset_clamp,
    GL_EXT_provoking_vertex, GL_EXT_shader_image_load_formatted,
    GL_EXT_shader_integer_mix, GL_EXT_texture_array,
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8,
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent,
    GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query,
    GL_EXT_transform_feedback, GL_EXT_vertex_array_bgra,
    GL_EXT_vertex_attrib_64bit, GL_IBM_multimode_draw_arrays,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_parallel_shader_compile, GL_KHR_robust_buffer_access_behavior,
    GL_KHR_robustness, GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_pack_invert,
    GL_MESA_shader_integer_functions, GL_MESA_texture_signed_rgba,
    GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_copy_image,
    GL_NV_depth_clamp, GL_NV_packed_depth_stencil, GL_NV_texture_barrier,
    GL_OES_EGL_image, GL_S3_s3tc

OpenGL version string: 3.0 Mesa 21.2.0-devel (git-49138d8349)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend,
    GL_AMD_multi_draw_indirect, GL_AMD_query_buffer_object,
    GL_AMD_shader_stencil_export, GL_AMD_shader_trinary_minmax,
    GL_AMD_texture_texture4, GL_ANGLE_texture_compression_dxt3,
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_packed_pixels,
    GL_ARB_ES2_compatibility, GL_ARB_ES3_compatibility,
    GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_blend_func_extended,
    GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clear_texture,
    GL_ARB_clip_control, GL_ARB_color_buffer_float,
    GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader,
    GL_ARB_compute_variable_group_size, GL_ARB_conditional_render_inverted,
    GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image,
    GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float,
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_derivative_control,
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend,
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect,
    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location,
    GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_fragment_layer_viewport, GL_ARB_fragment_program,
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
    GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object,
    GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary,
    GL_ARB_get_texture_sub_image, GL_ARB_gl_spirv, GL_ARB_half_float_pixel,
    GL_ARB_half_float_vertex, GL_ARB_indirect_parameters,
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query,
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata,
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind,
    GL_ARB_multi_draw_indirect, GL_ARB_multisample, GL_ARB_multitexture,
    GL_ARB_occlusion_query, GL_ARB_occlusion_query2,
    GL_ARB_parallel_shader_compile, GL_ARB_pipeline_statistics_query,
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite,
    GL_ARB_polygon_offset_clamp, GL_ARB_program_interface_query,
    GL_ARB_provoking_vertex, GL_ARB_query_buffer_object,
    GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness,
    GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops,
    GL_ARB_shader_atomic_counters, GL_ARB_shader_bit_encoding,
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote,
    GL_ARB_shader_image_load_store, GL_ARB_shader_image_size,
    GL_ARB_shader_objects, GL_ARB_shader_stencil_export,
    GL_ARB_shader_storage_buffer_object, GL_ARB_shader_texture_image_samples,
    GL_ARB_shader_texture_lod, GL_ARB_shading_language_100,
    GL_ARB_shading_language_420pack, GL_ARB_shading_language_include,
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_spirv_extensions,
    GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_texture_barrier,
    GL_ARB_texture_border_clamp, GL_ARB_texture_buffer_object,
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression,
    GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc,
    GL_ARB_texture_cube_map, GL_ARB_texture_cube_map_array,
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_filter_anisotropic, GL_ARB_texture_filter_minmax,
    GL_ARB_texture_float, GL_ARB_texture_gather,
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat,
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two,
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod,
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
    GL_ARB_texture_stencil8, GL_ARB_texture_storage,
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle,
    GL_ARB_texture_view, GL_ARB_transform_feedback2,
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced,
    GL_ARB_transform_feedback_overflow_query, GL_ARB_transpose_matrix,
    GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra,
    GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_binding,
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader,
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev,
    GL_ARB_viewport_array, GL_ARB_window_pos, GL_ATI_blend_equation_separate,
    GL_ATI_draw_buffers, GL_ATI_fragment_shader, GL_ATI_meminfo,
    GL_ATI_separate_stencil, GL_ATI_texture_env_combine3,
    GL_ATI_texture_float, GL_EXT_EGL_image_storage, GL_EXT_EGL_sync,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array,
    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,
    GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_object,
    GL_EXT_framebuffer_sRGB, GL_EXT_gpu_program_parameters,
    GL_EXT_multi_draw_arrays, GL_EXT_packed_depth_stencil,
    GL_EXT_packed_float, GL_EXT_packed_pixels, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_polygon_offset_clamp,
    GL_EXT_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shader_image_load_formatted,
    GL_EXT_shader_integer_mix, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side,
    GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
    GL_EXT_texture_array, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic,
    GL_EXT_texture_integer, GL_EXT_texture_lod_bias, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_R8,
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent,
    GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query,
    GL_EXT_transform_feedback, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
    GL_KHR_parallel_shader_compile, GL_KHR_robust_buffer_access_behavior,
    GL_KHR_robustness, GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_pack_invert,
    GL_MESA_shader_integer_functions, GL_MESA_texture_signed_rgba,
    GL_MESA_window_pos, GL_NVX_gpu_memory_info, GL_NV_blend_square,
    GL_NV_conditional_render, GL_NV_copy_image, GL_NV_depth_clamp,
    GL_NV_fog_distance, GL_NV_half_float, GL_NV_light_max_exponent,
    GL_NV_packed_depth_stencil, GL_NV_primitive_restart,
    GL_NV_texgen_reflection, GL_NV_texture_barrier,
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image,
    GL_OES_read_format, GL_S3_s3tc, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL ES profile version string: OpenGL ES 3.1 Mesa 21.2.0-devel (git-49138d8349)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
OpenGL ES profile extensions:
    GL_ANGLE_pack_reverse_row_order, GL_ANGLE_texture_compression_dxt3,
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_texture_max_level,
    GL_EXT_EGL_image_storage, GL_EXT_base_instance,
    GL_EXT_blend_func_extended, GL_EXT_blend_minmax, GL_EXT_buffer_storage,
    GL_EXT_clip_control, GL_EXT_clip_cull_distance, GL_EXT_color_buffer_float,
    GL_EXT_compressed_ETC1_RGB8_sub_texture, GL_EXT_copy_image,
    GL_EXT_depth_clamp, GL_EXT_discard_framebuffer, GL_EXT_draw_buffers,
    GL_EXT_draw_buffers_indexed, GL_EXT_draw_elements_base_vertex,
    GL_EXT_draw_instanced, GL_EXT_float_blend, GL_EXT_frag_depth,
    GL_EXT_geometry_point_size, GL_EXT_geometry_shader, GL_EXT_gpu_shader5,
    GL_EXT_map_buffer_range, GL_EXT_multi_draw_arrays,
    GL_EXT_occlusion_query_boolean, GL_EXT_polygon_offset_clamp,
    GL_EXT_primitive_bounding_box, GL_EXT_read_format_bgra,
    GL_EXT_render_snorm, GL_EXT_robustness, GL_EXT_sRGB_write_control,
    GL_EXT_separate_shader_objects, GL_EXT_shader_group_vote,
    GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix,
    GL_EXT_shader_io_blocks, GL_EXT_tessellation_point_size,
    GL_EXT_tessellation_shader, GL_EXT_texture_border_clamp,
    GL_EXT_texture_compression_bptc, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_compression_s3tc_srgb, GL_EXT_texture_cube_map_array,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_format_BGRA8888,
    GL_EXT_texture_norm16, GL_EXT_texture_query_lod, GL_EXT_texture_rg,
    GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_RG8,
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_type_2_10_10_10_REV,
    GL_EXT_texture_view, GL_EXT_unpack_subimage, GL_KHR_context_flush_control,
    GL_KHR_debug, GL_KHR_no_error, GL_KHR_parallel_shader_compile,
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness,
    GL_KHR_texture_compression_astc_ldr,
    GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_bgra,
    GL_MESA_framebuffer_flip_y, GL_MESA_shader_integer_functions,
    GL_NV_conditional_render, GL_NV_draw_buffers, GL_NV_fbo_color_attachments,
    GL_NV_image_formats, GL_NV_pixel_buffer_object, GL_NV_read_buffer,
    GL_NV_read_depth, GL_NV_read_depth_stencil, GL_NV_read_stencil,
    GL_OES_EGL_image, GL_OES_EGL_image_external,
    GL_OES_EGL_image_external_essl3, GL_OES_EGL_sync,
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_copy_image, GL_OES_depth24,
    GL_OES_depth_texture, GL_OES_depth_texture_cube_map,
    GL_OES_draw_buffers_indexed, GL_OES_draw_elements_base_vertex,
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    GL_OES_geometry_point_size, GL_OES_geometry_shader,
    GL_OES_get_program_binary, GL_OES_gpu_shader5, GL_OES_mapbuffer,
    GL_OES_packed_depth_stencil, GL_OES_primitive_bounding_box,
    GL_OES_required_internalformat, GL_OES_rgb8_rgba8, GL_OES_sample_shading,
    GL_OES_sample_variables, GL_OES_shader_image_atomic,
    GL_OES_shader_io_blocks, GL_OES_shader_multisample_interpolation,
    GL_OES_standard_derivatives, GL_OES_stencil8, GL_OES_surfaceless_context,
    GL_OES_tessellation_point_size, GL_OES_tessellation_shader,
    GL_OES_texture_3D, GL_OES_texture_border_clamp,
    GL_OES_texture_cube_map_array, GL_OES_texture_float,
    GL_OES_texture_float_linear, GL_OES_texture_half_float,
    GL_OES_texture_half_float_linear, GL_OES_texture_npot,
    GL_OES_texture_stencil8, GL_OES_texture_storage_multisample_2d_array,
    GL_OES_texture_view, GL_OES_vertex_array_object, GL_OES_vertex_half_float,
    GL_OES_viewport_array

2 GLX Visuals
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8 16 16 16 16  0 0 None
0x041 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16  0  0 0 None

2 GLXFBConfigs:
    visual  x   bf lv rg d st  colorbuffer  sr ax dp st accumbuffer  ms  cav
  id dep cl sp  sz l  ci b ro  r  g  b  a F gb bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------------
0x021 16 tc  0  16  0 r  y .   5  6  5  0 .  .  0 24  8 16 16 16 16  0 0 None
0x041 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 None

root@localhost:~#
Ilya114 commented 2 years ago

find / -name "DolphinVS.exe"

What? I not understand you comamnd, please print full command(I not pro English)

bbbruni commented 2 years ago

We need to know the full path to DolphinVS.exe to get verbose Opengl output for it. Please run in bash: ~# find / -name "DolphinVS.exe" and print the result here

Ilya114 commented 2 years ago

/sdcard/Download/DolphinVS_DX8/DolphinVS_DX8/DolphinVS.exe

bbbruni commented 2 years ago

Now print the result of cd /sdcard/Download/DolphinVS_DX8/DolphinVS_DX8 && LIBGL_DEBUG=verbose wine 'DolphinVS.exe'

Ilya114 commented 2 years ago

root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# LIBGL_DEBUG=verbose wine 'DolphinVS.exe' Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 000b:fixme:winediag:start_process Wine Staging 4.0 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 0014:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV 000b:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 000d:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. Error initializing native libncurses.so.5 (last dlerror is libncurses.so.5: cannot open shared object file: No such file or directory) Wine cannot find the ncurses library (libncurses.so.5). 0009:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems 0009:fixme:event:wait_for_withdrawn_state window 0x1005a/1000001 wait timed out root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8#

bbbruni commented 2 years ago

000d:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. Error initializing native libncurses.so.5 (last dlerror is libncurses.so.5: cannot open shared object file: No such file or directory) Wine cannot find the ncurses library (libncurses.so.5).

post the result of dpkg -l '*ncurses*' | grep '^ii'

Ilya114 commented 2 years ago

dpkg -l '*ncurses*' | grep '^ii' ii libncurses-dev:arm64 6.2+20201114-2 arm64 developer's libraries for ncurses ii libncurses6:arm64 6.2+20201114-2 arm64 shared libraries for terminal handling ii libncurses6:armhf 6.2+20201114-2 armhf shared libraries for terminal handling ii libncursesw6:arm64 6.2+20201114-2 arm64 shared libraries for terminal handling (wide character support) ii libncursesw6:armhf 6.2+20201114-2 armhf shared libraries for terminal handling (wide character support) ii ncurses-base 6.2+20201114-2 all basic terminal type definitions ii ncurses-bin 6.2+20201114-2 arm64 terminal-related programs and man pages

bbbruni commented 2 years ago

Looks like libncurses6 has backward compatibility with libncurses5, we will try to make a symlink. Please post the result of ls -l /usr/lib/libncurses*

Ilya114 commented 2 years ago
root@localhost:/# ls -l /usr/lib/libncurses*            ls: cannot access '/usr/lib/libncurses*': No such file or directory
root@localhost:/# ls -l /usr/lib/libncurses             ls: cannot access '/usr/lib/libncurses': No such file or directory
bbbruni commented 2 years ago

Hm, what is the result of ldconfig -p | grep libncurse?

Ilya114 commented 2 years ago

ldconfig -p | grep libncurse libncursesw.so.6 (libc6,AArch64) => /lib/aarch64-linux-gnu/libncursesw.so.6 libncursesw.so.6 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libncursesw.so.6 libncurses.so.6 (libc6,AArch64) => /lib/aarch64-linux-gnu/libncurses.so.6 libncurses.so.6 (libc6,hard-float) => /lib/arm-linux-gnueabihf/libncurses.so.6 root@localhost:/usr/lib#

bbbruni commented 2 years ago

Ok! Try ln -s /lib/arm-linux-gnueabihf/libncurses.so.6 /lib/arm-linux-gnueabihf/libncurses.so.5 This will make wine think there is a libncurses.so.5 Then re-run DolphinVS.exe

Ilya114 commented 2 years ago

Error initializing native libtinfo.so.5 (last dlerror is libtinfo.so.5: cannot open shared object file: No such file or directory) Error: loading a needed libs in elf libncurses.so.5 Wine cannot find certain functions that it needs inside the ncurses library. To enable Wine to use ncurses please upgrade your ncurses libraries 0009:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems

bbbruni commented 2 years ago

Then destroy that symlink unlink /lib/arm-linux-gnueabihf/libncurses.so.5 Then post the result sudo apt-cache search ncurses

Ilya114 commented 2 years ago

root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# ln -s /lib/arm-linux-gnueabihf/libtinfo.so.5 /lib/arm-linux-gnueabihf/libtinfo.so.5 root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# wine DolphinVS.exe Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 000b:fixme:winediag:start_process Wine Staging 4.0 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 0025:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 0014:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0028:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 000d:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 000b:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. Error initializing native libtinfo.so.5 (last dlerror is libtinfo.so.5: cannot open shared object file: Too many levels of symbolic links) Error: loading a needed libs in elf libncurses.so.5 Wine cannot find certain functions that it needs inside the ncurses library. To enable Wine to use ncurses please upgrade your ncurses libraries 0009:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems X connection to 192.168.0.102:0 broken (explicit kill or server shutdown). X connection to 192.168.0.102:0 broken (explicit kill or server shutdown). X connection to 192.168.0.102:0 broken (explicit kill or server shutdown). root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# unlink /lib/arm-linux-gnueabihf/libncurses.so.5 root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# sudo apt-cache search ncurses abook - text-based ncurses address book application apt-dater - terminal-based remote package update manager apt-dater-host - host helper application for apt-dater audtty - ncurses based frontend to audacious aumix - Simple text-based mixer control program aumix-common - Simple text-based mixer control program (common files) aumix-gtk - Simple mixer control program with GUI and text interfaces autoconf-dickey - automatic configure script builder (Thomas Dickey's version) aylet - ncurses-based player for Spectrum '.ay' music files bastet - ncurses Tetris clone with a bastard algorithm bitwise - Interactive bitwise operation in ncurses bochs-term - Terminal (ncurses-based) plugin for Bochs btscanner - ncurses-based scanner for Bluetooth devices cataclysm-dda-curses - post-apocalyptic roguelike game - curses interface cdw - Tool for burning CD's - console version clex - command line file manager which uses the ncurses library cmus - lightweight ncurses audio player cmus-plugin-ffmpeg - lightweight ncurses audio player (FFmpeg plugin) colortest-python - utility to test color capabilities of terminal conky-cli - highly configurable system monitor (basic version) conky-std - highly configurable system monitor (default version) cpm - Curses based password manager using PGP-encryption libcunit1-ncurses - Unit Testing Library for C (ncurses) libcunit1-ncurses-dev - Unit Testing Library for C (ncurses) -- development files curseofwar - Fast-paced action strategy game for Linux based on ncurses dares - rescue files from damaged CDs and DVDs (ncurses-interface) dav-text - minimalist ncurses-based text editor dhex - ncurses based hex editor with diff mode duc - high-performance disk usage analyzer duc-nox - high-performance disk usage analyzer (without X support) fbb - Packet radio mailbox and utilities fbless - terminal fiction book reader fizmo-console - Console-based Z-machine interpreter for Infocom/Inform games fizmo-ncursesw - Ncurses-based Z-machine interpreter for Infocom/Inform games fp-units-base - Free Pascal - base units dependency package fp-units-base-3.2.0 - Free Pascal - base units gambas3-gb-ncurses - Gambas NCurses component git-crecord - interactively select chunks to commit with Git libglktermw-dev - Curses-based interface library for interactive fiction libncurses-gst - Ncurses bindings for GNU Smalltalk golang-github-xo-terminfo-dev - terminfo package in pure go gom - Command line and interactive ncurses-based OSS audio mixer gopher - Distributed Hypertext Client, Gopher protocol gtypist - simple ncurses touch typing tutor libghc-terminal-size-dev - get terminal window height and width libghc-terminal-size-doc - get terminal window height and width; documentation libghc-terminal-size-prof - get terminal window height and width; profiling libraries hatop - interactive ncurses client for haproxy hexcurse - Ncurses-based hex editor with many features hnb - hierarchical notebook imediff2 - interactive full screen 2-way merge tool iptraf-ng - Next Generation Interactive Colorful IP LAN Monitor iselect - ncurses-based interactive line selection tool kconfig-frontends - Standalone implementation of the Linux Kconfig parser and frontend kconfig-frontends-nox - NoX standalone implementation of the Linux Kconfig parser libcurses-perl - Curses interface for Perl libcurses-widgets-perl - Curses widget interface for Perl libgnt-dev - development files for the gnt library libgnt-doc - documentation for the gnt library libgnt0 - ncurses toolkit for creating text-mode graphical user interfaces libmonospaceif-dev - Interface translating libfizmo output into monospaced text libncursesada-doc - Ada binding to the ncurses text interface library: documentation libncursesada6.2.3 - Ada binding to the ncurses text interface library: shared library libncursesada9-dev - Ada binding to the ncurses text interface library: development oping - sends ICMP_ECHO requests to network hosts librm-dev - FritzBox router manager library -- development files librm0 - FritzBox router manager library libtexttools-doc - Ada library for writing console applications: documentation libtexttools11 - Ada library for writing console applications: shared library libtexttools9-dev - Ada library for writing console applications: development lnav - ncurses-based log file viewer lua-curses - curses library bindings for the Lua language mdm - Utilities for single-host parallel shell scripting moc - ncurses based console audio player moc-ffmpeg-plugin - ncurses based console audio player - ffmpeg plugin mtr - Full screen ncurses and X11 traceroute tool mtr-tiny - Full screen ncurses traceroute tool multitail - view multiple logfiles windowed on console nano - small, friendly text editor inspired by Pico nano-tiny - small, friendly text editor inspired by Pico - tiny build nast - packet sniffer and lan analyzer ncdu - ncurses disk usage viewer ncmpc - ncurses-based audio player ncmpc-lyrics - ncurses-based audio player (lyrics plugins) ncmpcpp - ncurses-based client for the Music Player Daemon (MPD) libncurses-dev - developer's libraries for ncurses libncurses5 - shared libraries for terminal handling (legacy version) libncurses5-dev - transitional package for libncurses-dev libncurses6 - shared libraries for terminal handling libncursesw5 - shared libraries for terminal handling (wide character legacy version) libncursesw5-dev - transitional package for libncurses-dev libncursesw6 - shared libraries for terminal handling (wide character support) libtinfo-dev - transitional package for libncurses-dev libtinfo5 - shared low-level terminfo library (legacy version) libtinfo6 - shared low-level terminfo library for terminal handling ncurses-base - basic terminal type definitions ncurses-bin - terminal-related programs and man pages ncurses-doc - developer's guide and documentation for ncurses ncurses-examples - test programs and examples for ncurses ncurses-term - additional terminal type definitions ncurses-hexedit - Edit files/disks in hex, ASCII and EBCDIC whiptail - Displays user-friendly dialog boxes from shell scripts ninvaders - A space invaders-like game using ncurses libnotcurses-dev - Character graphics and TUI library (development) libnotcurses2 - Character graphics and TUI library nsnake - classic snake game on the terminal nudoku - ncurses based sudoku games libcurses-ocaml - OCaml bindings for the ncurses library (runtime) libcurses-ocaml-dev - OCaml bindings for the ncurses library pacman4console - ncurses-based pacman game pagemon - interactive memory/page monitoring tool pamix - Pulseaudio terminal mixer based in pavucontrol patat - Terminal-based presentations using Pandoc pms - Practical Music Search, an MPD client powerman - Centralized Power Distribution Unit (PDU) management rexima - simple ncurses/command-line mixer rolo - text-based (vCard) contact management software rtorrent - ncurses BitTorrent client based on LibTorrent from rakshasa ruby-curses - curses binding for Ruby ruby-ncurses - ruby extension for the ncurses C library shed - simple hex editor with a pico-style interface siggen - Waveform generation tools signing-party - Various OpenPGP related tools sinfo - tool for monitoring computer clusters using broadcasts sngrep - Ncurses SIP Messages flow viewer squidview - monitors and analyses squid access.log files stymulator - Curses based player and converter for the YM chiptune format tack - terminfo action checker tig - ncurses-based text-mode interface for Git tpp - text presentation program tty-clock - simple terminal clock tudu - Command line hierarchical ToDo list cwcp - Morse code tutor - text user interface vdr-plugin-examples - Plugins for vdr to show some possible features vfu - Versatile text-based file-manager vifm - flexible vi-like file manager using ncurses weechat-curses - Fast, light and extensible chat client - console client whowatch - Real-time user logins monitoring tool wordgrinder-ncurses - simple word processor for writing first drafts (terminal version) worklog - Keep Track of Time worked on Projects wyrd - text-based calendar application radio - ncurses-based radio application ydpdict - interface for Collins and Langenscheidt dictionaries fp-units-base-3.2.2 - Free Pascal - base units ncdc - file sharing program using Direct Connect protocols root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS ##DX8#

bbbruni commented 2 years ago

Now run sudo apt-get install libncurses5:armhf And retry DolphinVS.exe

Ilya114 commented 2 years ago

CRTC info. 000d:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV 000b:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems

bbbruni commented 2 years ago

And what cd /sdcard/Download/DolphinVS_DX8/DolphinVS_DX8 && LIBGL_DEBUG=verbose wine 'DolphinVS.exe' say?

Ilya114 commented 2 years ago

with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 000b:fixme:winediag:start_process Wine Staging 4.0 is a testing version containing experimental patches. 000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org. Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV 0014:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. Box86 with Dynarec v0.2.5 60078852 built on Feb 4 2022 16:17:53 0029:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 000d:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 000b:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:xrandr:xrandr12_init_modes Failed to get primary CRTC info. 0009:err:wgl:X11DRV_WineGL_InitOpenglInfo couldn't initialize OpenGL, expect problems 0009:fixme:event:wait_for_withdrawn_state window 0x30028/600001 wait timed out root@localhost:/sdcard/Download/DolphinVS_DX8/DolphinVS DX8# Maybe 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV?

Ilya114 commented 2 years ago

Package is installed

bbbruni commented 2 years ago

Maybe 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV?

Then try sudo apt-get install libudev1:armhf and rerun dolphinvs

Ilya114 commented 2 years ago

Package is installed.

Ilya114 commented 2 years ago

Udev is not supported in proot, udev is needed to OpenGL?

bbbruni commented 2 years ago

I think it's worth trying to remove zink and install a simple software Opengl driver to test if it was because of zink.

bbbruni commented 2 years ago

Some posts from Winehq.org give a clue where the root of the problem: https://forum.winehq.org/viewtopic.php?t=33278

I installed that regular wine setup work but the game crashing. I used the exagear version for hoping to get some sounds I guess that's why everything was crashing 0026:err:plugplay:deviceloop_thread Can't init SDL: Could not initialize UDEV

According https://www.winehq.org/pipermail/wine-patches/2016-September/154312.html, Wine can be compiled without udev support.

Using a usual version of wine gives the same error both in box86 and in exagear.

So Exagear made special version of wine, which wants testing.

Ilya114 commented 2 years ago

You use Raspberry Pi 4?

bbbruni commented 2 years ago

No, I run raspberry os in qemu. https://wiki.termux.com/wiki/Graphical_Environment

Termux provides support for programs that use X Window System. However, there no hardware acceleration for rendering and user will have to install a third party application to view graphical output.

mtPaint To use X11-enabled programs, please, make sure that at least one of the following programs is installed:

VNC Viewer - the best choice for interacting with graphical environment. Requires a running VNC server. XServer XSDL - this one may be unstable but it provides a standalone Xorg server so you don't have to setup VNC.

I think SDL is hardly compatible with termux and vnc viewer is needed here.

Ilya114 commented 2 years ago

I think it's worth trying to remove zink and install a simple software Opengl driver to test if it was because of zink.

Software Rendering is not available,i compiled mesa with Zink, and installed KDE, i have this very big scale..

bbbruni commented 2 years ago

Ok, since you do not use XServer XSDL, this issue is almost certainly due to wine.

Could you post the result of xrandr --verbose as well?

Ilya114 commented 2 years ago

I compiled on Ubuntu and have error: ERROR: ld.so: object '/usr/lib/aarch64-linux-gnu/libgcc_s.so.1' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Box86 with Dynarec v0.2.5 5187b55a built on Feb 7 2022 18:07:08 Screenshot_2022-02-08-10-45-03-936_com termux x11

bbbruni commented 2 years ago

I compiled on Ubuntu and have error: ERROR: ld.so: object '/usr/lib/aarch64-linux-gnu/libgcc_s.so.1' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. Box86 with Dynarec v0.2.5 5187b55a built on Feb 7 2022 18:07:08

I don't understand exactly what have you complied.

As far as I see from the snapshot, you're using a single virtual screen0 comprised of one output device (XWAYLAND0). So wine can be safely compiled with --without-xrandr option (no multi-monitor config).

2 questions:

  1. what software did you compile in the previous message?
  2. do you have some free 3GB on your SD card to cross-compile wine on your phone?
Ilya114 commented 2 years ago
  1. An error occurred after compiling box86. 2. My phone has 50-70 GB of free space. 3. I don't compile Wine, but extract .tar.gz Wine (Play On Linux) and use it later. Do you have compilation instructions?
bbbruni commented 2 years ago

There are no visible reasons to compile box86. Yes, I made a few cross-compilations of Wine. Is box86 broken now on your side?

Ilya114 commented 2 years ago

I was using Debian but stopped, switched to Ubuntu, now box86 doesn't work at all giving above error

bbbruni commented 2 years ago

is glxgears broken as well? Can you see rotating gears?