Skip to content

Instantly share code, notes, and snippets.

@fwsmit
fwsmit / sway.log
Created December 5, 2020 16:34
Sway debug log for cursor glitch
00:00:00.000 [sway/main.c:326] Sway version 1.5.1
00:00:00.002 [sway/main.c:153] Linux archstudent 5.9.10-arch1-1 #1 SMP PREEMPT Sun, 22 Nov 2020 14:16:59 +0000 x86_64 GNU/Linux
00:00:00.002 [sway/main.c:169] Contents of /etc/lsb-release:
00:00:00.002 [sway/main.c:153] LSB_VERSION=1.4
00:00:00.002 [sway/main.c:153] DISTRIB_ID=Arch
00:00:00.002 [sway/main.c:153] DISTRIB_RELEASE=rolling
00:00:00.002 [sway/main.c:153] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.002 [sway/main.c:169] Contents of /etc/os-release:
00:00:00.002 [sway/main.c:153] NAME="Arch Linux"
00:00:00.002 [sway/main.c:153] PRETTY_NAME="Arch Linux"
@fwsmit
fwsmit / shutdown_button.log
Created December 11, 2020 12:10
Sway shutdown
00:00:00.000 [sway/main.c:326] Sway version 1.5.1
00:00:00.002 [sway/main.c:153] Linux archstudent 5.9.13-arch1-1 #1 SMP PREEMPT Tue, 08 Dec 2020 12:09:55 +0000 x86_64 GNU/Linux
00:00:00.002 [sway/main.c:169] Contents of /etc/lsb-release:
00:00:00.002 [sway/main.c:153] LSB_VERSION=1.4
00:00:00.002 [sway/main.c:153] DISTRIB_ID=Arch
00:00:00.002 [sway/main.c:153] DISTRIB_RELEASE=rolling
00:00:00.002 [sway/main.c:153] DISTRIB_DESCRIPTION="Arch Linux"
00:00:00.002 [sway/main.c:169] Contents of /etc/os-release:
00:00:00.002 [sway/main.c:153] NAME="Arch Linux"
00:00:00.002 [sway/main.c:153] PRETTY_NAME="Arch Linux"
[
{
"id": 5,
"name": "HDMI-A-4",
"rect": {
"x": 0,
"y": 0,
"width": 2560,
"height": 1440
},
@fwsmit
fwsmit / drm_info after disconnect
Created December 14, 2020 14:16
Drm_info dump
Node: /dev/dri/card1
├───Driver: nouveau (nVidia Riva/TNT/GeForce/Quadro/Tesla/Tegra K1+) version 1.3.1 (20120801)
│ ├───DRM_CLIENT_CAP_STEREO_3D supported
│ ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│ ├───DRM_CLIENT_CAP_ATOMIC not supported
│ ├───DRM_CLIENT_CAP_ASPECT_RATIO supported
│ ├───DRM_CLIENT_CAP_WRITEBACK_CONNECTORS not supported
│ ├───DRM_CAP_DUMB_BUFFER = 1
│ ├───DRM_CAP_VBLANK_HIGH_CRTC = 1
│ ├───DRM_CAP_DUMB_PREFERRED_DEPTH = 24
@fwsmit
fwsmit / firefox middle click without move
Created December 28, 2020 12:27
Important output starts at #6351
[2725427.671] -> wl_display@1.get_registry(new id wl_registry@2)
[2725427.735] -> wl_display@1.sync(new id wl_callback@3)
[2725427.671] -> wl_display@1.get_registry(new id wl_registry@2)
[2725427.735] -> wl_display@1.sync(new id wl_callback@3)
[2725427.931] wl_display@1.delete_id(3)
[2725427.958] wl_registry@2.global(1, "wl_shm", 1)
[2725427.965] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[2725427.931] wl_display@1.delete_id(3)
[2725427.958] wl_registry@2.global(1, "wl_shm", 1)
[2725427.965] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
@fwsmit
fwsmit / firefox middle click with move
Created December 28, 2020 12:30
Important output starts at 5297
[1742697.685] -> wl_display@1.get_registry(new id wl_registry@2)
[1742697.723] -> wl_display@1.sync(new id wl_callback@3)
[1742697.859] wl_display@1.delete_id(3)
[1742697.897] wl_registry@2.global(1, "wl_shm", 1)
[1742697.904] -> wl_registry@2.bind(1, "wl_shm", 1, new id [unknown]@4)
[1742697.955] -> wl_shm@4.create_pool(new id wl_shm_pool@5, fd 11, 2304)
[1742698.138] -> wl_shm_pool@5.resize(6912)
[1742698.205] -> wl_shm_pool@5.resize(16128)
[1742698.317] -> wl_shm_pool@5.resize(34560)
[1742698.520] -> wl_shm_pool@5.resize(71424)
00:00:00.087 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_DISPLAY (0x3008), message: "(null)"
00:00:00.087 [ERROR] [render/egl.c:315] eglQueryDeviceStringEXT(EGL_EXTENSIONS) failed
00:00:00.087 [ERROR] [EGL] command: eglMakeCurrent, error: EGL_BAD_DISPLAY (0x3008), message: "Invalid display (nil)"
00:00:00.089 [ERROR] [EGL] command: eglCreatePlatformWindowSurfaceEXT, error: EGL_NOT_INITIALIZED (0x3001), message: "_eglCreateWindowSurfaceCommon"
00:00:00.089 [ERROR] [render/egl.c:446] Failed to create EGL surface
layer-shell: examples/layer-shell.c:638: main: Assertion `egl_surface' failed.
[global]
font = Iosevka Term 11
# Allow a small subset of html markup:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
[ 1006.458455] processor_thermal_rapl cfg80211 mei idma64 soundcore intel_rapl_common sysfillrect intel_ishtp rfkill sysimgblt ucsi_acpi fb_sys_fops intel_soc_dts_iosf intel_pch_thermal typec_ucsi tpm_crb typec int3403_thermal i2c_hid int340x_thermal_zone wmi tpm_tis hp_accel video tpm_tis_core lis3lv02d tpm int3400_thermal mac_hid rng_core acpi_thermal_rel acpi_pad hp_wireless vboxnetflt(OE) vboxnetadp(OE) vboxdrv(OE) drm sg crypto_user fuse agpgart bpf_preload ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 rtsx_pci_sdmmc mmc_core xhci_pci crc32c_intel serio_raw rtsx_pci xhci_pci_renesas
[ 1006.458486] CPU: 1 PID: 5272 Comm: sway Tainted: G W OE 5.11.9-arch1-1 #1
[ 1006.458488] Hardware name: HP HP ZBook Studio G5/8427, BIOS Q71 Ver. 01.10.02 02/24/2020
[ 1006.458489] RIP: 0010:ttm_bo_release+0x2ac/0x300 [ttm]
[ 1006.458494] Code: e8 29 3c ba ee e9 e3 fd ff ff 48 8b 7d 88 b9 28 23 00 00 31 d2 be 01 00 00 00 e8 9f 61 ba ee 48 8b 45 d8 eb 9d 4c 89 e0 eb 98 <0f> 0b c7 85 9c 00 00 00 00 0
[ 88.912559] CPU: 8 PID: 1018 Comm: sway Tainted: G W OE 5.11.9-arch1-1 #1
[ 88.912567] Hardware name: HP HP ZBook Studio G5/8427, BIOS Q71 Ver. 01.10.02 02/24/2020
[ 88.912571] RIP: 0010:ttm_bo_release+0x2ac/0x300 [ttm]
[ 88.912591] Code: e8 29 3c ce e1 e9 e3 fd ff ff 48 8b 7d 88 b9 28 23 00 00 31 d2 be 01 00 00 00 e8 9f 61 ce e1 48 8b 45 d8 eb 9d 4c 89 e0 eb 98 <0f> 0b c7 85 9c 00 00 00 00 00 00 00 4c 89 ef e8 b0 f1 ff ff 48 8d
[ 88.912598] RSP: 0018:ffffb13c80ee7880 EFLAGS: 00010202
[ 88.912604] RAX: 0000000000000001 RBX: ffff9e84830bf100 RCX: 0000000000000006
[ 88.912609] RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffffffc0822b28
[ 88.912614] RBP: ffff9e84830bf170 R08: ffff9e8499c95f38 R09: ffff9e84830bf000
[ 88.912618] R10: ffff9e84830bf000 R11: 0000000001320122 R12: ffff9e848fd866d0
[ 88.912622] R13: ffff9e84830bf000 R14: 0000000000000000 R15: ffff9e8480f3e700