Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2026 04:08:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 294870] graphics/drm-66-kmod, graphics/drm-61-kmod: Fails to build on stable/15 after commit ports d94082fc799f
Message-ID:  <bug-294870-7141-wCemxQm1Hx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294870-7141@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294870

Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |x11@FreeBSD.org
 Attachment #270325|                            |maintainer-approval?(x11@Fr
              Flags|                            |eeBSD.org)

--- Comment #13 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
Created attachment 270325
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=270325&action=edit
Temporary patch to fix builds

Real fixes on upstream seems to take more time to finish.

And trying upstream include reorder diff (partially fixed the diff for main
branch there to be applicable in graphics/drm-66-kmod/files/) alone (with or
without mine) caused another confusing build issue related with
"-Wno-default-const-init-var-unsafe".

So decided to attach the patch working on stable/15 with xorg for me as a
temporary hot fix.

This contains the diff here and at Bug294875 merged (both were in my comments,
not as attachments), both for graphics/drm-61-kmod and graphics/drm-66-kmod.

Hope this could be of some hint for upstream.

Note that I'm not using Intel nor AMD GPUs (Intel iGPU is disabled via UEFI
firmware) but NVIDIA RTX A400 using graphics/nvidia-drm-66-kmod-devel, thus,
drm.ko and  dmabuf.ko are loaded as dependencies of nvidia-drm.ko, but others
like amdgpu.ko, i915kms.ko nor ttm.ko are not loaded for me.
But at least built and packaged fine for me on stable/15 (bare-metal and
poudriere).

Another note is that my NVIDIA driver ports are at 595.71.05 which I was just
going to submit unless last-minute rebase is bitten by this breakage.

  https://www.nvidia.com/en-us/drivers/details/267226/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294870-7141-wCemxQm1Hx>