Re: Drm-kmod and 14-CURRENT

From: Graham Perrin <grahamperrin_at_freebsd.org>
Date: Sat, 15 Oct 2022 11:52:45 UTC
On 14/10/2022 18:53, Pete Wright wrote:
>
> On 10/14/22 10:14, Patrick Bowen wrote:
>> Hello all,
>>
>> I've just used reinstall.sh to add a CURRENT boot environment to a 
>> 13.1 ZFS installation. Xorg doesn't load in CURRENT, presumably 
>> because the drm-kmod doesn't work with 14. I tried to build 
>> drm-current-kmod from ports but the build errors out.
>>
>> I can send all the error messages and dmesg and such if necessary, 
>> but I'm betting it's just a simple fix that I'm unaware of. The 
>> graphics is i915 Intel BTW.

Patrick: which version of FreeBSD, exactly?

freebsd-version -kru ; uname -aKU


> I think you want to use graphics/drm-510-kmod
>
> this is what i use on my systems running CURRENT, it tracks the 5.10 
> linux kernel.  iirc drm-current-kmod and drm-devel-kmod have been 
> retired in favor of this one.

True, drm-current-kmod and drm-devel-kmod were deleted on 1st May 2022:

<https://github.com/FreeBSD/freebsd-ports/commit/fae9e49dd63f411983cc9a7f62f0fa8418797b35>

graphics/drm-kmod is a meta-port that does work on FreeBSD 14.0-CURRENT. 
7th September:

<https://github.com/freebsd/freebsd-ports/commit/e236c994bc87a3be67f030b5c7c6ff72df119ac5> 


graphics/drm-kmod should automatically install graphics/drm-510-kmod. 
Packaged:

<https://www.freshports.org/graphics/drm-510-kmod/#packages>

The package was built in a 1400072 jail environment on a 1400063 host:

<http://beefy18.nyi.freebsd.org/data/main-amd64-default/p73caab237543_sab9293239c/logs/drm-510-kmod-5.10.113_7.log>