Skip to content

Instantly share code, notes, and snippets.

View streamer45's full-sized avatar
🏠
Working from home

Claudio Costa streamer45

🏠
Working from home
View GitHub Profile
[streamer45@archlinux ~]$ grep intel /var/log/Xorg.0.log
[ 6.938] (==) Matched intel as autoconfigured driver 0
[ 6.938] (==) Matched intel as autoconfigured driver 1
[ 6.938] (II) LoadModule: "intel"
[ 6.938] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 6.941] (II) Module intel: vendor="X.Org Foundation"
[ 6.942] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
[ 6.952] (II) intel(0): Creating default Display subsection in Screen section
[ 6.952] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 6.952] (==) intel(0): RGB weight 888
[streamer45@archlinux gather_structs]$ ./gather_tool test "" "" members_data_info
Struct Name: kr_compositor_controls
Member Name: x
Member Type: int32_t
default value 0
min value -32768
max value 32767
Member Name: y
Member Type: int32_t
default value 0
[streamer45@archlinux gather_structs]$ ./gather_tool test "" "" header
struct kr_compositor_controls {
int32_t x; /* 0, -32768, 32767 */
int32_t y; /* 0, -32768, 32767 */
uint32_t z; /* 0, 0, 32767 */
uint32_t w; /* 0, 1, 32767 */
uint32_t h; /* 0, 1, 32767 */
float rotation;
float opacity; /* 1.0, 0.0, 1.0 */
};
@streamer45
streamer45 / gist:7318534
Created November 5, 2013 12:49
random init gen func
[streamer45@archlinux gen]$ ./main_test
filename : /path/to/sprite.png
rate : 0
x : -5655
y : -17251
z : 12080
w : 14352
h : 9086
rotation : 0.00
opacity : 0.28
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: MID [HDA Intel MID], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
**** List of CAPTURE Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
[streamer45@archlinux ~]$ amixer
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 127
Mono: Playback 114 [90%] [-6.50dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 66
[streamer45@archlinux ~]$ cat /proc/asound/pcm
00-00: ID 4208 Analog : ID 4208 Analog : playback 1 : capture 1
00-01: ID 4208 Digital : ID 4208 Digital : playback 1
01-03: HDMI 0 : HDMI 0 : playback 1
01-07: HDMI 1 : HDMI 1 : playback 1
01-08: HDMI 2 : HDMI 2 : playback 1
[streamer45@archlinux ~]$ cat /proc/asound/card0/codec#0
Codec: Cirrus Logic ID 4208
Address: 0
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10134208
Subsystem Id: 0x106b5d00
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
rates [0x0]:
08:08:34.801 JACK is starting...
08:08:34.801 /usr/bin/jackd -dalsa -dhw:0,0 -r48000 -p1024 -n2
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
08:08:34.834 JACK was started with PID=901.
no message buffer overruns
no message buffer overruns
no message buffer overruns
jackdmp 1.9.9.5