Skip to content

Instantly share code, notes, and snippets.

@Karry
Karry / glxinfo
Created June 20, 2017 05:51
glxinfo output
name of display: :0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
GLX_ARB_create_context, GLX_ARB_create_context_profile,
GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float,
GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample,
GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile,
@Karry
Karry / sigsegv.log
Created June 19, 2017 20:24
osmscout gl sigsegv
#0 0x00007ffff7bbdc54 in p2t::Triangle::EdgeIndex (this=0x0, p1=0x55555649b0a0, p2=0x555556493830) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/common/shapes.cc:171
#1 0x00007ffff7bbed54 in p2t::Sweep::IsEdgeSideOfTriangle (this=0x55555649b960, triangle=..., ep=..., eq=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:164
#2 0x00007ffff7bbea6f in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x0, point=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:109
#3 0x00007ffff7bbeb31 in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x0, point=...) at /home/karry/data/cecko/OSM/libosmscout/libosmscout-map-opengl/include/poly2tri/sweep/sweep.cc:122
#4 0x00007ffff7bbeb31 in p2t::Sweep::EdgeEvent (this=0x55555649b960, tcx=..., ep=..., eq=..., triangle=0x55555649bb00, point=...) at /home/karry/data/cecko/OSM/libosm
(gdb) info threads
Id Target Id Frame
37 Thread 0x6bf72370 (LWP 9510) "MapRenderer" 0x40f0be02 in write () at ../sysdeps/unix/syscall-template.S:81
36 Thread 0x69bff370 (LWP 9509) "MapRenderer" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
26 Thread 0x68e57370 (LWP 9498) "Qt HTTP thread" 0x40f0d0c2 in poll () at ../sysdeps/unix/syscall-template.S:81
25 Thread 0x69057370 (LWP 9497) "MapRenderer" 0x40f0d0c2 in poll () at ../sysdeps/unix/syscall-template.S:81
23 Thread 0x689a3370 (LWP 9493) "QSGRenderThread" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
21 Thread 0x6855f370 (LWP 9491) "GL updater" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
20 Thread 0x47bed370 (LWP 9490) "NemoThumbnailLo" __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:43
18 Thread 0x46ff3370 (LWP 9486) "QSGRenderThread" 0x4019672c in QSGRenderer::preprocess() (
@Karry
Karry / perf-armv7-data-cache-standard.2.log
Created February 1, 2017 07:35
libosmscout data cache performance logs
Using driver 'Qt'...
File '/home/nemo/Documents/Maps/europe-czech-republic-20161203-225207/types.dat' use deprecated format version (10), its support may be removed in next release!
----------
Drawing level 0, 1 tiles [0,0 - 0,0]
100% 1
Retrieving all tile data took 0.355
memory usage: 3.13785 MiB
----------
Drawing level 1, 1 tiles [1,0 - 1,0]
100% 1
@Karry
Karry / layouter.log
Created January 15, 2017 19:25
OSMScout crashed in LabelLayouter
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] main:74 - Usage of memory mapped files is supported.
[D] main:119 - Found storage: "/media/sdcard/9016-4EF8"
[D] DBThread::DBThread:122 - Reported screen DPI: 242.236
[D] DBThread::DBThread:124 - Map DPI override: 219
TiledDBThread::TiledDBThread()
[W] main:155 - Can't load translator for locale QLocale(C, Default, Default) / "C" ( "/usr/share/harbour-osmscout/translations" )
[D] onPositionChanged:55 - Position changed:
[D] onPositionChanged:58 - latitude: 50.09109914
[D] onPositionChanged:62 - longitude: 14.49779864
@Karry
Karry / ee44879831609268ae5ea93d325255844ff9f348
Created January 10, 2017 20:16
OSM Scout log (correct)
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] main:74 - Usage of memory mapped files is supported.
[D] main:119 - Found storage: "/media/sdcard/9016-4EF8"
[D] DBThread::DBThread:122 - Reported screen DPI: 242.236
[D] DBThread::DBThread:124 - Map DPI override: 219
TiledDBThread::TiledDBThread()
[W] main:155 - Can't load translator for locale QLocale(C, Default, Default) / "C" ( "/usr/share/harbour-osmscout/translations" )
[D] onPositionChanged:55 - Position changed:
[D] onPositionChanged:58 - latitude: 50.09109633
[D] onPositionChanged:62 - longitude: 14.49781403
[D] QWaylandEglClientBufferIntegration::QWaylandEglClientBufferIntegration:62 - Using Wayland-EGL
[D] main:74 - Usage of memory mapped files is supported.
[D] main:119 - Found storage: "/media/sdcard/9016-4EF8"
[D] DBThread::DBThread:122 - Reported screen DPI: 242.236
[D] DBThread::DBThread:124 - Map DPI override: 219
TiledDBThread::TiledDBThread()
[W] main:155 - Can't load translator for locale QLocale(C, Default, Default) / "C" ( "/usr/share/harbour-osmscout/translations" )
[D] onPositionChanged:55 - Position changed:
[D] onPositionChanged:58 - latitude: 50.05097501
[D] onPositionChanged:62 - longitude: 14.43992612
#include <list>
#include <iostream>
#include <cmath>
using namespace std;
inline void sincos(double x, double& resSin, double& resCos)
{
resSin = sin(x);
resCos = cos(x);
@Karry
Karry / gabble.log
Created October 6, 2016 07:18
Telepathy Gabble log
(telepathy-gabble:31149): gabble-DEBUG: gabble_presence_set_capabilities (presence.c:335): about to add caps to resource kde-telepathy-326907 with serial 2
(telepathy-gabble:31149): gabble-DEBUG: gabble_presence_set_capabilities (presence.c:346): found resource kde-telepathy-326907
(telepathy-gabble:31149): gabble-DEBUG: gabble_presence_set_capabilities (presence.c:351): new serial 2, old 1, clearing caps
(telepathy-gabble:31149): gabble-DEBUG: gabble_presence_set_capabilities (presence.c:359): updating caps for resource kde-telepathy-326907
(telepathy-gabble:31149): gabble-DEBUG: gabble_connection_refresh_capabilities (connection.c:2540): nothing to do
(telepathy-gabble:31149): gabble-DEBUG: _gabble_connection_connect (connection.c:2211): disabling SRV because "server" or "old-ssl" was specified or port was not 5222, will connect to jabbim.cz
(telepathy-gabble:31149): gabble-DEBUG: _gabble_connection_connect (connection.c:2270): Start connecting
(telepathy-gabble:31149): wocky-DEBUG: connector_connect_async:
@Karry
Karry / import.log
Created September 6, 2016 22:11
OSMScout import - log from way splitting
+ Step #10 - WayWayDataGenerator...
Module description: Merge ways into bigger ways
Module requires file 'distribution.dat'
Module requires file 'rawways.dat'
Module requires file 'rawturnrestr.dat'
Module provides temporary file 'wayway.tmp'
Module provides temporary file 'turnrestr.dat'
- Generate wayway.tmp...
- Reading type distribution...
- Reading turn restrictions...