Re: [14.1-BETA2] Cannot run any Desktop Environment
Date: Wed, 15 May 2024 18:37:56 UTC
On Tue, May 14, 2024 at 9:20 PM Warner Losh <imp@bsdimp.com> wrote: > > On Tue, May 14, 2024 at 8:46 AM Rostislav Krasny <rosti.bsd@gmail.com> wrote: >> >> On Tue, May 14, 2024 at 5:39 PM Warner Losh <imp@bsdimp.com> wrote: >> > >> > On Tue, May 14, 2024, 8:34 AM Rostislav Krasny <rosti.bsd@gmail.com> wrote: >> >> >> >> If anybody is interested, there seems to be a serious issue in either >> >> the intel video driver or in the kernel that interacts with that >> >> driver. All this could be related to sound through the integrated >> >> Intel HD 4600 video controller. Desktop Environments like Cinnamon and >> >> LXQT use PulseAudion that probably triggers this issue constantly in >> >> the driver and/or in the kernel. Other DEs like XFCE work better only >> >> because they don't need PulseAudio and only when PulseAudio is not >> >> installed. There is a scenario to trigger this issue in the XFCE >> >> without PulseAudio installed, though. >> >> >> >> For more information, logs and reproduce scenarios please read my >> >> messages in the following 278930 bug report: >> >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278930 >> >> >> >> Hope this will be fixed in the FreeBSD 14.1 final release. >> > >> > >> > Is that with packages? What happens if you build drm-kmod from src? >> >> Yes I installed drm-kmod from packages by the 'pkg install drm-kmod' >> command and then added "i915kms" into the "kld_list" inside >> /etc/rc.conf >> I can try to build drm-kmod from src but why you suspect the result >> could be different? > > > Because while we're pretty good about binary compatibility between > 14.0 and 14.1, the kernel side of that is weak. In the past, this has caused > weird problems, not unlike what you're seeing. If you build from source > and it works, then we'll know it's that issue, and not something else. It fails differently with locally built drm-kmod. I wrote about that in the bug report comment #8: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278930#c8 How I built drm-kmod: 1. download and extract src.txz and ports.txz from the 14.1-BETA2 amd64 folder at FreeBSD FTP server 2. cd /usr/ports/graphics/drm-kmod && make install