mesa-git build script for latest panfrost
#21
with the pending release of v20 the "20.0" branch has been created. those trying to avoid the bleeding edge can add "--branch=20.0" to the git clone command.

happy 202002022020
#22
(02-02-2020, 11:35 PM)xmixahlx Wrote: with the pending release of v20 the "20.0" branch has been created. those trying to avoid the bleeding edge can add "--branch=20.0" to the git clone command.

happy 202002022020

Thanks xmixahlx for publishing this script. It is really helpful.

I tweaked/prettified it a little bit and placed it on my github drive.

Jordan
#23
panfrost opengl es 3.0 support in git master with PAN_MESA_DEBUG=gles3:
https://www.collabora.com/news-and-blog/...as-landed/

Quote:OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.1.0-devel (git-0bb25e4713)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
GL_APPLE_texture_max_level, GL_EXT_EGL_image_storage, GL_EXT_blend_minmax,
GL_EXT_color_buffer_float, GL_EXT_compressed_ETC1_RGB8_sub_texture,
GL_EXT_copy_image, GL_EXT_discard_framebuffer, GL_EXT_draw_buffers,
GL_EXT_draw_buffers_indexed, GL_EXT_draw_elements_base_vertex,
GL_EXT_float_blend, GL_EXT_frag_depth, GL_EXT_map_buffer_range,
GL_EXT_multi_draw_arrays, GL_EXT_occlusion_query_boolean,
GL_EXT_read_format_bgra, GL_EXT_sRGB_write_control,
GL_EXT_separate_shader_objects, GL_EXT_shader_integer_mix,
GL_EXT_texture_border_clamp, GL_EXT_texture_format_BGRA8888,
GL_EXT_texture_rg, GL_EXT_texture_sRGB_R8, GL_EXT_texture_sRGB_decode,
GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage,
GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error,
GL_KHR_parallel_shader_compile, GL_KHR_texture_compression_astc_ldr,
GL_KHR_texture_compression_astc_sliced_3d, GL_MESA_framebuffer_flip_y,
GL_MESA_shader_integer_functions, GL_NV_draw_buffers,
GL_NV_fbo_color_attachments, 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_get_program_binary, GL_OES_mapbuffer, GL_OES_packed_depth_stencil,
GL_OES_required_internalformat, GL_OES_rgb8_rgba8, 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_texture_stencil8, GL_OES_vertex_array_object,
GL_OES_vertex_half_float
#24
I worked my way through a number of the missing dependencies, but I'm stuck on this one:


Code:
Run-time dependency xcb-dri2 found: NO (tried pkgconfig and cmake)

meson.build:1644:4: ERROR: Dependency "xcb-dri2" not found, tried pkgconfig and cmake


dpkg -S xcb-dri2 returns:


Code:
libxcb-dri2-0:arm64: /usr/share/doc/libxcb-dri2-0/changelog.Debian.gz
libxcb-dri2-0:arm64: /usr/share/doc/libxcb-dri2-0
libxcb-dri2-0:arm64: /usr/lib/aarch64-linux-gnu/libxcb-dri2.so.0.0.0
libxcb-dri2-0:arm64: /usr/share/doc/libxcb-dri2-0/copyright
libxcb-dri2-0:arm64: /usr/lib/aarch64-linux-gnu/libxcb-dri2.so.0
libxcb-dri2-0:arm64: /usr/share/doc/libxcb-dri2-0/changelog.gz

When I try to install libxcb-dri2-0 with apt, it looks like it's installed?

Code:
libxcb-dri2-0 is already the newest version (1.14-2).


I'm not sure where to go from here to meet this dependency?  Some previous posts mentioned meta packages that might include this, but I didn't see the package names.

Any pointers appreciated, thanks!
#25
You probably need the libxcb-dri2-0-dev package. On my system dpkg -S xcb-dri2 reports in part:

Code:
libxcb-dri2-0:arm64: /usr/lib/aarch64-linux-gnu/libxcb-dri2.so.0
libxcb-dri2-0-dev:arm64: /usr/lib/aarch64-linux-gnu/pkgconfig/xcb-dri2.pc

Note the .pc file, which should make the library visible to pkgconfig. In general you need the corresponding -dev package for any library your compiling software to use.
#26
(04-22-2020, 11:07 PM)rillian Wrote: You probably need the libxcb-dri2-0-dev package. On my system dpkg -S xcb-dri2 reports in part:

Code:
libxcb-dri2-0:arm64: /usr/lib/aarch64-linux-gnu/libxcb-dri2.so.0
libxcb-dri2-0-dev:arm64: /usr/lib/aarch64-linux-gnu/pkgconfig/xcb-dri2.pc

Note the .pc file, which should make the library visible to pkgconfig. In general you need the corresponding -dev package for any library your compiling software to use.

Thank-you rillian, that got things moving again!
#27
Glad to hear it worked!
#28
fyi mesa_master is going through considerable changes and i've encountered graphics issues. stepping down to branch 20.1 has solved those for me.

however, there is considerable activity in panfrost, so I expect to test in another week.

if you are using debian, 20.0.7 is in unstable and 20.1.0 is in experiemental. if you want to play with GLES3 use experimental or 20.1 git branch, or roll the dice with master.
#29
script now part of pbp-tools. see other forum thread for details.
https://github.com/xmixahlx/pbp-tools
https://forum.pine64.org/showthread.php?tid=10190

updated the first post

the panfrost restructure in mesa-git has finished and is working great again.

a great new post from alyssa@collabora regarding panfrost and bifrost
https://www.collabora.com/news-and-blog/...ics-blobs/
note the pan_debug_mesa=fp16 reference.


Possibly Related Threads…
Thread Author Replies Views Last Post
  kernel build script for latest mainline manjaro kernel xmixahlx 42 64,542 07-11-2020, 09:01 PM
Last Post: xmixahlx
  sway-git build script for latest wayland wm xmixahlx 2 6,004 03-27-2020, 02:46 PM
Last Post: xmixahlx
  openarena build script xmixahlx 4 7,345 03-20-2020, 10:25 PM
Last Post: xmixahlx
  i3blocks Manjaro battery status script Gerhard 0 3,145 01-05-2020, 02:35 PM
Last Post: Gerhard

Forum Jump:


Users browsing this thread: 2 Guest(s)