Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsupported Pixel Format #9852

Open
MightyM17 opened this issue May 22, 2024 · 0 comments
Open

Unsupported Pixel Format #9852

MightyM17 opened this issue May 22, 2024 · 0 comments
Milestone

Comments

@MightyM17
Copy link

I've been trying to get chocolate-doom to run on my device with a PowerVR GPU, but it seems like my drivers are lacking support for some pixel formats. Is there a way to force selection of a specific format?
Related Issue: chocolate-doom/chocolate-doom#1681
Relevant logs:

~ $ chocolate-doom -iwad DOOM1.WAD
                         Chocolate Doom 3.0.1
Z_Init: Init zone memory allocation daemon. 
zone memory: 0xb5bcc020, 1000000 allocated for zone
Using /home/user/.local/share/chocolate-doom/ for configuration and saves
V_Init: allocate screens.
M_LoadDefaults: Load system defaults.
saving config in /home/user/.local/share/chocolate-doom/default.cfg
W_Init: Init WADfiles.
 adding DOOM1.WAD
===========================================================================
                            DOOM Shareware
===========================================================================
 Chocolate Doom is free software, covered by the GNU General Public
 License.  There is NO warranty; not even for MERCHANTABILITY or FITNESS
 FOR A PARTICULAR PURPOSE. You are welcome to change and distribute
 copies under certain conditions. See the source for more information.
===========================================================================
I_Init: Setting up machine state.
OPL_Init: Using driver 'SDL'.
NET_Init: Init network subsystem.
M_Init: Init miscellaneous info.
R_Init: Init DOOM refresh daemon - [...................]
P_Init: Init Playloop state.
S_Init: Setting up sound.
D_CheckNetGame: Checking network game status.
startskill 2  deathmatch: 0  startmap: 1  startepisode: 1
player 1 of 1 (1 nodes)
Emulating the behavior of the 'Doom 1.9' executable.
HU_Init: Setting up heads up display.
ST_Init: Init status bar.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.
libEGL debug: MESA-LOADER: dlopen(/usr/lib/xorg/modules/dri/pvr_dri.so)

libEGL debug: found extension `DRI_Core'
libEGL info: found extension DRI_Core version 2
libEGL debug: found extension `DRI_IMAGE_DRIVER'
libEGL info: found extension DRI_IMAGE_DRIVER version 1
libEGL debug: found extension `DRI_DRI2'
libEGL debug: found extension `DRI_DriverVtable'
libEGL debug: found extension `DRI_Core'
libEGL debug: found extension `DRI_IMAGE_DRIVER'
libEGL debug: found extension `DRI_DRI2'
libEGL debug: found extension `DRI_DriverVtable'
libEGL debug: did not find optional extension DRI_ConfigOptions version 1
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/user/.drirc: No such file or directory.
LibGL: Loaded libpvr_dri_support.so

LibGL: Supported screen extensions:
LibGL: 	DRI_TexBuffer (supported version: 2 - max version: 3)
LibGL: 	DRI2_Flush (supported version: 4 - max version: 4)
LibGL: 	DRI_IMAGE (supported version: 15 - max version: 19)
LibGL: 	DRI_Robustness (supported version: 1 - max version: 1)
LibGL: 	DRI2_Fence (supported version: 2 - max version: 2)
LibGL: 	DRI_CONFIG_QUERY (supported version: 2 - max version: unknown)
libEGL debug: found extension `DRI_TexBuffer'
libEGL info: found extension DRI_TexBuffer version 2
libEGL debug: found extension `DRI2_Flush'
libEGL info: found extension DRI2_Flush version 4
libEGL debug: found extension `DRI_IMAGE'
libEGL info: found extension DRI_IMAGE version 15
libEGL debug: found extension `DRI_Robustness'
libEGL debug: found extension `DRI2_Fence'
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL debug: found extension `DRI_TexBuffer'
libEGL debug: found extension `DRI2_Flush'
libEGL debug: found extension `DRI_IMAGE'
libEGL info: found extension DRI_IMAGE version 15
libEGL debug: found extension `DRI_Robustness'
libEGL info: found extension DRI_Robustness version 1
libEGL debug: found extension `DRI2_Fence'
libEGL info: found extension DRI2_Fence version 2
libEGL debug: found extension `DRI_CONFIG_QUERY'
libEGL info: found extension DRI_CONFIG_QUERY version 2
libEGL debug: did not find optional extension DRI_NoError version 1
libEGL debug: did not find optional extension DRI2_BufferDamage version 1
libEGL debug: did not find optional extension DRI_RENDERER_QUERY version 1
libEGL debug: did not find optional extension DRI2_Interop version 1
libEGL debug: did not find optional extension DRI_FlushControl version 1
libEGL debug: did not find optional extension DRI2_Blob version 1
libEGL debug: did not find optional extension DRI_MutableRenderBufferDriver version 1
libEGL debug: No DRI config supports native format ABGR16F
libEGL debug: No DRI config supports native format XBGR16F
libEGL debug: No DRI config supports native format XRGB2101010
libEGL debug: No DRI config supports native format ARGB2101010
libEGL debug: No DRI config supports native format XBGR2101010
libEGL debug: No DRI config supports native format ABGR2101010
libEGL debug: No DRI config supports native format ABGR8888
libEGL debug: No DRI config supports native format XBGR8888
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
libEGL debug: the value (0x5) of attribute 0x3040 did not meet the criteria (0x8)
LibGL: Unloaded libpvr_dri_support.so

warning: queue 0x951ee610 destroyed while proxies still attached:
  wl_display@1 still attached
Error creating window for video startup: Couldn't find matching EGL config (call to eglChooseConfig failed, reporting an error of EGL_SUCCESS)
Device #1:

EGL device extensions string:
    EGL_EXT_device_drm, EGL_EXT_device_drm_render_node
Platform Device platform:
EGL API version: 1.4
EGL vendor string: Mesa Project (Amber)
EGL version string: 1.4
EGL client APIs: OpenGL_ES
EGL extensions string:
    EGL_EXT_create_context_robustness, EGL_EXT_image_dma_buf_import,
    EGL_EXT_image_dma_buf_import_modifiers, EGL_EXT_pixel_format_float,
    EGL_KHR_config_attribs, EGL_KHR_create_context, EGL_KHR_fence_sync,
    EGL_KHR_get_all_proc_addresses, EGL_KHR_gl_renderbuffer_image,
    EGL_KHR_gl_texture_2D_image, EGL_KHR_gl_texture_cubemap_image,
    EGL_KHR_image_base, EGL_KHR_no_config_context, EGL_KHR_reusable_sync,
    EGL_KHR_surfaceless_context, EGL_KHR_wait_sync,
    EGL_MESA_configless_context, EGL_MESA_drm_image,
    EGL_MESA_image_dma_buf_export, EGL_WL_bind_wayland_display
OpenGL ES profile vendor: Imagination Technologies
OpenGL ES profile renderer: PowerVR SGX 540
OpenGL ES profile version: OpenGL ES 2.0 build 1.17@4948957
OpenGL ES profile shading language version: OpenGL ES GLSL ES 1.00 build 1.17@4948957
OpenGL ES profile extensions:
    GL_EXT_blend_minmax, GL_EXT_discard_framebuffer, GL_EXT_multi_draw_arrays,
    GL_EXT_multisampled_render_to_texture, GL_EXT_shader_texture_lod,
    GL_EXT_texture_format_BGRA8888, GL_EXT_texture_rg, GL_EXT_texture_storage,
    GL_IMG_multisampled_render_to_texture, GL_IMG_program_binary,
    GL_IMG_read_format, GL_IMG_shader_binary,
    GL_IMG_texture_compression_pvrtc, GL_IMG_texture_format_BGRA8888,
    GL_IMG_texture_npot, GL_IMG_uniform_buffer_object, GL_KHR_debug,
    GL_OES_EGL_image, GL_OES_EGL_image_external,
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_depth24, GL_OES_depth_texture,
    GL_OES_egl_sync, GL_OES_element_index_uint, GL_OES_fbo_render_mipmap,
    GL_OES_fragment_precision_high, 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_surfaceless_context,
    GL_OES_texture_float, GL_OES_texture_half_float,
    GL_OES_vertex_array_object, GL_OES_vertex_half_float
Configurations:
     bf lv colorbuffer dp st  ms    vis   cav bi  renderable  supported
  id sz  l  r  g  b  a th cl ns b    id   eat nd gl es es2 vg surfaces
---------------------------------------------------------------------
0x01 32  0  8  8  8  8  0  0  0 0 0x00--      a     y  y     pb
0x02 32  0  8  8  8  8  0  0  4 1 0x00--      a     y  y     pb
0x03 32  0  8  8  8  8 24  8  0 0 0x00--      a     y  y     pb
0x04 32  0  8  8  8  8 24  8  4 1 0x00--      a     y  y     pb
0x05 24  0  8  8  8  0  0  0  0 0 0x00--      y     y  y     pb
0x06 24  0  8  8  8  0  0  0  4 1 0x00--      y     y  y     pb
0x07 24  0  8  8  8  0 24  8  0 0 0x00--      y     y  y     pb
0x08 24  0  8  8  8  0 24  8  4 1 0x00--      y     y  y     pb
0x09 16  0  5  6  5  0  0  0  0 0 0x00--      y     y  y     pb
0x0a 16  0  5  6  5  0  0  0  4 1 0x00--      y     y  y     pb
0x0b 16  0  5  6  5  0 24  8  0 0 0x00--      y     y  y     pb
0
@slouken slouken added this to the 2.32.0 milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants