Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 22:16:52 +0300
From:      Rostislav Krasny <rosti.bsd@gmail.com>
To:        Warner Losh <imp@bsdimp.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: [14.1-BETA2] Cannot run any Desktop Environment
Message-ID:  <CANt7McGqqA0DW8SegfkXbOywWUsXaYUPqZ66%2BwCPhxBMWNp-yg@mail.gmail.com>
In-Reply-To: <CANt7McFPuqRWWWomWdU4kXBcqWS4aOjOvN-zRnySixRUFtJt4g@mail.gmail.com>
References:  <CANt7McF_H0izwB11f5x7ZrCduQ78_1KHXvDxQgG=-SovSo6ATw@mail.gmail.com> <CANt7McEzi70p_AY0waWRD3zrPn4%2BgZqLFJfB_jan7acYBvys%2BQ@mail.gmail.com> <CANt7McEFg8ajyaNEe4QgwDs4E7ewomLeFLfedUdWGn2Ee0oW-w@mail.gmail.com> <CANt7McEGWTJo3r%2BL0PxkiOM2XDcjXsomw%2BaSy%2Bs=9_XQXti7CQ@mail.gmail.com> <CANCZdfqYEp0YtxtGsPrDBd0k0Nz5y_GiphOsDFzayDTjCtYpdw@mail.gmail.com> <CANt7McHMbV6%2B8aVNKNubXMGbtKOgTuQn-przAtp_KueHY8Y80g@mail.gmail.com> <CANCZdfp5VzwJYRNVXtL7%2B=qmrCqZ6TroO2rrrok7xf7m-Gvjdw@mail.gmail.com> <CANt7McFPuqRWWWomWdU4kXBcqWS4aOjOvN-zRnySixRUFtJt4g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 15, 2024 at 9:37=E2=80=AFPM Rostislav Krasny <rosti.bsd@gmail.c=
om> wrote:
>
> On Tue, May 14, 2024 at 9:20=E2=80=AFPM Warner Losh <imp@bsdimp.com> wrot=
e:
> >
> > On Tue, May 14, 2024 at 8:46=E2=80=AFAM Rostislav Krasny <rosti.bsd@gma=
il.com> wrote:
> >>
> >> On Tue, May 14, 2024 at 5:39=E2=80=AFPM Warner Losh <imp@bsdimp.com> w=
rote:
> >> >
> >> > On Tue, May 14, 2024, 8:34=E2=80=AFAM Rostislav Krasny <rosti.bsd@gm=
ail.com> wrote:
> >> >>
> >> >> If anybody is interested, there seems to be a serious issue in eith=
er
> >> >> 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 i=
n
> >> >> the driver and/or in the kernel. Other DEs like XFCE work better on=
ly
> >> >> 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=3D278930
> >> >>
> >> >> 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 c=
aused
> > 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=3D278930#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

Surprisingly versions of the drm-kmod (drm-kmod-20220907_3) dependency
(the actual driver) are very different:
1. drm-61-kmod: 6.1.69_2 (from ports)
2. drm-515-kmod: 5.15.118_4 (from pkg)
How could this happen?

Do you want to continue our conversation in the bug comments?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANt7McGqqA0DW8SegfkXbOywWUsXaYUPqZ66%2BwCPhxBMWNp-yg>