[Bug 293362] graphics/nvidia-drm-kmod: No devices on 15.0

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293362

--- Comment #21 from Tomoaki AOKI <[email protected]> ---
Tried reproducing but still cannot reproduce.

Both xorg (with Mate DE + Compiz) and Wayland (with Wayfire I've tried before)
started up fine on 580.126.18. RTX A400 (Ampere generation of arch), stable/15
at commit base a9f454a9c79810d60261d03dbec73c29396bf128, amd64.

Core i9-12900H with iGPU disabled via UEFI settings and monitor is connected
via miniDP on the A400 card.

Ports tree is on main branch at commit ports
f076286b8aaa4277e975abad13183c43432d7d4f.

What I did is overriding version as below and rebuilt
  x11/nvidia-kmod-devel
  x11/nvidia-driver-devel
  x11/linux-nvidia-libs-devel
  graphics/nvidia-drm-66-kmod-devel
  graphics/nvidia-drm-kmod-devel
using pkg_replace.

Restarted whole OS, try starting Wayfire on the user I've created to try
Wayland compositors (currently partially configured for Wayfire) and started up
fine.

Restarted whole OS and installed labwc and partially rewrote the startup script
for Wayfire to invoke labwc instead, starts fine.
Not sure why, but as console (vty0) stops working normally after Wayland
compositors exits, I always restart once I've tried any compositor.

Note that I've kept compositors tested for at least in few minutes to see it
crashes or not, but neither crashed while running.

Started Xorg after restart as usual on my usual user, starts and runs fine.
Commented out NVIDIA_OVERRIDE_VERSION= line below in /etc/make.conf and rebuilt
above-mentioned ports to restore 590.48.01 (current -devel version), restarted,
and I'm here now as usual.


     ===== Applicable configs in /etc/make.cond =====

NVIDIA_OVERRIDE_VERSION= 580.126.18

.if ${.CURDIR:M/usr/ports/x11/nvidia-driver*} && defined
(NVIDIA_OVERRIDE_VERSION)
  DISTVERSION=  ${NVIDIA_OVERRIDE_VERSION}
  NO_CHECKSUM=  YES
.endif

.if ${.CURDIR:M/usr/ports/x11/nvidia-kmod*} && defined
(NVIDIA_OVERRIDE_VERSION)
  DISTVERSION=  ${NVIDIA_OVERRIDE_VERSION}
  NO_CHECKSUM=  YES
.endif

.if ${.CURDIR:M/usr/ports/x11/linux-nvidia-libs*} && defined
(NVIDIA_OVERRIDE_VERSION)
  DISTVERSION=  ${NVIDIA_OVERRIDE_VERSION}
  NO_CHECKSUM=  YES
.endif

## graphics/nvidia-drm-*-kmod supports 550 series and above only.
## Don't attempt to override before 550 series!
.if ${.CURDIR:M/usr/ports/graphics/nvidia-drm-*-kmod*} && defined
(NVIDIA_OVERRIDE_VERSION)
  NVIDIA_DISTVERSION=   ${NVIDIA_OVERRIDE_VERSION}
  NO_CHECKSUM=  YES
.endif

     ===== End quotes =====

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.