Skip to content

Instantly share code, notes, and snippets.

-- The start-up result is done.
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [TRACE] Custom path: /var/lib/gogs/custom
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [TRACE] Log path: /var/log/gogs
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [TRACE] Build Time: 2017-07-04 07:22:56 UTC
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [TRACE] Build Git Hash: 13cca8a66abaeb6ff93dc4926b2517cf49b44bfa
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [TRACE] Log Mode: File (Trace)
Jul 04 09:39:20 jws gogs[4664]: 2017/07/04 09:39:20 [ INFO] jusst Gogs: Git Service 0.11.24.0627
Jul 04 09:39:38 jws gogs[4664]: [Macaron] 2017-07-04 09:39:38: Started GET / for [::1]
Jul 04 09:39:38 jws gogs[4664]: [Macaron] 2017-07-04 09:39:38: Completed GET / 200 OK in 2.11452ms
Jul 04 09:39:38 jws gogs[4664]: [Macaron] 2017-07-04 09:39:38: Started GET /css/gogs.css?v=01d9817209639091f5010129f6ea60fd for 127.0.0.1
@julianscheel
julianscheel / gist:a084a622e6686e2bd928
Created March 26, 2015 12:16
pool dumps with crashed vc state
# /tmp/vcdbg pools
video_decodeRIL:image pool:
video_decodeRIL:image pool:
pool_flags : 0x00000062: DIRECT LAZY_DESTROY
magic : pOOl
object_size : 648K (663712)
nobjects : 23
allocated : true
overhead_size : 64
destroying : true
# /tmp/vcdbg pools
video_decodeRIL:image pool:
video_decodeRIL:image pool:
pool_flags : 0x00000062: DIRECT LAZY_DESTROY
magic : pOOl
object_size : 648K (663712)
nobjects : 8
allocated : true
overhead_size : 64
destroying : true
#include <stdio.h>
#include <bcm_host.h>
#define SRC_WIDTH 640
#define SRC_HEIGHT 480
#define DST_WIDTH 1920
#define DST_HEIGHT 1080
int main()
{
uint8_t *dst_buffer = malloc(DST_WIDTH * DST_HEIGHT * 4);
/**
* mmal demo utility for showing leakage issue
*
* cross build:
* arm-linux-gcc \
* --sysroot=/path/to/your/sysroot \
* -lbcm_host -lmmal -lmmal_core -o mmal-leak mmal-leak.c
*/
#include <stdio.h>
@julianscheel
julianscheel / mmal-demo.c
Created June 6, 2014 06:37
mmal demo to demonstrate buffer header related deadlock
/**
* mmal demo utility for testing decode, vout and deinterlace filter
*
* build with:
* gcc -lbcm_host -lmmal -lmmal_core -lpthread -o mmal-demo mmal-demo.c
*
* using deinterlace filter:
* gcc -DDEINTERLACE -lbcm_host -lmmal -lmmal_core -lpthread -o mmal-demo mmal-demo.c
*
* cross build:
/**
* mmal demo utility for testing decode, vout and deinterlace filter
*
* build with:
* gcc -lbcm_host -lmmal -lmmal_core -lpthread -o mmal-demo mmal-demo.c
*
* using deinterlace filter:
* gcc -DDEINTERLACE -lbcm_host -lmmal -lmmal_core -lpthread -o mmal-demo mmal-demo.c
*
* cross build:
@julianscheel
julianscheel / dispman-test.c
Created May 16, 2014 08:02
DispmanX demo tool to show image distortions with more than 3 vertically scaled elements
/**
* DispmanX demo code to demonstrate rendering bug
* with more than 3 vertically scaled elements
*
* (c) 2014 Julian Scheel
*
* Build with:
* gcc -lbcm_host dispman-test.c -o dispman-test
*
**/
#
# Configuration for the bcm2835 soc found on RPi
#
<confdir:pcm/iec958.conf>
bcm2835.pcm.iec958.0 {
@args [ CARD AES0 AES1 AES2 AES3 ]
@args.CARD {
type string
From c5be3a408b6f22b2dac68ac4baf7e11b6e0eaf23 Mon Sep 17 00:00:00 2001
From: Julian Scheel <julian@jusst.de>
Date: Mon, 28 Oct 2013 14:26:54 +0100
Subject: [PATCH] desktop/xfce/xfdesktop: Depend on dbus-glib build-tools.
xfdesktop required dbus-binding-tool for autogenerating dbus headers.
dbus-binding-tool is provided by dbus-glib and needs to be installed as
build-tool, to ensure that it is available.
Change-Id: I3ed66903e25ae971d89248fe2595feb2cee992d2