nukeykt / NBlood

Reverse-engineered ports of Build games using EDuke32 engine technology and development principles (NBlood/Rednukem/PCExhumed)
599 stars 74 forks source link

NBlood/Rednukem/PCExhumed doesn't recognize OpenGL with Intel i965 driver #596

Closed Kappa971 closed 1 year ago

Kappa971 commented 2 years ago

Hi, I have an old laptop on which I have installed Debian 11 Xfce (stable) for testing. The hardware is very poor: CPU Intel Pentium SU4100 1.3 GHz Dual Core, 4GB of RAM, integrated Intel GMA 4500MHD graphics. I state that generally I don't play with this PC, I just wanted to do a test. I encountered several problems: Rednukem

  1. It never starts in full screen.
  2. The game crashes when changing the screen settings in the game menu:
    ../rednukem(+0x1d5d1b)[0x562718c67d1b]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7fe334633d60]
    ./rednukem(+0x16626e)[0x562718bf826e]
    ./rednukem(+0x2621ff)[0x562718cf41ff]
    ./rednukem(+0xe64de)[0x562718b784de]
    ./rednukem(+0xee0ab)[0x562718b800ab]
    ./rednukem(+0x233bce)[0x562718cc5bce]
    ./rednukem(+0xe3829)[0x562718b75829]
    ./rednukem(+0x565b6)[0x562718ae85b6]
    ./rednukem(main+0x9cf)[0x562718ac930f]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7fe33461ed0a]
    ./rednukem(+0x3a8da)[0x562718acc8da]
    16,5438s INFO| Wrote rednukem.cfg
    16,5441s INFO| Wrote settings.cfg
    Errore di segmentazione
  3. On exit it doesn't restore the system default screen resolution and always displays this error in the log:
    ./rednukem(+0x1d5d1b)[0x55f23d8ddd1b]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7fa034776d60]
    10,7509s INFO| Wrote rednukem.cfg
    10,7513s INFO| Wrote settings.cfg
    Errore di segmentazione

    NBlood

  4. It never starts in full screen.
  5. The game crashes when changing the screen resolution several times in the game menu:
    ./nblood(+0x18cf45)[0x55cde4767f45]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7f3ca268bd60]
    ./nblood(+0x115c6d)[0x55cde46f0c6d]
    ./nblood(+0x31716)[0x55cde460c716]
    ./nblood(main+0x9d9)[0x55cde45f83e9]
    /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea)[0x7f3ca2676d0a]
    ./nblood(+0x2926a)[0x55cde460426a]
  6. On exit it doesn't restore the system default screen resolution and always displays this error in the log:
    41,0243s INFO| Wrote nblood.cfg
    41,0246s INFO| Wrote nblood_cvars.cfg
    ./nblood(+0x18cf45)[0x55b850a8ef45]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7fd587be5d60]

    PCExhumed Starts in full screen but crashes after intro video:

    ./pcexhumed(+0x1137e2)[0x5642f969a7e2]
    /lib/x86_64-linux-gnu/libc.so.6(+0x3bd60)[0x7f172eb0fd60]
    8,0614s INFO| Wrote pcexhumed.cfg
    8,0617s INFO| Wrote pcexhumed_cvars.cfg
    Errore di segmentazione

    Errore di segmentazione (italian) = Segmentation fault (english)

In addition, the log also returns an error regarding OpenGL: ERR| Unable to set video mode: SDL_GL_CreateContext failed: Could not create GL context: GLXBadFBConfig. The Intel GMA 4500 MHD supports OpenGL 2.1 and works in other games (ex. PrBoom-plus), although the performance is often lower than the software renderer!

If it isn't possible to reproduce these errors with other hardware, I guess nothing can be done and I will close this issue (as it might be some kind of incompatibility maybe with video drivers or i don't know what else). Thanks

CommonLoon102 commented 2 years ago

Is glxgears works fine?

Maybe sharing the output of glxinfo , dmesg | egrep -i 'drm|agp' and cat /var/log/Xorg.0.log could help.

Kappa971 commented 2 years ago

Is glxgears works fine?

Yes Istantanea_2022-03-19_15-55-51

Maybe sharing the output of glxinfo , dmesg | egrep -i 'drm|agp' and cat /var/log/Xorg.0.log could help.

glxinfo

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_no_config_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, GLX_EXT_swap_control, 
    GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_swap_control, GLX_EXT_texture_from_pixmap, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_INTEL_swap_event, 
    GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, GLX_MESA_swap_control, 
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGIS_multisample, 
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, 
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel Open Source Technology Center (0x8086)
    Device: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG) (0x2a42)
    Version: 20.3.5
    Accelerated: yes
    Video memory: 1536MB
    Unified memory: yes
    Preferred profile: compat (0x2)
    Max core profile version: 0.0
    Max compat profile version: 2.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset (CTG)
OpenGL version string: 2.1 Mesa 20.3.5
OpenGL shading language version string: 1.20
OpenGL extensions:
    GL_3DFX_texture_compression_FXT1, GL_AMD_seamless_cubemap_per_texture, 
    GL_AMD_shader_trinary_minmax, GL_ANGLE_texture_compression_dxt3, 
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable, 
    GL_APPLE_packed_pixels, GL_ARB_ES2_compatibility, GL_ARB_arrays_of_arrays, 
    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_copy_buffer, 
    GL_ARB_copy_image, GL_ARB_debug_output, GL_ARB_depth_buffer_float, 
    GL_ARB_depth_clamp, GL_ARB_depth_texture, GL_ARB_draw_buffers, 
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_instanced, 
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, 
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, 
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, 
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, 
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, 
    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_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_occlusion_query2, GL_ARB_parallel_shader_compile, 
    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_robustness, GL_ARB_sampler_objects, 
    GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, 
    GL_ARB_separate_shader_objects, GL_ARB_shader_bit_encoding, 
    GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote, 
    GL_ARB_shader_objects, GL_ARB_shader_texture_lod, 
    GL_ARB_shading_language_100, GL_ARB_shading_language_include, 
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_sync, 
    GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_compression, GL_ARB_texture_compression_rgtc, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_filter_anisotropic, 
    GL_ARB_texture_float, GL_ARB_texture_mirror_clamp_to_edge, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, 
    GL_ARB_texture_storage, GL_ARB_texture_swizzle, GL_ARB_transpose_matrix, 
    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_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, 
    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_demote_to_helper_invocation, 
    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_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_framebuffer_fetch_non_coherent, 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_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_blend_equation_advanced, GL_KHR_context_flush_control, 
    GL_KHR_debug, GL_KHR_no_error, GL_KHR_parallel_shader_compile, 
    GL_KHR_robustness, GL_MESA_pack_invert, GL_MESA_texture_signed_rgba, 
    GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render, 
    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 2.0 Mesa 20.3.5
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
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_blend_minmax, GL_EXT_clip_control, 
    GL_EXT_compressed_ETC1_RGB8_sub_texture, 
    GL_EXT_demote_to_helper_invocation, GL_EXT_depth_clamp, 
    GL_EXT_discard_framebuffer, GL_EXT_draw_buffers, 
    GL_EXT_draw_elements_base_vertex, GL_EXT_draw_instanced, 
    GL_EXT_frag_depth, GL_EXT_map_buffer_range, GL_EXT_multi_draw_arrays, 
    GL_EXT_occlusion_query_boolean, GL_EXT_polygon_offset_clamp, 
    GL_EXT_read_format_bgra, GL_EXT_robustness, 
    GL_EXT_separate_shader_objects, 
    GL_EXT_shader_framebuffer_fetch_non_coherent, GL_EXT_texture_border_clamp, 
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_s3tc, 
    GL_EXT_texture_compression_s3tc_srgb, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg, 
    GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage, 
    GL_KHR_blend_equation_advanced, GL_KHR_context_flush_control, 
    GL_KHR_debug, GL_KHR_no_error, GL_KHR_parallel_shader_compile, 
    GL_KHR_robustness, GL_NV_conditional_render, GL_NV_draw_buffers, 
    GL_NV_fbo_color_attachments, 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_sync, 
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_depth24, GL_OES_depth_texture, 
    GL_OES_draw_elements_base_vertex, GL_OES_element_index_uint, 
    GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer, 
    GL_OES_packed_depth_stencil, GL_OES_required_internalformat, 
    GL_OES_rgb8_rgba8, GL_OES_standard_derivatives, GL_OES_stencil8, 
    GL_OES_surfaceless_context, GL_OES_texture_3D, 
    GL_OES_texture_border_clamp, 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_vertex_array_object, GL_OES_vertex_half_float

58 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
----------------------------------------------------------------------------
0x020 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x021 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a3 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a4 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0a5 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a6 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a7 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0a8 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0a9 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0aa 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0ab 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0ac 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0ad 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0ae 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x0af 24 tc  0  24  0 r  . .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x0b0 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0b1 24 tc  0  24  0 r  . .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0b2 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0b3 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0b4 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0b5 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0b6 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0b7 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x0b8 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0b9 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8 16 16 16  0  0 0 Slow
0x0ba 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0bb 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0bc 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0bd 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0be 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x0bf 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c0 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0c1 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0c2 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0c3 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0c4 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0c5 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x0c6 24 dc  0  24  0 r  . .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x0c7 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0c8 24 dc  0  24  0 r  . .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0c9 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0ca 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x0cb 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x0cc 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x0cd 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0ce 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x0cf 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x0d0 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8 16 16 16  0  0 0 Slow
0x060 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0d1 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0d2 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x0d3 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0d4 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0d5 32 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x0d6 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0d7 32 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0d8 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0d9 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None

66 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
----------------------------------------------------------------------------
0x061  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x062  0 tc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x063 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x064 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x065 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x066 24 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x067 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x068 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x069 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x06a 24 tc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x06b 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x06c 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x06d 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x06e 24 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x06f 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x070 24 tc  0  24  0 r  . .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x071 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x072 24 tc  0  24  0 r  . .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x073  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x074  0 tc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow
0x075 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x076 24 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x077 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x078 24 tc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x079 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x07a 24 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x07b 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x07c 24 tc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8 16 16 16  0  0 0 Slow
0x07d  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x07e  0 dc  0  16  0 r  . .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x07f 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x080 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x081 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x082 24 dc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x083 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x084 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0  0  0  0  0  0  0  0 0 None
0x085 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x086 24 dc  0  24  0 r  . .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x087 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x088 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x089 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x08a 24 dc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x08b 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x08c 24 dc  0  24  0 r  . .   8  8  8  0 .  s  0  0  0  0  0  0  0  0 0 None
0x08d 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x08e 24 dc  0  24  0 r  . .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x08f  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0  0  0  0  0  0 0 None
0x090  0 dc  0  16  0 r  y .   5  6  5  0 .  .  0  0  0 16 16 16  0  0 0 Slow
0x091 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x092 24 dc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8 16 16 16 16  0 0 Slow
0x093 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8  0  0  0  0  0 0 None
0x094 24 dc  0  24  0 r  y .   8  8  8  0 .  .  0 24  8 16 16 16  0  0 0 Slow
0x095 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x096 24 dc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8 16 16 16 16  0 0 Slow
0x097 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8  0  0  0  0  0 0 None
0x098 24 dc  0  24  0 r  y .   8  8  8  0 .  s  0 24  8 16 16 16  0  0 0 Slow
0x099 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09a 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0  0  0  0  0  0  0  0 0 None
0x09b 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x09c 32 tc  0  32  0 r  . .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x09d 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x09e 32 tc  0  32  0 r  . .   8  8  8  8 .  s  0  0  0  0  0  0  0  0 0 None
0x09f 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0a0 32 tc  0  32  0 r  . .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None
0x0a1 32 tc  0  32  0 r  y .   8  8  8  8 .  .  0 24  8  0  0  0  0  0 0 None
0x0a2 32 tc  0  32  0 r  y .   8  8  8  8 .  s  0 24  8  0  0  0  0  0 0 None

dmesg | egrep -i 'drm|agp'

[    2.309158] Linux agpgart interface v0.103
[    3.452479] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0
[    3.467807] fbcon: i915drmfb (fb0) is primary device
[    4.291916] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[    5.727141] systemd[1]: Starting Load Kernel Module drm...
[    5.810138] systemd[1]: modprobe@drm.service: Succeeded.
[    5.815240] systemd[1]: Finished Load Kernel Module drm.
[   16.456057] i915 0000:00:02.0: [drm] HPD interrupt storm detected on connector HDMI-A-2: switching from hotplug detection to polling
[   29.963006] i915 0000:00:02.0: [drm] HPD interrupt storm detected on connector DP-3: switching from hotplug detection to polling

cat /var/log/Xorg.0.log

[     9.123] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[     9.123] Build Operating System: linux Debian
[     9.123] Current Operating System: Linux Aspire-1810TZ 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64
[     9.123] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.10.0-12-amd64 root=UUID=a6734d30-a616-4fa9-bb44-e5e06fa92490 ro quiet
[     9.123] Build Date: 16 December 2021  05:08:23PM
[     9.123] xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support) 
[     9.123] Current version of pixman: 0.40.0
[     9.123]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[     9.123] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     9.123] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 19 15:51:51 2022
[     9.134] (==) Using config directory: "/etc/X11/xorg.conf.d"
[     9.134] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     9.144] (==) No Layout section.  Using the first Screen section.
[     9.144] (==) No screen section available. Using defaults.
[     9.144] (**) |-->Screen "Default Screen Section" (0)
[     9.144] (**) |   |-->Monitor "<default monitor>"
[     9.146] (==) No device specified for screen "Default Screen Section".
    Using the first device section listed.
[     9.146] (**) |   |-->Device "Intel Graphics"
[     9.146] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[     9.146] (==) Automatically adding devices
[     9.146] (==) Automatically enabling devices
[     9.146] (==) Automatically adding GPU devices
[     9.146] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     9.156] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[     9.156]    Entry deleted from font path.
[     9.158] (==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    built-ins
[     9.158] (==) ModulePath set to "/usr/lib/xorg/modules"
[     9.158] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[     9.158] (II) Loader magic: 0x559501e59e40
[     9.158] (II) Module ABI versions:
[     9.158]    X.Org ANSI C Emulation: 0.4
[     9.158]    X.Org Video Driver: 24.1
[     9.158]    X.Org XInput driver : 24.1
[     9.158]    X.Org Server Extension : 10.0
[     9.160] (++) using VT number 7

[     9.160] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     9.163] (II) xfree86: Adding drm device (/dev/dri/card0)
[     9.213] (--) PCI:*(0@0:2:0) 8086:2a42:1025:029b rev 7, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x000030d0/8, BIOS @ 0x????????/131072
[     9.213] (--) PCI: (0@0:2:1) 8086:2a43:1025:029b rev 7, Mem @ 0xd2400000/1048576
[     9.216] (II) LoadModule: "glx"
[     9.224] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     9.244] (II) Module glx: vendor="X.Org Foundation"
[     9.244]    compiled for 1.20.11, module version = 1.0.0
[     9.244]    ABI class: X.Org Server Extension, version 10.0
[     9.244] (II) LoadModule: "intel"
[     9.248] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     9.252] (II) Module intel: vendor="X.Org Foundation"
[     9.253]    compiled for 1.20.9, module version = 2.99.917
[     9.253]    Module class: X.Org Video Driver
[     9.253]    ABI class: X.Org Video Driver, version 24.1
[     9.253] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     9.253] (II) intel: Driver for Intel(R) HD Graphics
[     9.253] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     9.253] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[     9.270] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20200917
[     9.270] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20200714-1+b1 (amd64 / i386 Build Daemon (x86-csail-01) <buildd_amd64-x86-csail-01@buildd.debian.org>)
[     9.270] (II) intel(0): SNA compiled for use with valgrind
[     9.295] (--) intel(0): Integrated Graphics Chipset: Intel(R) GM45
[     9.295] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3; using a maximum of 2 threads
[     9.295] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[     9.295] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[     9.295] (==) intel(0): RGB weight 888
[     9.295] (==) intel(0): Default visual is TrueColor
[     9.295] (**) intel(0): Option "AccelMethod" "sna"
[     9.295] (**) intel(0): Option "TearFree" "true"
[     9.296] (II) intel(0): Output LVDS1 has no monitor section
[     9.297] (**) intel(0): Found backlight control interface intel_backlight (type 'raw') for output LVDS1
[     9.297] (II) intel(0): Enabled output LVDS1
[     9.297] (II) intel(0): Output VGA1 has no monitor section
[     9.297] (II) intel(0): Enabled output VGA1
[     9.297] (II) intel(0): Output HDMI1 has no monitor section
[     9.298] (II) intel(0): Enabled output HDMI1
[     9.298] (II) intel(0): Output DP1 has no monitor section
[     9.298] (II) intel(0): Enabled output DP1
[     9.298] (II) intel(0): Output HDMI2 has no monitor section
[     9.299] (II) intel(0): Enabled output HDMI2
[     9.299] (II) intel(0): Output DP2 has no monitor section
[     9.299] (II) intel(0): Enabled output DP2
[     9.299] (II) intel(0): Output DP3 has no monitor section
[     9.299] (II) intel(0): Enabled output DP3
[     9.299] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[     9.300] (II) intel(0): Output VIRTUAL1 has no monitor section
[     9.300] (II) intel(0): Enabled output VIRTUAL1
[     9.300] (--) intel(0): Output LVDS1 using initial mode 1366x768 on pipe 0
[     9.304] (**) intel(0): TearFree enabled
[     9.304] (==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
[     9.304] (==) intel(0): DPI set to (96, 96)
[     9.304] (II) Loading sub module "dri3"
[     9.304] (II) LoadModule: "dri3"
[     9.304] (II) Module "dri3" already built-in
[     9.304] (II) Loading sub module "dri2"
[     9.304] (II) LoadModule: "dri2"
[     9.304] (II) Module "dri2" already built-in
[     9.304] (II) Loading sub module "present"
[     9.304] (II) LoadModule: "present"
[     9.304] (II) Module "present" already built-in
[     9.311] (II) intel(0): SNA initialized with Eaglelake (gen4.5) backend
[     9.311] (==) intel(0): Backing store enabled
[     9.311] (==) intel(0): Silken mouse enabled
[     9.312] (II) intel(0): HW Cursor enabled
[     9.313] (==) intel(0): DPMS enabled
[     9.314] (==) intel(0): Display hotplug detection enabled
[     9.314] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[     9.316] (II) intel(0): [DRI2] Setup complete
[     9.316] (II) intel(0): [DRI2]   DRI driver: i965
[     9.316] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[     9.316] (II) intel(0): direct rendering: DRI2 enabled
[     9.316] (II) intel(0): hardware support for Present enabled
[     9.316] (II) Initializing extension Generic Event Extension
[     9.316] (II) Initializing extension SHAPE
[     9.317] (II) Initializing extension MIT-SHM
[     9.317] (II) Initializing extension XInputExtension
[     9.323] (II) Initializing extension XTEST
[     9.324] (II) Initializing extension BIG-REQUESTS
[     9.324] (II) Initializing extension SYNC
[     9.325] (II) Initializing extension XKEYBOARD
[     9.325] (II) Initializing extension XC-MISC
[     9.325] (II) Initializing extension SECURITY
[     9.326] (II) Initializing extension XFIXES
[     9.326] (II) Initializing extension RENDER
[     9.326] (II) Initializing extension RANDR
[     9.327] (II) Initializing extension COMPOSITE
[     9.327] (II) Initializing extension DAMAGE
[     9.328] (II) Initializing extension MIT-SCREEN-SAVER
[     9.328] (II) Initializing extension DOUBLE-BUFFER
[     9.329] (II) Initializing extension RECORD
[     9.329] (II) Initializing extension DPMS
[     9.329] (II) Initializing extension Present
[     9.330] (II) Initializing extension DRI3
[     9.330] (II) Initializing extension X-Resource
[     9.330] (II) Initializing extension XVideo
[     9.330] (II) Initializing extension XVideo-MotionCompensation
[     9.331] (II) Initializing extension SELinux
[     9.331] (II) SELinux: Disabled on system
[     9.331] (II) Initializing extension GLX
[     9.492] (II) AIGLX: Loaded and initialized i965
[     9.492] (II) GLX: Initialized DRI2 GL provider for screen 0
[     9.492] (II) Initializing extension XFree86-VidModeExtension
[     9.493] (II) Initializing extension XFree86-DGA
[     9.493] (II) Initializing extension XFree86-DRI
[     9.493] (II) Initializing extension DRI2
[     9.517] (II) intel(0): switch to mode 1366x768@60.0 on LVDS1 using pipe 0, position (0, 0), rotation normal, reflection none
[     9.520] (II) intel(0): Setting screen physical size to 361 x 203
[     9.735] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[     9.736] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     9.736] (II) LoadModule: "libinput"
[     9.737] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     9.745] (II) Module libinput: vendor="X.Org Foundation"
[     9.745]    compiled for 1.20.8, module version = 0.30.0
[     9.745]    Module class: X.Org XInput Driver
[     9.745]    ABI class: X.Org XInput driver, version 24.1
[     9.745] (II) Using input driver 'libinput' for 'Power Button'
[     9.746] (**) Power Button: always reports core events
[     9.746] (**) Option "Device" "/dev/input/event4"
[     9.746] (**) Option "_source" "server/udev"
[     9.759] (II) event4  - Power Button: is tagged by udev as: Keyboard
[     9.759] (II) event4  - Power Button: device is a keyboard
[     9.759] (II) event4  - Power Button: device removed
[     9.772] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input8/event4"
[     9.772] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     9.772] (**) Option "xkb_model" "pc105"
[     9.772] (**) Option "xkb_layout" "it"
[     9.833] (II) event4  - Power Button: is tagged by udev as: Keyboard
[     9.833] (II) event4  - Power Button: device is a keyboard
[     9.835] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[     9.835] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[     9.835] (II) Using input driver 'libinput' for 'Video Bus'
[     9.835] (**) Video Bus: always reports core events
[     9.835] (**) Option "Device" "/dev/input/event5"
[     9.835] (**) Option "_source" "server/udev"
[     9.838] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[     9.838] (II) event5  - Video Bus: device is a keyboard
[     9.839] (II) event5  - Video Bus: device removed
[     9.868] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input11/event5"
[     9.868] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[     9.868] (**) Option "xkb_model" "pc105"
[     9.868] (**) Option "xkb_layout" "it"
[     9.871] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[     9.871] (II) event5  - Video Bus: device is a keyboard
[     9.873] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     9.873] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     9.873] (II) Using input driver 'libinput' for 'Power Button'
[     9.874] (**) Power Button: always reports core events
[     9.874] (**) Option "Device" "/dev/input/event1"
[     9.874] (**) Option "_source" "server/udev"
[     9.878] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     9.879] (II) event1  - Power Button: device is a keyboard
[     9.879] (II) event1  - Power Button: device removed
[     9.896] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5/event1"
[     9.896] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[     9.896] (**) Option "xkb_model" "pc105"
[     9.896] (**) Option "xkb_layout" "it"
[     9.899] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     9.899] (II) event1  - Power Button: device is a keyboard
[     9.901] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[     9.901] (II) No input driver specified, ignoring this device.
[     9.901] (II) This device may have been added with another device file.
[     9.902] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[     9.902] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     9.902] (II) Using input driver 'libinput' for 'Sleep Button'
[     9.902] (**) Sleep Button: always reports core events
[     9.902] (**) Option "Device" "/dev/input/event3"
[     9.902] (**) Option "_source" "server/udev"
[     9.905] (II) event3  - Sleep Button: is tagged by udev as: Keyboard
[     9.905] (II) event3  - Sleep Button: device is a keyboard
[     9.906] (II) event3  - Sleep Button: device removed
[     9.920] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input7/event3"
[     9.920] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[     9.920] (**) Option "xkb_model" "pc105"
[     9.920] (**) Option "xkb_layout" "it"
[     9.923] (II) event3  - Sleep Button: is tagged by udev as: Keyboard
[     9.923] (II) event3  - Sleep Button: device is a keyboard
[     9.926] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event10)
[     9.926] (II) No input driver specified, ignoring this device.
[     9.926] (II) This device may have been added with another device file.
[     9.927] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event11)
[     9.927] (II) No input driver specified, ignoring this device.
[     9.927] (II) This device may have been added with another device file.
[     9.928] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event12)
[     9.928] (II) No input driver specified, ignoring this device.
[     9.928] (II) This device may have been added with another device file.
[     9.929] (II) config/udev: Adding input device HDA Intel HDMI/DP,pcm=3 (/dev/input/event13)
[     9.929] (II) No input driver specified, ignoring this device.
[     9.929] (II) This device may have been added with another device file.
[     9.931] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event7)
[     9.931] (**) USB Optical Mouse: Applying InputClass "libinput pointer catchall"
[     9.931] (II) Using input driver 'libinput' for 'USB Optical Mouse'
[     9.932] (**) USB Optical Mouse: always reports core events
[     9.932] (**) Option "Device" "/dev/input/event7"
[     9.932] (**) Option "_source" "server/udev"
[    10.000] (II) event7  - USB Optical Mouse: is tagged by udev as: Mouse
[    10.000] (II) event7  - USB Optical Mouse: device is a pointer
[    10.001] (II) event7  - USB Optical Mouse: device removed
[    10.040] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb4/4-2/4-2:1.0/0003:1BCF:0005.0001/input/input14/event7"
[    10.040] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 10)
[    10.040] (**) Option "AccelerationScheme" "none"
[    10.040] (**) USB Optical Mouse: (accel) selected scheme none/0
[    10.040] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[    10.040] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[    10.103] (II) event7  - USB Optical Mouse: is tagged by udev as: Mouse
[    10.104] (II) event7  - USB Optical Mouse: device is a pointer
[    10.106] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse1)
[    10.106] (II) No input driver specified, ignoring this device.
[    10.106] (II) This device may have been added with another device file.
[    10.108] (II) config/udev: Adding input device CNF9011: WebCam (/dev/input/event9)
[    10.108] (**) CNF9011: WebCam: Applying InputClass "libinput keyboard catchall"
[    10.108] (II) Using input driver 'libinput' for 'CNF9011: WebCam'
[    10.108] (**) CNF9011: WebCam: always reports core events
[    10.108] (**) Option "Device" "/dev/input/event9"
[    10.108] (**) Option "_source" "server/udev"
[    10.112] (II) event9  - CNF9011: WebCam: is tagged by udev as: Keyboard
[    10.112] (II) event9  - CNF9011: WebCam: device is a keyboard
[    10.113] (II) event9  - CNF9011: WebCam: device removed
[    10.164] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-5/3-5:1.0/input/input16/event9"
[    10.164] (II) XINPUT: Adding extended input device "CNF9011: WebCam" (type: KEYBOARD, id 11)
[    10.164] (**) Option "xkb_model" "pc105"
[    10.164] (**) Option "xkb_layout" "it"
[    10.168] (II) event9  - CNF9011: WebCam: is tagged by udev as: Keyboard
[    10.168] (II) event9  - CNF9011: WebCam: device is a keyboard
[    10.170] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    10.170] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    10.170] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    10.170] (**) AT Translated Set 2 keyboard: always reports core events
[    10.170] (**) Option "Device" "/dev/input/event0"
[    10.170] (**) Option "_source" "server/udev"
[    10.174] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    10.174] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    10.176] (II) event0  - AT Translated Set 2 keyboard: device removed
[    10.200] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    10.200] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    10.200] (**) Option "xkb_model" "pc105"
[    10.200] (**) Option "xkb_layout" "it"
[    10.203] (II) event0  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    10.204] (II) event0  - AT Translated Set 2 keyboard: device is a keyboard
[    10.207] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[    10.207] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    10.207] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[    10.207] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    10.207] (**) Option "Device" "/dev/input/event6"
[    10.207] (**) Option "_source" "server/udev"
[    10.211] (II) event6  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    10.214] (II) event6  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    10.215] (II) event6  - SynPS/2 Synaptics TouchPad: device removed
[    10.260] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio2/input/input10/event6"
[    10.261] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[    10.262] (**) Option "AccelerationScheme" "none"
[    10.262] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[    10.262] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    10.262] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    10.266] (II) event6  - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[    10.269] (II) event6  - SynPS/2 Synaptics TouchPad: device is a touchpad
[    10.271] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    10.271] (II) No input driver specified, ignoring this device.
[    10.271] (II) This device may have been added with another device file.
[    10.272] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[    10.272] (II) No input driver specified, ignoring this device.
[    10.272] (II) This device may have been added with another device file.
[    11.314] (II) intel(0): EDID vendor "SEC", prod id 12370
[    11.314] (II) intel(0): Printing DDC gathered Modelines:
[    11.314] (II) intel(0): Modeline "1366x768"x0.0   70.83  1366 1414 1446 1494  768 770 775 790 -hsync -vsync (47.4 kHz eP)

Anyway, the above errors are reproduced with the classic render.

CommonLoon102 commented 2 years ago

On Fedora 35 it works with an Intel 965GM. Software renderer has much better performance than OpenGL though. The sound is broken tough because all I can hear is cracking noise.

Edit: sound is fixed after a reboot.

Kappa971 commented 2 years ago

On Fedora 35 it works with an Intel 965GM. Software renderer has much better performance than OpenGL though. The sound is broken tough because all I can hear is cracking noise.

Like the Intel GMA, it's a 3D decelerator :)

Could you test with Debian 11 Xfce? So we could understand if it is a compatibility problem with Debian or with my PC.

I'm not a linux expert (I should probably have three degrees, it is far from immediate) but in the log it refers to the libc.so.6 library which is part of the libc6 package that I have already installed. I don't know what this library does but it's the only thing I understand from the log. Fedora 35 has newer packages than Debian so maybe that's why the source ports don't crash there. Maybe no one has tested on Debian.

Kappa971 commented 2 years ago

The problem seems to be that error involving OpenGL: ERR| Unable to set video mode: SDL_GL_CreateContext failed: Could not create GL context: GLXBadFBConfig. Using this environment variable LIBGL_ALWAYS_SOFTWARE = 1 games no longer crash, but in this way they don't use integrated graphics at all, so it seems these source ports on linux require OpenGL above 2.1... Is this a recent requirement?

Obviously I would use the software renderer because the performances are better, but apparently these source ports refuse to work with this Intel graphics and OpenGL 2.1 and this causes problems even with the software renderer with crashes.

EDIT The Intel 965GM should be worse than the GMA 4500 MHD so at this point I guess there is something wrong between these source ports and the drivers (maybe MESA? Compared to Fedora, Debian uses MESA 20.3.5). If @CommonLoon102 could try it with Debian, we would have confirmation.

CommonLoon102 commented 2 years ago

On my Fedora, MESA version is 21.3.7. Graphics didn't work at all with Debian when I tried it last time, that's why I'm using Fedora on this old Core 2 Duo laptop. Maybe you could try with Fedora instead?

Kappa971 commented 2 years ago

On my Fedora, MESA version is 21.3.7. Graphics didn't work at all with Debian when I tried it last time, that's why I'm using Fedora on this old Core 2 Duo laptop. Maybe you could try with Fedora instead?

At this point yes, I have to try Fedora or Ubuntu (both have newer MESA versions). You could try Debian 11 Xfce live CD instead (download iso with non-free firmware).

Kappa971 commented 2 years ago

I have tried Rednukem with Fedora 35 (live usb) and it works fine (although I can't activate vsync). So the problems concern Debian 11 or Intel GMA. What should I do, do I keep the issue open? I guess nobody would bother with this, especially if it is only about the intel GMA. We should test Debian 11 on other hardware that uses MESA (so with AMD or Intel GPU)

CommonLoon102 commented 2 years ago

I tried with debian-live-11.2.0-amd64-xfce+nonfree.iso and I got the same issues as you.

Kappa971 commented 2 years ago

I tried with debian-live-11.2.0-amd64-xfce+nonfree.iso and I got the same issues as you.

Have you tested only with the Intel 965GM or with another PC? At least this indicates that it isn't an exclusive problem to the Intel GMA 4500 MHD.

I have the same problems in Xubuntu 21.10 live usb (also updating all packages), so probably also in Ubuntu 21.10. I haven't tested on different hardware yet. I was thinking that the error was also referring to SDL. Both Xubuntu 21.10 and Debian 11 use SDL 2.0.14 (Debian will probably use it until the release of Debian 12 in 2023). Fedora 35 instead uses SDL 2.0.20. I'm not an expert, could this be the problem?

CommonLoon102 commented 2 years ago

Have you tested only with the Intel 965GM or with another PC?

Intel 965GM

Fedora 35 instead uses SDL 2.0.20. I'm not an expert, could this be the problem?

Maybe. The question is if it can be fixed from NBlood's source code or not. Since the problem only affects some versions of Linux, it is more like a dependency issue.

Kappa971 commented 2 years ago

I did the same test with a daily build of Xubuntu 22.04 (MESA 21.3.5 and SDL 2.0.20) and I have the same problems. I also got to test Debian 11 Xfce (live usb) on a PC with Nvidia GPU (with open source drivers) and Rednukem doesn't crash. I haven't had a chance to test it on a PC with an AMD GPU yet.

So... what's happening? I suspect there is some issue between Intel drivers (specifically the Intel i965 driver, that the Intel 965GM also uses), Debian/Ubuntu and these source ports. I can't figure out what's different about Fedora 35.

I'm not that experienced in Linux, so I don't know what else I could do.

Kappa971 commented 2 years ago

So... Fedora 35 is using the new Intel Crocus driver by default, which will replace the older Intel i965 driver. They have been available since Mesa 21.3, but apparently Xubuntu 22.04 hasn't set them as default yet. In Xubuntu 22.04, adding export MESA_LOADER_DRIVER_OVERRIDE=crocus in ~/.profile, and rebooting the system, Rednukem now works like in Fedora, because it uses the new drivers.

This means that on Debian these source ports will not work until 2023 (unless an updated version of Mesa is released in backports, but there is currently none). For Ubuntu we will have to wait until April. These source ports are probably also broken in all Linux distributions that use a version of Mesa earlier than 21.3 (always talking about older Intel GPUs that use the i965 driver).

So we could say that those crashes are not related to Debian/Ubuntu but to Intel i965 drivers and these source ports. This means that developers should fix an issue involving drivers that will be discontinued shortly but that many Linux distributions still use.

CommonLoon102 commented 2 years ago

Good job. So time will solve everything.

Kappa971 commented 2 years ago

Good job. So time will solve everything.

With Intel Crocus and Rednukem running in OpenGL, a strange green color appears on the title screen. Not a problem as in OpenGL it runs too slow anyway, so classic render is a better choice, but this shows that maybe this driver isn't 100% stable yet (and that's probably why no Linux distros, besides Fedora, uses it as the default driver yet). Anyway yes, the crashes I've encountered will resolve themselves over time. It all depends on the developers if they want to spend some of their time fixing these crashes with the current drivers, but I understand why if that doesn't happen. For me it isn't a problem to wait, as it isn't my gaming PC.

EDIT As a temporary solution, for those who are interested, it is possible to execute the command LIBGL_ALWAYS_SOFTWARE=1 ./rednukem

Kappa971 commented 2 years ago

The same thing seems to happen on Windows if there is no driver with OpenGL support (such as the Intel driver downloaded from Windows Update). So ultimately, on Linux the problem is that these source ports don't recognize the Intel i965 driver's OpenGL 2.1 support, even if everything is installed correctly and the other games work.