unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
@ 2023-09-06  3:04 chris
  2023-09-06  5:00 ` bug#65769: wlgreet-sway-session chris
                   ` (4 more replies)
  0 siblings, 5 replies; 20+ messages in thread
From: chris @ 2023-09-06  3:04 UTC (permalink / raw)
  To: 65769; +Cc: chris

Hello and thank you in advance for reading me. When defining wlgreet-sway-session in my system config, the result is a blinking cursor. There is no login screen. To login or issue any command, it is necessary to switch to a different tty with something like Alt+fn+F2.

In irc, I messaged the user who created greetd-wlgreet-sway-session and it seems other users have encountered the blinking cursor and no one knows of a solution. If possible, I would like help troubleshoot and resolve the issue.

My config file is here,
https://raw.githubusercontent.com/iambumblehead/guix-home/main/guix.system.scm

```bash
$ sudo tail -5 /var/log/greetd-1.log
2023-09-05 18:59:22 error: check_children: greeter exited without creating a session
2023-09-05 18:59:23 error: check_children: greeter exited without creating a session
2023-09-05 18:59:24 error: check_children: greeter exited without creating a session
2023-09-05 18:59:25 error: check_children: greeter exited without creating a session
2023-09-05 18:59:27 error: check_children: greeter exited without creating a session
```

I've tried defining some XDG vars in /home/greeter/.profile and sometimes this causes error messages to appear above the blinking cursor, but no positive result.

Please anyone feel free to give advice or suggest any things that I might try.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: wlgreet-sway-session
  2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
@ 2023-09-06  5:00 ` chris
  2023-09-06  5:10 ` chris
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 20+ messages in thread
From: chris @ 2023-09-06  5:00 UTC (permalink / raw)
  To: 65769; +Cc: chris

[-- Attachment #1: Type: text/plain, Size: 69 bytes --]

Attached to this message is the content of /tmp/sway-greeter.388.log

[-- Attachment #2: tmp_sway-greeter.388.log --]
[-- Type: text/plain, Size: 33431 bytes --]

00:00:00.000 [INFO] [sway/main.c:338] Sway version 1.8.1
00:00:00.000 [INFO] [sway/main.c:339] wlroots version 0.16.2
00:00:00.003 [INFO] [sway/main.c:120] Linux guix-xps 6.4.12 #1 SMP PREEMPT_DYNAMIC 1 x86_64 GNU/Linux
00:00:00.003 [INFO] [sway/main.c:136] Contents of /etc/os-release:
00:00:00.003 [INFO] [sway/main.c:120] NAME="Guix System"
00:00:00.003 [INFO] [sway/main.c:120] ID=guix
00:00:00.003 [INFO] [sway/main.c:120] PRETTY_NAME="Guix System"
00:00:00.003 [INFO] [sway/main.c:120] LOGO=guix-icon
00:00:00.003 [INFO] [sway/main.c:120] HOME_URL="https://guix.gnu.org"
00:00:00.003 [INFO] [sway/main.c:120] DOCUMENTATION_URL="https://guix.gnu.org/en/manual"
00:00:00.003 [INFO] [sway/main.c:120] SUPPORT_URL="https://guix.gnu.org/en/help"
00:00:00.003 [INFO] [sway/main.c:120] BUG_REPORT_URL="https://lists.gnu.org/mailman/listinfo/bug-guix"
00:00:00.003 [INFO] [sway/main.c:108] LD_LIBRARY_PATH=
00:00:00.003 [INFO] [sway/main.c:108] LD_PRELOAD=
00:00:00.003 [INFO] [sway/main.c:108] PATH=/run/setuid-programs:/home/greeter/.config/guix/current/bin:/home/greeter/.guix-profile/bin:/run/current-system/profile/bin:/run/current-system/profile/sbin
00:00:00.003 [INFO] [sway/main.c:108] SWAYSOCK=
00:00:00.004 [INFO] [sway/main.c:376] Starting sway version 1.8.1
00:00:00.004 [DEBUG] [sway/server.c:67] Initializing Wayland server
00:00:00.004 [INFO] [wlr] [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd'
00:00:00.004 [INFO] [wlr] [libseat] [libseat/backend/seatd.c:212] Enabling seat
00:00:00.004 [INFO] [wlr] [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.005 [INFO] [wlr] [backend/backend.c:220] Found 1 GPUs
00:00:00.005 [INFO] [wlr] [backend/drm/backend.c:200] Initializing DRM backend for /dev/dri/card0 (i915)
00:00:00.005 [DEBUG] [wlr] [backend/drm/drm.c:88] Using atomic DRM interface
00:00:00.005 [DEBUG] [wlr] [backend/drm/drm.c:100] ADDFB2 modifiers supported
00:00:00.005 [INFO] [wlr] [backend/drm/drm.c:253] Found 3 DRM CRTCs
00:00:00.005 [INFO] [wlr] [backend/drm/drm.c:180] Found 9 DRM planes
00:00:00.006 [INFO] [wlr] [render/egl.c:201] Supported EGL client extensions: EGL_EXT_client_extensions EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.006 [DEBUG] [wlr] [render/egl.c:469] Using EGL device /dev/dri/card0
00:00:00.036 [INFO] [wlr] [render/egl.c:347] Using EGL 1.5
00:00:00.036 [INFO] [wlr] [render/egl.c:348] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
00:00:00.036 [INFO] [wlr] [render/egl.c:350] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node
00:00:00.036 [INFO] [wlr] [render/egl.c:352] EGL vendor: Mesa Project
00:00:00.036 [DEBUG] [wlr] [render/egl.c:121] Supported DMA-BUF formats:
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AB4H (0x48344241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   XB4H (0x48344258)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AB48 (0x38344241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   XB48 (0x38344258)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AR30 (0x30335241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   XR30 (0x30335258)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AB30 (0x30334241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AR24 (0x34325241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   AB24 (0x34324241)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   XR24 (0x34325258)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:165]   XB24 (0x34324258)
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.036 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   AR15 (0x35315241)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   RG16 (0x36314752)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   R8 (0x20203852)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   R16 (0x20363152)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   GR88 (0x38385247)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   GR32 (0x32335247)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YUV9 (0x39565559)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YU11 (0x31315559)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YU12 (0x32315559)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YU16 (0x36315559)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YU24 (0x34325559)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YVU9 (0x39555659)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YV11 (0x31315659)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YV12 (0x32315659)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YV16 (0x36315659)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   YV24 (0x34325659)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   NV12 (0x3231564E)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:165]   P010 (0x30313050)
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.037 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   P012 (0x32313050)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   P016 (0x36313050)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   P030 (0x30333050)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   NV16 (0x3631564E)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   AYUV (0x56555941)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   XYUV (0x56555958)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y410 (0x30313459)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y412 (0x32313459)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y416 (0x36313459)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   YUYV (0x56595559)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   UYVY (0x59565955)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y210 (0x30313259)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y212 (0x32313259)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:165]   Y216 (0x36313259)
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     INVALID (0x00FFFFFFFFFFFFFF): ✓ texture  ✓ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     LINEAR (0x0000000000000000): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     X_TILED (0x0100000000000001): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:104]     Y_TILED (0x0100000000000002): ✓ texture  ✗ render
00:00:00.038 [DEBUG] [wlr] [render/egl.c:185] EGL DMA-BUF format modifiers supported
00:00:00.040 [DEBUG] [wlr] [render/egl.c:420] Obtained high priority context
00:00:00.040 [DEBUG] [wlr] [render/egl.c:518] Using EGL_PLATFORM_DEVICE_EXT
00:00:00.040 [INFO] [wlr] [render/gles2/renderer.c:718] Creating GLES2 renderer
00:00:00.040 [INFO] [wlr] [render/gles2/renderer.c:719] Using OpenGL ES 3.2 Mesa 23.1.4
00:00:00.040 [INFO] [wlr] [render/gles2/renderer.c:720] GL vendor: Intel
00:00:00.040 [INFO] [wlr] [render/gles2/renderer.c:721] GL renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
00:00:00.040 [INFO] [wlr] [render/gles2/renderer.c:722] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_performance_query GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_EXT_EGL_image_storage GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_bgra 
00:00:00.061 [DEBUG] [wlr] [render/allocator/allocator.c:106] Trying to create gbm allocator
00:00:00.066 [DEBUG] [wlr] [render/allocator/gbm.c:210] Created GBM allocator with backend drm
00:00:00.066 [DEBUG] [wlr] [render/allocator/gbm.c:213] Using DRM node /dev/dri/card0
00:00:00.066 [DEBUG] [wlr] [types/wlr_idle.c:246] idle manager created
00:00:00.066 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:638] Creating wlr_drm_lease_device_v1 for /dev/dri/card0
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-1.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-2.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-3.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-4.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-5.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-6.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-7.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-8.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-9.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-10.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-11.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-12.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-13.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-14.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-15.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-16.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-17.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-18.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-19.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-20.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-21.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-22.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-23.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-24.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-25.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-26.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-27.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-28.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-29.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-30.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-31.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-32.lock check permissions
00:00:00.067 [ERROR] [sway/server.c:231] Unable to open wayland socket
00:00:00.067 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:103] Destroying wlr_drm_lease_device_v1 for /dev/dri/card0

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: wlgreet-sway-session
  2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
  2023-09-06  5:00 ` bug#65769: wlgreet-sway-session chris
@ 2023-09-06  5:10 ` chris
  2023-09-06  5:22   ` chris
  2023-09-06  5:32   ` chris
  2023-09-06 15:57 ` bug#65769: no elogind chris
                   ` (2 subsequent siblings)
  4 siblings, 2 replies; 20+ messages in thread
From: chris @ 2023-09-06  5:10 UTC (permalink / raw)
  To: 65769; +Cc: chris


In case the attachment is not-accessible, important last lines of sway-greeter.388.log are pasted here.
```
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-1.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-2.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-3.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-4.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-5.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-6.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-7.lock check permissions
00:00:00.066 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-8.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-9.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-10.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-11.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-12.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-13.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-14.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-15.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-16.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-17.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-18.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-19.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-20.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-21.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-22.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-23.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-24.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-25.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-26.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-27.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-28.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-29.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-30.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-31.lock check permissions
00:00:00.067 [INFO] [wlr] [wayland] unable to open lockfile /run/user/986/wayland-32.lock check permissions
00:00:00.067 [ERROR] [sway/server.c:231] Unable to open wayland socket
00:00:00.067 [DEBUG] [wlr] [types/wlr_drm_lease_v1.c:103] Destroying wlr_drm_lease_device_v1 for /dev/dri/card0
```




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: wlgreet-sway-session
  2023-09-06  5:10 ` chris
@ 2023-09-06  5:22   ` chris
  2023-09-06 12:34     ` Josselin Poiret via Bug reports for GNU Guix
  2023-09-06  5:32   ` chris
  1 sibling, 1 reply; 20+ messages in thread
From: chris @ 2023-09-06  5:22 UTC (permalink / raw)
  To: 65769

This directory for the greeter user does not exist in the system /run/user/986




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: wlgreet-sway-session
  2023-09-06  5:10 ` chris
  2023-09-06  5:22   ` chris
@ 2023-09-06  5:32   ` chris
  1 sibling, 0 replies; 20+ messages in thread
From: chris @ 2023-09-06  5:32 UTC (permalink / raw)
  To: 65769

The greeter works after creating /run/user/986/wayland-1.lock and changing the owner of /run/user/986 and /run/user/986/wayland-1.lock to "greeter". This seems to be a bug.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: wlgreet-sway-session
  2023-09-06  5:22   ` chris
@ 2023-09-06 12:34     ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 0 replies; 20+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-09-06 12:34 UTC (permalink / raw)
  To: chris, 65769

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

Hi chris,

chris <chris@bumblehead.com> writes:

> This directory for the greeter user does not exist in the system /run/user/986

Do you use elogind?

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: no elogind
  2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
  2023-09-06  5:00 ` bug#65769: wlgreet-sway-session chris
  2023-09-06  5:10 ` chris
@ 2023-09-06 15:57 ` chris
  2023-09-08 14:46 ` bug#65769: greetd-wlgreet-sway-session result is blinking cursor paren--- via Bug reports for GNU Guix
  2023-10-20  9:01 ` bug#65769: Hugo Buddelmeijer
  4 siblings, 0 replies; 20+ messages in thread
From: chris @ 2023-09-06 15:57 UTC (permalink / raw)
  To: 65769; +Cc: chris

Josselin,

> Do you use elogind?

No. elogind is not used.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
                   ` (2 preceding siblings ...)
  2023-09-06 15:57 ` bug#65769: no elogind chris
@ 2023-09-08 14:46 ` paren--- via Bug reports for GNU Guix
  2023-09-08 15:31   ` chris
  2023-10-20  9:01 ` bug#65769: Hugo Buddelmeijer
  4 siblings, 1 reply; 20+ messages in thread
From: paren--- via Bug reports for GNU Guix @ 2023-09-08 14:46 UTC (permalink / raw)
  To: chris; +Cc: 65769

chris <chris@bumblehead.com> writes:
> In irc, I messaged the user who created greetd-wlgreet-sway-session and it seems
> other users have encountered the blinking cursor and no one knows of a
> solution. If possible, I would like help troubleshoot and resolve the issue.

I believe that may have been moi :)  This is really odd.  I seem to be
the only person who has ever managed to make it work (though there's a
bit of a reporting bias there in that people who do manage probably
won't bring it up...)

It would be great if anyone trying to use it could possibly reply here
with a link, attachment, or copy of the config.scm they use (whether
it's working for them or not; both are useful.)

I'll start:

  https://git.sr.ht/~unmatched-paren/conf/tree/root/item/system.scm

  -- (




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-08 14:46 ` bug#65769: greetd-wlgreet-sway-session result is blinking cursor paren--- via Bug reports for GNU Guix
@ 2023-09-08 15:31   ` chris
  2023-09-08 15:37     ` paren--- via Bug reports for GNU Guix
  0 siblings, 1 reply; 20+ messages in thread
From: chris @ 2023-09-08 15:31 UTC (permalink / raw)
  To: (; +Cc: 65769

On  9月08日 金, ( wrote:
> I believe that may have been moi :)  This is really odd.  I seem to be
> the only person who has ever managed to make it work (though there's a
> bit of a reporting bias there in that people who do manage probably
> won't bring it up...)
> 
> It would be great if anyone trying to use it could possibly reply here
> with a link, attachment, or copy of the config.scm they use (whether
> it's working for them or not; both are useful.)
> 
> I'll start:
> 
>   https://git.sr.ht/~unmatched-paren/conf/tree/root/item/system.scm
> 
>   -- (

Thanks for replying to my issue :)

A "solution" is discussed earlier in the thread https://issues.guix.gnu.org/65769#4

> The greeter works after creating /run/user/986/wayland-1.lock and changing the owner of /run/user/986 and /run/user/986/wayland-1.lock to "greeter".

My system config is here

  https://raw.githubusercontent.com/iambumblehead/guix-home/main/guix.system.scm




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-08 15:31   ` chris
@ 2023-09-08 15:37     ` paren--- via Bug reports for GNU Guix
  2023-09-08 16:01       ` chris
  0 siblings, 1 reply; 20+ messages in thread
From: paren--- via Bug reports for GNU Guix @ 2023-09-08 15:37 UTC (permalink / raw)
  To: chris; +Cc: 65769

chris <chris@bumblehead.com> writes:
>> The greeter works after creating /run/user/986/wayland-1.lock and changing the
>> owner of /run/user/986 and /run/user/986/wayland-1.lock to "greeter".

wut.  I don't remember ever having to do anything like that...

> My system config is here
>
>   https://raw.githubusercontent.com/iambumblehead/guix-home/main/guix.system.scm

Thanks!  Now I know it's not malconfiguration; your config is
essentially the same as mine.





^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-08 15:37     ` paren--- via Bug reports for GNU Guix
@ 2023-09-08 16:01       ` chris
  2023-09-08 16:08         ` paren--- via Bug reports for GNU Guix
  2023-09-09 11:11         ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 2 replies; 20+ messages in thread
From: chris @ 2023-09-08 16:01 UTC (permalink / raw)
  To: (; +Cc: 65769

Josselin sent this message intended for the thread and I think they are okay with re-pasting here,

> Usually elogind is responsible (through a PAM module) for creating this runtime directory.  If you're not using elogind, you'll need to create this directory yourself somehow.  I don't really think this is a bug per-se, as running without elogind is advanced stuff and its consequences should be understood by the user.

I support any conclusion from Josselin and unmatched-paren and want to add these observations,
 * wlgreet *does require* the greeter lock file
 * wlgreet *does not require* elogind/logind 
 * not-advanced users like me may want to use wlgreet without elogind




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-08 16:01       ` chris
@ 2023-09-08 16:08         ` paren--- via Bug reports for GNU Guix
  2023-09-09 11:11         ` Josselin Poiret via Bug reports for GNU Guix
  1 sibling, 0 replies; 20+ messages in thread
From: paren--- via Bug reports for GNU Guix @ 2023-09-08 16:08 UTC (permalink / raw)
  To: chris; +Cc: 65769

chris <chris@bumblehead.com> writes:
> I support any conclusion from Josselin and unmatched-paren and want to add these observations,
>  * wlgreet *does require* the greeter lock file
>  * wlgreet *does not require* elogind/logind 
>  * not-advanced users like me may want to use wlgreet without elogind

I'm not using elogind, either; just seatd.  And yet it works still...

  -- (




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-08 16:01       ` chris
  2023-09-08 16:08         ` paren--- via Bug reports for GNU Guix
@ 2023-09-09 11:11         ` Josselin Poiret via Bug reports for GNU Guix
  2024-10-31 20:56           ` David Arroyo
  1 sibling, 1 reply; 20+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-09-09 11:11 UTC (permalink / raw)
  To: chris, (; +Cc: 65769

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

Hi chris,

chris <chris@bumblehead.com> writes:

> Josselin sent this message intended for the thread and I think they are okay with re-pasting here,
>
>> Usually elogind is responsible (through a PAM module) for creating this runtime directory.  If you're not using elogind, you'll need to create this directory yourself somehow.  I don't really think this is a bug per-se, as running without elogind is advanced stuff and its consequences should be understood by the user.

oops, sorry for not replying to all (the cardinal sin of email conversation).

> I support any conclusion from Josselin and unmatched-paren and want to add these observations,
>  * wlgreet *does require* the greeter lock file
>  * wlgreet *does not require* elogind/logind 
>  * not-advanced users like me may want to use wlgreet without elogind

I'd still like feedback from actual users of wlgreet, as I have not used
it myself.  I do believe the only way it could work is because something
takes care of creating the runtime directory.

Best,
-- 
Josselin Poiret

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769:
  2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
                   ` (3 preceding siblings ...)
  2023-09-08 14:46 ` bug#65769: greetd-wlgreet-sway-session result is blinking cursor paren--- via Bug reports for GNU Guix
@ 2023-10-20  9:01 ` Hugo Buddelmeijer
  2023-10-20 10:02   ` bug#65769: bdju via Bug reports for GNU Guix
  4 siblings, 1 reply; 20+ messages in thread
From: Hugo Buddelmeijer @ 2023-10-20  9:01 UTC (permalink / raw)
  To: 65769

Hi chirs, Josselin, unmatchedparenthesis,

Thank you for your example configs! It allowed me to get sway up and
running under Guix. For those interested, here is my configuration:
https://gist.github.com/hugobuddel/cd08fc2980c6901ff4a2df5c57531e46

However, I might switch to something else for now, as I'm having too
much trouble with running Sway. My main goal is to move to a window
manager that makes it easy to store my home configuration, for example
with guix home; I found dconf too convoluted. Using wayland or a
tiling WM is only a secondary goal for me. Maybe i3 or XFCE would
suite me just fine.

The main problems I faced, in detail below:
1) I cannot get Sway/wayland to work with the libre kernel; this is
probably due to my hardware, but X works fine.
2) I have to create the /run/user/936 directory manually. The 936 is
the `greeter` user, which occassionally changes.
3) Power management does not work. That might not be related to Sway
at all, but is an important showstopper for me right now.

It would be greatly appreciated if someone could post an example Guix
config for Sway that should run out of the box with the libre kernel
without any extra channels. For example on a virtual machine. Then we
have a shared starting point that we can all confirm to work, so we
can detangle issues specific to our own hardware and software
configuration, and issues related to Sway+Guix in general.

Cheers,
Hugo


1) Sway on libre kernel.

Having a libre system is one of my reasons for using Guix, so I'd
prefer a libre kernel. However, for me the libre kernel does not work
with sway. I expect this is a problem with my hardware, but I mention
it anyway, since I haven't seen a Sway configuration that uses the
libre kernel. My machine is a System 76 Lemure Pro with an "Intel
Corporation Alder Lake-UP3 GT2 [Iris Xe Graphics]".

Relevant logs (not necessarily all from the same session...):
- dmesg: https://gist.github.com/hugobuddel/5a593d91e93bb106056c05f8d2db4a96
- /var/log/greetd-1.log:
https://gist.github.com/hugobuddel/6ba7a3fb5b15d20851ade6fdf9c4ee87
- /tmp/sway-greeter.448.log:
https://gist.github.com/hugobuddel/f447d69a8502b02d103163fd0b2cfc86

I don't particularly care about hardware acceleration for now, so if
it is possible to run Sway in just software, then that would be fine
with me as well.


2) /run/user/936

Running the attached config as-is will result in the subject of this
tread: the blank screen with cursor at the top left. I have to figure
out what the id is of the greeter user, and then create the
appropriate directory. Something like:

GREETERID=$(id -u greeter)
mkdir "/run/user/${GREETERID}"
chmod greeter:users "/run/user/${GREETERID}"

I don't know how the id of the greeter user is determined. It has
changed after doing a `guix system reconfigure`, but only
occasionally. I create these directories manually at the moment.



3) Power management: this might not be related to Sway, but maybe I'm
solving too many problems at the same time, and power management is
the showstopper for using this laptop. So I'll ensure that power
manament works properly before experimenting with Sway.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769:
  2023-10-20  9:01 ` bug#65769: Hugo Buddelmeijer
@ 2023-10-20 10:02   ` bdju via Bug reports for GNU Guix
  2023-10-20 12:14     ` bug#65769: Hugo Buddelmeijer
  0 siblings, 1 reply; 20+ messages in thread
From: bdju via Bug reports for GNU Guix @ 2023-10-20 10:02 UTC (permalink / raw)
  To: Hugo Buddelmeijer, 65769


[-- Attachment #1.1: Type: text/plain, Size: 732 bytes --]

On Fri Oct 20, 2023 at 4:01 AM CDT, Hugo Buddelmeijer wrote:
> It would be greatly appreciated if someone could post an example Guix
> config for Sway that should run out of the box with the libre kernel
> without any extra channels. For example on a virtual machine. Then we
> have a shared starting point that we can all confirm to work, so we
> can detangle issues specific to our own hardware and software
> configuration, and issues related to Sway+Guix in general.
>
> Cheers,
> Hugo
>

I am running Sway on Guix System with the libre kernel. My hardware is a
ThinkPad T440p, intel graphics. I do not use any channels.

I've attached my config.scm, manifest, and sway config files in case
it's useful to you.

[-- Attachment #2: anpan-guix-config.scm --]
[-- Type: text/x-scheme, Size: 4834 bytes --]

;; This is an operating system configuration generated
;; by the graphical installer.

(use-modules (gnu)
	(gnu services dbus)
	(gnu services pm)
	(gnu services linux)
	(gnu services virtualization)
	(gnu system setuid)
	(guix packages))
(use-service-modules audio base desktop networking ssh sound xorg)
(use-package-modules shells wm android gnome)

; workaround to use swaylock with PAM, requires disabling setuid
;	(define-public swaylock-pam-service-type
;		(service-type (name 'swaylock)
;			(extensions (list (service-extension pam-root-service-type
;				(const (list (pam-service
;					(name "swaylock")
;					(auth (list
;						(pam-entry
;							(control "include")
;							(module "greetd"))))))))))
;			(description "Swaylock pam configuration")
;			(default-value '())))

; attempt to restore a PAM-less swaylock
(define-public swaylock/no-pam
	(package
		(inherit swaylock)
		(name "swaylock-no-pam")
		(inputs
			(filter
				(lambda (input)
					(not (string=? "linux-pam" (car input))))
				(package-inputs swaylock)))))

(operating-system
	(locale "en_US.utf8")
	(timezone "America/Chicago")
	(keyboard-layout (keyboard-layout "us"))
	(host-name "anpan")
	(users (cons* (user-account
		(name "brad")
		(comment "Bradley")
		(group "users")
		(shell (file-append zsh "/bin/zsh"))
		(home-directory "/home/brad")
		(supplementary-groups
			'("wheel" "netdev" "audio" "video" "libvirt" "kvm" "adbusers"
			 "plugdev" "tor" "tty" "input" "dialout")))
		%base-user-accounts))

	(groups
		(cons* (user-group
			(name "adbusers")
			(system? #t))
			(user-group
			(name "plugdev")
			(system? #t))
		%base-groups))

	(packages
		(append
			(map specification->package '("adwaita-icon-theme"
							"hicolor-icon-theme"
							"gnome-themes-extra"
							"gvfs"
							"fwupd"
							"intel-vaapi-driver"
							"nss-certs"
							"neovim"
							"sway"
							"tmux"
							"v4l2loopback-linux-module"
							"vim-full"))
			(list swaylock/no-pam)
			%base-packages))

	(services
		(cons*
			(service openssh-service-type (openssh-configuration
							(password-authentication? #t)
							(use-pam? #f)))
		(service tor-service-type)
		(service network-manager-service-type)
		(service wpa-supplicant-service-type)
		(service ntp-service-type)
		(service tlp-service-type (tlp-configuration (cpu-scaling-governor-on-ac (list "performance"))))
		(service thermald-service-type)
		(service upower-service-type)
		(service earlyoom-service-type)
		(service alsa-service-type)
		(service polkit-service-type)
		(service dbus-root-service-type)
		(service udisks-service-type)
		(service libvirt-service-type
			(libvirt-configuration
				(unix-sock-group "libvirt")
				(tls-port "16555")))
		(service virtlog-service-type
			(virtlog-configuration
			(max-clients 1000)))
		(udev-rules-service 'controller-nintendo-gamecube-adapter
			(udev-rule "51-gcadapter.rules"
				(string-append
					"SUBSYSTEM==\"usb\", ENV{DEVTYPE}==\"usb_device\", "
					"ATTRS{idVendor}==\"057e\", ATTRS{idProduct}==\"0337\", "
					"MODE=\"0666\"")))
;			(service udev-service-type
;				(udev-configuration
;					(rules (cons android-udev-rules
;						(udev-configuration-rules config)))))
			(service elogind-service-type (elogind-configuration (handle-lid-switch 'ignore)))
			(simple-service 'fuse-etc etc-service-type
				(list `("fuse.conf" ,(plain-file "fuse.conf" "user_allow_other\n"))))
			(simple-service 'ratbagd dbus-root-service-type (list libratbag))
	%base-services))

	(bootloader
		(bootloader-configuration
			(bootloader grub-efi-bootloader)
			(targets (list "/boot/efi"))
			(keyboard-layout keyboard-layout)))
	(swap-devices (list (swap-space
					(target "/swapfile"))))
	(mapped-devices
		(list
			(mapped-device
				(source
				(uuid "6098315e-f945-4450-8438-29cf49eea790"))
				(targets (list "cryptroot"))
				(type luks-device-mapping))))
			;(mapped-device
			;	(type luks-device-mapping)
			;	(source
			;	(uuid "b458c6b9-6781-474c-8623-ad869c02f194"))
			;	(targets (list "sidecar")))))
			;(mapped-device
			;	(type luks-device-mapping)
			;	(source
			;	(uuid "cb7b1caa-0448-4a35-9d40-7ab1d82a18f1"))
			;	(targets (list "bullet")))))

	(file-systems
		(cons* (file-system
				(mount-point "/")
				(device "/dev/mapper/cryptroot")
				(type "btrfs")
				(dependencies mapped-devices))
			(file-system
				(mount-point "/boot/efi")
				(device (uuid "F1AB-B8B3" 'fat32))
				(type "vfat"))
			;(file-system
			;	(mount-point "/data0")
			;	(dependencies mapped-devices)
			;	(device "/dev/mapper/sidecar")
			;	(type "btrfs"))
			;(file-system
			;	(mount-point "/data0")
			;	(dependencies mapped-devices)
			;	(device "/dev/mapper/bullet")
			;	(type "btrfs"))
	%base-file-systems))
	(setuid-programs (append (list (setuid-program (program (file-append swaylock/no-pam "/bin/swaylock")))) %setuid-programs))
	)

[-- Attachment #3: anpan-guix-manifest.scm --]
[-- Type: text/x-scheme, Size: 5616 bytes --]

(use-package-modules admin bittorrent disk dunst emacs engineering figlet fonts fontutils ftp games gnome gnuzilla image-viewers imagemagick irc lxde mail messaging mpd ncdu password-utils pdf pulseaudio shells suckless telephony terminals video vim web-browsers xdisorg)

;(define alacritty/fresh
;	(package
;		(inherit alacritty


(specifications->manifest
	(list
		"acl"
		"acpi"
		"adb"
		"aegisub"
		;"aerc"
		"alacritty"
		"alsa-utils"
		"android-udev-rules"
		"anki"
		"arm-none-eabi-toolchain"
		"aspell"
		"aspell-dict-en"
		"audacity"
		"avrdude"
		"avr-toolchain"
		"barcode"
		"bashtop"
		"bat"
		"bdftopcf"
		"beep"
		"bemenu"
		"bind:utils"
		"binutils"
		"bitlbee"
		"blender"
		"bombadillo"
		"bpytop"
		"breeze"
		"breeze-icons"
		"bsnes"
		"btop"
		"btrfs-progs"
		"buku"
		;"castor"
		"cataclysm-dda"
		"cataclysm-dda:tiles"
		;"chirp"
		"compsize"
		"cool-retro-term"
		"countdown"
		"cowsay"
		"crawl-tiles"
		"cryptsetup"
		"curl"
		;"dconf"
		"ddcutil"
		"ddrescue"
		"desktop-file-utils"
		"desmume"
		"dfu-programmer"
		"dfu-util"
		"dino"
		"dino:debug"
		;"dolphin-emu"
		"dosfstools"
		"dragon-drop"
		"dvtm"
		"efibootmgr"
		"emacs"
		"emacs-consult"
		"emacs-counsel-tramp"
		"emacs-debbugs"
		"emacs-elpher"
		"emacs-evil"
		"emacs-evil-collection"
		"emacs-evil-org"
		"emacs-expand-region"
		"emacs-geiser"
		"emacs-general"
		"emacs-guix"
		"emacs-hydra"
		"emacs-ivy"
		"emacs-ivy-rich"
		"emacs-link-hint"
		"emacs-magit"
		"emacs-markdown-mode"
		"emacs-modus-themes"
		"emacs-nix-mode"
		"emacs-nov-el"
		"emacs-org"
		"emacs-org-drill"
		"emacs-org-roam"
		"emacs-pdf-tools"
		"emacs-persp-mode"
		"emacs-platformio-mode"
		"emacs-rg"
		"emacs-scad-mode"
		"emacs-undo-tree"
		"emacs-vertico"
		"emacs-which-key"
		"espeak"
		"espeak-ng"
		"evolution"
		"exa"
		"exercism"
		"exfat-utils"
		"f3"
		"fasd"
		"fastboot"
		"fd"
		"feh"
		"fennel"
		"ffmpeg"
		"figlet"
		"file"
		"file-roller"
		"filezilla"
		"fish"
		;"fnlfmt"
		"font-adobe-source-code-pro"
		"font-adobe-source-han-sans:jp"
		"font-awesome"
		"font-cozette"
		"font-dejavu"
		"font-fira-code"
		"font-ghostscript"
		"font-gnu-freefont"
		"font-gnu-unifont"
		"font-google-noto"
		"font-google-roboto"
		"font-inconsolata"
		"font-openmoji"
		"font-terminus"
		"font-terminus:pcf-8bit"
		"fontconfig"
		"foot"
		"freecad"
		"freerdp"
		"fuse-exfat"
		;"fzf"
		"fzy"
		"gajim"
		"gajim-omemo"
		"gallery-dl"
		"gcc-toolchain"
		"gdb"
		"gimp"
		"git"
		"gnupg"
		"gnucobol"
		"go"
		"go-ipfs"
		"godot"
		"gpick"
		"grim"
		"groff"
		"hedgewars"
		"hexchat"
		"higan"
		"htop"
		"ibus"
		"ibus-anthy"
		"icecat"
		"icedove"
		"imagemagick"
		"imv"
		"inkscape"
		"ioquake3"
		"irssi"
		"jami"
		"jmtpfs"
		"jq"
		"kaidan"
		"kakoune"
		"kanshi"
		"kdeconnect"
		"kdenlive"
		"keepassxc"
		"khal"
		"kicad"
		"kicad-doc"
		"kicad-footprints"
		"kicad-symbols"
		"kicad-templates"
		"kimageformats"
		"lagrange"
		"ldns"
		"ldns:drill"
		"lf"
		"libappindicator"
		;"libfive"
		"libjpeg"
		"libnotify"
		"libreoffice"
		"libwacom"
		"licensecheck"
		"lm-sensors"
		"love"
		"lshw"
		"lsof"
		"lxappearance"
		"lxqt-config"
		"lxqt-qtplugin"
		"lynx"
		"magic-wormhole"
		"magic-wormhole-transit-relay"
		"make"
		"mako"
		"mc"
		"mcg"
		"megatools"
		"mesa-utils"
		"mgba"
		"minetest"
		"mkfontdir"
		"mkvtoolnix"
		"mkvtoolnix:gui"
		"moreutils"
		"mosh"
		"mousepad"
		"mpc"
		"mpd"
		"mpd-mpc"
		"mpdscribble"
		"mpv"
		"quaternion"
		"mtools"
		"mtpaint"
		"mumble"
		"mupdf"
		"ncdu"
		"ncmpcpp"
		"neofetch"
		"nestopia-ue"
		"net-tools"
		"netcat"
		"nethack"
		"neverball"
		"newsboat"
		"nheko"
		"nicotine+"
		"nim"
		"nmap"
		"nnn"
		"node"
		"ntfs-3g"
		"nushell"
		"nyxt"
		"obs"
		"obs-wlrobs"
		"offlineimap3"
		"oil"
		"openjdk"
		"openscad"
		"openshot"
		"opensurge"
		"p7zip"
		"pqiv"
		"parallel"
		"parted"
		"patchelf"
		"pavucontrol"
		"pcmanfm-qt"
		;"pcsxr"
		"perl"
		"perl-image-exiftool"
		"pfetch"
		"pinentry"
		"piper"
		"pipewire"
		"ponymix"
		"powertop"
		"profanity"
		"prusa-slicer"
		"pulseaudio"
		"pulsemixer"
		"python"
		"python-axolotl"
		"python-keyring"
		"python-matplotlib"
		"python-pillow"
		"python-secretstorage"
		"python-wrapper"
		"qt5ct"
		"qtimageformats"
		"qtwayland"
		"qtgraphicaleffects"
		"quaternion"
		"quaternion:debug"
		"qemu"
		"qrencode"
		"qutebrowser"
		"racket"
		"rakudo"
		"ranger"
		"readline"
		"recutils"
		"red-eclipse"
		"rgbds"
		"ripgrep"
		"rlwrap"
		"rofi"
		"rsync"
		"ruby"
		"ruby-pry"
		"sakura"
		"shellcheck"
		"sicp"
		"slurp"
		"smartmontools"
		"spacefm"
		"speedcrunch"
		"sqlite"
		"sshfs"
		"stepmania"
		"stow"
		"strace"
		"pipe-viewer"
		"supertuxkart"
		"surfraw"
		"swayidle"
		;"swaylock"
		"swaynotificationcenter"
		"nsxiv"
		"syncthing"
		"syncthing-gtk"
		"sysstat"
		"taisei"
		"teeworlds"
		"telescope"
		"tesseract-ocr"
		"texi2html"
		"texinfo"
		"thermald"
		"thinkfan"
		;"tiled"
		"tome4"
		"tor"
		"torsocks"
		"toxic"
		"transmission"
		"transmission:gui"
		"ungoogled-chromium-wayland"
		"unzip"
		"upower"
		"urlscan"
		"vde2"
		"vifm"
		"vim-guix-vim"
		"vinagre"
		"virt-manager"
		"vis"
		"visidata"
		"vitetris"
		"w3m"
		"waybar"
		"waypipe"
		"weechat"
		"wesnoth"
		"wesnoth-server"
		"wf-recorder"
		"wfetch"
		"wget"
		"wireplumber"
		"wl-clipboard"
		"wlr-randr"
		"wlsunset"
		"wofi"
		"xclip"
		"xdelta"
		"xdg-utils"
		"xdg-desktop-portal-wlr"
		"xdot"
		"xdotool"
		"xev"
		"xinit"
		"xlsfonts"
		"xmodmap"
		"xonotic"
		"xournal"
		"xournalpp"
		"xrandr"
		"xrdb"
		"xxd"
		"yt-dlp"
		"zathura"
		"zathura-djvu"
		"zathura-pdf-mupdf"
		"zig"
		"zsh"
		"zsh-syntax-highlighting"
	))


[-- Attachment #4: anpan-guix-sway-config --]
[-- Type: text/plain, Size: 13424 bytes --]

# Read `man 5 sway` for a complete reference.

### Variables
# Super key. Use Mod1 for Alt.
set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l
# Your preferred terminal emulator
set $term foot
# Your preferred application launcher
# Note: it's recommended that you pass the final command to sway
#set $menu dmenu_path | dmenu | xargs swaymsg exec
set $menu bemenu-run
set $menu2 wofi | xargs -d '\n' swaymsg exec
set $brad-menu $HOME/bin/brad-menu
set $mpv-clipboard wl-paste | xargs -d '\n' mpv --force-window=immediate --osd-level=3 --save-position-on-quit | xargs swaymsg exec
set $mpv-clipboard-primary wl-paste -p | xargs -d '\n' mpv --force-window=immediate --osd-level=3 --save-position-on-quit | xargs swaymsg exec
set $mpv-stream-clipboard wl-paste | xargs -d '\n' mpv --pause=no --cache-secs=10 --demuxer-readahead-secs=10 --untimed --force-window=immediate --osd-level=3 --save-position-on-quit | xargs swaymsg exec
set $mpv-stream-clipboard-primary wl-paste -p | xargs -d '\n' mpv --pause=no --cache-secs=10 --demuxer-readahead-secs=10 --untimed --force-window=immediate --osd-level=3 --save-position-on-quit | xargs swaymsg exec
set $xdg-clipboard wl-paste | xargs -d '\n' xdg-open | xargs swaymsg exec
set $xdg-clipboard-primary wl-paste -p | xargs -d '\n' xdg-open | xargs swaymsg exec

# hide titlebars
#default_border none
default_border pixel 1
#new_window normal
#for_window [class="^.*"] border pixel 1
for_window [app_id="term-temp"] floating enable, border pixel 3
for_window [app_id="term-scratch"] floating enable, border pixel 3
#for_window [app_id="picker"] floating enable, border pixel 3, resize set 1200 800, move down 500
for_window [app_id="picker"] border pixel 3, resize set 1200 800
for_window [app_id="imv"] floating enable, border pixel 3, resize set 500 700, move position 100 ppt 100 ppt, move left 520, move up 750
no_focus [app_id="imv"]

#font
font pango:monospace 9

# autostart programs
exec --no-startup-id mpdscribble
exec --no-startup-id mako
exec --no-startup-id xrdb ~/.Xresources
exec sh -c 'dbus-launch --autolaunch=$(dbus-uuidgen --get) mako'
#exec --no-startup-id emacs
exec --no-startup-id "sh -c 'sleep 10; exec foot --app-id=term-local'"
exec --no-startup-id "sh -c 'sleep 15; exec foot --app-id=term-masaki'"
exec --no-startup-id "sh -c 'sleep 10; exec foot --app-id=term-editor'"

# gnome-keyring
exec eval $(gnome-keyring-daemon --start)
exec export SSH_AUTH_SOCK

set $laptop 'Chimei Innolux Corporation 0x14D4 0x00000000'
set $landscape 'Hewlett Packard HP ZR24w CNT037144C'
set $portrait 'Hewlett Packard HP ZR24w CNT03512JN'
bindswitch --reload --locked lid:on output $laptop disable
bindswitch --reload --locked lid:off output $laptop enable

### Output configuration
output $landscape bg $HOME/pictures/wallpaper/1529004448340.jpg fill
output $portrait bg $HOME/pictures/wallpaper/portrait/DYabJ0FV4AACG69.jpg fill

# random wallpaper
#set $wallpapers_path $HOME/pictures/wallpaper
#output * bg `find $wallpapers_path -type f | shuf -n 1` fill

# set $portrait as left monitor and rotate it anticlockwise
output $portrait pos 0 1200 transform 270
#
# broken
#exec swaymsg move workspace 1 to output $landscape
#exec swaymsg move workspace 2 to output $portrait
#exec swaymsg focus output $landscape

### Idle configuration
#
# Example configuration:
#
# exec swayidle -w \
#          timeout 300 'swaylock -f -c 000000' \
#          timeout 600 'swaymsg "output * dpms off"' \
#               resume 'swaymsg "output * dpms on"' \
#          before-sleep 'swaylock -f -c 000000'
#
# This will lock your screen after 300 seconds of inactivity, then turn off
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.

### Input configuration

# mouse
input type:pointer accel_profile flat

# keyboards

# universal settings
input type:keyboard repeat_delay 280
input type:keyboard repeat_rate 40

# Pinky4
input "21582:28724:tamanishi_Pinky4_Keyboard" {
	xkb_layout us
	xkb_options compose:caps
}

# ThinkPad keyboard
input "1:1:AT_Translated_Set_2_keyboard" {
	xkb_layout us
	xkb_variant workman
	xkb_options compose:caps
}

# workman and qwerty, swappable, internal keyboard
#input "1:1:AT_Translated_Set_2_keyboard" {
#xkb_layout us,us
#xkb_variant workman,
#xkb_options compose:caps
#}


### Key bindings
    # start a terminal
    bindsym $mod+Return exec $term

    # kill focused window
    bindsym $mod+Shift+q kill

    # start your launcher
    bindsym $mod+d exec $menu
    bindsym $mod+Shift+d exec $menu2
    bindsym $mod+q exec $brad-menu

    # focus-menu
    bindsym ctrl+$mod+f exec $HOME/bin/focus-menu

    # open clipboard contents in mpv
    bindsym $mod+p exec $mpv-clipboard
    bindsym $mod+Shift+p exec $mpv-clipboard-primary
    bindsym $mod+Mod1+p exec $mpv-stream-clipboard
    bindsym $mod+Mod1+Shift+p exec $mpv-stream-clipboard-primary

    # open clipboard contents with xdg-open
    bindsym $mod+Mod1+o exec $xdg-clipboard
    bindsym $mod+Mod1+Shift+o exec $xdg-clipboard-primary

    # mouse button for dragging.
    floating_modifier $mod normal

    # reload the configuration file
    bindsym $mod+Shift+c reload

    # exit sway (logs you out of your Wayland session)
    bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'

    # lock screen
    bindsym $mod+Shift+x exec swaylock -f -c 000000

    # emoji
    bindsym $mod+z exec ~/bin/emoji

    # clip-menu
    bindsym $mod+c exec ~/bin/bemenuclip

### Scrot
    # screenshot selected area
    bindsym $mod+x exec grim -g "$(slurp)" ~/scrot/$(date +'%Y-%m-%d-%H%M%S_grim.png')
    # screenshot all outputs
    bindsym Print exec grim ~/scrot/$(date +'%Y-%m-%d-%H%M%S_grim_desktop.png')
    # screenshot focused output
    bindsym ctrl+Print exec grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') ~/scrot/$(date +'%Y-%m-%d-%H%M%S_grim.png')
    # screenshot focused window
    bindsym Mod1+Print exec ~/bin/windowscrot
    # screenshot selected area after a few seconds
    bindsym Shift+Print exec ~/bin/geoscrot

### Focus
    # focus anki
    bindsym ctrl+$mod+a [class="Anki"] focus

    # focus browser (qutebrowser)
    bindsym ctrl+$mod+b [app_id="org.qutebrowser.qutebrowser"] focus ; [class="qutebrowser"] focus ; [app_id="icecat"] focus

    # focus browser (chromium)
    bindsym ctrl+Shift+$mod+b [app_id="chromium-browser"] focus

    # focus chat (nheko)
    bindsym ctrl+$mod+c [title="nheko"] focus

    # focus da file manager (pcmanfm-qt)
    #bindsym ctrl+$mod+d [class="Deluge"] focus
    bindsym ctrl+$mod+d [app_id="pcmanfm-qt"] focus ; [class="pcmanfm-qt"] focus

    # focus emacs
    bindsym ctrl+$mod+e [class="Emacs"] focus ; [app_id="term-editor"] focus

    # focus gajim
    bindsym ctrl+$mod+g [app_id="org.gajim.Gajim"] focus

    # focus safe (keepassxc)
    bindsym ctrl+$mod+s [class="KeePassXC"] focus ; [app_id="org.keepassxc.KeePassXC"] focus

    # focus local terminal
    bindsym ctrl+$mod+l [app_id="term-local"] focus

    # focus masaki terminal
    bindsym ctrl+$mod+m [app_id="term-masaki"] focus

    # focus obs (obs)
    bindsym ctrl+$mod+o [class="obs"] focus

    # focus video (mpv)
    bindsym ctrl+$mod+v [app_id="mpv"] focus

    # focus xmpp (dino)
    bindsym ctrl+$mod+x [app_id="dino"] focus

#
# Moving around:
#
    # Move your focus around
    bindsym $mod+$left focus left
    bindsym $mod+$down focus down
    bindsym $mod+$up focus up
    bindsym $mod+$right focus right
    # or use $mod+[up|down|left|right]
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right
    bindsym ctrl+$mod+j focus output right
    bindsym ctrl+$mod+k focus output left

    # _move_ the focused window with the same, but add Shift
    bindsym $mod+Shift+$left move left
    bindsym $mod+Shift+$down move down
    bindsym $mod+Shift+$up move up
    bindsym $mod+Shift+$right move right
    # ditto, with arrow keys
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
#
# Workspaces:
#
    # switch to workspace
    bindsym $mod+1 workspace 1
    bindsym $mod+2 workspace 2
    bindsym $mod+3 workspace 3
    bindsym $mod+4 workspace 4
    bindsym $mod+5 workspace 5
    bindsym $mod+6 workspace 6
    bindsym $mod+7 workspace 7
    bindsym $mod+8 workspace 8
    bindsym $mod+9 workspace 9
    bindsym $mod+0 workspace 10
    bindsym ctrl+$mod+n workspace next_on_output
    bindsym ctrl+$mod+p workspace prev_on_output 
    # move focused container to workspace
    bindsym $mod+Shift+1 move container to workspace 1
    bindsym $mod+Shift+2 move container to workspace 2
    bindsym $mod+Shift+3 move container to workspace 3
    bindsym $mod+Shift+4 move container to workspace 4
    bindsym $mod+Shift+5 move container to workspace 5
    bindsym $mod+Shift+6 move container to workspace 6
    bindsym $mod+Shift+7 move container to workspace 7
    bindsym $mod+Shift+8 move container to workspace 8
    bindsym $mod+Shift+9 move container to workspace 9
    bindsym $mod+Shift+0 move container to workspace 10
    # move workspaces between monitors
    bindsym $mod+o move workspace to output left

    # Note: workspaces can have any name you want, not just numbers.
    # We just use 1-10 as the default.
#
# Layout stuff:
#
    # You can "split" the current object of your focus with
    # $mod+b or $mod+v, for horizontal and vertical splits
    # respectively.
    bindsym $mod+b splith
    bindsym $mod+v splitv

    # Switch the current container between different layout styles
    bindsym $mod+s layout stacking
    bindsym $mod+w layout tabbed
    bindsym $mod+e layout toggle split

    # Make the current focus fullscreen
    bindsym $mod+f fullscreen

    # Toggle the current focus between tiling and floating mode
    bindsym $mod+Shift+space floating toggle

    # Swap focus between the tiling area and the floating area
    bindsym $mod+space focus mode_toggle

    # move focus to the parent container
    bindsym $mod+a focus parent
    bindsym $mod+Shift+a focus child
    
    assign [class="Firefox"] 2
    assign [class="Nightly"] 2
    assign [class="IceCat"] 2
    assign [class="Navigator"] 2
    assign [class="qutebrowser"] 2
    assign [class="Deluge"] 3
    assign [app_id="icecat"] 2
    assign [app_id="mpv"] 1
    assign [app_id="term-masaki"] 2
    assign [app_id="term-local"] 1
    assign [app_id="term-editor"] 1

#
# Scratchpad:
#
    # Sway has a "scratchpad", which is a bag of holding for windows.
    # You can send windows there and get them back later.

    # Move the currently focused window to the scratchpad
    bindsym $mod+Shift+minus move scratchpad

    # Show the next scratchpad window or hide the focused scratchpad window.
    # If there are multiple scratchpad windows, this command cycles through them.
    bindsym $mod+minus scratchpad show

# colors
# class                 border  backgr. text    indicator child_border
client.focused          #222222 #000000 #ffffff #6c7172   #7fffd4
client.focused_inactive #222222 #000000 #E1E1E1 #6c7172   #222222
client.unfocused        #222222 #000000 #888888 #292d2e   #222222
client.urgent           #2f343a #900000 #ffffff #900000   #900000
client.placeholder      #000000 #000000 #ffffff #000000   #0c0c0c

#
# Resizing containers:
#
mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px

    # ditto, with arrow keys
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"

    bindsym $mod+i mode "j: japanese; k: korean; v: vietnamese; esc: english"

    mode "j: japanese; k: korean; v: vietnamese; esc: english" {
        bindsym j exec ibus engine anthy; mode "default"
        bindsym k exec ibus engine hangul; mode "default"
        bindsym v exec ibus engine Unikey; mode "default"
        bindsym Return exec ibus engine xkb:us::eng; mode "default"
        bindsym Escape exec ibus engine xkb:us::eng; mode "default"
    }

#
# Status Bar:
#
# Read `man 5 sway-bar` for more information about this section.

bar {
    swaybar_command waybar
}

#bar {
#    position top
#
#    # When the status_command prints a new line to stdout, swaybar updates.
#    # The default just shows the current date and time.
#    status_command while date +'%A %Y-%m-%d %H:%M:%S'; do sleep 1; done
#
#    colors {
#        background #000000
#      	separator  #000000
#        statusline #ffffff
#
#      	focused_workspace  #ffffff #ffffff #000000
#      	active_workspace   #000000 #000000 #ffffff
#        inactive_workspace #000000 #000000 #ffffff
#	urgent_workspace   #000000 #e60000 #ffffff
#    }
#}

^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769:
  2023-10-20 10:02   ` bug#65769: bdju via Bug reports for GNU Guix
@ 2023-10-20 12:14     ` Hugo Buddelmeijer
  2023-10-20 13:49       ` bug#65769: Hugo Buddelmeijer
  0 siblings, 1 reply; 20+ messages in thread
From: Hugo Buddelmeijer @ 2023-10-20 12:14 UTC (permalink / raw)
  To: bdju; +Cc: 65769

Thank you bdju!

Your config also does not work for me, so my specific problem is
probably hardware related. Thanks for helping me isolate the problem.
Apparently I was naive in assuming that i915 would mean things would
just work. (Well, X works.)

I also get a blank screen with the cursor at the top of the screen
(sometimes), but my problem seems unrelated to this issue, because
greetd/wlgreet is now not involved. I will therefore not discuss my
problem here further.

Hugo

On Fri, 20 Oct 2023 at 12:02, bdju <bdju@tilde.team> wrote:
>
> On Fri Oct 20, 2023 at 4:01 AM CDT, Hugo Buddelmeijer wrote:
> > It would be greatly appreciated if someone could post an example Guix
> > config for Sway that should run out of the box with the libre kernel
> > without any extra channels. For example on a virtual machine. Then we
> > have a shared starting point that we can all confirm to work, so we
> > can detangle issues specific to our own hardware and software
> > configuration, and issues related to Sway+Guix in general.
> >
> > Cheers,
> > Hugo
> >
>
> I am running Sway on Guix System with the libre kernel. My hardware is a
> ThinkPad T440p, intel graphics. I do not use any channels.
>
> I've attached my config.scm, manifest, and sway config files in case
> it's useful to you.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769:
  2023-10-20 12:14     ` bug#65769: Hugo Buddelmeijer
@ 2023-10-20 13:49       ` Hugo Buddelmeijer
  0 siblings, 0 replies; 20+ messages in thread
From: Hugo Buddelmeijer @ 2023-10-20 13:49 UTC (permalink / raw)
  Cc: 65769

Ok, just one more update on the hardware issue: I 'resolved' it, and
maybe I can help others by commenting here.

Specifying i915.enable_guc=0 as a kernel parameter at boot will ensure
the kernel doesn't get 'wedged' and now sway works on the libre kernel
too. I get the blinking cursor again if I forget.

I tried adding the kernel parameter to the config like this:

            (sysctl-service-type config =>
                     (sysctl-configuration
                      (settings (append '(("i915.enable_guc" . "0"))
                                        %default-sysctl-settings))))

But that does not work, so I have to add the parameter at boot time.
Maybe I'll create a new issue for that.

So now I can go back to actually using sway, and fixing my power
management! And perhaps, if it becomes annoying enough, the creation
of the /run/user/<greeter id> directory...

Hugo


On Fri, 20 Oct 2023 at 12:14, Hugo Buddelmeijer <hugo@buddelmeijer.nl> wrote:
>
> Thank you bdju!
>
> Your config also does not work for me, so my specific problem is
> probably hardware related. Thanks for helping me isolate the problem.
> Apparently I was naive in assuming that i915 would mean things would
> just work. (Well, X works.)
>
> I also get a blank screen with the cursor at the top of the screen
> (sometimes), but my problem seems unrelated to this issue, because
> greetd/wlgreet is now not involved. I will therefore not discuss my
> problem here further.
>
> Hugo
>
> On Fri, 20 Oct 2023 at 12:02, bdju <bdju@tilde.team> wrote:
> >
> > On Fri Oct 20, 2023 at 4:01 AM CDT, Hugo Buddelmeijer wrote:
> > > It would be greatly appreciated if someone could post an example Guix
> > > config for Sway that should run out of the box with the libre kernel
> > > without any extra channels. For example on a virtual machine. Then we
> > > have a shared starting point that we can all confirm to work, so we
> > > can detangle issues specific to our own hardware and software
> > > configuration, and issues related to Sway+Guix in general.
> > >
> > > Cheers,
> > > Hugo
> > >
> >
> > I am running Sway on Guix System with the libre kernel. My hardware is a
> > ThinkPad T440p, intel graphics. I do not use any channels.
> >
> > I've attached my config.scm, manifest, and sway config files in case
> > it's useful to you.




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2023-09-09 11:11         ` Josselin Poiret via Bug reports for GNU Guix
@ 2024-10-31 20:56           ` David Arroyo
  2024-11-01 10:03             ` chris
  2024-11-01 10:25             ` chris
  0 siblings, 2 replies; 20+ messages in thread
From: David Arroyo @ 2024-10-31 20:56 UTC (permalink / raw)
  To: Josselin Poiret, chris, (; +Cc: 65769

On Sat, Sep 9, 2023, at 11:11, Josselin Poiret via Bug reports for GNU Guix wrote:
> I'd still like feedback from actual users of wlgreet, as I have not used
> it myself.  I do believe the only way it could work is because something
> takes care of creating the runtime directory.

This is my conclusion as well. I ran into this issue today when trying to
setup a minimal install with sway. I had to switch from seatd to elogind.
Here's my working config:

https://paste.sr.ht/~droyo/6cd5f6c1cb12220d10dbcbe0f92f317dfdc88aee

Here's my understanding of the issue;

* greetd runs as root, but when the user switches to a vt, it forks a
  child process to run the default_session command (agreety, wlgreet,
  etc).  This process runs as the `(default-session-user config)`
  (default "greeter".

* sway requires XDG_RUNTIME_DIR to exist, but there is nothing creating
   XDG_RUNTIME_DIR on behalf of "greeter", so it repeatedly crashes
   until herd disables the `term-ttyX` service corresponding to the
   wlgreet terminal.

* When using elogind, this is taken care of for "greeter" by the
   pam_elogind pam module, which is added to all pam configs, including
   greetd's, by the `elogin-service-type` service. On other distros,
   pam_systemd performs the same task.

This issue is summarized by the author of seatd here:

https://git.sr.ht/~kennylevinsen/seatd-docs/tree/master/item/index.md#xdg_runtime_dir-not-set

The solution prescribed is to create the rundir from a script on startup
or with a pam module. I was curious why the existing `pam_mount(5)`
module in greetd's existing PAM configuration did not handle creation
for the "greeter" user as well. The pam_mount configuration linked to
/etc/security/greetd_pam_mount.conf.xml does not discriminate against
this user.

I set `debug=1` in /etc/security/greetd_pam_mount.conf.xml and restarted
the system. Here's the `pam_mount` logs for the "greeter" user's session:

	greetd: (pam_mount.c:568): pam_mount 2.18: entering session stage
	greetd: (pam_mount.c:629): no volumes to mount
	greetd: command: '/gnu/store/18wjrghh95hy8l4nmr22lpsjgjpdqbax-greetd-pam-mount-2.18/sbin/pmvarrun' '-u' 'greeter' '-o' '1'
	greetd: (pam_mount.c:441): pmvarrun says login count is 2
	greetd: (pam_mount.c:660): done opening session (ret=0)
	greetd: (pam_mount.c:706): received order to close things
	greetd: (pam_mount.c:709): No volumes to umount

And for my session (after logging into a separate vt running agreety):

	greetd: (pam_mount.c:568): pam_mount 2.18: entering session stage
	greetd: (mount.c:781): Could not get realpath of /run/user/1000: No such file or directory
	greetd: (mount.c:251): Mount info: globalconf, user=droyo <volume fstype="tmpfs" server="(null)" path="none" mountpoint="/run/user/1000" cipher="(null)" fskeypath="(null)" fskeycipher="(null)" fskeyhash="(null)" options="noexec,nosuid,nodev,size=1g,mode=0700,uid=1000,gid=998" /> fstab=0 ssh=0
	greetd: (mount.c:305): mkmountpoint: checking /run
	greetd: (mount.c:305): mkmountpoint: checking /run/user
	greetd: (mount.c:345): mkdir[0] /run/user
	greetd: (mount.c:351): chown /run/user -> 1000:998
	greetd: (mount.c:305): mkmountpoint: checking /run/user/1000
	greetd: (mount.c:329): mkdir[1000] /run/user/1000
	greetd: (mount.c:660): Password will be sent to helper as-is.
	greetd: command: '/gnu/store/w62dxljn51hcrszyxjb1dffhbvrl8iqm-util-linux-2.37.4/bin/mount' '-onoexec,nosuid,nodev,size=1g,mode=0700,uid=1000,gid=998' '-ttmpfs' 'none' '/run/user/1000'

I could not find any obvious problem reading pam_mount.c, so I read the
pam_mount.conf file a little closer and found the issue:

	<volume sgrp="users" fstype="tmpfs" ...

Per pam_mount.conf(5), sgrp restricts pam_mount's activity to users in
the "users" group. So adding "users" to `greeter-supplementary-groups`
resolves the issue.

Sorry for being long-winded. I thought maybe including the steps I took
would help others stuck in similar issues troubleshoot. As far as fixing
this one, should we update the example in

https://guix.gnu.org/manual/en/html_node/Base-Services.html#index-greetd_002dwlgreet_002dsway_002dsession

or is it better to force a fix and modify pam_mount or make the
greetd-wlgreet-* sessions enforce some check on group membership?

Another thing, the /run/user created by pam_mount is owned by the
first session's user (greeter:greeter), while with pam_elogind it's owned
by root:root. It doesn't seem to cause a problem, but I just thought I'd
call that out.

David




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2024-10-31 20:56           ` David Arroyo
@ 2024-11-01 10:03             ` chris
  2024-11-01 10:25             ` chris
  1 sibling, 0 replies; 20+ messages in thread
From: chris @ 2024-11-01 10:03 UTC (permalink / raw)
  To: David Arroyo; +Cc: (, Josselin Poiret, 65769

David,

What a beautiful investigation and summary!

Adding "greeter-supplementary-groups" to my users supplementary-groups list now. Thank you!

Chris

-- 
好きなものを、好きなもので、好きなように作る。




^ permalink raw reply	[flat|nested] 20+ messages in thread

* bug#65769: greetd-wlgreet-sway-session result is blinking cursor
  2024-10-31 20:56           ` David Arroyo
  2024-11-01 10:03             ` chris
@ 2024-11-01 10:25             ` chris
  1 sibling, 0 replies; 20+ messages in thread
From: chris @ 2024-11-01 10:25 UTC (permalink / raw)
  To: David Arroyo; +Cc: (, Josselin Poiret, 65769

A week or two ago, wlgreet-sway-session started booting a blinking cursor again. I used ssh to get in, disable it and reconfigure and never took another look. Just now, per your advice, added "users" to `greeter-supplementary-groups`, reconfigured and rebooted and it works again!

-- 
好きなものを、好きなもので、好きなように作る。




^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2024-11-01 10:39 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  3:04 bug#65769: greetd-wlgreet-sway-session result is blinking cursor chris
2023-09-06  5:00 ` bug#65769: wlgreet-sway-session chris
2023-09-06  5:10 ` chris
2023-09-06  5:22   ` chris
2023-09-06 12:34     ` Josselin Poiret via Bug reports for GNU Guix
2023-09-06  5:32   ` chris
2023-09-06 15:57 ` bug#65769: no elogind chris
2023-09-08 14:46 ` bug#65769: greetd-wlgreet-sway-session result is blinking cursor paren--- via Bug reports for GNU Guix
2023-09-08 15:31   ` chris
2023-09-08 15:37     ` paren--- via Bug reports for GNU Guix
2023-09-08 16:01       ` chris
2023-09-08 16:08         ` paren--- via Bug reports for GNU Guix
2023-09-09 11:11         ` Josselin Poiret via Bug reports for GNU Guix
2024-10-31 20:56           ` David Arroyo
2024-11-01 10:03             ` chris
2024-11-01 10:25             ` chris
2023-10-20  9:01 ` bug#65769: Hugo Buddelmeijer
2023-10-20 10:02   ` bug#65769: bdju via Bug reports for GNU Guix
2023-10-20 12:14     ` bug#65769: Hugo Buddelmeijer
2023-10-20 13:49       ` bug#65769: Hugo Buddelmeijer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).