Skip to content

Instantly share code, notes, and snippets.

View timjp87's full-sized avatar

Tim Jester-Pfadt timjp87

View GitHub Profile
@timjp87
timjp87 / gist:9559431
Created March 14, 2014 23:47
vogleditor out of memory condition
Mär 15 00:43:17 archbox kernel: vogleditor64 invoked oom-killer: gfp_mask=0x201da, order=0, oom_score_adj=0
Mär 15 00:43:17 archbox kernel: vogleditor64 cpuset=/ mems_allowed=0
Mär 15 00:43:17 archbox kernel: CPU: 6 PID: 2402 Comm: vogleditor64 Tainted: P C O 3.13.6-1-ARCH #1
Mär 15 00:43:17 archbox kernel: Hardware name: System manufacturer System Product Name/P8Z68-V PRO, BIOS 3603 11/09/2012
Mär 15 00:43:17 archbox kernel: 0000000000000000 ffff8800c535b9a8 ffffffff81513274 ffff8800d5688900
Mär 15 00:43:17 archbox kernel: ffff8800c535ba38 ffffffff81510b92 ffff8800c535ba58 ffffffff81061be6
Mär 15 00:43:17 archbox kernel: 0000000000000000 0000000000000000 0000000000000000 ffff8800d55730c0
Mär 15 00:43:17 archbox kernel: Call Trace:
Mär 15 00:43:17 archbox kernel: [<ffffffff81513274>] dump_stack+0x4d/0x6f
Mär 15 00:43:17 archbox kernel: [<ffffffff81510b92>] dump_header+0x7f/0x1fd
137 tim@archbox /opt/vogl % ./vogleditor64 :(
QMetaObject::connectSlotsByName: No matching signal for on_treeView_currentChanged(QModelIndex,QModelIndex)
QMetaObject::connectSlotsByName: No matching signal for on_program_edited(vogl_program_state*)
QMetaObject::connectSlotsByName: No matching signal for on_zoomFactorChanged(double)
Debug: vogl_binary_trace_file_reader::read_frame_file_offsets (174): Frame file offsets packet is OK, found 175 total frame offsets
[1] 5546 killed ./vogleditor64
@timjp87
timjp87 / gist:9617881
Created March 18, 2014 10:59
voglreplay64 segaults when starting at frame 700 instead of 600
voglreplay 64-bit Release Built Mar 18 2014 01:42:27
Replay mode
Debug: vogl_binary_trace_file_reader::read_frame_file_offsets (174): Frame file offsets packet is OK, found 2491 total frame offsets
Reading trace file /home/tim/Dropbox/trace2.bin
Debug: vogl_replay_window::open (127): Created window, requested dimensions 1024x768, actual dimensions 1024x768
vogl_gl_replayer::process_gl_entrypoint_packet_internal (3595): Deferring glXMakeCurrent() until window resizes to 1024x600
glXMakeCurrent(): Trace Viewport: [0,0,1024,600], Window: [1024 600]
glXMakeCurrent(): Replay Viewport: [0,0,1024,600], Window: [1024 600]
Warning: While processing GL entrypoint packet func glGetQueryivARB, frame 0, swaps 0, GL call counter 78, packet start trace context 0x2269A20, cur trace context 0x2269A20, trace thread 0x852:
Warning: vogl_gl_replayer::process_gl_entrypoint_packet_internal (9051): TODO: Implement glGet() function glGetQueryivARB
@timjp87
timjp87 / gdb backtrace of vogleditor64
Created March 19, 2014 00:47
vogleditor64 sefaults when loading frame 98 of trace2_trim.bin
GNU gdb (GDB) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
@timjp87
timjp87 / voglreplay trim
Created March 19, 2014 21:45
voglreplay trim write file fails
1 tim@archbox ~ % voglreplay64 /home/tim/Dropbox/trace2.bin --trim_file /home/tim/trace3_trim.bin --trim_len 100 --trim_frame 700 :(
voglreplay 64-bit Release Built Mar 19 2014 22:35:22
Replay mode
Debug: vogl_binary_trace_file_reader::read_frame_file_offsets (174): Frame file offsets packet is OK, found 2491 total frame offsets
Reading trace file /home/tim/Dropbox/trace2.bin
Debug: vogl_replay_window::open (127): Created window, requested dimensions 1024x768, actual dimensions 1024x768
vogl_gl_replayer::process_gl_entrypoint_packet_internal (3595): Deferring glXMakeCurrent() until window resizes to 1024x600
glXMakeCurrent(): Trace Viewport: [0,0,1024,600], Window: [1024 600]
glXMakeCurrent(): Replay Viewport: [0,0,1024,600], Window: [1024 600]
Warning: While processing GL entrypoint packet func glGetQueryivARB, frame 0, swaps
@timjp87
timjp87 / vogltrace xonotic sdl
Created March 19, 2014 23:47
vogltrace64 of xonotic SDL version
tim@archbox ~ % VOGL_CMD_LINE="--vogl_debug --vogl_dump_stats --vogl_tracefile /home/tim/Downloads/vogltrace-sdl.bin" LD_PRELOAD=/usr/lib/libvogltrace64.so xonotic-sdl
(vogltrace) /usr/lib/libvogltrace64.so built Mar 19 2014 22:35:22, begin initialization in /usr/bin/xonotic-sdl
(vogltrace) Warning: vogl_shared_object_constructor_func: dlsym(RTLD_NEXT, "glXGetProcAddress") failed, trying to manually load libGL.so.1
(vogltrace) dlopen: libGL.so.1 1
(vogltrace) dlopen: libc.so.6 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: libpthread.so.0 257
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: /usr/lib/libc.so.6 1
@timjp87
timjp87 / voglreplay xonotic sdl
Created March 19, 2014 23:50
voglreplay of xonotic sdl
tim@archbox /run/media/tim/ArchData/Downloads % voglreplay64 vogltrace-sdl.bin
voglreplay 64-bit Release Built Mar 19 2014 22:35:22
Replay mode
Debug: vogl_binary_trace_file_reader::read_frame_file_offsets (174): Frame file offsets packet is OK, found 4619 total frame offsets
Reading trace file vogltrace-sdl.bin
Debug: vogl_replay_window::open (127): Created window, requested dimensions 1024x768, actual dimensions 1024x768
Warning: While processing GL entrypoint packet func glGetIntegerv, frame 0, swaps 0, GL call counter 283, packet start trace context 0x4730420, cur trace context 0x4730420, trace thread 0x2CF1:
Warning: vogl_gl_replayer::process_gl_entrypoint_packet_internal (5578): Replay's returned GLint data differed from trace's, pname GL_SAMPLES
Debug: void glGetIntegerv(GL_SAMPLES_SGIS, (GLint *) 0x7FFFAEBE9E2C)
GLint 0: Trace: 4, Replay: 0
@timjp87
timjp87 / vogltrace xonotic glx
Created March 19, 2014 23:55
vogltrace of xonotic glx
tim@archbox ~ % VOGL_CMD_LINE="--vogl_debug --vogl_dump_stats --vogl_tracefile /home/tim/Downloads/vogltrace-glx.bin" LD_PRELOAD=/usr/lib/libvogltrace64.so xonotic-glx
(vogltrace) /usr/lib/libvogltrace64.so built Mar 19 2014 22:35:22, begin initialization in /usr/bin/xonotic-glx
(vogltrace) Warning: vogl_shared_object_constructor_func: dlsym(RTLD_NEXT, "glXGetProcAddress") failed, trying to manually load libGL.so.1
(vogltrace) dlopen: libGL.so.1 1
(vogltrace) dlopen: libc.so.6 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: libpthread.so.0 257
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: /usr/lib/libc.so.6 1
@timjp87
timjp87 / voglreplay xonotic glx
Created March 19, 2014 23:59
voglreplay of xonotic glx
im@archbox /run/media/tim/ArchData/Downloads % voglreplay64 vogltrace-glx.bin
voglreplay 64-bit Release Built Mar 19 2014 22:35:22
Replay mode
Debug: vogl_binary_trace_file_reader::read_frame_file_offsets (174): Frame file offsets packet is OK, found 1475 total frame offsets
Reading trace file vogltrace-glx.bin
Debug: vogl_replay_window::open (127): Created window, requested dimensions 1024x768, actual dimensions 1024x768
Warning: While processing GL entrypoint packet func glGetIntegerv, frame 0, swaps 0, GL call counter 243, packet start trace context 0x3C7A180, cur trace context 0x3C7A180, trace thread 0x2A1A:
Warning: vogl_gl_replayer::process_gl_entrypoint_packet_internal (5578): Replay's returned GLint data differed from trace's, pname GL_SAMPLES
Debug: void glGetIntegerv(GL_SAMPLES_SGIS, (GLint *) 0x7FFF6CDF40FC)
GLint 0: Trace: 4, Replay: 0
@timjp87
timjp87 / vogltrace to tmpfs
Created March 20, 2014 01:08
tmpfs ran out of space
tim@archbox ~ % VOGL_CMD_LINE="--vogl_debug --vogl_dump_stats --vogl_tracefile /tmp/sauerbraten.bin" LD_PRELOAD=/usr/lib/libvogltrace64.so sauerbraten-client
(vogltrace) /usr/lib/libvogltrace64.so built Mar 19 2014 22:35:22, begin initialization in /usr/bin/sauerbraten-client
(vogltrace) Warning: vogl_shared_object_constructor_func: dlsym(RTLD_NEXT, "glXGetProcAddress") failed, trying to manually load libGL.so.1
(vogltrace) dlopen: libGL.so.1 1
(vogltrace) dlopen: libc.so.6 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: libpthread.so.0 257
(vogltrace) dlopen: (nullptr) 1
(vogltrace) dlopen: /usr/lib/libc.so.6 1