Package Details: vogl-git 716.434dcc5-1

Git Clone URL: https://aur.archlinux.org/vogl-git.git (read-only, click to copy)
Package Base: vogl-git
Description: An OpenGL debugger
Upstream URL: https://github.com/ValveSoftware/vogl
Licenses: MIT
Submitter: stativ
Maintainer: stativ
Last Packager: stativ
Votes: 11
Popularity: 0.000000
First Submitted: 2014-03-13 12:54 (UTC)
Last Updated: 2018-04-01 17:40 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

blackout24 commented on 2014-03-14 09:35 (UTC)

@MrBushido I was able to compile it without problems yesterday. It took my i7 about 15 minutes. I noticed that it only started up 1 thread despite having -j8 as MAKEFLAG in my makepkg.conf

MrBushido commented on 2014-03-14 08:12 (UTC)

Okay, when I said appears to work I should have waited for the build to end! Here are some additional diffs to get it to compile. The first may not be necessary with the second's -pthread but it took so long to compile I didn't want to watch it compile again! :D --- a/src/voglcore/CMakeLists.txt 2014-03-14 07:07:22.443805843 +0000 +++ b/src/voglcore/CMakeLists.txt 2014-03-14 07:07:42.983805388 +0000 @@ -96,7 +96,7 @@ vogl_object_pool.cpp ) -add_compiler_flag("-fPIC") +add_compiler_flag("-fPIC -pthread") if (VOGL_ENABLE_ASSERTS) message("Forcing assertions to be enabled (VOGL_ENABLE_ASSERTS=TRUE)") --- a/src/vogleditor/CMakeLists.txt 2014-03-14 07:44:55.143755894 +0000 +++ b/src/vogleditor/CMakeLists.txt 2014-03-14 07:43:02.600425058 +0000 @@ -139,6 +139,8 @@ #add_definitions(${QT_DEFINITIONS}) +add_compiler_flag("-fPIC -pthread -lX11") + add_executable(${PROJECT_NAME} ${SRC_LIST} ${HEADER_LIST} ${QT_GEN_HEADER_MOC_LIST} ${QT_GEN_FORM_HEADER_LIST} @@ -153,6 +155,7 @@ backtrace voglcommon voglcore + dl ) build_options_finalize()

MrBushido commented on 2014-03-14 06:37 (UTC)

One of the patches was merged into the source repo. If you remove the following from fix_build.diff it appears to work: @@ -13,9 +13,9 @@ include_directories( ${SRC_DIR}/extlib/loki/include/loki ${SRC_DIR}/libtelemetry ${CMAKE_CURRENT_BINARY_DIR} - /usr/local/Trolltech/Qt-4.8.5/include - /usr/local/Trolltech/Qt-4.8.5/include/QtCore - /usr/local/Trolltech/Qt-4.8.5/include/QtGui + ${QT_INCLUDE_DIR} + ${QT_QTCORE_INCLUDE_DIR} + ${QT_QTGUI_INCLUDE_DIR} )

blackout24 commented on 2014-03-13 22:55 (UTC)

@stativ That works after copying the lib to /usr/lib. I can do a replay but have not been able to open anything in the vogleditor. I created a wiki page for this package. https://wiki.archlinux.org/index.php/VOGL

stativ commented on 2014-03-13 20:12 (UTC)

I finally found a way to obtain a trace. To get a sample trace file, do the following: cd /opt/vogl VOGL_CMD_LINE="--vogl_tracefile /tmp/vogltrace.bin" LD_PRELOAD=/usr/lib/libvogltrace64.so ./glxspheres64

stativ commented on 2014-03-13 19:09 (UTC)

I changed the dependencies a bit and fixed the internal libunwind detection. Otherwise the package is same, so if you have already built it, there's no reason for rebuild.

stativ commented on 2014-03-13 17:36 (UTC)

erihel: I will investigate. The thing is that it didn't compile with libunwind from [community] because it required static library (and dynamic linking didn't work). I changed it to use the internal copy of libunwind, but there may be some problem detecting the internal copy. blackout23: I think you can, because steamlauncher is only wrapper for the utilities installed by this package. However I didn't find any way to actually get some trace using either the vogl utilities themselves or the steamlauncher.sh The closest I got was to LD_PRELOAD the libvogtrace which wrote some information about tracing, but it doesn't seem to create any trace.

blackout24 commented on 2014-03-13 17:04 (UTC)

Can you actually use it without the steamlauncher.sh etc. that is referenced on the Github page?

erihel commented on 2014-03-13 15:08 (UTC)

Hi, I had to install libunwind to compile this package. You might want to add it to dependencies.