Skip to content

Instantly share code, notes, and snippets.

View tobiasjakobi's full-sized avatar

Tobias Jakobi tobiasjakobi

View GitHub Profile
@tobiasjakobi
tobiasjakobi / out.txt
Created February 6, 2022 16:56
LAME gapless test
liquid@leena ~/encoding_test $ mpg123 -w decoded.wav encoded.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.29.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: encoded.mp3 ...
@tobiasjakobi
tobiasjakobi / vanilla-5.13.conf
Created August 9, 2021 13:12
Vanilla kernel configuration for v5.13.x
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.13.8-gentoo Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (Gentoo 10.3.0-r2 p3) 10.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100300
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23502
> ryzenadj --dump-table
SMU_SERVICE REQ_ID:0x1
SMU_SERVICE REQ: arg0: 0x0, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
SMU_SERVICE REP: REP: 0x1, arg0: 0x1, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
SMU_SERVICE REQ_ID:0x1
SMU_SERVICE REQ: arg0: 0x0, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
SMU_SERVICE REP: REP: 0x1, arg0: 0x1, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
SMU_SERVICE REQ_ID:0x6
SMU_SERVICE REQ: arg0: 0x0, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
SMU_SERVICE REP: REP: 0x1, arg0: 0x370003, arg1:0x0, arg2:0x0, arg3:0x0, arg4: 0x0, arg5: 0x0
update: added archived/Soundtracks and Scores/Video Games Music/Game Sorted/E-G/Fire Emblem/Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack (FLAC)/000 Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack Data Disc.iso/MP3/01____K_.MP3
update: added archived/Soundtracks and Scores/Video Games Music/Game Sorted/E-G/Fire Emblem/Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack (FLAC)/000 Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack Data Disc.iso/MP3/02______.MP3
update: added archived/Soundtracks and Scores/Video Games Music/Game Sorted/E-G/Fire Emblem/Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack (FLAC)/000 Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack Data Disc.iso/MP3/03_P_Y_O.MP3
update: added archived/Soundtracks and Scores/Video Games Music/Game Sorted/E-G/Fire Emblem/Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack (FLAC)/000 Fire Emblem Echoes: Mou Hitori no Eiyuu Ou Original Soundtrack Data Disc.iso/M
hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: ST12000NM001G-2MV103
Serial Number: ZL26MLV1
Firmware Revision: SB2D
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
[Jan29 19:29] md/raid1:md126: not clean -- starting background reconstruction
[ +0.000004] md/raid1:md126: active with 2 out of 2 mirrors
[ +0.014736] md126: detected capacity change from 0 to 12000003358720
[ +0.000136] md: resync of RAID array md126
[ +0.000144] sd 0:0:0:0: [sda] tag#20 request not aligned to the logical block size
[ +0.000002] DEBUG: 40800 1 7
[ +0.000004] blk_update_request: I/O error, dev sda, sector 264192 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[ +0.000002] md/raid1:md126: sda: rescheduling sector 0
[ +0.000010] sd 0:0:0:0: [sda] tag#22 request not aligned to the logical block size
[ +0.000000] DEBUG: 40801 7 7
@tobiasjakobi
tobiasjakobi / amdgpu_pm_info.log
Last active November 11, 2020 19:44
Dedicated GPU not going back into runpm status suspended
Clock Gating Flags Mask: 0x38099f05
Graphics Medium Grain Clock Gating: On
Graphics Medium Grain memory Light Sleep: Off
Graphics Coarse Grain Clock Gating: On
Graphics Coarse Grain memory Light Sleep: Off
Graphics Coarse Grain Tree Shader Clock Gating: Off
Graphics Coarse Grain Tree Shader Light Sleep: Off
Graphics Command Processor Light Sleep: Off
Graphics Run List Controller Light Sleep: Off
Graphics 3D Coarse Grain Clock Gating: Off
@tobiasjakobi
tobiasjakobi / kernel_g5.log
Last active November 9, 2020 09:26
Dell G5 xHCI dies
Nov 8 23:38:24 leena kernel: Linux version 5.9.6-gentoo (root@leena) (gcc (Gentoo 9.3.0-r1 p3) 9.3.0, GNU ld (Gentoo 2.34 p6) 2.34.0) #2 SMP Sun Nov 8 14:56:26 CET 2020
Nov 8 23:38:24 leena kernel: Command line: BOOT_IMAGE=/boot/kernel-5.9.6-gentoo root=PARTUUID=9a51ff06-35de-4e8f-b97b-2b5721536525 ro nosmt
Nov 8 23:38:24 leena kernel: KERNEL supported cpus:
Nov 8 23:38:24 leena kernel: AMD AuthenticAMD
Nov 8 23:38:24 leena kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Nov 8 23:38:24 leena kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Nov 8 23:38:24 leena kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Nov 8 23:38:24 leena kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Nov 8 23:38:24 leena kernel: x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'compacted' format.
Nov 8 23:38:24 leena kernel: BIOS-provided physical RAM map:
(gdb) info threads
Id Target Id Frame
* 1 Thread 0x7f25e1ea5b80 (LWP 22677) "zstd" 0x00007f25e2084f25 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
2 Thread 0x7f25e1ea4700 (LWP 22678) "zstd" MEM_readST (ptr=0x7f2502dd9ed5) at ../lib/common/mem.h:226
3 Thread 0x7f25e16a3700 (LWP 22679) "zstd" 0x0000000000448dea in ZSTD_count (
pIn=0x7f259a974278 "\210G\355\214\060\341\332\365)\363\342\345\226M\275\333\370I\365[h,ƨ\267\021\066k\242Qp\374I\256h\206\f\353\254\067\266\240\251\027\243\272\257\277\025\334=\310:\"\225\334\343ɡ\332\067\365\376\n\207+\235\366_\302\037\301\325*\251\347ƀk\305\372\065(o\020jv\251\311\031\016\277\256\260\350\374\r\304SF\263\016\201@\211\241YM\261X\ris\232\023!\316\026\233mhhp\322,#\315ZP\317\b\365\255\320\336SN\230\070\214\t >\372b=O\305\360\241\026\354s6#\237\307\353\340\067\205\260\305\022S][h\221}\340\232)\237\034;\023\217z\202j}\005ԯA\270\311h\326\327\341\316\320\021p3\252"...,
pMatch=0x7f25992850ef "\210G\355
#0 0x00007f25e2084f25 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x000000000049a81b in ZSTDMT_flushProduced (mtctx=0x1caee50, output=0x7ffebddd6da0, blockToFlush=1, end=ZSTD_e_continue)
at ../lib/compress/zstdmt_compress.c:1683
#2 0x000000000049b821 in ZSTDMT_compressStream_generic (mtctx=0x1caee50, output=0x7ffebddd6da0, input=0x7ffebddd6dc0, endOp=ZSTD_e_continue)
at ../lib/compress/zstdmt_compress.c:2067
#3 0x0000000000419b78 in ZSTD_compressStream2 (cctx=0x1c8d9a0, output=0x7ffebddd6da0, input=0x7ffebddd6dc0, endOp=ZSTD_e_continue)
at ../lib/compress/zstd_compress.c:3876
#4 0x00000000004e1f2e in FIO_compressZstdFrame (prefs=0x1c8d2a0, ressPtr=0x7ffebddd6fd0, srcFileName=0x4f9456 "/*stdin*\\", fileSize=18446744073709551615,
compressionLevel=22, readsize=0x7ffebddd6f68) at fileio.c:1156
#5 0x00000000004e2ce1 in FIO_compressFilename_internal (prefs=0x1c8d2a0, ress=...,