3 ms·
Not really. Nvidia-OpenGL is incompatible to all existing OS OpenGL interfaces, so you need to ship a separate libGL.so if you want to run on Nvidia. In some ca
by holowoodman 9mo ago
Not really. Nvidia-OpenGL is incompatible to all existing OS OpenGL interfaces, so you need to ship a separate libGL.so if you want to run on Nvidia. In some cases you even need separate binaries, because if you dynamically link against Nvidia's libGL.so, it won't run with any other libGL.so. Sometimes also vice versa.
- direwolf20 9mo agoDoes AMD use a statically linked OpenGL?
- holowoodman 9mo agoAMD uses the dynamically linked system libGL.so, usually Mesa.
- direwolf20 9mo agoSo you still need dynamic linking to load the right driver for your graphics card.
- holowoodman 9mo agoMost stuff like that uses some kind of "icd" mechanism that does 'dlopen' on the vendor-specific parts of the library. Afaik neither OpenGL nor Vulkan nor OpenCL are usable without at least dlopen, if not full dynamic linking.
- deleted 9mo ago[deleted]