Skip to content

Instantly share code, notes, and snippets.

View andreaippo's full-sized avatar

Andrea Ippolito andreaippo

  • TUI Musement
  • Lucca, Italy
  • 12:37 (UTC +01:00)
View GitHub Profile
2024-05-18 23:05:43,543 DEBUG: Since support: 1
2024-05-18 23:05:43,563 INFO: Debugging script for s2idle on AMD systems
2024-05-18 23:05:43,564 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.5 (03.05) released 03/29/2024 and EC unknown
2024-05-18 23:05:43,564 INFO: 🐧 Kernel 6.8.9-1-default
2024-05-18 23:05:43,567 DEBUG: BAT1 charge level is 1605000 µAh
2024-05-18 23:05:43,567 INFO: 🔋 Battery BAT1 (NVT FRANGWA) is operating at 101.48% of design
2024-05-18 23:05:43,567 INFO: Checking prerequisites for s2idle
2024-05-18 23:05:43,567 WARNING: 🚦Logs are provided via dmesg, timestamps may not be accurate over multiple cycles
2024-05-18 23:05:43,568 ERROR: ❌ Kernel ringbuffer has wrapped, unable to accurately validate pre-requisites
2024-05-18 23:05:43,569 INFO: ✅ AMD Ryzen 7 7840U w/ Radeon 780M Graphics (family 19 model 74)
2024-05-19 09:35:52,384 INFO: Debugging script for s2idle on AMD systems
2024-05-19 09:35:52,384 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.5 (03.05) released 03/29/2024 and EC unknown
2024-05-19 09:35:52,384 INFO: 🐧 Kernel 6.8.9-1-default
2024-05-19 09:35:52,386 DEBUG: BAT1 charge level is 3193000 µAh
2024-05-19 09:35:52,386 INFO: 🔋 Battery BAT1 (NVT FRANGWA) is operating at 101.92% of design
2024-05-19 09:35:52,386 INFO: Checking prerequisites for s2idle
2024-05-19 09:35:52,386 INFO: ✅ Logs are provided via systemd
2024-05-19 09:35:52,386 INFO: ✅ AMD Ryzen 7 7840U w/ Radeon 780M Graphics (family 19 model 74)
2024-05-19 09:35:52,386 INFO: ✅ LPS0 _DSM enabled
2024-05-19 09:35:52,682 INFO: ✅ ACPI FADT supports Low-power S0 idle
2024-05-19 14:21:01,243 INFO: Debugging script for s2idle on AMD systems
2024-05-19 14:21:01,243 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.5 (03.05) released 03/29/2024 and EC unknown
2024-05-19 14:21:01,243 INFO: 🐧 Kernel 6.8.9-1-default
2024-05-19 14:21:01,246 DEBUG: BAT1 charge level is 3195000 µAh
2024-05-19 14:21:01,246 INFO: 🔋 Battery BAT1 (NVT FRANGWA) is operating at 102.12% of design
2024-05-19 14:21:01,246 INFO: Checking prerequisites for s2idle
2024-05-19 14:21:01,246 INFO: ✅ Logs are provided via systemd
2024-05-19 14:21:01,247 INFO: ✅ AMD Ryzen 7 7840U w/ Radeon 780M Graphics (family 19 model 74)
2024-05-19 14:21:01,247 INFO: ✅ LPS0 _DSM enabled
2024-05-19 14:21:01,673 INFO: ✅ ACPI FADT supports Low-power S0 idle
2024-05-19 14:23:34,078 INFO: Debugging script for s2idle on AMD systems
2024-05-19 14:23:34,079 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.5 (03.05) released 03/29/2024 and EC unknown
2024-05-19 14:23:34,079 INFO: 🐧 Kernel 6.8.9-1-default
2024-05-19 14:23:34,082 DEBUG: BAT1 charge level is 3196000 µAh
2024-05-19 14:23:34,082 INFO: 🔋 Battery BAT1 (NVT FRANGWA) is operating at 102.12% of design
2024-05-19 14:23:34,082 INFO: Checking prerequisites for s2idle
2024-05-19 14:23:34,082 INFO: ✅ Logs are provided via systemd
2024-05-19 14:23:34,084 INFO: ✅ AMD Ryzen 7 7840U w/ Radeon 780M Graphics (family 19 model 74)
2024-05-19 14:23:34,084 INFO: ✅ LPS0 _DSM enabled
2024-05-19 14:23:34,151 INFO: ✅ ACPI FADT supports Low-power S0 idle
2024-05-19 14:24:17,115 INFO: Debugging script for s2idle on AMD systems
2024-05-19 14:24:17,116 INFO: 💻 Framework Laptop 13 (AMD Ryzen 7040Series) (Laptop) running BIOS 3.5 (03.05) released 03/29/2024 and EC unknown
2024-05-19 14:24:17,116 INFO: 🐧 Kernel 6.8.9-1-default
2024-05-19 14:24:17,116 DEBUG: BAT1 charge level is 3190000 µAh
2024-05-19 14:24:17,117 INFO: 🔋 Battery BAT1 (NVT FRANGWA) is operating at 102.12% of design
2024-05-19 14:24:17,117 INFO: Checking prerequisites for s2idle
2024-05-19 14:24:17,117 INFO: ✅ Logs are provided via systemd
2024-05-19 14:24:17,117 INFO: ✅ AMD Ryzen 7 7840U w/ Radeon 780M Graphics (family 19 model 74)
2024-05-19 14:24:17,117 INFO: ✅ LPS0 _DSM enabled
2024-05-19 14:24:17,147 INFO: ✅ ACPI FADT supports Low-power S0 idle
softdep gpio_madera pre: pinctrl-madera
softdep simatic_ipc_leds_gpio_apollolake pre: simatic-ipc-leds-gpio-core platform:apollolake-pinctrl
softdep simatic_ipc_leds_gpio_elkhartlake pre: simatic-ipc-leds-gpio-core platform:elkhartlake-pinctrl
softdep simatic_ipc_batt_apollolake pre: simatic-ipc-batt platform:apollolake-pinctrl
softdep simatic_ipc_batt_elkhartlake pre: simatic-ipc-batt platform:elkhartlake-pinctrl
softdep simatic_ipc_batt_f7188x pre: simatic-ipc-batt gpio_f7188x platform:elkhartlake-pinctrl platform:alderlake-pinctrl
softdep sel3350_platform pre: pinctrl_broxton leds-gpio
alias acpi*:INT33C7:* pinctrl_lynxpoint
alias acpi*:INT3437:* pinctrl_lynxpoint
alias acpi*:INT344B:* pinctrl_sunrisepoint
Jun 27 10:51:58 andromeda kernel: Linux version 6.9.6-1-default (geeko@buildhost) (gcc (SUSE Linux) 13.3.0, GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.42.0.20240130-3) #1 SMP PREEMPT_DYNAMIC Sat Jun 22 09:38:29 UTC 2024 (e256f5c)
Jun 27 10:51:58 andromeda kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.9.6-1-default root=UUID=d5afb65b-9dde-456d-bed5-74937d8d5c80 splash=silent resume=/dev/disk/by-uuid/e9fe592d-dd2a-4d5f-8cc0-0e8bb35762ad quiet security=apparmor mitigations=auto
Jun 27 10:51:58 andromeda kernel: BIOS-provided physical RAM map:
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009afffff] usable
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000009b00000-0x0000000009dfffff] reserved
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000009e00000-0x0000000009efff
Jun 27 10:51:58 andromeda kernel: Linux version 6.9.6-1-default (geeko@buildhost) (gcc (SUSE Linux) 13.3.0, GNU ld (GNU Binutils; openSUSE Tumbleweed) 2.42.0.20240130-3) #1 SMP PREEMPT_DYNAMIC Sat Jun 22 09:38:29 UTC 2024 (e256f5c)
Jun 27 10:51:58 andromeda kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-6.9.6-1-default root=UUID=d5afb65b-9dde-456d-bed5-74937d8d5c80 splash=silent resume=/dev/disk/by-uuid/e9fe592d-dd2a-4d5f-8cc0-0e8bb35762ad quiet security=apparmor mitigations=auto
Jun 27 10:51:58 andromeda kernel: BIOS-provided physical RAM map:
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000000000000-0x000000000009efff] usable
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x000000000009f000-0x00000000000bffff] reserved
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000000100000-0x0000000009afffff] usable
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000009b00000-0x0000000009dfffff] reserved
Jun 27 10:51:58 andromeda kernel: BIOS-e820: [mem 0x0000000009e00000-0x0000000009efff
@andreaippo
andreaippo / Plasmashell core dump.txt
Created July 3, 2024 07:44
Plasmashell core dump upon external monitor disconnect/reconnect
Jul 03 09:36:26 andromeda systemd-coredump[12794]: [🡕] Process 2311 (plasmashell) of user 1000 dumped core.
Stack trace of thread 2507:
#0 0x00007fcb89a949dc __pthread_kill_implementation (libc.so.6 + 0x949dc)
#1 0x00007fcb89a41176 raise (libc.so.6 + 0x41176)
#2 0x00007fcb8cf28c03 _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x6c03)
#3 0x00007fcb89a41240 __restore_rt (libc.so.6 + 0x41240)
#4 0x00007fcb8c21bc84 _ZNK15QtWaylandClient14QWaylandWindow13waylandScreenEv (libQt6WaylandClient.so.6 >
#5 0x00007fcb8c21e6cf _ZNK15QtWaylandClient14QWaylandWindow5scaleEv (libQt6WaylandClient.so.6 + 0xb06cf
@andreaippo
andreaippo / gist:aaeec39346361ff9995c991238e8dd32
Created July 3, 2024 09:25
Wayland-client.h: No such file or directory (with workaround)
Today I was trying to build Jetbrains flavor of the JRE which is what runs their IDEs (it’s called JBR), and faced this issue:
`wayland-client.h: No such file or directory`
It took me a while to figure out, so I’m posting the solution here, maybe it’ll help someone.
First of all, you need to install the wayland dev package for your distro (i.e. the one containing the header files).
On opensuse tumbleweed (the distro I use), it's called `wayland-devel` and installed via `sudo zypper in wayland-devel`.