Skip to content

Instantly share code, notes, and snippets.

View superm1's full-sized avatar

Mario Limonciello superm1

View GitHub Profile
2024-12-09 21:35:08,137 INFO: Note: NumExpr detected 24 cores but "NUMEXPR_MAX_THREADS" not set, so enforcing safe limit of 8.
2024-12-09 21:35:08,138 INFO: NumExpr defaulting to 8 threads.
2024-12-09 21:35:08,328 INFO: 🐧 Kernel: 6.11.0-1009-oem
2024-12-09 21:35:08,329 INFO: 🐧 ITMT: 1
2024-12-09 21:35:08,347 INFO: 💻 CPU: AMD Ryzen AI 9 HX 370 w/ Radeon 890M
2024-12-09 21:35:08,350 INFO: 🔋 Kernel sysfs files
+---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------+
| CPU # | CPU Min Freq | CPU Nonlinear Freq | CPU Max Freq | Scaling Min Freq | Scaling Max Freq | Energy Performance Preference | Prefcore | Boost |
|---------+----------------+----------------------+----------------+--------------------+--------------------+---------------------------------+------------+---------|
| 0 | 599000 | 2000000 | 4367000 | 599000 | 4367000
[ 0.000000] [ T0] Linux version 6.13.0-rc2 (supermario@kingboo) (gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #48 SMP PREEMPT_DYNAMIC Mon Dec 9 15:49:55 CST 2024
[ 0.000000] [ T0] Command line: BOOT_IMAGE=/boot/vmlinuz-6.13.0-rc2 root=UUID=52cedad4-8899-4cdd-933f-93858f3f0c48 ro crashkernel=2G-4G:320M,4G-32G:512M,32G-64G:1024M,64G-128G:2048M,128G-:4096M vt.handoff=7
[ 0.000000] [ T0] x86/split lock detection: #DB: warning on user-space bus_locks
[ 0.000000] [ T0] BIOS-provided physical RAM map:
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
[ 0.000000] [ T0] BIOS-e820: [mem 0x000000000009f000-0x00000000000fffff] reserved
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000000100000-0x0000000009afffff] usable
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000009b00000-0x0000000009dfffff] reserved
[ 0.000000] [ T0] BIOS-e820: [mem 0x0000000009e00000-0x0000000009efffff] usable
[ 0.000000]
Dec 09 07:29:04 fedora kernel: Linux version 6.12.0-rc7-00002-g5c13a74b84f6 (supermario@kingboo) (gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #343 SMP PREEMPT_DYNAMIC Thu Nov 14 15:01:48 CST 2024
Dec 09 07:29:04 fedora kernel: Command line: BOOT_IMAGE=(hd0,gpt3)/boot/vmlinuz-6.12.0-rc7-00002-g5c13a74b84f6 root=UUID=8c226bb3-f6d2-4e57-9aae-cec527db82d2 ro rhgb quiet plymouth.use-simpledrm crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M thunderbolt.dyndbg
Dec 09 07:29:04 fedora kernel: BIOS-provided physical RAM map:
Dec 09 07:29:04 fedora kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
Dec 09 07:29:04 fedora kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009bfffff] usable
Dec 09 07:29:04 fedora kernel: BIOS-e820: [mem 0x0000000009c00000-0x0000000009dc0fff] reserved
Dec 09 07:29:04 fedora kernel: BIOS-e820: [mem 0x0000000009dc1000-0x0000000009efffff] usable
Dec 09 07:29:04 fedora kernel: BIOS-e820: [mem 0x0000000009f00000-0x0000000009f27fff] ACPI NVS
Dec
This file has been truncated, but you can view the full file.
# tracer: function
#
# entries-in-buffer/entries-written: 296828/358474 #P:12
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
This file has been truncated, but you can view the full file.
# tracer: function
#
# entries-in-buffer/entries-written: 296828/358474 #P:12
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
This file has been truncated, but you can view the full file.
# tracer: function
#
# entries-in-buffer/entries-written: 296828/358474 #P:12
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
This file has been truncated, but you can view the full file.
# tracer: function
#
# entries-in-buffer/entries-written: 476802/2961119 #P:12
#
# _-----=> irqs-off/BH-disabled
# / _----=> need-resched
# | / _---=> hardirq/softirq
# || / _--=> preempt-depth
# ||| / _-=> migrate-disable
# |||| / delay
@superm1
superm1 / edid-decode.txt
Created March 5, 2024 20:39
Framework 16 EDID
edid-decode (hex):
00 ff ff ff ff ff ff 00 09 e5 c9 0b 00 00 00 00
30 20 01 04 a5 22 16 78 03 3d 35 ae 50 43 b1 25
0e 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 34 70 00 a0 a0 40 a0 60 30 20
f6 0c 59 d7 10 00 00 1a 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 fe 00 42
4f 45 20 43 51 0a 20 20 20 20 20 20 00 00 00 fe
00 4e 45 31 36 30 51 44 4d 2d 4e 5a 36 0a 01 0a
@superm1
superm1 / ftrace.txt
Created January 23, 2024 17:44
6.8-rc1 GPU scheduler ftrace
# captured using this command
# trace-cmd record -e gpu_scheduler:drm_sched_job -e gpu_scheduler:drm_run_job -e gpu_scheduler:drm_sched_process_job -e gpu_scheduler:drm_sched_job_wait_dep
cpus=16
gnome-shel:cs0-1706 [004] 44.895256: drm_sched_job: entity=0xffffa00d52574810, id=135, fence=0xffffa00d9baf9c40, ring=gfx_0.0.0, job count:0, hw job count:0
kworker/u32:0-11 [001] 44.895322: drm_run_job: entity=0xffffa00d52574810, id=135, fence=0xffffa00d9baf9c40, ring=gfx_0.0.0, job count:0, hw job count:1
gnome-shel:cs0-1706 [004] 44.895501: drm_sched_job: entity=0xffffa00d52574810, id=136, fence=0xffffa00d9baf9580, ring=gfx_0.0.0, job count:0, hw job count:1
kworker/u32:0-11 [001] 44.895563: drm_run_job: entity=0xffffa00d52574810, id=136, fence=0xffffa00d9baf9580, ring=gfx_0.0.0, job count:0, hw job count:2
<idle>-0 [009] 44.897117: drm_sched_process_job: fence=0xffffa00d9baf9c40 signaled
<idle>-0 [009] 44.897530: drm_
@superm1
superm1 / s2idle_report-2023-12-08.txt
Last active December 8, 2023 16:21
Framework 13 6.6.5 s2idle report (on Ubuntu 22.04 + GNOME)
2023-12-08 10:15:06,814 INFO: Debugging script for s2idle on AMD systems
2023-12-08 10:15:06,814 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.3 (03.03) released 10/17/2023 and EC unknown
2023-12-08 10:15:06,814 INFO: 🐧 Ubuntu 22.04.3 LTS
2023-12-08 10:15:06,814 INFO: 🐧 Kernel 6.6.5
2023-12-08 10:15:06,816 INFO: Checking prerequisites for s2idle
2023-12-08 10:15:06,816 INFO: ✅ Logs are provided via systemd
2023-12-08 10:15:06,816 INFO: ✅ AMD Ryzen 5 7640U w/ Radeon 760M Graphics (family 19 model 74)
2023-12-08 10:15:06,816 INFO: ✅ LPS0 _DSM enabled
2023-12-08 10:15:06,988 INFO: ✅ ACPI FADT supports Low-power S0 idle
2023-12-08 10:15:06,989 DEBUG: /sys/module/gpiolib_acpi/parameters/ignore_wake is not configured