[Bug 289647] graphics/drm-61-kmod: X11 with nvidia-drm-61-kmod fails to start after commit ac934345a14f

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

Seyed Pouria Mousavizadeh Tehrani <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
                   |                            |om

--- Comment #36 from Seyed Pouria Mousavizadeh Tehrani <[email protected]> ---
Created attachment 263951
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263951&action=edit
Xorg.0.log

I was using the nvidia-drm-66-kmod until my dual monitor setup broke.
I followed your bug report from ML and found I have the exact same issue.

```
[   146.420] (II) Initializing extension DRI2
[   147.985] (II) modeset(G0): Damage tracking initialized
[   147.985] (EE) modeset(0): Failed to create pixmap
[   147.985] (EE) 
Fatal server error:
[   147.985] (EE) failed to create screen resources(EE) 
[   147.985] (EE) 
Please consult the The X.Org Foundation support 
```

I have deinstalled the nvidia-drm-66-kmod, compiled nvidia-drm-61-kmod with
your patch, then rebooted, and got a kernel panic.

devinfo -v
```
  acpi0<COREv4 COREBOOT>
    acpi_sysresource0<System Resource> pnpinfo _HID=PNP0C02 _UID=0 _CID=none at
handle=\_SB_.PERC
    pcib0<ACPI Host-PCI bridge> pnpinfo _HID=PNP0A08 _UID=0 _CID=PNP0A03 at
handle=\_SB_.PCI0
      pci0<ACPI PCI bus>
        hostb0<Host to PCI bridge> pnpinfo vendor=0x8086 device=0xa702
subvendor=0x1558 subdevice=0xd502 class=0x060000 at slot=0 function=0
dbsf=pci0:0:0:0 handle=\_SB_.PCI0.MCHC
        pcib1<ACPI PCI-PCI bridge> pnpinfo vendor=0x8086 device=0xa70d
subvendor=0x1558 subdevice=0xd502 class=0x060400 at slot=1 function=0
dbsf=pci0:0:1:0 handle=\_SB_.PCI0.PEG1
          pci1<ACPI PCI bus>
            vgapci0<VGA-compatible display> pnpinfo vendor=0x10de device=0x28e0
subvendor=0x10de subdevice=0x0000 class=0x030000 at slot=0 function=0
dbsf=pci0:1:0:0 handle=\_SB_.PCI0.PEG1.DEV0
              drmn0
              nvidia0<NVIDIA GeForce RTX 4060 Laptop GPU>
                drm128
                drm0
                  drm1
                    drm5
                      lkpi_iic9<LinuxKPI I2C>
                        iicbus11<Philips I2C bus>
                          iic11<I2C generic I/O> at addr=0
                    drm6
                      lkpi_iic10<LinuxKPI I2C>
                        iicbus12<Philips I2C bus>
                          iic12<I2C generic I/O> at addr=0
                    drm7
                    drm8
                      lkpi_iic11<LinuxKPI I2C>
                        iicbus13<Philips I2C bus>
                          iic13<I2C generic I/O> at addr=0
                    drm9
                  drm2
                  drm3
                  drm4
            hdac0<NVIDIA (0x22be) HDA Controller> pnpinfo vendor=0x10de
device=0x22be subvendor=0x10de subdevice=0x0000 class=0x040300 at slot=0
function=1 dbsf=pci0:1:0:1
              hdacc0<NVIDIA (0x00a7) HDA CODEC> pnpinfo vendor=0x10de
device=0x00a7 revision=0x01 stepping=0x00 at cad=0
                hdaa0<NVIDIA (0x00a7) Audio Function Group> pnpinfo type=0x01
subsystem=0x10de0000 at nid=1
                  pcm0<NVIDIA (0x00a7) (HDMI/DP 8ch)> at nid=4
                  pcm1<NVIDIA (0x00a7) (HDMI/DP 8ch)> at nid=6
                  pcm2<NVIDIA (0x00a7) (HDMI/DP 8ch)> at nid=7
        vgapci1<VGA-compatible display> pnpinfo vendor=0x8086 device=0xa788
subvendor=0x1558 subdevice=0xd502 class=0x030000 at slot=2 function=0
dbsf=pci0:0:2:0 handle=\_SB_.PCI0.GFX0
          drmn1<drmn>
            drm129
            lkpi_iic0<LinuxKPI I2C>
              iicbus2<Philips I2C bus>
```

with nvidia-drm-66-kmod:
```
hw.dri.0.name: nvidia-drm 0xe6
hw.dri.1.name: i915 0xe7
hw.dri.0.busid: pci:0000:01:1a.0
hw.dri.1.busid: pci:0000:00:02.0
```

freebsd-version -kr
16.0-CURRENT (main-n280520-4c3a868d13c0)
16.0-CURRENT

-- 
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.