Submission checklist
Bug description
When I booted my machine to the newly installed noctalia-greeter-git, it was displaying my second monitor's framebuffer halfway overlapping the first monitor. Both monitors display the same content for the active login prompt on the second monitor's buffer, half overlapping the first.
Both monitors are 3840x2160, and it appears to be scaling 1.0 instead of 2.0.
Steps to reproduce
- Leave greeter configured to defaults, but synced from a Niri session.
- Boot the machine to greetd with the greeter
- Observe outputs overlapping
Expected behavior
Both outputs should be configured to 3840x2160, scale 2.0. Do I need to hand edit a configuration file somewhere on my system to achieve this?
Actual behavior
Both outputs are configured 3840x2160, but scale 1.0, and the rightmost one is offset to 1920,0.
Logs / error output
<details>
-- Boot 813e0a82bd42426f9d426570dc69cf0b --
Aug 08 20:22:15 copycat systemd[1]: Started Greeter daemon.
Aug 08 20:22:15 copycat greetd[1852]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "/usr/bin/noctalia-greeter-session", user: "greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Aug 08 20:22:15 copycat greetd[1854]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: None, switch: false }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "", user: "", service: "" }, initial_session: None }, internal: ConfigInternal { session_worker: 11 } }
Aug 08 20:22:15 copycat greetd[1854]: pam_unix(greetd:session): session opened for user greeter(uid=944) by greeter(uid=0)
Aug 08 20:22:15 copycat greetd[1854]: gkr-pam: couldn't unlock the login keyring.
Aug 08 20:23:41 copycat greetd[2595]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: None, switch: false }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "", user: "", service: "" }, initial_session: None }, internal: ConfigInternal { session_worker: 12 } }
Aug 08 20:23:41 copycat greetd[2595]: gkr-pam: unable to locate daemon control file
Aug 08 20:23:41 copycat greetd[2595]: gkr-pam: stashed password to try later in open session
Aug 08 20:23:42 copycat greetd[2595]: pam_unix(greetd:session): session opened for user chris(uid=1000) by chris(uid=0)
Aug 08 20:23:42 copycat greetd[2595]: gkr-pam: unlocked login keyring
</details>
<details>
Aug 08 20:22:15 copycat greetd[1852]: config: Config { file: ConfigFile { terminal: ConfigTerminal { vt: Specific(1), switch: true }, general: ConfigGeneral { source_profile: true, runfile: "/run/greetd.run", service: "greetd" }, default_session: ConfigSession { command: "/usr/bin/noctalia-greeter-session", user: "greeter", service: "greetd-greeter" }, initial_session: None }, internal: ConfigInternal { session_worker: 0 } }
Aug 08 20:22:16 copycat noctalia-greeter[2177]: === noctalia-greeter bootstrap pid=2177 uid=944 euid=944 exe=/usr/bin/noctalia-greeter argv0=/usr/bin/noctalia-greeter GREETD_SOCK=/run/greetd-1852.sock XDG_VTNR=1 ===
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [main] noctalia-greeter 1.2.1
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [DBG] [main] build fingerprint 3c45fa89de10b4a640b48968327141503779fc57f5d42632fe31dc848329d2a0
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [main] greetd session: syslog logging
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [main] uid=944 euid=944 gid=944 groups=[greeter,video]
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [main] WAYLAND_DISPLAY=wayland-0 XDG_SESSION_TYPE=wayland XDG_RUNTIME_DIR=/tmp/noctalia-runtime-944
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [wayland] connected to Wayland compositor
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [DBG] [paths] using assets from /usr/share/noctalia-greeter/assets
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [glyph-registry] loaded 6013 Tabler glyph names from /usr/share/noctalia-greeter/assets/fonts/tabler.json
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [gl] initialized EGL 1.5 with shared root context
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [render] EGL vendor="Mesa Project" version="1.5" APIs="OpenGL OpenGL_ES "
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [render] OpenGL ES vendor="AMD" renderer="AMD Radeon RX 9070 XT (radeonsi, gfx1201, ACO, DRM 3.64, 7.2.0-rc6-2-cachyos-rc)" version="OpenGL ES 3.2 Mesa 26.3.0-devel (git-bab34da4a3)"
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greetd] connected to greetd at /run/greetd-1852.sock
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [seat] keyboard: bound
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [seat] pointer: bound
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [wayland] output 'DP-1' ready 3840x2160 at (0,0) scale=1 phys=600x340mm
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [wayland] output 'HDMI-A-1' ready 3840x2160 at (0,0) scale=1 phys=600x340mm
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [seat] keyboard: keymap loaded
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] syncOutputWindows: 2 target output(s), 0 view(s)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-surface] AccountsService: 2 cached user(s), 2 after filters
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] greeter surface created
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] greeter view for output 'DP-1'
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-surface] AccountsService: 2 cached user(s), 2 after filters
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] greeter surface created
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] greeter view for output 'HDMI-A-1'
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] configured 3840x2160 logical (scale=1.00)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] configured 3840x2160 logical (scale=1.00)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] presented first frame 3840x2160 logical (3840x2160 buffer, scale=1.00)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter-window] presented first frame 3840x2160 logical (3840x2160 buffer, scale=1.00)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] syncOutputWindows: 2 target output(s), 2 view(s)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] greeter initialized (2 view(s))
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [logind-resume] watching logind PrepareForSleep to restart greeter on resume
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] syncOutputWindows: 2 target output(s), 2 view(s)
Aug 08 20:22:16 copycat noctalia-greeter[2177]: [INF] [greeter] syncOutputWindows: 2 target output(s), 2 view(s)
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [greeter-surface] greetd: create_session for 'chris'
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [DBG] [greeter-surface] greetd reply to create_session: auth_message
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [greeter-surface] PAM secret message: Password:
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [DBG] [greeter-surface] greetd: post_auth_data (14 bytes)
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [DBG] [greeter-surface] greetd reply to post_auth_data: success
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [greeter-surface] authentication successful
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [DBG] [greeter-prefs] saved greeter preferences to /var/lib/noctalia-greeter/sync.toml
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [greeter-surface] greetd: start_session session='Niri' cmd='niri-session' args=0 env=[XDG_SESSION_TYPE=wayland XDG_CURRENT_DESKTOP=niri XDG_SESSION_DESKTOP=niri]
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [DBG] [greeter-surface] greetd reply to start_session: success
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [greeter-surface] session start confirmed, exiting greeter
Aug 08 20:23:41 copycat noctalia-greeter[2177]: [INF] [main] shutdown complete
</details>
noctalia-greeter version
1.2.1.r200.g763411f5e-1
Distribution
Arch-based
Environment information
Installation method: AUR
greetd user: greeter
GPU / driver: AMD RX 9070 XT (amdgpu)
Monitor setup: multi-monitor, DP-1: Asus XG27UCS, HDMI-A-1: LG 24UD58-B
greeter.toml: only comments
sync.toml:
[output]
layout = "DP-1:0,0; HDMI-A-1:1920,0"
Additional context
It appears that the last time I synced, it synced the logical units for the display positions, and didn't sync the display scales? I can try syncing again and see if that fixes it.
Submission checklist
Bug description
When I booted my machine to the newly installed noctalia-greeter-git, it was displaying my second monitor's framebuffer halfway overlapping the first monitor. Both monitors display the same content for the active login prompt on the second monitor's buffer, half overlapping the first.
Both monitors are 3840x2160, and it appears to be scaling 1.0 instead of 2.0.
Steps to reproduce
Expected behavior
Both outputs should be configured to 3840x2160, scale 2.0. Do I need to hand edit a configuration file somewhere on my system to achieve this?
Actual behavior
Both outputs are configured 3840x2160, but scale 1.0, and the rightmost one is offset to 1920,0.
Logs / error output
noctalia-greeter version
1.2.1.r200.g763411f5e-1
Distribution
Arch-based
Environment information
Additional context
It appears that the last time I synced, it synced the logical units for the display positions, and didn't sync the display scales? I can try syncing again and see if that fixes it.