Vulkan lavapipe software rendering is working on Haiku

Keep in mind that Beta4 release is not yet out so we might be in the midst of a feature freeze until the release day.

Iā€™m with the nightly , and anyway whatā€™s the problem? they are not installed by default

3 Likes

Didnā€™t BeOS use OpenGL as its graphics driver? Iā€™m operating under the assumption that Mesa, being the OpenGL equivalent for Haiku and others, is a core component. Zink should definitely come out but not while core components are being tested against for a release.

1 Like

I was referring to the vulkan lavapipe, zink should work automatically on top of vulkan no need for any changes, just tell the mesa with a variable to use zinkā€¦
$ LIBGL_DRIVERS_PATH=/tmp/zink/lib64/dri/ MESA_LOADER_DRIVER_OVERRIDE=zink glxgears -info
(on linux it works like this, not sure itā€™s the same on haiku).
However, I think it should be better, since opengl not accelerated at all is of little use :slight_smile:
Mesa lavapipe is not installed by default, thatā€™s what I meant,
I donā€™t know if Iā€™m misunderstanding.

If thereā€™s a way to switch OpenGL emulation with a runtime switch, then thereā€™s no reason for concern. My concern was the changes that would otherwise be needed in Mesa.

1 Like

If and when there will be accelerated drivers in the gpus, they will directly use accelerated openGL library, or if there will never be and there will be only accelerated vulkan, like the X512 drivers for ATI, then zink is used, is the shortest way ā€¦ and at the moment probably the only way to have openGL accelerated via gpu ā€¦ the second option is lavapipe which are vulkan accelerated via CPU, which with CPU with many cores you have decent performance, and consequently also decent openGL

1 Like

$ MESA_LOADER_DRIVER_OVERRIDE=zink glxgears -info
Awhile ago, I added the Zink patches from X512 to Mesa 23.0 (now officially a stable release). I may get things finalized after the R1B4 release (or someone else) for Mesa 23.0.1.

4 Likes

this is good news, so if i start an app that uses opengl (blender) with that variable, is zink already working in the nightly? ā€¦ Iā€™m going to give it a try immediately

Not yet. Just lavapipe. Most of the recent Zink patches were based around Mesa 23.0. Although, I backported them. Yet, wait till Mesa 23.0.x.

9 Likes

Great work @X512 :sunglasses: :muscle:

2 Likes

There is an in-progress Vulkan driver for pre-GCN Radeon HD 6000 series GPUs that might be of interest to people here:

5 Likes

this is fantastic news for me

How this going all now? it looks so cool on 2021

2 Likes