Broken on Linux Mint
On Linux I have:
symbol lookup error: target/debug/sophya-rust-challenge: undefined symbol: glGetQueryObjectui64v
That didn't help:
sudo apt install pkg-config libx11-dev libxi-dev libgl1-mesa-dev libasound2-dev
My Linux
uname --all
Linux kos-mint 5.4.0-89-generic #100-Ubuntu SMP Fri Sep 24 14:50:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Any suggestion?
I found similar issue: https://github.com/isl-org/Open3D/issues/4492#issuecomment-1001775307
It looks like it might be a broken GPU driver or incompatible GPU adapter. Could you provide more details about the GPU(s) in your system and the version of drivers installed?
Hello! Sure. How?
OpenGL renderer string: AMD RAVEN (DRM 3.40.0, 5.4.0-96-generic, LLVM 10.0.1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.1.6
OpenGL core profile shading language version string: 4.60
Is that enough?
I commented out function glGetQueryObjectui64v and it works without it.
I suspect it is not a safe assumption that glGetQueryObjectui64v is implemented for all GPUs.
Loading glGetQueryObjectui64v dynamically ( instead of statical binding ) would fix the problem.
Note: I have a modern, but internal AMD GPU on the laptop. Works fast and I didn't encounter any problem with Vulkan.
Same problem here with a AMD Radeon 6600XT.
@Wandalen How or where did you comment out function glGetQueryObjectui64v. Can you describe how to do it?
Thank you
Hello @raldecoa, sure! Have a look. There are few lines. And after that I patched my application adding this lines to Cargo.tom file:
[patch.crates-io]
miniquad = { git = 'https://github.com/Wandalen/miniquad', branch = 'master' }
That's an interesting problem! glGetQueryObjectui64v is a part of a standard and should be available since GL3.2:
https://www.khronos.org/registry/OpenGL-Refpages/gl4/html/glGetQueryObject.xhtml
In good news - all GL functions are going to be nicely dynamically loaded very very soon, in a new miniquad version I am working on, and therefore adding a workaround just for a bunch of cards will be way easier.
Only that is not enough for fixing this problem. Do you want me to open a PR for the rest of a solution of the problem?
Thank you, @Wandalen.
I arrived here because I'm getting the same error trying to import any version open3D after 0.10
I believe it may be related to the use of AMD graphic proprietary drivers.