Looks like Sway triggers a bug in the i915 kernel driver. Doesn't happen here on the latest image, give it a try.
I have no idea, so go with generic.
A slight improvement I would say. But, eventually FF still hangs and eventually crashes.
This problem was gone (for me) with the -rc6 kernel. More patches went in before the final release.
So, maybe it's a kernel issue ?
Or, did you configure FF differently at the time of the -rc6-based builds (10...14 days ago) ?
dmesg:
[ 1979.399923] Asynchronous wait on fence i915:sway[1357]:48b0 timed out (hint:intel_atomic_commit_ready+0x0/0x54)
[ 1983.473520] i915 0000:00:02.0: GPU HANG: ecode 8:1:0x85dffffb, in sway [1357], stopped heartbeat on rcs0
[ 1983.473524] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 1983.473525] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 1983.473526] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 1983.473527] The GPU crash dump is required to analyze GPU hangs, so please always attach it.
[ 1983.473528] GPU crash dump saved to /sys/class/drm/card0/error
[ 1983.576026] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2078.791318] perf: interrupt took too long (2520 > 2500), lowering kernel.perf_event_max_sample_rate to 79200
[ 2287.443598] Asynchronous wait on fence i915:sway[1357]:875a timed out (hint:intel_atomic_commit_ready+0x0/0x54)
[ 2292.665644] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2303.443252] Asynchronous wait on fence i915:sway[1357]:8764 timed out (hint:intel_atomic_commit_ready+0x0/0x54)
[ 2307.599778] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2343.643548] docker0: port 1(veth7fa588b) entered disabled state
[ 2343.643827] veth7ec5664: renamed from eth0
[ 2343.708970] docker0: port 1(veth7fa588b) entered disabled state
[ 2343.723557] device veth7fa588b left promiscuous mode
[ 2343.723565] docker0: port 1(veth7fa588b) entered disabled state
[ 2346.535583] Asynchronous wait on fence i915:sway[1357]:8cf2 timed out (hint:intel_atomic_commit_ready+0x0/0x54)
[ 2350.478511] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2366.751954] docker0: port 1(veth687e866) entered blocking state
[ 2366.751958] docker0: port 1(veth687e866) entered disabled state
[ 2366.752741] device veth687e866 entered promiscuous mode
[ 2367.249717] eth0: renamed from veth4daef5d
[ 2367.263889] IPv6: ADDRCONF(NETDEV_CHANGE): veth687e866: link becomes ready
[ 2367.264018] docker0: port 1(veth687e866) entered blocking state
[ 2367.264025] docker0: port 1(veth687e866) entered forwarding state
[ 2437.514826] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2483.594441] i915 0000:00:02.0: Resetting rcs0 for stopped heartbeat on rcs0
[ 2507.218543] perf: interrupt took too long (3170 > 3150), lowering kernel.perf_event_max_sample_rate to 63000
[ 2591.515987] r8169 0000:03:00.0: invalid short VPD tag 00 at offset 1