Skip to content

Instantly share code, notes, and snippets.

View YellowOnion's full-sized avatar

Daniel Hill YellowOnion

  • Christchurch, New Zealand
  • 20:43 (UTC +13:00)
View GitHub Profile
Sep 14 19:09:58 Purple-Sunrise kernel: Linux version 6.16.6 (nixbld@localhost) (gcc (GCC) 14.3.0, GNU ld (GNU Binutils) 2.44) #1-NixOS SMP PREEMPT_DYNAMIC Tue Sep 9 17:02:41 UTC 2025
Sep 14 19:10:01 Purple-Sunrise kernel: [drm] amdgpu kernel modesetting enabled.
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu: Virtual CRAT table created for CPU
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu: Topology: Add CPU node
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block number 0 <nv_common>
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block number 1 <gmc_v10_0>
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block number 2 <navi10_ih>
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block number 3 <psp>
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block number 4 <smu>
Sep 14 19:10:01 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: detected ip block
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: Dumping IP State
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: Dumping IP State Completed
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: [drm] AMDGPU device coredump file has been created
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: [drm] Check your /sys/class/drm/card1/device/devcoredump/data
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: ring gfx_0.0.0 timeout, signaled seq=2112343, emitted seq=2112345
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: Process Warhammer3.exe pid 17331 thread dxvk-submit pid 17389
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: Starting gfx_0.0.0 ring reset
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: amdgpu: Ring gfx_0.0.0 reset succeeded
Nov 14 21:04:46 Purple-Sunrise kernel: amdgpu 0000:08:00.0: [drm] device wedged, but recovered through reset
Nov 14 21:04:57 Purple-S
Nov 04 12:20:12 Purple-Sunrise kernel: Linux version 6.17.6 (nixbld@localhost) (gcc (GCC) 14.3.0, GNU ld (GNU Binutils) 2.44) #1-NixOS SMP PREEMPT_DYNAMIC Wed Oct 29 13:10:32 UTC 2025
Nov 04 12:20:12 Purple-Sunrise kernel: Command line: initrd=\EFI\nixos\72mcb54xbccp7g4zcgv7w0dgx2xwkyfs-initrd-linux-6.17.6-initrd.efi init=/nix/store/85pcpyi08nljnzdyn6ihgzxad7b6y1b0-nixos-system-Purple-Sunrise-25.11.20251031.2fb006b/init amd_pstate=active hid_apple.fnmode=0 boot.shell_on_fail loglevel=4 lsm=landlock,yama,bpf
Nov 04 12:20:12 Purple-Sunrise kernel: BIOS-provided physical RAM map:
Nov 04 12:20:12 Purple-Sunrise kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
Nov 04 12:20:12 Purple-Sunrise kernel: BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
Nov 04 12:20:12 Purple-Sunrise kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009d1efff] usable
Nov 04 12:20:12 Purple-Sunrise kernel: BIOS-e820: [mem 0x0000000009d1f000-0x0000000009ffffff] reserved
Nov 04 12:20:12 Purple-Sunrise k
#!/usr/bin/env -S nix shell nixpkgs#ffmpeg-full nixpkgs#ghc --command bash
# -*- mode: sh -*-
VALID_ARGS=$(getopt -o s:d:b --long seek:,duration:,bias: -- "$@")
if [[ $? -ne 0 ]]; then
exit 1;
fi
eval set -- "$VALID_ARGS"
while [ : ]; do
0x7fb8f63fd000 | Main | INFO | 2025-10-04 19:34:06,719 | Running DaVinci Resolve v20.0.1.0006 (Linux/Clang x86_64)
0x7fb8f63fd000 | Main | INFO | 2025-10-04 19:34:06,719 | BMD_BUILD_UUID ae210f50-d3f4-4067-bd31-f484c29d63ae
0x7fb8f63fd000 | Main | INFO | 2025-10-04 19:34:06,719 | BMD_GIT_COMMIT 9bf55c0eab60729ceb14ed3075165862b1e2b53d
0x7fb8f63fd000 | GPUDetect | INFO | 2025-10-04 19:34:06,719 | Starting GPUDetect 1.2_9-a4
0x7fb8f63fd000 | GPUDetect | ERROR | 2025-10-04 19:34:06,781 | No Main Display GPU found and no monitors found to match, defaulting to gpu:2fc1bdf8.5c78df8e.
0x7fb8f63fd000 | GPUDetect | INFO | 2025-10-04 19:34:06,781 | Done in 61 ms.
0x7fb8f63fd000 | GPUDetect | INFO | 2025-10-04 19:34:06,781 | Detected System:
0x7fb8f63fd000 | GPUDetect | INFO | 2025-10-04 19:34:06,781 | - OS: Linux NixOS 25.11 (Xantusia)
0x7fb8f63fd000 | GPUDetect | INFO | 2025-10-04 19:34:06,781 |
0x7fa760266000 | Main | INFO | 2025-10-04 19:12:31,242 | Running DaVinci Resolve v20.0.1.0006 (Linux/Clang x86_64)
0x7fa760266000 | Main | INFO | 2025-10-04 19:12:31,242 | BMD_BUILD_UUID ae210f50-d3f4-4067-bd31-f484c29d63ae
0x7fa760266000 | Main | INFO | 2025-10-04 19:12:31,242 | BMD_GIT_COMMIT 9bf55c0eab60729ceb14ed3075165862b1e2b53d
0x7fa760266000 | GPUDetect | INFO | 2025-10-04 19:12:31,242 | Starting GPUDetect 1.2_9-a4
0x7fa760266000 | GPUDetect | ERROR | 2025-10-04 19:12:31,303 | No Main Display GPU found and no monitors found to match, defaulting to gpu:2fc1bdf8.5c78df8e.
0x7fa760266000 | GPUDetect | INFO | 2025-10-04 19:12:31,303 | Done in 60 ms.
0x7fa760266000 | GPUDetect | INFO | 2025-10-04 19:12:31,303 | Detected System:
0x7fa760266000 | GPUDetect | INFO | 2025-10-04 19:12:31,303 | - OS: Linux NixOS 25.11 (Xantusia)
0x7fa760266000 | GPUDetect | INFO | 2025-10-04 19:12:31,303 |
#!/usr/bin/env nix-shell
#! nix-shell -i runghc -p 'ghc.withPackages (ps: [ ps.mustache ps.text ])'
{-# LANGUAGE OverloadedStrings #-}
import Text.Mustache
import qualified Data.Text.IO as T
data Maps = Maps [String] deriving (Show, Eq)
instance ToMustache Maps where
Filesystem: 927137d3-8864-4756-9c7e-3b9d1efff07b
Size: 34.2 TiB
Used: 9.95 TiB
Online reserved: 176 KiB
Data type Required/total Durability Devices
reserved: 1/1 [] 83.8 MiB
reserved: 1/2 [] 2.14 GiB
btree: 1/1 2 [nvme0n1p3] 82.2 GiB
user: 1/1 2 [nvme0n1p3] 1.67 GiB
Device: Power Button
Kernel: /dev/input/event7
Id: host:0000:0001
Group: 1
Seat: seat0, default
Capabilities: keyboard
Tap-to-click: n/a
Tap-and-drag: n/a
Tap button map: n/a
Tap drag lock: n/a
wev
[ 9: wl_seat] name: seat0
[ 9: wl_seat] capabilities: pointer keyboard
[ 13:zwp_tablet_seat_v2] tablet_added: 4278190080
[4278190080: zwp_tablet_v2] name: Wacom Intuos BT M Pen
[4278190080: zwp_tablet_v2] id: vid: 0x056a pid: 0x0378
[4278190080: zwp_tablet_v2] path: /sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1.1/1-2.1.1:1.0/0003:056A:0378.0006/input/input15/event9
[4278190080: zwp_tablet_v2] done
[ 13:zwp_tablet_seat_v2] pad_added: 4278190081
[4278190081:zwp_tablet_pad_v2] buttons: 4