Skip to content

Instantly share code, notes, and snippets.

View Kreyren's full-sized avatar
For Free Ukraine and Russia

KREYREN Kreyren

For Free Ukraine and Russia
  • Kralovec, Czech Republic
View GitHub Profile
@Kreyren
Kreyren / test
Created February 25, 2019 12:21
test
let x = 5
y = 4
let x = 5
y = 4
@Kreyren
Kreyren / gist:32cd2b1d88dbb212d1cd044d92ea9504
Last active March 28, 2019 23:04
vulkan-loader : Segmentation fault
I have problem with `Segmentation fault` on vulkan-loader (https://github.com/KhronosGroup/Vulkan-Loader) using AMD7870 which is using AMDGPU only (radeon is disabled in grub and not compiled in kernel since it doesn't support vulkan.)
ERROR: http://dpaste.com/23A9F4S
Using `Bedrock Linux 0.7.1 Poki x86_64` (https://i.imgur.com/WtEjvAA.png) with gentoo linux init strata set as `USE="-*"` (http://ix.io/1EGb) and cherrypicked package.use (http://ix.io/1EGM) with packages (http://ix.io/1EGq) on custom 5.0.3 with muSQQ and CPU optimization patches (http://ix.io/1EGa).
packages: http://ix.io/1EGa
kernel .config: http://ix.io/1EGq
./witcher2 failed to start due to the following dependancy problems:
        linux-gate.so.1 (0xf7f30000)
        libGL.so.1 => /usr/lib32/libGL.so.1 (0xf7e8d000)
        libSDL2-2.0.so.0 => /usr/lib32/libSDL2-2.0.so.0 (0xf7d7e000)
        libSDL2_image-2.0.so.0 => not found
        librt.so.1 => /lib32/librt.so.1 (0xf7d74000)
        libdl.so.2 => /lib32/libdl.so.2 (0xf7d6e000)
        libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf7caa000)
        libX11.so.6 => /usr/lib32/libX11.so.6 (0xf7b5e000)
[ebuild  N     ] sys-libs/libsepol-2.9_rc1::gentoo  ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] dev-libs/libdatrie-0.2.12::steam-overlay  ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] app-i18n/libthai-0.1.28::steam-overlay  ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] sys-libs/libselinux-2.9_rc1::gentoo  USE="-pcre2 -python -ruby -static-libs" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7" RUBY_TARGETS="ruby24 -ruby25" 0 KiB
[ebuild  N     ] media-libs/openal-1.19.1::gentoo  USE="alsa (-coreaudio) -debug -jack -oss -portaudio -pulseaudio -qt5 -sdl" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse sse2 sse4_1" 0 KiB
[ebuild  N     ] x11-libs/libvdpau-1.2::gentoo  USE="-doc -dri -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] x11-libs/libva-1.8.3::gentoo  USE="X -drm -egl -opengl -utils -vdpau -wayland" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="-i965 -intel -nouveau -nvidia" 0 KiB
[ebuild  N     ] net-libs/libpcap-1.9.0::gentoo  USE="dbus -bluetooth -netlink -stat
Portage 2.3.62 (python 3.6.8-final-0, default/linux/amd64/17.0, gcc-8.3.0, glibc-2.28-r5, 5.0.3-gentoo-ck1KREYREN x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.0.3-gentoo-ck1KREYREN-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.6
KiB Mem:    16405432 total,   2983956 free
KiB Swap:    4095996 total,   4091388 free
Timestamp of repository gentoo: Thu, 21 Mar 2019 22:30:01 +0000
Head commit of repository gentoo: 4b866da22f0c83e9a97a8cad221f60af679a454b

ISSUE

System info

@Kreyren
Kreyren / ncurses_tinfo_bug.md
Last active February 3, 2020 01:26
sys-libs/ncurses-6.1-r3:0/6::gentoo[+tinfo] breaks system if tinfo is removed after on system that didn't have +tinfo before.

On Bedrock Linux Gentoo strata breaks sys-libs/ncurses-6.1-r3:0/6::gentoo[-tinfo] system when sys-libs/ncurses-6.1-r3:0/6::gentoo[+tinfo] and sys-libs/ncurses-6.1-r3:0/6::gentoo[-tinfo] is merged.

results in:

/bin/sh: error while loading shared libraries: libtinfo.so.6: cannot open shared object file: No such file or directory
Failed to validate a sane '/dev'.
bash process substitution doesn't work; this may be an indication of a broken '/dev/fd'.

System didn't have ncurses with tinfo before, was installed as part of games-util/steam-launcher::steam-overlay[-steamruntime].

@Kreyren
Kreyren / bullycefsKpatch.md
Created April 10, 2019 16:04
sys-kernel/kpatch-0.6.2 fails to build due missing struct named "value".

Based on http://ix.io/1FPF sys-kernel/kpatch-0.6.2::gentoo fails to build due missing struct named "value".

SYSTEM INFO

NEOFETCH

EMERGE-INFO

@Kreyren
Kreyren / atom1324654.md
Last active April 11, 2019 16:50
Atom Editor{1.36.0-beta2, 1.35.1} is unable to to open files using builtin filebrowser on non-root.

Atom Editor{1.36.0-beta2, 1.35.1} is unable to to open files using builtin filebrowser on non-root.

highlighted won't open new tab

Root?

Issue is not present on root.

User configuration?

Tried to nuke $HOME/.atom -> same issue.