[Bug 259995] x11/nvidia-driver: Not initialized when running inside Hyper-V.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 23 Nov 2021 16:37:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259995

            Bug ID: 259995
           Summary: x11/nvidia-driver: Not initialized when running inside
                    Hyper-V.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: khng@freebsd.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

The following is the kernel log output:
----
vgapci0: <VGA-compatible display> mem
0x41000000-0x41ffffff,0xff0000000-0xfffffffff,0xfe2000000-0xfe3ffffff at device
0.0 on pci0
nvidia0: <NVIDIA GeForce GTX 1050 Ti> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
last message repeated 1 times
NVRM: The NVIDIA GPU afeb:00:00.0
NVRM: (PCI ID: 10de:1c82) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
nvidia0: NVRM: NVIDIA driver attach failed.
device_attach: nvidia0 attach returned 6
----

The pciconf -bclv output:
----
vgapci0@pci45035:0:0:0: class=0x030000 rev=0xa1 hdr=0x00 vendor=0x10de
device=0x1c82 subvendor=0x1462 subdevice=0x8c96
    vendor     = 'NVIDIA Corporation'
    device     = 'GP107 [GeForce GTX 1050 Ti]'
    class      = display
    subclass   = VGA
    bar   [10] = type Memory, range 32, base 0x41000000, size 16777216, enabled
    bar   [14] = type Prefetchable Memory, range 64, base 0xf0000000, size
268435456, enabled
    bar   [1c] = type Prefetchable Memory, range 64, base 0xe2000000, size
33554432, enabled
    cap 01[60] = powerspec 3  supports D0 D3  current D0
    cap 05[68] = MSI supports 1 message, 64 bit
    cap 10[78] = PCI-Express 2 legacy endpoint max data 256(256) RO
                 max read 512
                 link x16(x16) speed 2.5(8.0) ASPM disabled(L0s/L1) ClockPM
enabled
    ecap 0002[100] = VC 1 max VC0
    ecap 0004[128] = Power Budgeting 1
    ecap 0001[420] = AER 2 0 fatal 0 non-fatal 0 corrected
    ecap 000b[600] = Vendor [1] ID 0001 Rev 1 Length 36
    ecap 0019[900] = PCIe Sec 1 lane errors 0
----

The guide I followed is:
https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/deploying-graphics-devices-using-dda

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