Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2022 23:59:53 +0100
From:      Stefan Esser <se@FreeBSD.org>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, x11@freebsd.org
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Latest drm-devel-kmod port not working? (was: Re: Kernel changes causing AMDGPU / DRM to fail? i2c related?)
Message-ID:  <a38b8ba1-a488-60cf-ae4c-ce7499330d34@FreeBSD.org>
In-Reply-To: <20220130072549.85a1365c78a5779238d72183@dec.sakura.ne.jp>
References:  <a9560156-4d67-7ca2-e276-31e5585ce58e@FreeBSD.org> <20220130072549.85a1365c78a5779238d72183@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------QLR7m6aktuDOmnFFnvgNa15V
Content-Type: multipart/mixed; boundary="------------jsV0PxIPDTHgxFwXO60CNg0V";
 protected-headers="v1"
From: Stefan Esser <se@FreeBSD.org>
To: Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, x11@freebsd.org
Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>
Message-ID: <a38b8ba1-a488-60cf-ae4c-ce7499330d34@FreeBSD.org>
Subject: Latest drm-devel-kmod port not working? (was: Re: Kernel changes
 causing AMDGPU / DRM to fail? i2c related?)
References: <a9560156-4d67-7ca2-e276-31e5585ce58e@FreeBSD.org>
 <20220130072549.85a1365c78a5779238d72183@dec.sakura.ne.jp>
In-Reply-To: <20220130072549.85a1365c78a5779238d72183@dec.sakura.ne.jp>

--------------jsV0PxIPDTHgxFwXO60CNg0V
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Am 29.01.22 um 23:25 schrieb Tomoaki AOKI:
> On Sat, 29 Jan 2022 22:25:17 +0100
> Stefan Esser <se@FreeBSD.org> wrote:
>=20
>> After rebooting with freshly built world, kernel and the amdgpu driver=

>> my console stopped working. It goes blank and the display goes into a
>> power save mode, as soon as the amdgpu driver is loaded.
>>
>> The GPU (a Radeon R7 250E) is correctly detected as before, but there
>> is an error message "drmn0: [drm] Cannot find any crtc or sizes".
[...]
> Are you sure your ports tree is up-to-date and graphics/drm-*-kmod
> you installed (IIRC, should be needed for -intel and -amdgpu drivers)
> is also updated? drm-*-kmod could be affected by LinuxKPI updates in
> base.

Yes, I rebuild the system from sources at least once a day, but do
only reboot every few days, especially if there has been any change
that might cause incompatibilities between kernel and user land.

And I always rebuild all KLDs together with the kernel, including
all the driver module ports relevant for X11.

>  *There can be some (sometime very wide) timeframe between LinuxKPI
>   update and corresponding linux-*-kmod catches up with it.

X11 was working just fine on a system built and rebooted a few days
ago.

> Looking into cgit.freebsd.org, at least drm-current-kmod is updated 36
> hours ago. Not sure it's related or not, though.

I had missed that update - and YES you are right. I'm using the devel
version and after reverting the update to drm_v5.5.19_7 the driver
does attach again.

Thanks for the hint!

>  *I always prefer nvidia dGPU because of these dangerous span.
>   So I've forced to choose ThinkPad P series (without "s") which
>   usually can disable CPU-integrated Intel GPU and run nvidia GPU
>   alone though BIOS setting.

I had issues with Nvidia cards (and the closed source driver modules
and libraries) before and for that reason bought a passively cooled
Radeon card for this development workstation.

Best regards, STefan

--------------jsV0PxIPDTHgxFwXO60CNg0V--

--------------QLR7m6aktuDOmnFFnvgNa15V
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmH1xukFAwAAAAAACgkQR+u171r99UTZ
IAf/eBuIpV5aLt/NMvZE6O6J2PoTxYIZj3199fhKCE/5tFJtICSMK6lrxacJDkJ0KRf5IIto92io
f6g4Fmxs+EokcOUXAlb9ZVvlTOKrKDWWxAdqX9uErHjFCHInFT3INUFrSHIncBiCJdndqAb/B7Ut
O46fa8POKWKqtwxzmWZyydyU0N3sA8/222dVxvl7tGZRa7ti1fhCQXs50vDYNObte0J1+GjIcDDD
M6gFvhok2oexMGK87dvtSA9AD4Q4oMqSGUmpyhHMDdHy/R+Xz0SmNtk6w/mtpeb45wx9JDbQ8YR8
kdaU7fMhR7wC58SWL95NdCZ+4u3aoMVxe8+I0LrttA==
=pMRs
-----END PGP SIGNATURE-----

--------------QLR7m6aktuDOmnFFnvgNa15V--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a38b8ba1-a488-60cf-ae4c-ce7499330d34>