Hi,
I'm trying to get NVIDIA PRIME/offloading to work on a hybrid laptop running FreeBSD 15.1-RELEASE-p7.
Hardware
I'm using NVIDIA 580 from Quarterly:
Problem
After loading the NVIDIA DRM driver:
doas kldload nvidia-drm
Both GPUs register with DRM/KMS:
hw.dri.0.name: i915 0x61
hw.dri.0.busid: pci:0000:00:02.0
hw.dri.1.name: nvidia-drm 0x62
hw.dri.1.busid: pci:0000:01:00.0
However, Xorg fails to start with:
modeset(G0): [DRI2] DRI driver: nouveau
(EE) modeset(G0): Failed to create pixmap
Fatal server error:
failed to create screen resources
This also happens with startx, so it isn't SLiM-specific.
After unloading both nvidia-drm and nvidia-modeset, Intel graphics starts successfully and OXWM works OK. The proprietary nvidia.ko module and GSP firmware remain loaded too.
Xorg configuration
I have an Intel OutputClass with PrimaryGPU "yes" and an explicitly defined Intel Device section.
The NVIDIA package-provided OutputClass matches nvidia-drm and specifies the proprietary nvidia Xorg driver. It does not contain PrimaryGPU "yes".
Questions
I can provide the full Xorg logs, pciconf, devinfo, and package information.
btw if you are a mod and i made some mistakes let me know this my first
I'm trying to get NVIDIA PRIME/offloading to work on a hybrid laptop running FreeBSD 15.1-RELEASE-p7.
Hardware
- Intel Raptor Lake UHD Graphics — PCI 00:02.0
- NVIDIA GeForce RTX 5050 Laptop GPU (GB207M) — PCI 01:00.0
- Internal display connected to Intel.
- Xorg with OXWM, started via startx.
I'm using NVIDIA 580 from Quarterly:
- nvidia-driver-580-580.178.04_1
- nvidia-kmod-580
- nvidia-drm-612-kmod-580
- drm-612-kmod
Problem
After loading the NVIDIA DRM driver:
doas kldload nvidia-drm
Both GPUs register with DRM/KMS:
hw.dri.0.name: i915 0x61
hw.dri.0.busid: pci:0000:00:02.0
hw.dri.1.name: nvidia-drm 0x62
hw.dri.1.busid: pci:0000:01:00.0
However, Xorg fails to start with:
modeset(G0): [DRI2] DRI driver: nouveau
(EE) modeset(G0): Failed to create pixmap
Fatal server error:
failed to create screen resources
This also happens with startx, so it isn't SLiM-specific.
After unloading both nvidia-drm and nvidia-modeset, Intel graphics starts successfully and OXWM works OK. The proprietary nvidia.ko module and GSP firmware remain loaded too.
Xorg configuration
I have an Intel OutputClass with PrimaryGPU "yes" and an explicitly defined Intel Device section.
The NVIDIA package-provided OutputClass matches nvidia-drm and specifies the proprietary nvidia Xorg driver. It does not contain PrimaryGPU "yes".
Questions
- Is there a known compatibility issue between NVIDIA 580 and DRM 6.12 on FreeBSD 15.1?
- Why does Xorg report nouveau as the DRI2 driver when the proprietary NVIDIA driver is installed?
- What is the recommended Intel-primary/NVIDIA-offload configuration on FreeBSD?
I can provide the full Xorg logs, pciconf, devinfo, and package information.
btw if you are a mod and i made some mistakes let me know this my first