From owner-freebsd-multimedia@freebsd.org Thu Jan 25 09:53:55 2018 Return-Path: Delivered-To: freebsd-multimedia@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2F2BECCF63 for ; Thu, 25 Jan 2018 09:53:54 +0000 (UTC) (envelope-from markusalbertgraf@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 196FC74617 for ; Thu, 25 Jan 2018 09:53:54 +0000 (UTC) (envelope-from markusalbertgraf@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id f3so13761075wmc.1 for ; Thu, 25 Jan 2018 01:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=pmkhnwmfi4WG8YZ7IJIleRAD7rwu1nr4DxW/VhGGjtk=; b=smIxBOnC/OJVAJfL48CPeh4av5wEeFo4y1TicKjEzFCnbS0FpeSyCtDU9uwQ2slva3 q11XV23xT9aVC00jliVhkD3re+PHGqSeKAgbBGKP0Dk0mAaYMXjuaz2Nt+egFRZEYp9+ HIdbHHjR3P6dbIFQn8IAAoxlFMGPy7DAnBHQ0Frcm2Ex4PEhPsfoxl56V3psPlfynHuV UXhN6Ue2ACWuTYW5P1Pvt4yqYosFYACmBTdLCw+n1j8pyhd4J9/Rsqr5kCbNBAEFwcxy LoOUcylwd1QT3wd+mLw+Av1qiFDqTUZGgZ9v8iu0Lc+0Ap+oyhc8mJvXSw97itrlFrKM lsaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=pmkhnwmfi4WG8YZ7IJIleRAD7rwu1nr4DxW/VhGGjtk=; b=SNsk20Np16kIEw+JgwZ0VCDP0wYZvdPtSwdm09GTTIfdeP9EhgaSWfKBk+HY1QgkZ5 pAdJNarwkOGU9Ae4CnDOeBUi4ZTO1vpF5RbWaXoE1F7JIynG6PWB9YFQrX8krLQT4Gm5 ZFRh7/ecjydrynf9obOlzLJVjgBTTIj2XB4bFro+ji1FpsMXK6qA+8U3nNMNl8To0J9w auZYBUmABakzlmOHcjlRXJHsdfMJVbVJQ7NKQYx59KhKm2OSgl/e4tbXdhyC+PFItOnx UJo6ku6hOk1XL1aq6/hpgEBQRYJNpNRkomO8uoIiP2xn2gXWpqJ08U/K5KTw4sgMqpjL vG2w== X-Gm-Message-State: AKwxytfnCk9LuJ6XHjaxDgdctHkg7I0XZTwW/H56S6h+oDIQRNkrHXHU 1v/063HcBON0O1qP4G60sX9fhPMx/dU25Zry17FVdg== X-Google-Smtp-Source: AH8x226gQu0yFwVKzKjDpGl62YER91EBcoj6EcZZYb9SLee20ToZE3TSnabOOd7hHejpYs7OW4ODX/0sIfPQDnzH3ZQ= X-Received: by 10.28.105.79 with SMTP id e76mr6557096wmc.21.1516874032207; Thu, 25 Jan 2018 01:53:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.194.212 with HTTP; Thu, 25 Jan 2018 01:53:51 -0800 (PST) In-Reply-To: References: <1c2a4e3c-cc6a-4869-c4d5-0e1eb5fa29d0@selasky.org> From: Markus Graf Date: Thu, 25 Jan 2018 10:53:51 +0100 Message-ID: Subject: Re: dpms kills hdmi sound To: Hans Petter Selasky , freebsd-multimedia@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2018 09:53:55 -0000 Hi, this is a demesg after boot: Copyright (c) 1992-2018 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #2 r328189: Sat Jan 20 14:02:40 CET 2018 root@beasty:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NODEBUG amd64 FreeBSD clang version 6.0.0 (branches/release_60 321788) (based on LLVM 6.0.0) VT(efifb): resolution 800x600 CPU: Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (2304.08-MHz K8-class CPU) Origin="GenuineIntel" Id=0x506e3 Family=0x6 Model=0x5e Stepping=3 Features=0xbfebfbff Features2=0x7ffafbbf AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x29c6fbf XSAVE Features=0xf VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 17179869184 (16384 MB) avail memory = 16474333184 (15711 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: unblocking device. ioapic0 irqs 0-119 on motherboard SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #3 Launched! Timecounter "TSC-low" frequency 1152037677 Hz quality 1000 Cuse v0.1.35 @ /dev/cuse random: entropy device external interface netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff8103a5a0, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" kbd1 at kbdmux0 nexus0 cryptosoft0: on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 24000000 Hz quality 950 Event timer "HPET" frequency 24000000 Hz quality 550 Event timer "HPET1" frequency 24000000 Hz quality 440 Event timer "HPET2" frequency 24000000 Hz quality 440 Event timer "HPET3" frequency 24000000 Hz quality 440 Event timer "HPET4" frequency 24000000 Hz quality 440 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xf000-0xf03f mem 0xde000000-0xdeffffff,0xc0000000-0xcfffffff at device 2.0 on pci0 vgapci0: Boot video device xhci0: mem 0xdf510000-0xdf51ffff at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0: waiting for BIOS to give up control xhci_interrupt: host controller halted usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) ahci0: port 0xf090-0xf097,0xf080-0xf083,0xf060-0xf07f mem 0xdf528000-0xdf529fff,0xdf52c000-0xdf52c0ff,0xdf52b000-0xdf52b7ff at device 23.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahciem0: on ahci0 pcib1: at device 28.0 on pci0 pci1: on pcib1 xhci1: mem 0xdf400000-0xdf407fff at device 0.0 on pci1 xhci1: 32 bytes context size, 64-bit DMA xhci1: Unable to map MSI-X table usbus1 on xhci1 usbus1: 5.0Gbps Super Speed USB v3.0 pcib2: at device 28.4 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) re0: port 0xe000-0xe0ff mem 0xdf314000-0xdf314fff,0xdf310000-0xdf313fff at device 0.1 on pci2 re0: Using 1 MSI-X message re0: turning off MSI enable bit. re0: ASPM disabled re0: Chip rev. 0x5c800000 re0: MAC rev. 0x00000000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Using defaults for TSO: 65518/35/2048 re0: Ethernet address: 80:fa:5b:3b:70:e7 re0: netmap queues/slots: TX 1/256, RX 1/256 pcib3: at device 28.6 on pci0 pci3: on pcib3 iwm0: mem 0xdf200000-0xdf201fff at device 0.0 on pci3 pcib4: at device 28.7 on pci0 pci4: on pcib4 pci4: at device 0.0 (no driver attached) pcib5: at device 29.0 on pci0 pci5: on pcib5 nvme0: mem 0xdf000000-0xdf003fff at device 0.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 pci0: at device 31.2 (no driver attached) hdac0: mem 0xdf520000-0xdf523fff,0xdf500000-0xdf50ffff at device 31.3 on pci0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_lid0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 est0: on cpu0 est1: on cpu1 est2: on cpu2 est3: on cpu3 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec ugen1.1: <0x1b21 XHCI root HUB> at usbus1 ugen0.1: <0x8086 XHCI root HUB> at usbus0 uhub0: <0x1b21 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1 uhub1: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 iwm0: hw rev 0x200, fw ver 22.361476.0, address f0:d5:bf:0d:ea:8a nvd0: NVMe namespace nvd0: 244198MB (500118192 512 byte sectors) hdacc0: at cad 0 on hdac0 hdaa0: at nid 1 on hdacc0 pcm0: at nid 20,21 and 24 on hdaa0 pcm1: at nid 18 on hdaa0 hdacc1: at cad 2 on hdac0 hdaa1: at nid 1 on hdacc1 pcm2: at nid 6 on hdaa1 ses0 at ahciem0 bus 0 scbus2 target 0 lun 0 ses0: SEMB S-E-S 2.00 device ses0: SEMB SES Device ada0 at ahcich2 bus 0 scbus0 target 0 lun 0 ada0: ATA8-ACS SATA 3.x device ada0: Serial Number JR1004D31S22EM ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 953869MB (1953525168 512 byte sectors) Trying to mount root from zfs:zroot/ROOT/default []... cd0 at ahcich3 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number 435640505714 cd0: 150.000MB/s transfers (SATA 1.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt uhub0: 4 ports with 4 removable, self powered Root mount waiting for: usbus0 uhub1: 24 ports with 24 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 Root mount waiting for: usbus0 ugen0.3: at usbus0 ugen0.4: at usbus0 ukbd0 on uhub1 ukbd0: on usbus0 kbd2 at ukbd0 [drm] Initialized drmn0: on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Memory usable by graphics device = 4096M Failed to add WC MTRR for [0xc0000000-0xcfffffff]: -22; performance may suffer [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2 [drm] Connector eDP-1: get mode from tunables: [drm] - kern.vt.fb.modes.eDP-1 [drm] - kern.vt.fb.default_mode [drm] Connector DP-1: get mode from tunables: [drm] - kern.vt.fb.modes.DP-1 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-1: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-1 [drm] - kern.vt.fb.default_mode [drm] GuC firmware load skipped [drm] Initialized i915 1.6.0 20160919 for drmn on minor 0 VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=33177600 pbase=0xc0240000 vbase=0xfffff800c0240000 name=drmn0 flags=0x0 stride=15360 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: inteldrmfb frame buffer device i915/skl_dmc_ver1_26.bin: could not load firmware image, error 2 [drm] Finished loading i915/skl_dmc_ver1_26.bin (v1.26) [drm] RC6 on wlan0: Ethernet address: f0:d5:bf:0d:ea:8a re0: link state changed to DOWN re0: link state changed to UP ubt0 on uhub1 ubt0: on usbus0 ums0 on uhub1 ums0: on usbus0 ums0: 18 buttons and [XYZT] coordinates ID=2 WARNING: attempt to domain_add(bluetooth) after domainfinalize() WARNING: attempt to domain_add(netgraph) after domainfinalize() wlan0: link state changed to UP ubt0: ubt_ctrl_write_callback:782: control transfer failed: USB_ERR_TIMEOUT ng_hci_process_command_timeout: ubt0hci - unable to complete HCI command OGF=0x3, OCF=0x3. Timeout 2018-01-22 20:57 GMT+01:00 Markus Graf : > Hi, > > only > hdacc1: Unexpected unsolicited response with tag 63: ffffffff > hdacc1: Unexpected unsolicited response with tag 63: ffffffff > > Thanks for taking the time! > > Best regards > > Markus > > > 2018-01-22 19:33 GMT+01:00 Hans Petter Selasky : > >> On 01/22/18 19:32, Markus Graf wrote: >> >>> Hi, >>> >>> I connect my Skylake Laptop to an LG 43 inch 4k screen which has *much* >>> better speakers than the laptop. >>> >>> I use drm-next-kmod and sound via the skylake Intel Graphics via hdmi. >>> >>> Thank you guys it works great! >>> >>> Only thing is when the screen blanks I loose hdmi sound and it does not >>> come back. >>> I have not found any other way to bring it back than a reboot. >>> >>> As a workaround I disabled dpms and screensaver. This prevents dpms on >>> the >>> laptop too. >>> >>> Does anybody have any hints on what I need to do or where I could report >>> this. >>> >>> >> Are there any messages in dmesg, indicating some kind of error? >> >> --HPS >> >> >