I can confirm that installing drm-510-mod fixed it. Wayland starts now on that laptop.
Great. I'm not in any way specialized in Wayland and its (developers support reach of its) graphics stack, but my subjective impression is that it is much more in flux and, at least on FreeBSD, tends to be a bit more of a niche thing compared to Xorg; I may be wrong on this.
If you're going to persue this problem further then, from my point of view, I'd suggest you concentrate first in getting the problem more clearly with Xorg and use a fresh thread for that (as this one is rather Wayland specific).
Comparing drm-510-kmod with drm-515-kmod, it seems that your CPU+GPU seems to expose a transition from working to not-working. It seems reasonable that when drm-510-kmod is going to be deprecated (I have no time-line for that) you'll have a problem; for Wayland as well as Xorg.
In addition, I also installed Xorg. In order to be able to start it I had to additionally install xf86-video-intel.
I don't understand what has gone wrong with drm-510-kmod & Xorg and that you seem to have to resort to using xf86-video-intel for that. The Xorg modesetting driver should be sufficient. To have a look at that I'll need to see your
/var/log/Xorg.0.log. Based on (as referenced by
T-Daemon):
So I did some more testing and removed
drm-kmod
and the legacy drivers
xf86-video-intel
, and only install
drm-510-kmod
and its working.
Also tried with
drm-515-kmod
and again...
Code:
Fatal server error:
(EE) Caught signal 6 (Abort trap). Server aborting
So I wonder, whats the difference between
drm-kmod
and
drm-510-kmod
?
I'd say drm-510-kmod and an Xorg
modesetting driver should be working; i.e. without
x11-drivers/xf86-video-intel, which is a legacy driver that does not make use of Kernel ModeSetting as provided by for example drm-510-kmod, drm-515-kmod and drm-61-kmod.
Exploring further, current development seems to be directed at drm-61-kmod, and as it is the default for 14.1-RELEASE that (especially comparing that with a working drm-510-kmod, if you can get that working without installing
x11-drivers/xf86-video-intel) would be the more future proof way of solidifying working support for your CPU/GPU.
Does that mean that I have to build drm-61-kmod from source? If so, could you please show what I would need need to configure for that?
No, you do not have to build it from source. drm-61-kmod,
as a package, has come available for 14.1-RELEASE only very recently; it is now available:
drm-61-kmod - packages; you can just do
pkg install drm-kmod
and that should give you drm-61-kmod (verify that).