Last active
February 22, 2020 13:01
-
-
Save runlevel5/a046392f23a99d35398228c4ab6a68ba to your computer and use it in GitHub Desktop.
A full snippet on how to build gl_vk_chopper with Fedora 32 (ppc64le)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /etc/os-release | |
NAME=Fedora | |
VERSION="31 (Server Edition)" | |
ID=fedora | |
VERSION_ID=31 | |
VERSION_CODENAME="" | |
PLATFORM_ID="platform:f31" | |
PRETTY_NAME="Fedora 31 (Server Edition)" | |
ANSI_COLOR="0;34" | |
LOGO=fedora-logo-icon | |
CPE_NAME="cpe:/o:fedoraproject:fedora:31" | |
HOME_URL="https://fedoraproject.org/" | |
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f31/system-administrators-guide/" | |
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help" | |
BUG_REPORT_URL="https://bugzilla.redhat.com/" | |
REDHAT_BUGZILLA_PRODUCT="Fedora" | |
REDHAT_BUGZILLA_PRODUCT_VERSION=31 | |
REDHAT_SUPPORT_PRODUCT="Fedora" | |
REDHAT_SUPPORT_PRODUCT_VERSION=31 | |
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy" | |
VARIANT="Server Edition" | |
VARIANT_ID=server | |
$ uname -a | |
Linux orion.dev 5.5.0+ #1 SMP Mon Feb 3 08:17:51 EST 2020 ppc64le ppc64le ppc64le GNU/Linux | |
$ g++ --version | |
g++ (GCC) 9.2.1 20190827 (Red Hat 9.2.1-1) | |
$ sudo dnf install cmake vulkan-*- libXrandr-devel libXinerama-devel libXcursor-devel libXi-devel assimp-devel libpng-devel libgle-devel freeglut-devel | |
$ git clone https://github.com/nvpro-samples/gl_vk_chopper.git | |
$ cd gl_vk_chopper | |
$ git clone https://github.com/nvpro-samples/shared_sources.git shared_sources | |
# HACK: enforce platform to ppc64 | |
$ sed -i -e '1s/^/#define __ppc64__\n/' shared_sources/NvFoundation.h | |
$ mkdir downloaded_resources | |
$ git clone --single-branch --branch 3.3.1 https://github.com/glfw/glfw.git downloaded_resources/glfw-3.3.1 | |
$ cmake configure . | |
-- The C compiler identification is GNU 9.2.1 | |
-- The CXX compiler identification is GNU 9.2.1 | |
-- Check for working C compiler: /usr/bin/cc | |
-- Check for working C compiler: /usr/bin/cc -- works | |
-- Detecting C compiler ABI info | |
-- Detecting C compiler ABI info - done | |
-- Detecting C compile features | |
-- Detecting C compile features - done | |
-- Check for working CXX compiler: /usr/bin/c++ | |
-- Check for working CXX compiler: /usr/bin/c++ -- works | |
-- Detecting CXX compiler ABI info | |
-- Detecting CXX compiler ABI info - done | |
-- Detecting CXX compile features | |
-- Detecting CXX compile features - done | |
-- ------------------------------- | |
-- Processing Project gl_vk_chopper: | |
-- found sub-folder shared_sources | |
-- Looking for pthread.h | |
-- Looking for pthread.h - found | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD | |
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed | |
-- Looking for pthread_create in pthreads | |
-- Looking for pthread_create in pthreads - not found | |
-- Looking for pthread_create in pthread | |
-- Looking for pthread_create in pthread - found | |
-- Found Threads: TRUE | |
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.15") found components: doxygen | |
-- Using X11 for window creation | |
-- Found X11: /usr/include | |
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so | |
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found | |
-- Looking for gethostbyname | |
-- Looking for gethostbyname - found | |
-- Looking for connect | |
-- Looking for connect - found | |
-- Looking for remove | |
-- Looking for remove - found | |
-- Looking for shmat | |
-- Looking for shmat - found | |
-- Looking for IceConnectionNumber in ICE | |
-- Looking for IceConnectionNumber in ICE - found | |
-- BASE_DIRECTORY = /home/tle/src/gl_vk_chopper | |
-- CMAKE_CURRENT_SOURCE_DIR = /home/tle/src/gl_vk_chopper | |
-- Found OpenGL: /usr/lib64/libOpenGL.so | |
-- --> using package OpenGL | |
-- VulkanSDK search paths: | |
-- $VULKAN_SDK: | |
-- Vulkan Include : /usr/include | |
-- Vulkan Library : /lib64/libvulkan.so | |
-- Found VULKANSDK: /usr/include/include | |
-- --> using package VulkanSDK (version ) | |
-- VulkanSDK search paths: | |
-- $VULKAN_SDK: | |
-- Vulkan Include : /usr/include | |
-- Vulkan Library : /lib64/libvulkan.so | |
-- --> NOT using package ShaderC | |
-- ------------------------------- | |
-- Processing shared_sources files | |
-- --> using package ZLIB | |
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") | |
-- VulkanSDK search paths: | |
-- $VULKAN_SDK: | |
-- Vulkan Include : /usr/include | |
-- Vulkan Library : /lib64/libvulkan.so | |
-- --> using package VulkanSDK (version ) | |
-- --> using package OpenGL | |
-- --> using package ZLIB | |
-- shared_sources library name: shared_sources_gl_vk | |
-- Packages needed for shared_sources lib compat: | |
-- --> using package OpenGL | |
-- VulkanSDK search paths: | |
-- $VULKAN_SDK: | |
-- Vulkan Include : /usr/include | |
-- Vulkan Library : /lib64/libvulkan.so | |
-- --> using package VulkanSDK (version ) | |
-- Configuring done | |
-- Generating done | |
-- Build files have been written to: /home/tle/src/gl_vk_chopper | |
$ sed -i 's/x64/ppc64/g' CMakeCache.txt | |
$ make | |
``` | |
[ 1%] Linking C static library ../../../bin_ppc64/libglfw3.a | |
[ 9%] Built target glfw | |
Scanning dependencies of target shared_sources | |
[ 10%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/appwindowprofiler.cpp.o | |
[ 10%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/bitarray.cpp.o | |
[ 11%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/cameramanipulator.cpp.o | |
[ 11%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/gltfscene.cpp.o | |
[ 12%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/nvprint.cpp.o | |
[ 12%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/parametertools.cpp.o | |
[ 13%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/profiler.cpp.o | |
[ 13%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvh/shaderfilemanager.cpp.o | |
[ 14%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/noise/noise1234.cpp.o | |
[ 14%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/fileformats/cadscenefile.cpp.o | |
[ 15%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/fileformats/nv_dds.cpp.o | |
[ 15%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvpwindow.cpp.o | |
[ 16%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvpsystem.cpp.o | |
[ 17%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvpsystem_linux.cpp.o | |
[ 17%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/allocator_dma_vkgl.cpp.o | |
[ 18%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/appwindowprofiler_vk.cpp.o | |
[ 18%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/buffers_vk.cpp.o | |
[ 19%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/commands_vk.cpp.o | |
[ 19%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/context_vk.cpp.o | |
[ 20%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/descriptorsets_vk.cpp.o | |
[ 20%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/error_vk.cpp.o | |
[ 21%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/extensions_vk.cpp.o | |
[ 21%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/images_vk.cpp.o | |
[ 22%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/memorymanagement_vk.cpp.o | |
[ 22%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/memorymanagement_vkgl.cpp.o | |
[ 23%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/profiler_vk.cpp.o | |
[ 23%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/renderpasses_vk.cpp.o | |
[ 24%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/shadermodulemanager_vk.cpp.o | |
[ 24%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/shaders_vk.cpp.o | |
[ 25%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvk/swapchain_vk.cpp.o | |
[ 25%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvkpp/context_vkpp.cpp.o | |
[ 26%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvvkpp/images_vkpp.cpp.o | |
[ 27%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/appwindowprofiler_gl.cpp.o | |
[ 27%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/contextwindow_gl.cpp.o | |
[ 28%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/error_gl.cpp.o | |
[ 28%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/extensions_gl.cpp.o | |
[ 29%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/profiler_gl.cpp.o | |
[ 29%] Building CXX object shared_sources/CMakeFiles/shared_sources.dir/nvgl/programmanager_gl.cpp.o | |
[ 30%] Linking CXX static library ../bin_ppc64/libshared_sources_gl_vk.a | |
[ 30%] Built target shared_sources | |
Scanning dependencies of target gl_vk_chopper | |
[ 30%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Camera.cpp.o | |
[ 31%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Mesh.cpp.o | |
[ 31%] Building CXX object CMakeFiles/gl_vk_chopper.dir/MeshUtils.cpp.o | |
[ 32%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Node.cpp.o | |
[ 32%] Building CXX object CMakeFiles/gl_vk_chopper.dir/RenderContext.cpp.o | |
[ 33%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Renderable.cpp.o | |
[ 33%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Scene.cpp.o | |
[ 34%] Building CXX object CMakeFiles/gl_vk_chopper.dir/Transform.cpp.o | |
[ 34%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VKSFile.cpp.o | |
[ 35%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeAnimationChannel.cpp.o | |
[ 35%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeAnimationKey.cpp.o | |
[ 36%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeAnimationNode.cpp.o | |
[ 37%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeBuffer.cpp.o | |
[ 37%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeCamera.cpp.o | |
[ 38%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeCreateUtils.cpp.o | |
[ 38%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeCubeTexture.cpp.o | |
[ 39%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeGameRendererDynamic.cpp.o | |
[ 39%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeIBO.cpp.o | |
[ 40%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeMaterial.cpp.o | |
[ 40%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeMesh.cpp.o | |
[ 41%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeNodeData.cpp.o | |
[ 41%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeRenderer.cpp.o | |
[ 42%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeSceneAnimation.cpp.o | |
[ 42%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeScreenQuad.cpp.o | |
[ 43%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeTerrainQuad.cpp.o | |
[ 43%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeTexture.cpp.o | |
[ 44%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VkeVBO.cpp.o | |
[ 44%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VulkanAppContext.cpp.o | |
[ 45%] Building CXX object CMakeFiles/gl_vk_chopper.dir/VulkanDeviceContext.cpp.o | |
[ 45%] Building CXX object CMakeFiles/gl_vk_chopper.dir/WMath.cpp.o | |
[ 46%] Building CXX object CMakeFiles/gl_vk_chopper.dir/vkaUtils.cpp.o | |
[ 47%] Building CXX object CMakeFiles/gl_vk_chopper.dir/vukansandbox.cpp.o | |
[ 47%] Linking CXX executable bin_ppc64/gl_vk_chopper | |
[ 47%] Built target gl_vk_chopper | |
Scanning dependencies of target heightmap | |
[ 47%] Building C object build/build_glfw3/examples/CMakeFiles/heightmap.dir/heightmap.c.o | |
[ 48%] Building C object build/build_glfw3/examples/CMakeFiles/heightmap.dir/__/deps/glad_gl.c.o | |
[ 48%] Linking C executable ../../../bin_ppc64/heightmap | |
[ 48%] Built target heightmap | |
Scanning dependencies of target offscreen | |
[ 48%] Building C object build/build_glfw3/examples/CMakeFiles/offscreen.dir/offscreen.c.o | |
[ 49%] Building C object build/build_glfw3/examples/CMakeFiles/offscreen.dir/__/deps/glad_gl.c.o | |
[ 49%] Linking C executable ../../../bin_ppc64/offscreen | |
[ 49%] Built target offscreen | |
Scanning dependencies of target particles | |
[ 49%] Building C object build/build_glfw3/examples/CMakeFiles/particles.dir/particles.c.o | |
[ 50%] Building C object build/build_glfw3/examples/CMakeFiles/particles.dir/__/deps/tinycthread.c.o | |
[ 51%] Building C object build/build_glfw3/examples/CMakeFiles/particles.dir/__/deps/getopt.c.o | |
[ 51%] Building C object build/build_glfw3/examples/CMakeFiles/particles.dir/__/deps/glad_gl.c.o | |
[ 52%] Linking C executable ../../../bin_ppc64/particles | |
[ 52%] Built target particles | |
Scanning dependencies of target wave | |
[ 52%] Building C object build/build_glfw3/examples/CMakeFiles/wave.dir/wave.c.o | |
[ 53%] Building C object build/build_glfw3/examples/CMakeFiles/wave.dir/__/deps/glad_gl.c.o | |
[ 53%] Linking C executable ../../../bin_ppc64/wave | |
[ 53%] Built target wave | |
Scanning dependencies of target boing | |
[ 53%] Building C object build/build_glfw3/examples/CMakeFiles/boing.dir/boing.c.o | |
[ 54%] Building C object build/build_glfw3/examples/CMakeFiles/boing.dir/__/deps/glad_gl.c.o | |
[ 54%] Linking C executable ../../../bin_ppc64/boing | |
[ 54%] Built target boing | |
Scanning dependencies of target gears | |
[ 55%] Building C object build/build_glfw3/examples/CMakeFiles/gears.dir/gears.c.o | |
[ 55%] Building C object build/build_glfw3/examples/CMakeFiles/gears.dir/__/deps/glad_gl.c.o | |
[ 56%] Linking C executable ../../../bin_ppc64/gears | |
[ 56%] Built target gears | |
Scanning dependencies of target sharing | |
[ 56%] Building C object build/build_glfw3/examples/CMakeFiles/sharing.dir/sharing.c.o | |
[ 57%] Building C object build/build_glfw3/examples/CMakeFiles/sharing.dir/__/deps/glad_gl.c.o | |
[ 57%] Linking C executable ../../../bin_ppc64/sharing | |
[ 57%] Built target sharing | |
Scanning dependencies of target simple | |
[ 58%] Building C object build/build_glfw3/examples/CMakeFiles/simple.dir/simple.c.o | |
[ 58%] Building C object build/build_glfw3/examples/CMakeFiles/simple.dir/__/deps/glad_gl.c.o | |
[ 59%] Linking C executable ../../../bin_ppc64/simple | |
[ 59%] Built target simple | |
Scanning dependencies of target splitview | |
[ 59%] Building C object build/build_glfw3/examples/CMakeFiles/splitview.dir/splitview.c.o | |
[ 60%] Building C object build/build_glfw3/examples/CMakeFiles/splitview.dir/__/deps/glad_gl.c.o | |
[ 60%] Linking C executable ../../../bin_ppc64/splitview | |
[ 60%] Built target splitview | |
Scanning dependencies of target icon | |
[ 61%] Building C object build/build_glfw3/tests/CMakeFiles/icon.dir/icon.c.o | |
[ 61%] Building C object build/build_glfw3/tests/CMakeFiles/icon.dir/__/deps/glad_gl.c.o | |
[ 62%] Linking C executable ../../../bin_ppc64/icon | |
[ 62%] Built target icon | |
Scanning dependencies of target gamma | |
[ 62%] Building C object build/build_glfw3/tests/CMakeFiles/gamma.dir/gamma.c.o | |
[ 63%] Building C object build/build_glfw3/tests/CMakeFiles/gamma.dir/__/deps/glad_gl.c.o | |
[ 63%] Linking C executable ../../../bin_ppc64/gamma | |
[ 63%] Built target gamma | |
Scanning dependencies of target tearing | |
[ 64%] Building C object build/build_glfw3/tests/CMakeFiles/tearing.dir/tearing.c.o | |
[ 64%] Building C object build/build_glfw3/tests/CMakeFiles/tearing.dir/__/deps/glad_gl.c.o | |
[ 65%] Linking C executable ../../../bin_ppc64/tearing | |
[ 65%] Built target tearing | |
Scanning dependencies of target reopen | |
[ 65%] Building C object build/build_glfw3/tests/CMakeFiles/reopen.dir/reopen.c.o | |
[ 66%] Building C object build/build_glfw3/tests/CMakeFiles/reopen.dir/__/deps/glad_gl.c.o | |
[ 66%] Linking C executable ../../../bin_ppc64/reopen | |
[ 66%] Built target reopen | |
Scanning dependencies of target empty | |
[ 67%] Building C object build/build_glfw3/tests/CMakeFiles/empty.dir/empty.c.o | |
[ 67%] Building C object build/build_glfw3/tests/CMakeFiles/empty.dir/__/deps/tinycthread.c.o | |
[ 68%] Building C object build/build_glfw3/tests/CMakeFiles/empty.dir/__/deps/glad_gl.c.o | |
[ 68%] Linking C executable ../../../bin_ppc64/empty | |
[ 68%] Built target empty | |
Scanning dependencies of target events | |
[ 69%] Building C object build/build_glfw3/tests/CMakeFiles/events.dir/events.c.o | |
[ 69%] Building C object build/build_glfw3/tests/CMakeFiles/events.dir/__/deps/getopt.c.o | |
[ 70%] Building C object build/build_glfw3/tests/CMakeFiles/events.dir/__/deps/glad_gl.c.o | |
[ 71%] Linking C executable ../../../bin_ppc64/events | |
[ 71%] Built target events | |
Scanning dependencies of target msaa | |
[ 71%] Building C object build/build_glfw3/tests/CMakeFiles/msaa.dir/msaa.c.o | |
[ 72%] Building C object build/build_glfw3/tests/CMakeFiles/msaa.dir/__/deps/getopt.c.o | |
[ 72%] Building C object build/build_glfw3/tests/CMakeFiles/msaa.dir/__/deps/glad_gl.c.o | |
[ 73%] Linking C executable ../../../bin_ppc64/msaa | |
[ 73%] Built target msaa | |
Scanning dependencies of target glfwinfo | |
[ 74%] Building C object build/build_glfw3/tests/CMakeFiles/glfwinfo.dir/glfwinfo.c.o | |
[ 74%] Building C object build/build_glfw3/tests/CMakeFiles/glfwinfo.dir/__/deps/getopt.c.o | |
[ 75%] Building C object build/build_glfw3/tests/CMakeFiles/glfwinfo.dir/__/deps/glad_gl.c.o | |
[ 75%] Building C object build/build_glfw3/tests/CMakeFiles/glfwinfo.dir/__/deps/glad_vulkan.c.o | |
[ 76%] Linking C executable ../../../bin_ppc64/glfwinfo | |
[ 76%] Built target glfwinfo | |
Scanning dependencies of target threads | |
[ 77%] Building C object build/build_glfw3/tests/CMakeFiles/threads.dir/threads.c.o | |
[ 77%] Building C object build/build_glfw3/tests/CMakeFiles/threads.dir/__/deps/tinycthread.c.o | |
[ 78%] Building C object build/build_glfw3/tests/CMakeFiles/threads.dir/__/deps/glad_gl.c.o | |
[ 78%] Linking C executable ../../../bin_ppc64/threads | |
[ 78%] Built target threads | |
Scanning dependencies of target cursor | |
[ 79%] Building C object build/build_glfw3/tests/CMakeFiles/cursor.dir/cursor.c.o | |
[ 79%] Building C object build/build_glfw3/tests/CMakeFiles/cursor.dir/__/deps/glad_gl.c.o | |
[ 80%] Linking C executable ../../../bin_ppc64/cursor | |
[ 80%] Built target cursor | |
Scanning dependencies of target inputlag | |
[ 80%] Building C object build/build_glfw3/tests/CMakeFiles/inputlag.dir/inputlag.c.o | |
[ 81%] Building C object build/build_glfw3/tests/CMakeFiles/inputlag.dir/__/deps/getopt.c.o | |
[ 81%] Building C object build/build_glfw3/tests/CMakeFiles/inputlag.dir/__/deps/glad_gl.c.o | |
[ 82%] Linking C executable ../../../bin_ppc64/inputlag | |
[ 82%] Built target inputlag | |
Scanning dependencies of target monitors | |
[ 82%] Building C object build/build_glfw3/tests/CMakeFiles/monitors.dir/monitors.c.o | |
[ 83%] Building C object build/build_glfw3/tests/CMakeFiles/monitors.dir/__/deps/getopt.c.o | |
[ 83%] Building C object build/build_glfw3/tests/CMakeFiles/monitors.dir/__/deps/glad_gl.c.o | |
[ 84%] Linking C executable ../../../bin_ppc64/monitors | |
[ 84%] Built target monitors | |
Scanning dependencies of target iconify | |
[ 84%] Building C object build/build_glfw3/tests/CMakeFiles/iconify.dir/iconify.c.o | |
[ 85%] Building C object build/build_glfw3/tests/CMakeFiles/iconify.dir/__/deps/getopt.c.o | |
[ 85%] Building C object build/build_glfw3/tests/CMakeFiles/iconify.dir/__/deps/glad_gl.c.o | |
[ 86%] Linking C executable ../../../bin_ppc64/iconify | |
[ 86%] Built target iconify | |
Scanning dependencies of target joysticks | |
[ 87%] Building C object build/build_glfw3/tests/CMakeFiles/joysticks.dir/joysticks.c.o | |
[ 87%] Building C object build/build_glfw3/tests/CMakeFiles/joysticks.dir/__/deps/glad_gl.c.o | |
[ 88%] Linking C executable ../../../bin_ppc64/joysticks | |
[ 88%] Built target joysticks | |
Scanning dependencies of target opacity | |
[ 89%] Building C object build/build_glfw3/tests/CMakeFiles/opacity.dir/opacity.c.o | |
[ 89%] Building C object build/build_glfw3/tests/CMakeFiles/opacity.dir/__/deps/glad_gl.c.o | |
[ 90%] Linking C executable ../../../bin_ppc64/opacity | |
[ 90%] Built target opacity | |
Scanning dependencies of target windows | |
[ 91%] Building C object build/build_glfw3/tests/CMakeFiles/windows.dir/windows.c.o | |
[ 91%] Building C object build/build_glfw3/tests/CMakeFiles/windows.dir/__/deps/getopt.c.o | |
[ 92%] Building C object build/build_glfw3/tests/CMakeFiles/windows.dir/__/deps/glad_gl.c.o | |
[ 93%] Linking C executable ../../../bin_ppc64/windows | |
[ 93%] Built target windows | |
Scanning dependencies of target clipboard | |
[ 94%] Building C object build/build_glfw3/tests/CMakeFiles/clipboard.dir/clipboard.c.o | |
[ 94%] Building C object build/build_glfw3/tests/CMakeFiles/clipboard.dir/__/deps/getopt.c.o | |
[ 95%] Building C object build/build_glfw3/tests/CMakeFiles/clipboard.dir/__/deps/glad_gl.c.o | |
[ 95%] Linking C executable ../../../bin_ppc64/clipboard | |
[ 95%] Built target clipboard | |
Scanning dependencies of target title | |
[ 95%] Building C object build/build_glfw3/tests/CMakeFiles/title.dir/title.c.o | |
[ 96%] Building C object build/build_glfw3/tests/CMakeFiles/title.dir/__/deps/glad_gl.c.o | |
[ 96%] Linking C executable ../../../bin_ppc64/title | |
[ 96%] Built target title | |
Scanning dependencies of target triangle-vulkan | |
[ 97%] Building C object build/build_glfw3/tests/CMakeFiles/triangle-vulkan.dir/triangle-vulkan.c.o | |
[ 97%] Building C object build/build_glfw3/tests/CMakeFiles/triangle-vulkan.dir/__/deps/glad_vulkan.c.o | |
[ 98%] Linking C executable ../../../bin_ppc64/triangle-vulkan | |
[ 98%] Built target triangle-vulkan | |
Scanning dependencies of target timeout | |
[ 99%] Building C object build/build_glfw3/tests/CMakeFiles/timeout.dir/timeout.c.o | |
[ 99%] Building C object build/build_glfw3/tests/CMakeFiles/timeout.dir/__/deps/glad_gl.c.o | |
[100%] Linking C executable ../../../bin_ppc64/timeout | |
[100%] Built target timeout | |
Scanning dependencies of target docs | |
[100%] Generating HTML documentation | |
[100%] Built target docs | |
``` | |
$ LIBGL_DEBUG=verbose ./bin_ppc64/gl_vk_chopper | |
unhandled argument: ./bin_ppc64/gl_vk_chopper | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/tle/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/tle/.drirc: No such file or directory. | |
libGL: pci id for fd 6: 1002:687f, driver radeonsi | |
libGL: MESA-LOADER: dlopen(/usr/lib64/dri/radeonsi_dri.so) | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/tle/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/tle/.drirc: No such file or directory. | |
libGL: Can't open configuration file /etc/drirc: No such file or directory. | |
libGL: Can't open configuration file /home/tle/.drirc: No such file or directory. | |
/usr/share/libdrm/amdgpu.ids version: 1.0.0 | |
libGL: Using DRI3 for screen 0 | |
GLX: Failed to create context: GLXBadFBConfig | |
Could not create window | |
$ lspci | grep VGA | |
0001:03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c1) | |
$ glxinfo | grep version | |
server glx version string: 1.4 | |
client glx version string: 1.4 | |
GLX version: 1.4 | |
Max core profile version: 4.5 | |
Max compat profile version: 4.5 | |
Max GLES1 profile version: 1.1 | |
Max GLES[23] profile version: 3.2 | |
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.2.8 | |
OpenGL core profile shading language version string: 4.50 | |
OpenGL version string: 4.5 (Compatibility Profile) Mesa 19.2.8 | |
OpenGL shading language version string: 4.50 | |
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 19.2.8 | |
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 | |
GL_EXT_shader_implicit_conversions, GL_EXT_shader_integer_mix, | |
$ ./bin_ppc64/glfwinfo | |
GLFW header version: 3.3.1 | |
GLFW library version: 3.3.1 | |
GLFW library version string: "3.3.1 X11 GLX EGL OSMesa clock_gettime evdev" | |
OpenGL context version string: "4.5 (Compatibility Profile) Mesa 19.2.8" | |
OpenGL context version parsed by GLFW: 4.5.0 | |
OpenGL context flags (0x00000000): | |
OpenGL context flags parsed by GLFW: | |
OpenGL profile mask (0x00000002): compat | |
OpenGL profile mask parsed by GLFW: compat | |
OpenGL robustness strategy (0x00008261): none | |
OpenGL robustness strategy parsed by GLFW: none | |
OpenGL context renderer string: "Radeon RX Vega (VEGA10, DRM 3.36.0, 5.5.0+, LLVM 9.0.0)" | |
OpenGL context vendor string: "X.Org" | |
OpenGL context shading language version: "4.50" | |
OpenGL framebuffer: | |
red: 8 green: 8 blue: 8 alpha: 8 depth: 24 stencil: 8 | |
samples: 0 sample buffers: 0 | |
accum red: 0 accum green: 0 accum blue: 0 accum alpha: 0 aux buffers: 0 | |
Vulkan loader: available | |
Vulkan loader API version: 1.2 | |
Vulkan required instance extensions: VK_KHR_surface VK_KHR_xcb_surface | |
Vulkan discrete GPU device: "AMD RADV VEGA10 (LLVM 9.0.0)" API version 1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment