For me I needed to use wayland-0 on a RPI5 using the ribbon-display cable.
From the wlr-randr i got this
DSI-1 “(null) (null) (DSI-1)”
Physical size: 154x86 mm
Enabled: yes
Modes:
800x480 px, 60.028999 Hz (preferred, current)
Position: 368,332
Transform: 90
Scale: 1.000000
So I used DSI-1 instead of HDMI.
Also I removed the --mode information since i got something like “Mode 800x480 not recognized”, but apparently my display defaults to that.