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

HDMI sound lost after upgrade to drm-61-kmod #296

Open
mzary opened this issue Apr 3, 2024 · 2 comments
Open

HDMI sound lost after upgrade to drm-61-kmod #296

mzary opened this issue Apr 3, 2024 · 2 comments
Labels
audio bug Something isn't working i915 i915 related problems

Comments

@mzary
Copy link

mzary commented Apr 3, 2024

Describe the bug
Sound worked with drm-51{0,5}-kmod on the laptop, but it's broken now.

FreeBSD version
FreeBSD bsdondell.lab.pwste.edu.pl 14.0-STABLE FreeBSD 14.0-STABLE #14 stable/14-n267036-e87a6f886046-dirty: Sun Mar 24 10:36:12 CET 2024 [email protected]:/usr/obj/usr/src/amd64.amd64/sys/MINTAKA amd64 1400510 1400510
PCI Info

% pciconf -lv hostb0@pci0:0:0:0: class=0x060000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x5914 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 rev=0x07 hdr=0x00 vendor=0x8086 device=0x5917 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'UHD Graphics 620' class = display subclass = VGA none0@pci0:0:4:0: class=0x118000 rev=0x08 hdr=0x00 vendor=0x8086 device=0x1903 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem' class = dasp xhci0@pci0:0:20:0: class=0x0c0330 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d2f subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP USB 3.0 xHCI Controller' class = serial bus subclass = USB pchtherm0@pci0:0:20:2: class=0x118000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d31 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP Thermal subsystem' class = dasp ig4iic0@pci0:0:21:0: class=0x118000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d60 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP Serial IO I2C Controller' class = dasp ig4iic1@pci0:0:21:1: class=0x118000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d61 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP Serial IO I2C Controller' class = dasp none1@pci0:0:22:0: class=0x078000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d3a subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP CSME HECI' class = simple comms none2@pci0:0:22:3: class=0x070002 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d3d subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP Active Management Technology - SOL' class = simple comms subclass = UART ahci0@pci0:0:23:0: class=0x010400 rev=0x21 hdr=0x00 vendor=0x8086 device=0x282a subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = '82801 Mobile SATA Controller [RAID mode]' class = mass storage subclass = RAID pcib1@pci0:0:28:0: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0x9d10 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:2: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0x9d12 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:4: class=0x060400 rev=0xf1 hdr=0x01 vendor=0x8086 device=0x9d14 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP PCI Express Root Port' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d4e subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point LPC/eSPI Controller' class = bridge subclass = PCI-ISA none3@pci0:0:31:2: class=0x058000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d21 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP PMC' class = memory hdac0@pci0:0:31:3: class=0x040380 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d71 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP HD Audio' class = multimedia subclass = HDA ichsmb0@pci0:0:31:4: class=0x0c0500 rev=0x21 hdr=0x00 vendor=0x8086 device=0x9d23 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Sunrise Point-LP SMBus' class = serial bus subclass = SMBus em0@pci0:0:31:6: class=0x020000 rev=0x21 hdr=0x00 vendor=0x8086 device=0x15d7 subvendor=0x1028 subdevice=0x0817 vendor = 'Intel Corporation' device = 'Ethernet Connection (4) I219-LM' class = network subclass = ethernet rtsx0@pci0:1:0:0: class=0xff0000 rev=0x01 hdr=0x00 vendor=0x10ec device=0x525a subvendor=0x1028 subdevice=0x0817 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTS525A PCI Express Card Reader' iwm0@pci0:2:0:0: class=0x028000 rev=0x78 hdr=0x00 vendor=0x8086 device=0x24fd subvendor=0x8086 subdevice=0x0050 vendor = 'Intel Corporation' device = 'Wireless 8265 / 8275' class = network vgapci1@pci0:3:0:0: class=0x030200 rev=0xa2 hdr=0x00 vendor=0x10de device=0x174d subvendor=0x1028 subdevice=0x0817 vendor = 'NVIDIA Corporation' device = 'GM108M [GeForce MX130]' class = display subclass = 3D

DRM KMOD version
Paste the output of pkg query -x '%n %v' 'drm.*kmod'

drm-61-kmod 6.1.69_2

To Reproduce
Steps to reproduce the behavior:

Upgrade drm-kmod to 61 version

Screenshots
New errors of two types showed up after upgrading to drm-61-kmod:

hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdacc1: Unexpected unsolicited response with tag 63: ffffffff
hdac0: Command 0x20220011 timeout on address 2
hdac0: Command 0x20270d01 timeout on address 2
hdac0: Command 0x20270630 timeout on address 2
hdac0: Command 0x20272d01 timeout on address 2
hdac0: Command 0x20373400 timeout on address 2
hdac0: Command 0x20373411 timeout on address 2
hdac0: Command 0x203734f2 timeout on address 2
hdac0: Command 0x203734f3 timeout on address 2
hdac0: Command 0x203734f4 timeout on address 2
hdac0: Command 0x203734f5 timeout on address 2
hdac0: Command 0x203734f6 timeout on address 2
hdac0: Command 0x203734f7 timeout on address 2
hdac0: Command 0x20370740 timeout on address 2
hdac0: Command 0x20373000 timeout on address 2
hdac0: Command 0x20373200 timeout on address 2
hdac0: Command 0x20373000 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373000 timeout on address 2
hdac0: Command 0x20373184 timeout on address 2
hdac0: Command 0x20373101 timeout on address 2
hdac0: Command 0x2037310a timeout on address 2
hdac0: Command 0x20373170 timeout on address 2
hdac0: Command 0x20373101 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373100 timeout on address 2
hdac0: Command 0x20373000 timeout on address 2
hdac0: Command 0x203732c0 timeout on address 2
hdac0: Command 0x20270d00 timeout on address 2
hdac0: Command 0x20270600 timeout on address 2

Additional context
Add any other context about the problem here.

drmn0: successfully loaded firmware image 'i915/kbl_dmc_ver1_04.bin'
drmn0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
drmn0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
drmn0: [drm] [ENCODER:113:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
sysctl_warn_reuse: can't re-use a leaf (hw.dri.debug)!
lkpi_iic3: on drm1
iicbus3: on lkpi_iic3
iic3: <I2C generic I/O> on iicbus3
lkpi_iic4: on drm2
iicbus4: on lkpi_iic4
iic4: <I2C generic I/O> on iicbus4
lkpi_iic5: on drm3
iicbus5: on lkpi_iic5
iic5: <I2C generic I/O> on iicbus5
[drm] Initialized i915 1.6.0 20201103 for drmn0 on minor 0

I hope it helps to make it work before 14.1 RELEASE.

Marek

@evadot evadot added bug Something isn't working i915 i915 related problems audio labels Apr 3, 2024
@evadot
Copy link
Contributor

evadot commented Apr 3, 2024

Thanks for the report.
It will probably be hard to fix for me as it never worked on my kabylake laptop ...

@rosti-il
Copy link

Actually both versions of this driver have bugs in its sound capabilities with influence even to its video capabilities:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278930

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
audio bug Something isn't working i915 i915 related problems
Projects
None yet
Development

No branches or pull requests

3 participants