Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2024 12:19:54 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Rostislav Krasny <rosti.bsd@gmail.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: [14.1-BETA2] Cannot run any Desktop Environment
Message-ID:  <CANCZdfp5VzwJYRNVXtL7%2B=qmrCqZ6TroO2rrrok7xf7m-Gvjdw@mail.gmail.com>
In-Reply-To: <CANt7McHMbV6%2B8aVNKNubXMGbtKOgTuQn-przAtp_KueHY8Y80g@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>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000001746f406186e0d9a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Tue, May 14, 2024 at 8:46=E2=80=AFAM Rostislav Krasny <rosti.bsd@gmail.c=
om>
wrote:

> On Tue, May 14, 2024 at 5:39=E2=80=AFPM Warner Losh <imp@bsdimp.com> wrot=
e:
> >
> > On Tue, May 14, 2024, 8:34=E2=80=AFAM 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=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 cause=
d
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.

Warner

--0000000000001746f406186e0d9a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Tue, May 14, 2024 at 8:46=E2=80=AF=
AM Rostislav Krasny &lt;<a href=3D"mailto:rosti.bsd@gmail.com">rosti.bsd@gm=
ail.com</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"=
margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef=
t:1ex">On Tue, May 14, 2024 at 5:39=E2=80=AFPM Warner Losh &lt;<a href=3D"m=
ailto:imp@bsdimp.com" target=3D"_blank">imp@bsdimp.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Tue, May 14, 2024, 8:34=E2=80=AFAM Rostislav Krasny &lt;<a href=3D"=
mailto:rosti.bsd@gmail.com" target=3D"_blank">rosti.bsd@gmail.com</a>&gt; w=
rote:<br>
&gt;&gt;<br>
&gt;&gt; If anybody is interested, there seems to be a serious issue in eit=
her<br>
&gt;&gt; the intel video driver or in the kernel that interacts with that<b=
r>
&gt;&gt; driver. All this could be related to sound through the integrated<=
br>
&gt;&gt; Intel HD 4600 video controller. Desktop Environments like Cinnamon=
 and<br>
&gt;&gt; LXQT use PulseAudion that probably triggers this issue constantly =
in<br>
&gt;&gt; the driver and/or in the kernel. Other DEs like XFCE work better o=
nly<br>
&gt;&gt; because they don&#39;t need PulseAudio and only when PulseAudio is=
 not<br>
&gt;&gt; installed. There is a scenario to trigger this issue in the XFCE<b=
r>
&gt;&gt; without PulseAudio installed, though.<br>
&gt;&gt;<br>
&gt;&gt; For more information, logs and reproduce scenarios please read my<=
br>
&gt;&gt; messages in the following 278930 bug report:<br>
&gt;&gt; <a href=3D"https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278=
930" rel=3D"noreferrer" target=3D"_blank">https://bugs.freebsd.org/bugzilla=
/show_bug.cgi?id=3D278930</a><br>
&gt;&gt;<br>
&gt;&gt; Hope this will be fixed in the FreeBSD 14.1 final release.<br>
&gt;<br>
&gt;<br>
&gt; Is that with packages? What happens if you build drm-kmod from src?<br=
>
<br>
Yes I installed drm-kmod from packages by the &#39;pkg install drm-kmod&#39=
;<br>
command and then added &quot;i915kms&quot; into the &quot;kld_list&quot; in=
side<br>
/etc/rc.conf<br>
I can try to build drm-kmod from src but why you suspect the result<br>
could be different?<br></blockquote><div><br></div><div>Because while we&#3=
9;re pretty good about binary compatibility between</div><div>14.0 and 14.1=
, the kernel side of that is weak. In the past, this has caused</div><div>w=
eird problems, not unlike what you&#39;re seeing. If you build from source<=
/div><div>and it works, then we&#39;ll know it&#39;s that issue, and not so=
mething else.</div><div><br></div><div>Warner <br></div></div></div>

--0000000000001746f406186e0d9a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfp5VzwJYRNVXtL7%2B=qmrCqZ6TroO2rrrok7xf7m-Gvjdw>