Wayland problem with intel xe graphics card
First of all, I am conducting this test on hyprland based on wlroots. I think this may not be within the scope of hyprland, so I will post the question here temporarily, hoping to seek help or suggestions from the community!
I purchased an Intel Iris Xe DG1 graphics card. In order to make it work, I compiled the driver kernel branch of drm-xe-next at: https://gitlab.freedesktop.org/drm/xe/kernel/-/tree/drm-xe-next
This kernel requires the following parameters to force boot:
xe.force_probe=4908 i915.force_probe=!4908
At the same time, compile mesa yourself to open the intel-xe-kmd parameter for identification
This all seems to be going well and the wayland compositor can be started successfully. However, when I run any program, whether it is wayland processing or not, almost always an error occurs. The most typical error is:
GDK IS MONITOR asserts an error (there is a chance of success, but it is very rare), and then finally reports a shared memory error (for some reasons, it is impossible for me to copy the error message immediately, so I cannot guarantee that the error message is not biased, but it is almost like this ) If it is run in XWAYLAND, it will get stuck directly.
Does anyone know what is going on? Also, when I use x11 it seems normal, however, since x11 is much older than wayland, I would rather use wayland than the ancient technology that is about to be phased out!
I'm confused now, is it a problem with the DRM driver and mesa support, or is it a problem with the wayland synthesizer?
dmesg:
segfault at 48 1p 00007f82baae0e74 sp 00007ff836db538 error 4 in libwayland-client.so.0.22.0 .......
It even happens sometimes! ! !