Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displayport only works if it's connected when kmod is loaded #299

Open
rbgarga opened this issue Apr 16, 2024 · 0 comments
Open

Displayport only works if it's connected when kmod is loaded #299

rbgarga opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working i915 i915 related problems

Comments

@rbgarga
Copy link
Member

rbgarga commented Apr 16, 2024

Describe the bug
If displayport is connected when i915kms module is loaded, it works, otherwise it doesn't

FreeBSD version
FreeBSD x230 15.0-CURRENT FreeBSD 15.0-CURRENT main-n269431-f750dce972ef GENERIC-NODEBUG amd64 1500018 1500018

PCI Info

pciconf -lv

hostb0@pci0:0:0:0: class=0x060000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x0154 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '3rd Gen Core processor DRAM Controller'
class = bridge
subclass = HOST-PCI
vgapci0@pci0:0:2:0: class=0x030000 rev=0x09 hdr=0x00 vendor=0x8086 device=0x0166 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '3rd Gen Core processor Graphics Controller'
class = display
subclass = VGA
xhci0@pci0:0:20:0: class=0x0c0330 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e31 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C210 Series Chipset Family USB xHCI Host Controller'
class = serial bus
subclass = USB
none0@pci0:0:22:0: class=0x078000 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e3a subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family MEI Controller'
class = simple comms
uart2@pci0:0:22:3: class=0x070002 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e3d subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C210 Series Chipset Family KT Controller'
class = simple comms
subclass = UART
em0@pci0:0:25:0: class=0x020000 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1502 subvendor=0x17aa subdevice=0x21f3
vendor = 'Intel Corporation'
device = '82579LM Gigabit Network Connection (Lewisville)'
class = network
subclass = ethernet
ehci0@pci0:0:26:0: class=0x0c0320 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e2d subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family USB Enhanced Host Controller'
class = serial bus
subclass = USB
hdac0@pci0:0:27:0: class=0x040300 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e20 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family High Definition Audio Controller'
class = multimedia
subclass = HDA
pcib1@pci0:0:28:0: class=0x060400 rev=0xc4 hdr=0x01 vendor=0x8086 device=0x1e10 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family PCI Express Root Port 1'
class = bridge
subclass = PCI-PCI
pcib2@pci0:0:28:1: class=0x060400 rev=0xc4 hdr=0x01 vendor=0x8086 device=0x1e12 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C210 Series Chipset Family PCI Express Root Port 2'
class = bridge
subclass = PCI-PCI
pcib3@pci0:0:28:2: class=0x060400 rev=0xc4 hdr=0x01 vendor=0x8086 device=0x1e14 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C210 Series Chipset Family PCI Express Root Port 3'
class = bridge
subclass = PCI-PCI
ehci1@pci0:0:29:0: class=0x0c0320 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e26 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family USB Enhanced Host Controller'
class = serial bus
subclass = USB
isab0@pci0:0:31:0: class=0x060100 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e55 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = 'QM77 Express Chipset LPC Controller'
class = bridge
subclass = PCI-ISA
ahci0@pci0:0:31:2: class=0x010601 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e03 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series Chipset Family 6-port SATA Controller [AHCI mode]'
class = mass storage
subclass = SATA
ichsmb0@pci0:0:31:3: class=0x0c0500 rev=0x04 hdr=0x00 vendor=0x8086 device=0x1e22 subvendor=0x17aa subdevice=0x21fa
vendor = 'Intel Corporation'
device = '7 Series/C216 Chipset Family SMBus Controller'
class = serial bus
subclass = SMBus
sdhci_pci0@pci0:2:0:0: class=0x088001 rev=0x04 hdr=0x00 vendor=0x1180 device=0xe823 subvendor=0x17aa subdevice=0x21fa
vendor = 'Ricoh Co Ltd'
device = 'PCIe SDXC/MMC Host Controller'
class = base peripheral
iwn0@pci0:3:0:0: class=0x028000 rev=0x34 hdr=0x00 vendor=0x8086 device=0x0085 subvendor=0x8086 subdevice=0x1311
vendor = 'Intel Corporation'
device = 'Centrino Advanced-N 6205 [Taylor Peak]'
class = network

DRM KMOD version
drm-61-kmod 6.1.69_2

To Reproduce
Boot with displayport connected and disconnected

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
It works as expected on linux

Here is the dmesg with displayport plugged:
https://gist.github.com/rbgarga/80b225c7f069c87770cab68e40bdbd94

And here is dmesg without it:
https://gist.github.com/rbgarga/3c23d46dcb369f67382a28b7b7a9a048

@evadot evadot added bug Something isn't working i915 i915 related problems labels Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working i915 i915 related problems
Projects
None yet
Development

No branches or pull requests

2 participants