Index | Thread | Search

From:
Jose Maldonado <josemald89@gmail.com>
Subject:
Mesa, picom and glGetQueryObjectui64v symbol lost
To:
tech@openbsd.org
Cc:
jsg@jsg.id.au
Date:
Fri, 9 Feb 2024 12:12:49 -0400

Download raw body.

Thread
Hello everyone!

I have been working on a patch to be able to build picom in its v11+
versions on OpenBSD. At the moment, the patches and solutions I have
work, but they depend on libepoxy in OpenBSD because the
glGetQueryObjectui64v function does not have a public symbol in libGL,
but libepoxy (epoxy_glGetQueryObjectui64v) does.

I've pushed a PR upstream, and we're looking for a solution, but since
they don't have a way to build test with OpenBSD, they can't reliably
test anything themselves. And what I have tried, it all ends in the
same point: libepoxy.

Despite this, I have a question: Why does Mesa on other systems expose
glGetQueryObjectui64v and OpenBSD's Mesa doesn't?

This behavior is strange, because if that symbol were exposed, we could
compile picom without major problems or code modifications.

CC to @jsg because I understand that he is a person who has extensive
knowledge about Mesa and DRM on OpenBSD, and can shed some light on the
matter.


picom PR for unbreak compilation on OpenBSD:
https://github.com/yshui/picom/pull/1186

-- 
*********************************************************
Dios en su cielo, todo bien en la Tierra