I’ve recently installed OS on new A311D boot and so I’m running sway with the default config, and the switch-workspace keybindings erratic.
After boot it defaults to workspace 1 which works normally.
If I press LOGO+2 ($mod+1) the “1” in the top bar unhighllights (white background goes black) but “2” does not appear, and mod tab does not open, mod enter doesnt start a shell etc. Same thing with 3, 4, 5, etc
It eventually does work, sometimes, eg. I open workspace 2, but then others dont work.
Oh, I think this is because Sway is putting (at least) one workspace on the HDMI output, even when nothing is plugged in. Try swaymsg output HDMI-A-1 disable on the command line or just output HDMI-A-1 disable in ~/.config/sway/config. Obviously you’ll need to reenable it to use an external display.
The issue that you see should not be there in the first place. Other people will run into this problem as well. Should we not investigate how we fix this thing for good?
So was the issue indeed that on the pocket reform with a311d, the hdmi output is enabled by default even though nothing is connected? That sounds like a big bug to me.
Even more so, since a311d is still limited (by nobody having implemented the fix yet) to either output to the internal display (of classic reform) or to hdmi but not to both at the same time.
Is the situation very different on the pocket? Why?
I investigated this a little when I first figured out what was happening. I don’t think the HDMI output is enabled per wayland, but I couldn’t figure out why sway was treating it as enabled.
Here’s what wlr-randr and sway say, with the stock sway config, on a311d pocket reform:
I don’t know why sway assigns workspaces to / enables outputs it knows are off, and I’m not sure how this behavior is different than e.g. imx8plus.
I also had some other issues with the HDMI output on a311d, so it seems like something is misconfigured somewhere in the display driver stack? But I couldn’t guess what.
I see the same issue on Gentoo on the regular Reform with A311D too though - I had to add a line to my sway config that disables the HDMI output at startup.
Since I am not running the official image, I feel it would be better if someone who does (or at least has an SD card with it ready) files the bug report.