ChanServ changed the topic of #zink to: official development channel for the mesa3d zink driver || https://docs.mesa3d.org/drivers/zink.html
ced117 has quit [Ping timeout: 480 seconds]
ced117 has joined #zink
omegatron has quit [Quit: What happened? You quit!]
shamb0 has joined #zink
<shamb0> Hello There
<shamb0> Looking for some help regarding
<shamb0> "Zink In Mesa 20.3 Now Hits OpenGL 3.3, Can Run Blender With This OpenGL-on-Vulkan"
<shamb0> Unable to get the support of OpenGL 3.3
<shamb0> Here is the trace from `glxinfo -B`
<shamb0> Extended renderer info (GLX_MESA_query_renderer):
<shamb0> Device: zink (V3D 4.2) (0xbe485fd3)
<shamb0> Version: 21.3.0
<shamb0> Accelerated: yes
<shamb0> Vendor: Collabora Ltd (0x14e4)
<shamb0> Video memory: 5818MB
<shamb0> Unified memory: yes
<shamb0> Preferred profile: compat (0x2)
<shamb0> Max core profile version: 0.0
<shamb0> Max compat profile version: 2.1
<shamb0> Max GLES1 profile version: 1.1
<shamb0> Max GLES[23] profile version: 2.0
<shamb0> Memory info (GL_ATI_meminfo):
<shamb0> VBO free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> VBO free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Texture free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> Texture free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Renderbuffer free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Memory info (GL_NVX_gpu_memory_info):
<shamb0> Dedicated video memory: 5818 MB
<shamb0> Total available memory: 5818 MB
<shamb0> Currently available dedicated video memory: 5818 MB
<shamb0> OpenGL vendor string: Collabora Ltd
<shamb0> OpenGL renderer string: zink (V3D 4.2)
<shamb0> OpenGL version string: 2.1 Mesa 21.3.0-devel (git-d69687178b)
<shamb0> OpenGL shading language version string: 1.20
<shamb0> OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.3.0-devel (git-d69687178b)
<shamb0> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
<shamb0> Plz find summary of build & bringup info
<kusma> Yeah, I'm not sure the rpi4 support enough vulkan features to expose a modern GL version...
<shamb0> Thanks Kusma
<kusma> To get this working, I think either work on V3DV is needed, or some emulation code in Zink
<kusma> The docs explain what vk features are needed per GL version
<kusma> That's for 3.0... I think maybe that EXT_conditional_rendering dependency is stale, and zmike already wrote emulation code for it...
<shamb0> Got it ..., one basic question
<kusma> shamb0: maybe you'll have some luck with just overriding the GL version?
<kusma> There's an environment variable for that
<kusma> Shoot
<shamb0> Wow that's interesting
<shamb0> if you don't mind could you plz have glance on link https://hackmd.io/2GENFhrNSZKu5Za_rzfpCQ?view
zoltansore[m] has quit []
zygonsisyphus[m] has quit []
neobrain[m] has quit []
kusma has quit [Quit: Bridge terminating on SIGTERM]
ella-0[m] has quit []
FernandoMonteiro[m] has quit []
<shamb0> Did GL version override like below
<shamb0> ```
<shamb0> ZINKENV=/home/kanthasiva/myutils/mesa-zmike/mesa-wip-zink-install
<shamb0> export LIBGL_DEBUG=verbose
<shamb0> #!/bin/sh
<shamb0> LIB64=$ZINKENV/lib
<shamb0> export LD_LIBRARY_PATH=$LIB64/
<shamb0> export LIBGL_DRIVERS_PATH=$LIB64/dri
<shamb0> export MESA_GL_VERSION_OVERRIDE=3.3
<shamb0> export MESA_LOADER_DRIVER_OVERRIDE=zink
<shamb0> export VK_ICD_FILENAMES=$ZINKENV/share/vulkan/icd.d/broadcom_icd.aarch64.json
<shamb0> exec "$@"
<shamb0> ```
<shamb0> looks like version string got emulated
<shamb0> ```
<shamb0> libGL: Using DRI2 for screen 0
<shamb0> direct rendering: Yes
<shamb0> Extended renderer info (GLX_MESA_query_renderer):
<shamb0> scalarBlockLayout OR EXT_scalar_block_layout display: :0 screen: 0
<shamb0> Vendor: Collabora Ltd (0x14e4)
<shamb0> Device: zink (V3D 4.2) (0xbe485fd3)
<shamb0> Version: 21.3.0
<shamb0> Accelerated: yes
<shamb0> Video memory: 5818MB
<shamb0> Unified memory: yes
<shamb0> Preferred profile: core (0x1)
<shamb0> Max core profile version: 3.3
<shamb0> Max compat profile version: 3.3
<shamb0> Max GLES1 profile version: 1.1
<shamb0> Max GLES[23] profile version: 2.0
<shamb0> Memory info (GL_ATI_meminfo):
<shamb0> VBO free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> VBO free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Texture free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> Texture free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Renderbuffer free memory - total: 5818 MB, largest block: 5818 MB
<shamb0> Renderbuffer free aux. memory - total: 0 MB, largest block: 0 MB
<shamb0> Memory info (GL_NVX_gpu_memory_info):
<shamb0> Dedicated video memory: 5818 MB
<shamb0> Total available memory: 5818 MB
<shamb0> Currently available dedicated video memory: 5818 MB
<shamb0> OpenGL vendor string: Collabora Ltd
<shamb0> OpenGL renderer string: zink (V3D 4.2)
<shamb0> OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.3.0-devel (git-d69687178b)
<shamb0> OpenGL core profile shading language version string: 4.60
<shamb0> OpenGL core profile context flags: (none)
<shamb0> OpenGL core profile profile mask: core profile
<shamb0> OpenGL version string: 3.3 (Compatibility Profile) Mesa 21.3.0-devel (git-d69687178b)
<shamb0> OpenGL shading language version string: 4.60
<shamb0> OpenGL context flags: (none)
<shamb0> OpenGL profile mask: compatibility profile
<shamb0> OpenGL ES profile version string: OpenGL ES 2.0 Mesa 21.3.0-devel (git-d69687178b)
<shamb0> OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
<shamb0> ```
kusma has joined #zink
<shamb0> Kusma is ther any way to override OpenGL ES version ?
ella-0[m] has joined #zink
FernandoMonteiro[m] has joined #zink
neobrain[m] has joined #zink
zygonsisyphus[m] has joined #zink
zoltansore[m] has joined #zink
shamb0 has quit [Quit: Leaving]
quantum5_ has joined #zink
quantum5 has quit [Read error: Connection reset by peer]
quantum5_ has left #zink [#zink]
quantum5 has joined #zink