when to use DRM-Latest-KMOD aka version 6.9 ?

Is it assumed that DRM-latest-Kmod version 69 is to be used with Freebsd 15.1 ?

Im seeing kernel panics trying to start Graphics ( startx or start wayland ) On modern hardware ( eg Arrow Lake cpu with Nvidia RTXPRO 4000 Blackwell ) when using drm-66-kmod. Ill rebuild with drm-69-kmod tomorrow.
 
What does drm-61-kmod? Using that on Raptor Lake / UHD Graphics 770
I haven't seen a clear explanation of which 1 is needed per Intel class.
 
The drm for 15.1 is supposed to be 6.12, there is phabricator review to update drm-latest-kmod to that (eventually drm-kmod should default to that also). It will work on current, stable and 15.1 only.

But the when is easy, you use which ever version works best for you. Example, if you have a krakan point amd igpu (or something xe3 related from intel) you probably want 6.12 with the corresponding firmware. Otherwise 6.6 or whatever version drm-kmod pulls for the os version one is running.
For older hardware older versions may provide better results (drm development is not a stable process).

On the other hand if you are using nvidia hardware I suggest asking T-Aoki, because the nvidia driver version also brings its own joy (plus all the fun of linuxkpi).
 
The drm for 15.1 is supposed to be 6.12, there is phabricator review to update drm-latest-kmod to that (eventually drm-kmod should default to that also).
Maybe you mean D56670 and D56888?

For main (aka 16-CURRENT), DRM 6.12 is introduced at commit base 1569e2334ab5b2ee1e2b7893cb05c17a27d3eca8 (DRM 6.12.84) and __FreeBSD_version (same as OSVERSION in ports) was bumped to 1600018.
For stable/15, the commit above was MFC'ed as commit base c969df6ccef61ffc01d038eee383d0852e66da3d and __FreeBSD_version was bumped to 1500509 (this means it's prior to releng/15.1 branch).

And not yet landed onto ports tree, upstream made 6.12-lts branch.
This basically means graphics/drm-612-kmod should be created at some point (numbered port like existing graphics/drm-{515|61|66}-kmod are created for LTS versions), and above-mentioned reviers are for it.

We (NVIDIA driver team) would need to add corresponding graphics/nvidia-drm-612-kmod{-580|-devel} ports once graphics/drm-612-kmod is created.
But I've not yet tried it. Anyway, it would happen "AFTER" graphics/drm-612-kmod lands, as we need to test with committed version before submitting diff for NVIDIA driver side.
 
After REMOVING DRM-69 initialization from /boot/loader.conf and /etc/rc.conf, the machine is able to start graphics without DRM.
this is a new Modern Hardware . SHuttle Barebone SB860R8 , with Arrow Lake Core Ultra 9 285K cpu , and Nvidia RTXPRO 4000 Blackwell.
I installed FreeBSD 15.1. BETA2 on it Yesterday. Is this a Base issue or a DRM issue ? No difference in using DRM-66 or DRM-69.
 

Attachments

  • DRM_induced_kernel_panic .jpg
    DRM_induced_kernel_panic .jpg
    1.4 MB · Views: 15
  • fastfetch.jpg
    fastfetch.jpg
    1.5 MB · Views: 18
After REMOVING DRM-69 initialization from /boot/loader.conf and /etc/rc.conf, the machine is able to start graphics without DRM.
this is a new Modern Hardware . SHuttle Barebone SB860R8 , with Arrow Lake Core Ultra 9 285K cpu , and Nvidia RTXPRO 4000 Blackwell.
I installed FreeBSD 15.1. BETA2 on it Yesterday. Is this a Base issue or a DRM issue ? No difference in using DRM-66 or DRM-69.
Can you post,
kldstat | grep -i nvidia
kldstat | grep -i drm
There must be some driver ...
Maybe you have something like ?,
x11/nvidia-driver
or
graphics/nvidia-drm-kmod
 
Can you post,
kldstat | grep -i nvidia
kldstat | grep -i drm
There must be some driver ...
Maybe you have something like ?,
x11/nvidia-driver
or
graphics/nvidia-drm-kmod
Desktop works if i have
kld_list="nvidia-modeset" in rc.conf

When I put
hw.nvidia.modeset=1 in /boot/loader.conf and kld_list="nvidia-drm" in /etc/rc.conf machine kernel crash when attmting to start graphic desktop.

so the issue is obviously triggered by old DRM version executing on Hardware it isnt desgined for.
 
If you've installed graphics/drm-latest-kmod and want to use it in conjunction with x11/nvidia-driver and x11/nvidia-kmod, you need graphics/nvidia-drm-latest-kmod, not nvidia-drm-{515|61|66}-kmod.

On the other hand, if you've installed graphics/drm-66-kmod (defaulf for 15.x), you need graphics/nvidia-drm-66-kmod instead of graphics/nvidia-drm-latest-kmod.

Are you sure it is?

And note that Blackwell generation of NVIDIA GPUs are known to require GSP firmware loaded to work (optional for previous generations).
You need hw.nvidia.registry.EnableGpuFirmware=1 in your /boot/loader.conf for it.

Are you sure you have it?
 
If you've installed graphics/drm-latest-kmod and want to use it in conjunction with x11/nvidia-driver and x11/nvidia-kmod, you need graphics/nvidia-drm-latest-kmod, not nvidia-drm-{515|61|66}-kmod.

On the other hand, if you've installed graphics/drm-66-kmod (defaulf for 15.x), you need graphics/nvidia-drm-66-kmod instead of graphics/nvidia-drm-latest-kmod.

Are you sure it is?

And note that Blackwell generation of NVIDIA GPUs are known to require GSP firmware loaded to work (optional for previous generations).
You need hw.nvidia.registry.EnableGpuFirmware=1 in your /boot/loader.conf for it.

Are you sure you have it?
Hi

Yes I first ran " # pkg delete -a " then installed Nvidia-drm-latest-kmod with drm-latest-kmod with nvidia-driver 595-58-03 and Xorg and it results in a Kernel Panic when executing # startx
I also knew about the requirement to load the firmware for Blackwell which i did, as the boot stopped without the firmware.
I also tried Wayland with DRM which ends in same type of Kernel Panic.

The result of the tests is that the Blackwell GPU works and KDE/Plasma works if DRM is not activated.
maybe user "farenheit" is right that the crash is caused by the intelGpu. The Intel Core Ultra 9 285 CPU includes the new XE iGPU.
and FreeBSD does not have an Xe driver yet.
 
Back
Top