Open basilcar007 opened 5 years ago
drm-stable-kmod
is no more; see Port Moves at https://www.freshports.org/graphics/drm-stable-kmod
You might like to try drm-legacy-kmod
OK, I will try drm-legacy-kmod as a last resort (although I am not sure if Braswell graphics is supported).
If that also fails, I am going back to linux... :(
I would recommend start with graphics/drm-kmod rather than drm-legacy-kmod. Drm-legacy-kmod is the legacy driver, drm-stable-kmod is moved to drm-fbsd12.0-kmod or drm-fbsd11.2-kmod, depending on your FreeBSD version. drm-kmod is a meta port that will install the correct one for your OS version.
Tried drm-legacy-kmod but still no sound! I have to admit that having no audio through HDMI in 2019 sucks!
Back to linux then, until this issue is resolved.. :-P
Still no audio through HDMI :(
% uname -a FreeBSD vnflaptopmi 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64
% cat /dev/sndstat Installed devices: pcm0: <Realtek ALC298 (Internal Analog)> (play/rec) default pcm1: <Realtek ALC298 (Left Analog Headphones)> (play) pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> (play) No devices installed from userspace.
% pkg info | grep kmod drm-fbsd12.0-kmod-4.16.g20200221 DRM modules for the linuxkpi-based KMS components drm-kmod-g20190710 Metaport of DRM modules for the linuxkpi-based KMS components gpu-firmware-kmod-g20200130 Firmware modules for the linuxkpi-based KMS components
In my case, this discussion helped: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229190 .
And adding this line " compat.linuxkpi.i915_disable_power_well="0" " to loader.conf
Hi,
I have a Intel NUC PPYH: https://ark.intel.com/products/87740/Intel-NUC-Kit-NUC5PPYH
I don't get any audio from the HDMI connected to my LG HDTV (video is working fine). Tried firefox (youtube) and kodi. No audio is coming out from TV speakers.
At "/boot/loader.conf" I have: snd_hda_load="YES"
At "/etc/rc.conf" I have: kld_list="/boot/modules/i915kms.ko"
"cat /dev/sndstat" gives: Installed devices: pcm0: <Realtek ALC283 (Analog)> (play/rec) pcm1: <Realtek ALC283 (Front Analog Headphones)> (play) pcm2: <Realtek ALC283 (Internal Digital)> (play) pcm3: <Intel (0x2883) (HDMI/DP 8ch)> (play) default No devices installed from userspace.
Since at "/etc/sysctl.conf" I have appended: hw.snd.default_unit: 3
My user is in group: video
Currently, I am using the modesetting Xorg driver. I have also tried the intel Xorg driver [but soon ditched that, because of extreme artifacts showing up in plasma (aka kde5)], still no sound. I have also tried "drm-stable-kmod" with same results.
System is: FreeBSD 12.0-RELEASE r341666 GENERIC amd64 Pkg is: drm-fbsd12.0-kmod-4.16.g20181215
Since I am planning to use this NUC as HTPC, having no HDMI audio is a no-go for me... :(
dmesg output:
---<<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-RELEASE r341666 GENERIC amd64 FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) VT(efifb): resolution 1920x1080 CPU: Intel(R) Pentium(R) CPU N3700 @ 1.60GHz (1600.05-MHz K8-class CPU) Origin="GenuineIntel" Id=0x406c3 Family=0x6 Model=0x4c Stepping=3 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x101<LAHF,Prefetch> Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG> Structured Extended Features3=0xc000000<IBPB,STIBP> VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory = 8589934592 (8192 MB) avail memory = 7632932864 (7279 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <INTEL NUC5PPYB> WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1) FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) random: unblocking device. ioapic0 <Version 2.0> irqs 0-114 on motherboard Launching APs: 2 3 1 Timecounter "TSC" frequency 1600053680 Hz quality 1000 random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff810f9770, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" nexus0 efirtc0: <EFI Realtime Clock> on motherboard efirtc0: registered as a time-of-day clock, resolution 1.000000s cryptosoft0: <software crypto> on motherboard acpi0: <INTEL NUC5PPYB> on motherboard acpi0: Power Button (fixed) unknown: I/O range not supported cpu0: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x77 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: <AT timer> 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-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> port 0xf000-0xf03f mem 0x80000000-0x80ffffff,0x90000000-0x9fffffff irq 16 at device 2.0 on pci0 vgapci0: Boot video device sdhci_pci0: <Intel Braswell SDXC Controller> mem 0x8141c000-0x8141cfff irq 18 at device 18.0 on pci0 sdhci_pci0: 1 slot(s) allocated mmc0: <MMC/SD bus> on sdhci_pci0 ahci0: <AHCI SATA controller> port 0xf060-0xf07f mem 0x8141b000-0x8141b7ff irq 19 at device 19.0 on pci0 ahci0: AHCI v1.31 with 2 6Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 xhci0: <Intel Braswell USB 3.0 controller> mem 0x81400000-0x8140ffff irq 20 at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0: waiting for BIOS to give up control usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: <base peripheral, DMA controller> at device 24.0 (no driver attached) pci0: <serial bus> at device 24.6 (no driver attached) pci0: <serial bus> at device 24.7 (no driver attached) pci0: <encrypt/decrypt> at device 26.0 (no driver attached) hdac0: <Intel (0x2284) HDA Controller> mem 0x81410000-0x81413fff irq 22 at device 27.0 on pci0 pcib1: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pcib1: [GIANT-LOCKED] pcib2: <ACPI PCI-PCI bridge> at device 28.1 on pci0 pci1: <ACPI PCI bus> on pcib2 pci1: <network> at device 0.0 (no driver attached) pcib3: <ACPI PCI-PCI bridge> at device 28.2 on pci0 pci2: <ACPI PCI bus> on pcib3 re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xe000-0xe0ff mem 0x81204000-0x81204fff,0x81200000-0x81203fff irq 18 at device 0.0 on pci2 re0: Using 1 MSI-X message re0: ASPM disabled re0: Chip rev. 0x54000000 re0: MAC rev. 0x00100000 miibus0: <MII bus> on re0 rgephy0: <RTL8251/8153 1000BASE-T media interface> 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: b8:ae:ed:78:24:4a re0: netmap queues/slots: TX 1/256, RX 1/256 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 acpi_lid0: <Control Method Lid Switch> on acpi0 acpi_button0: <Sleep Button> on acpi0 acpi_tz0: <Thermal Zone> on acpi0 orm0: <ISA Option ROM> at iomem 0xd0000-0xd0fff pnpid ORM0000 on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. est0: <Enhanced SpeedStep Frequency Control> on cpu0 Timecounters tick every 1.000 msec ugen0.1: <0x8086 XHCI root HUB> at usbus0 mmc0: No compatible cards found on bus hdacc0: <Realtek ALC283 HDA CODEC> at cad 0 on hdac0 hdaa0: <Realtek ALC283 Audio Function Group> at nid 1 on hdacc0 pcm0: <Realtek ALC283 (Analog)> at nid 27 and 25 on hdaa0 pcm1: <Realtek ALC283 (Front Analog Headphones)> at nid 33 on hdaa0 pcm2: <Realtek ALC283 (Internal Digital)> at nid 30 on hdaa0 hdacc1: <Intel (0x2883) HDA CODEC> at cad 2 on hdac0 hdaa1: <Intel (0x2883) Audio Function Group> at nid 1 on hdacc1 pcm3: <Intel (0x2883) (HDMI/DP 8ch)> at nid 7 on hdaa1 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <KINGSTON SV300S37A60G 608ABBF0> ATA8-ACS SATA 3.x device ada0: Serial Number 50026B72630E1E9C ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 512bytes) ada0: Command Queueing enabled ada0: 57241MB (117231408 512 byte sectors) Trying to mount root from ufs:/dev/ada0p2 [rw]... uhub0: 13 ports with 13 removable, self powered ugen0.2: <NOVATEK USB Keyboard> at usbus0 ukbd0 on uhub0 ukbd0: <NOVATEK USB Keyboard, class 0/0, rev 1.10/1.12, addr 1> on usbus0 kbd2 at ukbd0 ugen0.3: <PixArt Microsoft USB Optical Mouse> at usbus0 drmn0: <drmn> on vgapci0 vgapci0: child drmn0 requested pci_enable_io vgapci0: child drmn0 requested pci_enable_io [drm] Unable to create a private tmpfs mount, hugepage support will be disabled(-19). __pm_runtime_resume not implemented -- see your local kernel hacker Successfully added WC MTRR for [0x90000000-0x9fffffff]: 0; [drm] Got stolen memory base 0x5ee00000, size 0x20000000 [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [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] Connector DP-2: get mode from tunables: [drm] - kern.vt.fb.modes.DP-2 [drm] - kern.vt.fb.default_mode [drm] Connector HDMI-A-2: get mode from tunables: [drm] - kern.vt.fb.modes.HDMI-A-2 [drm] - kern.vt.fb.default_mode pm_runtime_get_if_in_use not implemented -- see your local kernel hacker pm_runtime_mark_last_busy not implemented -- see your local kernel hacker __pm_runtime_suspend not implemented -- see your local kernel hacker sched_setscheduler_nocheck not implemented -- see your local kernel hacker register_oom_notifier not implemented -- see your local kernel hacker [drm] Initialized i915 1.6.0 20171222 for drmn0 on minor 0 register_acpi_notifier not implemented -- see your local kernel hacker async_schedule is dodgy -- see your local kernel hacker pm_runtime_set_autosuspend_delay not implemented -- see your local kernel hacker __pm_runtime_use_autosuspend not implemented -- see your local kernel hacker async_synchronize_cookie not implemented -- see your local kernel hacker VT: Replacing driver "efifb" with new "fb". start FB_INFO: type=11 height=1080 width=1920 depth=32 cmsize=16 size=8294400 pbase=0x90020000 vbase=0xfffff80090020000 name=drmn0 flags=0x0 stride=7680 bpp=32 cmap[0]=0 cmap[1]=7f0000 cmap[2]=7f00 cmap[3]=c4a000 end FB_INFO drmn0: fb0: inteldrmfb frame buffer device drmn0: vecs0 is not idle before parking intel_engines_park 0xfffffe000057d860Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d860Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870Vintel_engines_park 0xfffffe000057d870V ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0 uhub1 on uhub0 uhub1: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/32.98, addr 3> on usbus0 uhub1: MTT enabled lo0: link state changed to UP re0: link state changed to DOWN uhub1: 4 ports with 4 removable, self powered usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT re0: link state changed to UP usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_TIMEOUT, ignored) iwm0: <Intel(R) Dual Band Wireless AC 3165> mem 0x81300000-0x81301fff irq 17 at device 0.0 on pci1 iwm0: hw rev 0x210, fw ver 22.361476.0, address 34:02:86:d2:91:23 usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_TIMEOUT ugen0.5: <Unknown > at usbus0 (disconnected) uhub_reattach_port: could not allocate new device uhid0 on uhub0 uhid0: <NOVATEK USB Keyboard, class 0/0, rev 1.10/1.12, addr 1> on usbus0 ums0 on uhub0 ums0: <PixArt Microsoft USB Optical Mouse, class 0/0, rev 1.10/1.00, addr 2> on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 Security policy loaded: MAC/ntpd (mac_ntpd)