3 undefined symbol: glGenQueries
5 The problem here is code in libfips directly calling OpenGL
6 functions like glGenQueries but not linking against any OpenGL
9 We don't want to link against any OpenGL library so that the
10 application itself can choose which OpenGL to use (and how to
13 The trick is to instead make these calls indirectly by first
14 calling glXGetProcAddressARB/eglGetProcAddress. There's some
15 proof-of-concept code for this in the stash-egl-lookup-fixups
16 branch, (which needs some cleaning up).
18 Feature requests (small-scale, near-term changes)
19 =================================================
21 Report CPU load per frame.
23 Report GPU load per frame.
25 Report CPU frequency per frame.
27 Report GPU frequency per frame.
29 Report shader compilation time.
31 Report elapsed time per frame.
33 Add options to control which metrics should be collected.
35 Add Eric's tiny hash table for collecting per-shader statistics
37 people.freedesktop.org:~anholt/hash_table
39 Sort list of shaders in output
41 Use better units for shader activity (eg. absolute time, relative percentage)
43 Capture GPU performance counters.
45 Allow dumping of shader source for investigation
47 Infrastructure (larger-scale things, more future-looking items)
48 ===============================================================
50 Use ncurses for a better top-like display.
52 Report timestamps and CPU time durations for operations causing
55 Emit per-frame data in a format for external timeline viewer.
57 Allow enabling/disabling of tracing at run-time
59 Such as via signals, (optionally specified by env. variable)
61 Investigation for other potential features
62 ==========================================
64 Audit Eric's recipe for performance tuning to see what else fips
65 should automatically collect:
67 http://dri.freedesktop.org/wiki/IntelPerformanceTuning/
69 Audit exisiting visualization tools before writing one from scratch
71 Eero suggested two possibilities:
75 http://pythonhosted.org/pytimechart/index.html
79 https://gitorious.org/e-graph
83 Explore using perf/LTTng probing instead of LD_PRELOAD wrapper
85 This has the advantage of allowing full-system,
86 multi-process data collection.