Skip to content

Instantly share code, notes, and snippets.

View koponomarenko's full-sized avatar

Kostiantyn (Kostia) koponomarenko

View GitHub Profile
$ cat sway_stderr.log
00:00:00.000 [INFO] [sway/main.c:346] Sway version 1.6
00:00:00.003 [INFO] [sway/main.c:154] Linux eve 5.12.13-arch1-2 #1 SMP PREEMPT Fri, 25 Jun 2021 22:56:51 +0000 x86_64 GNU/Linux
00:00:00.003 [INFO] [sway/main.c:170] Contents of /etc/os-release:
00:00:00.003 [INFO] [sway/main.c:154] NAME="Arch Linux"
00:00:00.003 [INFO] [sway/main.c:154] PRETTY_NAME="Arch Linux"
00:00:00.003 [INFO] [sway/main.c:154] ID=arch
00:00:00.003 [INFO] [sway/main.c:154] BUILD_ID=rolling
00:00:00.003 [INFO] [sway/main.c:154] ANSI_COLOR="38;2;23;147;209"
00:00:00.003 [INFO] [sway/main.c:154] HOME_URL="https://archlinux.org/"
@koponomarenko
koponomarenko / guide.md
Created March 5, 2018 11:18 — forked from jayktaylor/guide.md
Instructions for installing Python 3.5 using pyenv on Debian Jessie

Installing Python 3.5 on Debian Jessie with pyenv

Debian Jessie does not come with the correct Python version out of the box, and instead comes with Python 2. To be able to install Python 3(.5), we have a few options. We could build and install from source, but as per Debian's website, we shouldn't do this. Instead, we will use pyenv, a tool that allows users to switch Python versions easily without breaking their system.

Installing pyenv

To install pyenv, we will use the official installer.

curl -L https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
(gdb) bt
#0 0x00007f20acaab417 in ioctl () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007f20add87768 in drmIoctl (fd=12, request=request@entry=1074291812, arg=arg@entry=0x7ffff71cb530) at ../xf86drm.c:171
#2 0x00007f20add8a12b in drmCommandWrite (fd=<optimized out>, drmCommandIndex=drmCommandIndex@entry=36, data=data@entry=0x7ffff71cb530, size=size@entry=8) at ../xf86drm.c:2413
#3 0x00007f20a8aaad59 in bo_wait (boi=boi@entry=0x7f20b0c76a20) at ../../radeon/radeon_bo_gem.c:214
#4 0x00007f20a8aaaf9c in bo_map (boi=0x7f20b0c76a20, write=<optimized out>) at ../../radeon/radeon_bo_gem.c:187
#5 0x00007f20a8cfeed0 in drmmode_copy_fb (pScrn=0x7f20b0c304b0, drmmode=0x7f20b0c31d08) at ../../src/drmmode_display.c:436
#6 0x00007f20a8d00e66 in drmmode_set_desired_modes (pScrn=0x7f20b0c304b0, drmmode=0x40086464, drmmode@entry=0x7f20b0c31d08) at ../../src/drmmode_display.c:1836
#7 0x00007f20a8cface0 in RADEONCreateScreenResources_KMS (pScreen=0x7f20b0c08f00) at ../../src/radeon_kms.c:233
#8 0x00007f20aeda44de
[ 5403.063]
X.Org X Server 1.16.4
Release Date: 2014-12-20
[ 5403.063] X Protocol Version 11, Revision 0
[ 5403.063] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 5403.063] Current Operating System: Linux probook-lp 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) x86_64
[ 5403.063] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=32fb0bb0-8119-4569-b5ef-62c9c76b6e60 ro quiet
[ 5403.063] Build Date: 11 February 2015 12:32:02AM
[ 5403.063] xorg-server 2:1.16.4-1 (http://www.debian.org/support)
[ 5403.063] Current version of pixman: 0.32.6
execve("/usr/bin/Xorg", ["Xorg"], [/* 22 vars */]) = 0
brk(0) = 0x7f978fbc9000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f978f347000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=95508, ...}) = 0
mmap(NULL, 95508, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f978f32f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
-- Logs begin at вт 2016-05-10 15:56:55 EEST, end at вт 2016-05-10 17:33:13 EEST. --
тра 10 15:56:55 probook-lp systemd-journal[149]: Runtime journal is using 8.0M (max allowed 68.5M, trying to leave 102.8M free of 677.4M available → current limit 68.5M).
тра 10 15:56:55 probook-lp systemd-journal[149]: Runtime journal is using 8.0M (max allowed 68.5M, trying to leave 102.8M free of 677.4M available → current limit 68.5M).
тра 10 15:56:55 probook-lp kernel: Initializing cgroup subsys cpuset
тра 10 15:56:55 probook-lp kernel: Initializing cgroup subsys cpu
тра 10 15:56:55 probook-lp kernel: Initializing cgroup subsys cpuacct
тра 10 15:56:55 probook-lp kernel: Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08)
тра 10 15:56:55 probook-lp kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-3.16.0-4-amd64 root=UUID=32fb0bb0-8119-4569-b5ef-62c9c76b6e60 ro quiet
тра 10 15:56:55 probook-lp kernel: e820: BIOS-provided physical RAM ma