[Bug 282308] nvidia-driver: NVIDIA MEM resource alloc failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 24 Oct 2024 20:20:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282308

            Bug ID: 282308
           Summary: nvidia-driver: NVIDIA MEM resource alloc failed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: contato@christianbatista.info

I'm sorry, but i'm trying all not sucess. Edited /boot/loader.conf in FreeBSD
14 and now 15-current (current worked my integrated graphics) it's not worked
my card nvidia 3050 6gb:
dmesg output
nvidia0: <NVIDIA GeForce RTX 3050 6GB Laptop GPU> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: 0x1000000 bytes of rid 0x10 res 3 failed (0, 0xffffffffffffffff).
nvidia0: NVRM: NVIDIA MEM resource alloc failed, BAR0 @ 0x10.
nvidia0: NVRM: NVIDIA hardware alloc failed.
device_attach: nvidia0 attach returned 6

my /etc/rc.conf
# cat /etc/rc.conf
hostname="legion5"
keymap="br.kbd"
wlans_iwlwifi0="wlan0"
ifconfig_wlan0="WPA  DHCP"
ifconfig_wlan0_ipv6="inet6 accept_rtadv"
sshd_enable="YES"
moused_enable="YES"
powerd_enable="YES"
# Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable
dumpdev="AUTO"
kld_list="i915kms"
linux_enable="YES"
dbus_enable="YES"
utility_enable="YES"

/boot/loader.conf
hw.pci.allow_unsupported_io_range=1

my output  pciconf -lv | grep -B3 VGA
    vendor     = 'Intel Corporation'
    device     = 'Raptor Lake-P [UHD Graphics]'
    class      = display
    subclass   = VGA
--
    vendor     = 'NVIDIA Corporation'
    device     = 'GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU]'
    class      = display
    subclass   = VGA


using nvidia-driver-550.120
trying file package or compiled ports no sucess.Sorry my bad english.

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