Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 May 2021 21:46:53 +0200
From:      Matt K <kilikmatej@gmail.com>
To:        Graham Perrin <grahamperrin@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kld_list="drm" (was: i915kms kernel module causing freezes on FreeBSD 13.0-RELEASE)
Message-ID:  <CA%2B4jMaopYJcjofTY5t42bCc%2B8-w08KJjFy34yHY-y1kxup0Xjg@mail.gmail.com>
In-Reply-To: <849f51ec-86a9-ccd8-8bde-175c27b15270@gmail.com>
References:  <CA%2B4jMao_YgwF_Jn8CG8ucU0c7AgnmoBknMtPEhPet0XcJJrr9A@mail.gmail.com> <68023ace-7338-5e39-28f9-22bf1ff78365@gmail.com> <alpine.BSF.2.20.2105072136430.96788@tripel.monochrome.org> <CA%2B4jMaqH7-Z7YCtoxvHdeOwA_g=s1=wuw3RfsueUuiPeAk1kng@mail.gmail.com> <849f51ec-86a9-ccd8-8bde-175c27b15270@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Interesting,

I read through all that info. Interesting info for me was from Polytropon
about the module loading order. I experimented a bit and loaded i915kms
through /usr/local/etc/rc.d script and it also worked. But this does not
surprise you, I suppose. Thank you for all those links.
Your persistence through the years is certainly inspiring.
Shouldn't your findings be mentioned in the handbook? By at least a few
words, such as: "if you have problems with kld_list=3Dradeonkms/i915kms, tr=
y
kld_list=3Ddrm". Apparently, there are some people with similar problems, s=
o
maybe solving the problem preemptively by documenting it, is the way to go.
I don't know the protocol here, this is my first time contacting the
FreeBSD mailing list.

On Sat, May 8, 2021 at 1:52 PM Graham Perrin <grahamperrin@gmail.com> wrote=
:

> On 08/05/2021 07:10, Matt K wrote:
>
> On Sat, May 8, 2021 at 1:08 AM Graham Perrin <grahamperrin@gmail.com>
> wrote:
>
>>
>> Try a third approach:
>>
>> kld_list=3D"drm"
>>
>>
> This works. I will keep an eye on the system, logs, etc, and let you know
> what I find. Now everything seems to be working as advertised. With
> xf86-video-intel, even TearFree is working.
> Where is this behavior documented?
>
>
> FreeBSD for Pretty Little Unicorns, 1st Edition.
>
>
> How did you know about this solution?
>
>
> It came to me in a dream. Whispered by the ghost of Barbara Stanwyck, onc=
e
> the highest-paid woman in the United States and famed for movies such as
> 'Sorry, Wrong Number'. Lesser-known but no less valuable contributions to
> postmodern creative thinking include 'Sorry, Wrong Module'.
>
>
> I think that this means that my problem is solved, but the question
> remains: why does i915kms cause freezes when loaded from rc.conf and work=
s
> normally when loaded by hand? This is not handbook-documented behavior. N=
or
> is it consistent or transparent.
>
>
> Maybe not Intel-specific.
>
> I find kld_list=3D"drm" less troublesome than kld_list=3D"radeonkms" with
> Thames [Radeon HD 7550M/7570M/7650M] with SDDM. A recent probe:
> <https://bsd-hardware.info/?probe=3De90abb54c9#d10>;
> <https://bsd-hardware.info/?probe=3De90abb54c9#d10>.
>
> My voyage of discovery spanned around three years. Maybe longer. A few
> flashbacks:
>
>
> <https://lists.freebsd.org/pipermail/freebsd-current//2018-September/0713=
27.html>
> <https://lists.freebsd.org/pipermail/freebsd-current//2018-September/0713=
27.html>
> (2018) I found kld_list=3D"/boot/modules/radeonkms.ko" troublesome with
> FreeBSD 12.0-ALPHA7
>
>
> <https://lists.freebsd.org/pipermail/freebsd-questions/2018-October/28311=
3.html>
> <https://lists.freebsd.org/pipermail/freebsd-questions/2018-October/28311=
3.html>
> (2018) "=E2=80=A6 toying with the possibility that =E2=80=A6 a specific l=
oad/start order
> might help."
>
>
> <https://github.com/FreeBSDDesktop/kms-drm/issues/101#issuecomment-450776=
731>
> <https://github.com/FreeBSDDesktop/kms-drm/issues/101#issuecomment-450776=
731>
> (2019) I found drm-legacy-kmod better than drm-current-kmod with
> 13.0-CURRENT
>
>
> <https://lists.freebsd.org/pipermail/freebsd-current/2020-November/077693=
.html>
> <https://lists.freebsd.org/pipermail/freebsd-current/2020-November/077693=
.html>
> (2020) kld_list=3D"/boot/modules/drm.ko" worked for me, keyword:
>
>     peculiar
>
> Eventually I condensed the working peculiarity to kld_list=3D"drm".
>
> More accurately (in context =E2=80=93 SDDM, KDE Plasma and so on):
> <https://pastebin.com/4XjNFaKk>; <https://pastebin.com/4XjNFaKk>; line 17.
>


--=20
MK



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B4jMaopYJcjofTY5t42bCc%2B8-w08KJjFy34yHY-y1kxup0Xjg>