[SOLVED] [kodi-rpi 19.2-1] no sound over hdmi using fkms

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

Re: [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby graysky » Sun Oct 17, 2021 1:28 pm

$this->bbcode_second_pass_code('', '% cat /boot/config.txt
over_voltage=6
arm_freq=2000

dtoverlay=vc4-fkms-v3d,cma-512
dtoverlay=rpivid-v4l2
dtoverlay=
disable_overscan=1
disable_fw_kms_setup=1
')

There is no audio device present for me with this configuration. The section under Settings > Audio is literally grayed out.

kodi.log is spammed with lines like:
$this->bbcode_second_pass_code('', '...
2021-10-17 09:26:13.816 T:757 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-10-17 09:26:13.816 T:757 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958"
2021-10-17 09:26:13.821 T:757 INFO <general>: CAESinkALSA - Unable to open device "iec958:AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00" for playback
2021-10-17 09:26:13.821 T:757 INFO <general>: CAESinkALSA - Unable to open device "iec958" for playback
2021-10-17 09:26:13.821 T:757 ERROR <general>: CAESinkALSA::Initialize - failed to initialize device "iec958"
2021-10-17 09:26:13.821 T:757 ERROR <general>: CActiveAESink::OpenSink - no sink was returned
2021-10-17 09:26:13.821 T:756 ERROR <general>: ActiveAE::InitSink - returned error
...')

Replacing dtoverlay=vc4-fkms-v3d,cma-512 with dtoverlay=vc4-kms-v3d,cma-512 restores the expected behavior (three options under audio output).
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby darksky » Sun Oct 17, 2021 5:09 pm

kodi-rpi 19.2-1 sound is working good here with FKMS but I had to have this in cmdline.txt unless it would do what OP posted:

snd-bcm2835.enable_compat_alsa=1

This also seems to be the issue wit the latest RPi 5.14 and 5.15-rc kernels and not just with kodi.

KMS:
snd-bcm2835.enable_compat_alsa=0
FKMS:
snd-bcm2835.enable_compat_alsa=1

Basically this looks like this it turns on and off the bcm2835-hdmi and vc4-hdmi sound. I am guessing the PiOS is using something different to accomplish this. This was done automatically before this depending on which mode you were booting along with the Headphones.
darksky
 
Posts: 35
Joined: Thu Oct 15, 2020 5:57 pm

Re: [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby unformatted » Sun Oct 17, 2021 6:02 pm

@graysky: thanks for testing and confirming!

@darksky: snd-bcm2835.enable_compat_alsa=1 works for me with fkms, thank you very much for the detailed information (also on kodi forum).

This is working with graysky's recommended kodi setup (using the kodi.service and the kodi.config settings). I still have to test running as my own user and without kodi.service file (/usr/bin/kodi-standalone directly from terminal and with my own customizations in config.txt but I expect that will work as well.

Thanks again and if you need me to test anything else please let me know.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: [SOLVED] [kodi-rpi 19.2-1] no sound over hdmi using fkm

Postby unformatted » Tue Oct 19, 2021 11:07 am

@graysky: just upgraded to your latest linux-raspberrypi4 5.10.74-1 and now sound over hdmi is back again. I'm using my own configuration (fkms, starting /usr/bin/kodi-standalone from terminal as my own user) without darksky's workaround in cmdline.txt. Thank you very much for this fix!

EDIT: Just bought you a couple of beers.. or you can start saving for an hdmi audio extractor.. ;-)
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby graysky » Tue Oct 19, 2021 11:48 am

Nothing I did... it's a fix upstteam. Glad your setup is working.
graysky
Developer
 
Posts: 1723
Joined: Sun Jun 26, 2011 6:56 am
Location: /run/user/1000

Re: [SOLVED] [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby invisiblek » Sat Oct 23, 2021 1:32 am

Hmm, I'm still getting stuck with no audio in kodi on 5.10.74-1 with fkms enabled. Note: I had not tried to use fkms before the above situation, so maybe I have something else set up wrong?

$this->bbcode_second_pass_code('', '
$ uname -a
Linux downstairs 5.10.74-1-raspberrypi4-ARCH #1 SMP PREEMPT Mon Oct 18 11:50:30 MDT 2021 aarch64 GNU/Linux
')

$this->bbcode_second_pass_code('', '
$ cat /boot/config.txt
include kodi.config.txt
')

$this->bbcode_second_pass_code('', '
$ cat /boot/kodi.config.txt
dtoverlay=vc4-fkms-v3d,cma-512
dtoverlay=rpivid-v4l2
### leave this next entry blank as ensures dt parameters like dtparam=audio=on
### which could appear after "include kodi.config.txt" in /boot/config.txt are
### applied to the base dt instead of to the last dtoverlay loaded
dtoverlay=
disable_overscan=1
disable_fw_kms_setup=1

### RPi 4B/400 ONLY
### For 4k content @ 60 Hz refresh rate, uncomment hdmi_enable_4kp60=1
#
### If it breaks video output as detailed in the following bug, also uncomment
### force_turbo=1 see: https://github.com/raspberrypi/linux/issues/4446
hdmi_enable_4kp60=1
#force_turbo=1

### uncomment to use the analog audio jack
### the 2nd option prevents crackling audio when HW accel decoding is active
#dtparam=audio=on
#audio_pwm_mode=1
')

$this->bbcode_second_pass_code('', '
$ aplay -l
aplay: device_list:274: no soundcards found...
')

kodi.log just blasting these out over and over
$this->bbcode_second_pass_code('', '
2021-10-22 20:23:32.205 T:313 INFO <general>: CActiveAESink::OpenSink - initialize sink
2021-10-22 20:23:32.205 T:313 INFO <general>: CAESinkALSA::Initialize - Attempting to open device "iec958"
2021-10-22 20:23:32.208 T:313 INFO <general>: CAESinkALSA - Unable to open device "iec958:AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x00" for playback
2021-10-22 20:23:32.208 T:313 INFO <general>: CAESinkALSA - Unable to open device "iec958" for playback
2021-10-22 20:23:32.208 T:313 ERROR <general>: CAESinkALSA::Initialize - failed to initialize device "iec958"
2021-10-22 20:23:32.209 T:313 ERROR <general>: CActiveAESink::OpenSink - no sink was returned
2021-10-22 20:23:32.209 T:312 ERROR <general>: ActiveAE::InitSink - returned error
')

$this->bbcode_second_pass_code('', '
$ dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.10.74-1-raspberrypi4-ARCH (builduser@leming) (aarch64-unknown-linux-gnu-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.35) #1 SMP PREEMPT Mon Oct 18 11:50:30 MDT 2021
[ 0.000000] random: fast init done
[ 0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000000ec00000, size 512 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x000000003fffffff]
[ 0.000000] DMA32 [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x000000003b3fffff]
[ 0.000000] node 0: [mem 0x0000000040000000-0x00000000fbffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x00000000fbffffff]
[ 0.000000] On node 0 totalpages: 1012736
[ 0.000000] DMA zone: 3792 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 242688 pages, LIFO batch:63
[ 0.000000] DMA32 zone: 12032 pages used for memmap
[ 0.000000] DMA32 zone: 770048 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 32 pages/cpu s91096 r8192 d31784 u131072
[ 0.000000] pcpu-alloc: s91096 r8192 d31784 u131072 alloc=32*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected PIPT I-cache on CPU0
[ 0.000000] CPU features: detected: Spectre-v2
[ 0.000000] CPU features: detected: Spectre-v4
[ 0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 996912
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 smsc95xx.macaddr=E4:5F:01:5B:05:C4 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 root=/dev/mmcblk0p2 rw rootwait console=ttyS0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyS0,115200 audit=0 snd-bcm2835.enable_compat_alsa=1
[ 0.000000] audit: disabled (until reboot)
[ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: mapped [mem 0x0000000037400000-0x000000003b400000] (64MB)
[ 0.000000] Memory: 3357716K/4050944K available (12542K kernel code, 1904K rwdata, 4280K rodata, 2560K init, 1220K bss, 168940K reserved, 524288K cma-reserved)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] random: get_random_bytes called from start_kernel+0x3c8/0x588 with crng_init=1
[ 0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[ 0.000006] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[ 0.000268] Console: colour dummy device 80x25
[ 0.000657] printk: console [tty1] enabled
[ 0.000708] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[ 0.000741] pid_max: default: 32768 minimum: 301
[ 0.001075] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.001151] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.002286] cgroup: Disabling memory control group subsystem
[ 0.004105] rcu: Hierarchical SRCU implementation.
[ 0.005438] smp: Bringing up secondary CPUs ...
[ 0.006202] Detected PIPT I-cache on CPU1
[ 0.006288] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[ 0.007151] Detected PIPT I-cache on CPU2
[ 0.007198] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[ 0.008066] Detected PIPT I-cache on CPU3
[ 0.008115] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[ 0.008240] smp: Brought up 1 node, 4 CPUs
[ 0.008313] SMP: Total of 4 processors activated.
[ 0.008330] CPU features: detected: 32-bit EL0 Support
[ 0.008348] CPU features: detected: CRC32 instructions
[ 0.008366] CPU features: detected: 32-bit EL1 Support
[ 0.035368] CPU: All CPU(s) started at EL2
[ 0.035450] alternatives: patching kernel code
[ 0.037503] devtmpfs: initialized
[ 0.047498] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.047559] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.062354] pinctrl core: initialized pinctrl subsystem
[ 0.063473] NET: Registered protocol family 16
[ 0.065764] DMA: preallocated 1024 KiB GFP_KERNEL pool for atomic allocations
[ 0.066036] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.066661] DMA: preallocated 1024 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.067223] thermal_sys: Registered thermal governor 'step_wise'
[ 0.067847] cpuidle: using governor menu
[ 0.068309] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.068449] ASID allocator initialised with 65536 entries
[ 0.068583] Serial: AMBA PL011 UART driver
[ 0.085971] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[ 0.092302] raspberrypi-firmware soc:firmware: Attached to firmware from 2021-10-19T11:50:10, variant start
[ 0.096300] raspberrypi-firmware soc:firmware: Firmware hash is 0403e22018aafab833d0a16374ac773f66fd7be9
[ 0.122562] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[ 0.122601] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[ 0.122621] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[ 0.122639] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[ 0.126152] cryptd: max_cpu_qlen set to 1000
[ 0.196539] raid6: neonx8 gen() 1707 MB/s
[ 0.264629] raid6: neonx8 xor() 1240 MB/s
[ 0.332737] raid6: neonx4 gen() 1768 MB/s
[ 0.400848] raid6: neonx4 xor() 1346 MB/s
[ 0.468958] raid6: neonx2 gen() 1560 MB/s
[ 0.537051] raid6: neonx2 xor() 1202 MB/s
[ 0.605173] raid6: neonx1 gen() 1167 MB/s
[ 0.673272] raid6: neonx1 xor() 935 MB/s
[ 0.741391] raid6: int64x8 gen() 1007 MB/s
[ 0.809488] raid6: int64x8 xor() 570 MB/s
[ 0.877648] raid6: int64x4 gen() 1016 MB/s
[ 0.945700] raid6: int64x4 xor() 574 MB/s
[ 1.013794] raid6: int64x2 gen() 951 MB/s
[ 1.081871] raid6: int64x2 xor() 522 MB/s
[ 1.149985] raid6: int64x1 gen() 731 MB/s
[ 1.218058] raid6: int64x1 xor() 383 MB/s
[ 1.218074] raid6: using algorithm neonx4 gen() 1768 MB/s
[ 1.218090] raid6: .... xor() 1346 MB/s, rmw enabled
[ 1.218105] raid6: using neon recovery algorithm
[ 1.218690] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[ 1.221062] iommu: Default domain type: Translated
[ 1.221309] vgaarb: loaded
[ 1.221823] SCSI subsystem initialized
[ 1.222035] usbcore: registered new interface driver usbfs
[ 1.222094] usbcore: registered new interface driver hub
[ 1.222152] usbcore: registered new device driver usb
[ 1.224016] clocksource: Switched to clocksource arch_sys_counter
[ 2.238417] VFS: Disk quotas dquot_6.6.0
[ 2.238533] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 2.238721] FS-Cache: Loaded
[ 2.239149] CacheFiles: Loaded
[ 2.241069] simple-framebuffer 3cc56000.framebuffer: framebuffer at 0x3cc56000, 0x1fa4000 bytes, mapped to 0x(____ptrval____)
[ 2.241102] simple-framebuffer 3cc56000.framebuffer: format=a8r8g8b8, mode=3840x2160x32, linelength=15360
[ 2.288773] Console: switching to colour frame buffer device 480x135
[ 2.334284] simple-framebuffer 3cc56000.framebuffer: fb0: simplefb registered!
[ 2.343238] NET: Registered protocol family 2
[ 2.343830] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 2.347042] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[ 2.347284] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 2.347607] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[ 2.348397] TCP: Hash tables configured (established 32768 bind 32768)
[ 2.348725] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 2.348879] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 2.349251] NET: Registered protocol family 1
[ 2.350095] RPC: Registered named UNIX socket transport module.
[ 2.350175] RPC: Registered udp transport module.
[ 2.350232] RPC: Registered tcp transport module.
[ 2.350290] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 2.350369] NET: Registered protocol family 44
[ 2.350436] PCI: CLS 0 bytes, default 64
[ 2.352534] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[ 2.352852] kvm [1]: IPA Size Limit: 44 bits
[ 2.353977] kvm [1]: vgic interrupt IRQ9
[ 2.354257] kvm [1]: Hyp mode initialized successfully
[ 2.355681] Initialise system trusted keyrings
[ 2.356055] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[ 2.362099] zbud: loaded
[ 2.363694] FS-Cache: Netfs 'nfs' registered for caching
[ 2.364390] NFS: Registering the id_resolver key type
[ 2.364481] Key type id_resolver registered
[ 2.364538] Key type id_legacy registered
[ 2.364688] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 2.364776] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[ 2.433338] xor: measuring software checksum speed
[ 2.437361] 8regs : 2513 MB/sec
[ 2.440820] 32regs : 2903 MB/sec
[ 2.445087] arm64_neon : 2362 MB/sec
[ 2.445145] xor: using function: 32regs (2903 MB/sec)
[ 2.445214] async_tx: api initialized (async)
[ 2.445272] Key type asymmetric registered
[ 2.445325] Asymmetric key parser 'x509' registered
[ 2.445428] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 2.445698] io scheduler mq-deadline registered
[ 2.445757] io scheduler kyber registered
[ 2.445928] io scheduler bfq registered
[ 2.448872] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[ 2.448991] brcm-pcie fd500000.pcie: No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[ 2.449121] brcm-pcie fd500000.pcie: MEM 0x0600000000..0x063fffffff -> 0x00c0000000
[ 2.449244] brcm-pcie fd500000.pcie: IB MEM 0x0000000000..0x00ffffffff -> 0x0400000000
[ 2.514099] brcm-pcie fd500000.pcie: link up, 5.0 GT/s PCIe x1 (SSC)
[ 2.514394] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[ 2.514479] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 2.514552] pci_bus 0000:00: root bus resource [mem 0x600000000-0x63fffffff] (bus address [0xc0000000-0xffffffff])
[ 2.514709] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[ 2.514885] pci 0000:00:00.0: PME# supported from D0 D3hot
[ 2.518802] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[ 2.518964] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[ 2.519312] pci 0000:01:00.0: PME# supported from D0 D3hot
[ 2.522940] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[ 2.523036] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[ 2.523173] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 2.523241] pci 0000:00:00.0: bridge window [mem 0x600000000-0x6000fffff]
[ 2.523565] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 2.523799] pcieport 0000:00:00.0: PME: Signaling with IRQ 47
[ 2.524269] pcieport 0000:00:00.0: AER: enabled with IRQ 47
[ 2.528901] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 2.529811] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[ 2.530166] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 2.540118] brd: module loaded
[ 2.676168] loop: module loaded
[ 2.677446] Loading iSCSI transport class v2.0-870.
[ 2.680215] libphy: Fixed MDIO Bus: probed
[ 2.681053] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[ 2.692028] libphy: bcmgenet MII bus: probed
[ 2.744100] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[ 2.745065] usbcore: registered new interface driver r8152
[ 2.745201] usbcore: registered new interface driver lan78xx
[ 2.745313] usbcore: registered new interface driver smsc95xx
[ 2.794024] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 2.794115] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[ 2.794860] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000060000000890
[ 2.795864] xhci_hcd 0000:01:00.0: xHCI Host Controller
[ 2.795941] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[ 2.796066] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[ 2.796438] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[ 2.796537] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.796620] usb usb1: Product: xHCI Host Controller
[ 2.796680] usb usb1: Manufacturer: Linux 5.10.74-1-raspberrypi4-ARCH xhci-hcd
[ 2.796761] usb usb1: SerialNumber: 0000:01:00.0
[ 2.797397] hub 1-0:1.0: USB hub found
[ 2.797506] hub 1-0:1.0: 1 port detected
[ 2.798177] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.10
[ 2.798276] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.798360] usb usb2: Product: xHCI Host Controller
[ 2.798420] usb usb2: Manufacturer: Linux 5.10.74-1-raspberrypi4-ARCH xhci-hcd
[ 2.798501] usb usb2: SerialNumber: 0000:01:00.0
[ 2.799026] hub 2-0:1.0: USB hub found
[ 2.799152] hub 2-0:1.0: 4 ports detected
[ 2.800442] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.800643] dwc_otg: FIQ enabled
[ 2.800650] dwc_otg: NAK holdoff enabled
[ 2.800656] dwc_otg: FIQ split-transaction FSM enabled
[ 2.800665] Module dwc_common_port init
[ 2.801138] usbcore: registered new interface driver uas
[ 2.801282] usbcore: registered new interface driver usb-storage
[ 2.801751] mousedev: PS/2 mouse device common for all mice
[ 2.803031] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 2.803563] device-mapper: uevent: version 1.0.3
[ 2.803885] device-mapper: ioctl: 4.43.0-ioctl (2020-10-01) initialised: dm-devel@redhat.com
[ 2.804328] device-mapper: multipath round-robin: version 1.2.0 loaded
[ 2.804411] device-mapper: multipath queue-length: version 0.2.0 loaded
[ 2.804487] device-mapper: multipath service-time: version 0.3.0 loaded
[ 2.804565] device-mapper: raid: Loading target version 1.15.1
[ 2.813196] sdhci: Secure Digital Host Controller Interface driver
[ 2.819649] sdhci: Copyright(c) Pierre Ossman
[ 2.824809] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[ 2.827839] Error: Driver 'sdhost-bcm2835' is already registered, aborting...
[ 2.830774] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.835654] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.838699] hid: raw HID events driver (C) Jiri Kosina
[ 2.841743] usbcore: registered new interface driver usbhid
[ 2.844650] usbhid: USB HID core driver
[ 2.850634] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 2.854076] [vc_sm_connected_init]: start
[ 2.858439] [vc_sm_connected_init]: installed successfully
[ 2.861696] Initializing XFRM netlink socket
[ 2.864821] NET: Registered protocol family 17
[ 2.868045] Key type dns_resolver registered
[ 2.871256] registered taskstats version 1
[ 2.874168] Loading compiled-in X.509 certificates
[ 2.877244] Key type ._fscrypt registered
[ 2.880062] Key type .fscrypt registered
[ 2.882935] Key type fscrypt-provisioning registered
[ 2.886418] Btrfs loaded, crc32c=crc32c-generic
[ 2.889928] Key type encrypted registered
[ 2.896913] uart-pl011 fe201000.serial: there is not valid maps for state default
[ 2.900066] uart-pl011 fe201000.serial: cts_event_workaround enabled
[ 2.902990] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 21, base_baud = 0) is a PL011 rev2
[ 2.910139] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.914631] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 2.917861] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[ 2.949513] of_cfs_init
[ 2.956038] of_cfs_init: OK
[ 2.969559] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.974230] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.979794] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.985400] mmc0: SDHCI controller on fe340000.mmc [fe340000.mmc] using ADMA
[ 2.986685] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.988851] md: Waiting for all devices to be available before autodetect
[ 2.993439] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.994962] md: If you don't use raid, use raid=noautodetect
[ 3.001197] md: Autodetecting RAID arrays.
[ 3.004414] md: autorun ...
[ 3.007694] md: ... autorun DONE.
[ 3.010903] Waiting for root device /dev/mmcblk0p2...
[ 3.054303] mmc1: new high speed SDIO card at address 0001
[ 3.060029] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[ 3.096931] mmc0: new ultra high speed DDR50 SDHC card at address 0007
[ 3.100293] mmcblk0: mmc0:0007 SD16G 14.5 GiB
[ 3.105998] mmcblk0: p1 p2
[ 3.163168] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.168121] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.175454] devtmpfs: mounted
[ 3.181467] Freeing unused kernel memory: 2560K
[ 3.185570] Run /sbin/init as init process
[ 3.188930] with arguments:
[ 3.188948] /sbin/init
[ 3.188951] with environment:
[ 3.188953] HOME=/
[ 3.188956] TERM=linux
[ 3.188959] selinux=0
[ 3.188962] kgdboc=ttyS0,115200
[ 3.214676] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[ 3.220281] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 3.224864] usb 1-1: Product: USB2.0 Hub
[ 3.230246] hub 1-1:1.0: USB hub found
[ 3.234431] hub 1-1:1.0: 4 ports detected
[ 3.548391] systemd[1]: System time before build time, advancing clock.
[ 3.616327] NET: Registered protocol family 10
[ 3.647945] Segment Routing with IPv6
[ 3.683397] systemd[1]: systemd 249.5-2-arch running in system mode (+PAM +AUDIT -SELINUX -APPARMOR -IMA +SMACK +SECCOMP +GCRYPT +GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP +LIBFDISK +PCRE2 -PWQUALITY +P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +XKBCOMMON +UTMP -SYSVINIT default-hierarchy=unified)
[ 3.688641] systemd[1]: Detected architecture arm64.
[ 3.708324] systemd[1]: Hostname set to <downstairs>.
[ 4.110042] systemd[1]: Queued start job for default target Graphical Interface.
[ 4.114534] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.119040] systemd[1]: Created slice Slice /system/getty.
[ 4.126052] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.129753] systemd[1]: Created slice Slice /system/modprobe.
[ 4.136254] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.139694] systemd[1]: Created slice User and Session Slice.
[ 4.146198] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 4.152841] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 4.159726] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 4.166573] systemd[1]: Reached target Local Encrypted Volumes.
[ 4.173235] systemd[1]: Reached target Login Prompts.
[ 4.179800] systemd[1]: Reached target Path Units.
[ 4.186403] systemd[1]: Reached target Remote File Systems.
[ 4.192954] systemd[1]: Reached target Slice Units.
[ 4.199594] systemd[1]: Reached target Swaps.
[ 4.206199] systemd[1]: Reached target Local Verity Integrity Protected Volumes.
[ 4.212924] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[ 4.224145] systemd[1]: Listening on Process Core Dump Socket.
[ 4.234799] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[ 4.238886] systemd[1]: Listening on Journal Socket (/dev/log).
[ 4.246682] systemd[1]: Listening on Journal Socket.
[ 4.255056] systemd[1]: Listening on Network Service Netlink Socket.
[ 4.264286] systemd[1]: Listening on udev Control Socket.
[ 4.271459] systemd[1]: Listening on udev Kernel Socket.
[ 4.280605] systemd[1]: Mounting Huge Pages File System...
[ 4.290276] systemd[1]: Mounting POSIX Message Queue File System...
[ 4.300172] systemd[1]: Mounting Kernel Debug File System...
[ 4.309506] systemd[1]: Mounting Kernel Trace File System...
[ 4.320602] systemd[1]: Mounting Temporary Directory /tmp...
[ 4.330554] systemd[1]: Starting Create List of Static Device Nodes...
[ 4.341076] systemd[1]: Starting Load Kernel Module configfs...
[ 4.350818] systemd[1]: Starting Load Kernel Module drm...
[ 4.360934] systemd[1]: Starting Load Kernel Module fuse...
[ 4.373175] fuse: init (API version 7.32)
[ 4.374704] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[ 4.382575] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[ 4.390523] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 4.399737] systemd[1]: Condition check resulted in Repartition Root Disk being skipped.
[ 4.406337] systemd[1]: Starting Apply Kernel Variables...
[ 4.416860] systemd[1]: Starting Coldplug All udev Devices...
[ 4.428954] systemd[1]: Mounted Huge Pages File System.
[ 4.438879] systemd[1]: Mounted POSIX Message Queue File System.
[ 4.446704] systemd[1]: Mounted Kernel Debug File System.
[ 4.454879] systemd[1]: Mounted Kernel Trace File System.
[ 4.463023] systemd[1]: Mounted Temporary Directory /tmp.
[ 4.471384] systemd[1]: Finished Create List of Static Device Nodes.
[ 4.485189] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[ 4.489663] systemd[1]: Finished Load Kernel Module configfs.
[ 4.497943] systemd[1]: modprobe@drm.service: Deactivated successfully.
[ 4.502069] systemd[1]: Finished Load Kernel Module drm.
[ 4.509929] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[ 4.513850] systemd[1]: Finished Load Kernel Module fuse.
[ 4.521719] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 4.529673] systemd[1]: Finished Apply Kernel Variables.
[ 4.541357] systemd[1]: Mounting FUSE Control File System...
[ 4.553264] systemd[1]: Mounting Kernel Configuration File System...
[ 4.562293] systemd[1]: Condition check resulted in First Boot Wizard being skipped.
[ 4.570935] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 4.576962] systemd[1]: Starting Load/Save Random Seed...
[ 4.588991] systemd[1]: Starting Create System Users...
[ 4.600825] systemd[1]: Mounted FUSE Control File System.
[ 4.610733] systemd[1]: Mounted Kernel Configuration File System.
[ 4.633375] systemd[1]: Finished Coldplug All udev Devices.
[ 4.650770] systemd[1]: Finished Create System Users.
[ 4.664317] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 4.758979] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 4.767624] systemd[1]: Reached target Preparation for Local File Systems.
[ 4.775742] systemd[1]: Condition check resulted in Virtual Machine and Container Storage (Compatibility) being skipped.
[ 4.779450] systemd[1]: Condition check resulted in Entropy Daemon based on the HAVEGE algorithm being skipped.
[ 4.786425] systemd[1]: Starting Journal Service...
[ 4.797526] systemd[1]: Starting Rule-based Manager for Device Events and Files...
[ 4.869864] systemd[1]: Started Journal Service.
[ 4.900880] systemd-journald[185]: Received client request to flush runtime journal.
[ 4.914554] systemd-journald[185]: File /var/log/journal/c329c0ceeee646ba8d2b15f490c196a8/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 5.210434] mc: Linux media interface: v0.10
[ 5.221293] iproc-rng200 fe104000.rng: hwrng registered
[ 5.249573] videodev: Linux video capture interface: v2.00
[ 5.294470] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[ 5.331704] rpivid_hevc: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.335312] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.336136] rpivid feb10000.codec: Device registered as /dev/video19
[ 5.340593] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.341974] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.378516] bcmgenet fd580000.ethernet: configuring instance for external RGMII (RX delay)
[ 5.378739] bcmgenet fd580000.ethernet eth0: Link is Down
[ 5.380531] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.404675] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.411579] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[ 5.428080] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[ 5.431691] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.435887] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[ 5.462544] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.464191] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[ 5.475526] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[ 5.480235] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[ 5.482309] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[ 5.488112] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[ 5.489048] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[ 5.493819] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[ 5.504968] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[ 5.510039] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[ 5.513922] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[ 5.514059] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[ 5.528152] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[ 5.533567] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[ 5.558357] bcm2835-codec bcm2835-codec: Device registered as /dev/video18
[ 5.564138] bcm2835-codec bcm2835-codec: Loaded V4L2 image_fx
[ 5.568304] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.578169] checking generic (3cc56000 1fa4000) vs hw (0 ffffffffffffffff)
[ 5.578179] fb0: switching to vc4drmfb from simple
[ 5.587050] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 5.601707] Console: switching to colour dummy device 80x25
[ 5.606078] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[ 5.612519] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.614281] usbcore: registered new interface driver brcmfmac
[ 5.624957] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[ 5.666581] Bluetooth: Core ver 2.22
[ 5.666652] NET: Registered protocol family 31
[ 5.666660] Bluetooth: HCI device and connection manager initialized
[ 5.666678] Bluetooth: HCI socket layer initialized
[ 5.666689] Bluetooth: L2CAP socket layer initialized
[ 5.666703] Bluetooth: SCO socket layer initialized
[ 5.844583] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.844659] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.898352] Console: switching to colour frame buffer device 480x135
[ 5.909053] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Apr 15 2021 03:03:20 version 7.45.234 (4ca95bb CY) FWID 01-996384e2
[ 5.951845] vc4-drm gpu: [drm] fb0: vc4drmfb frame buffer device
[ 6.008025] random: crng init done
[ 6.008067] random: 7 urandom warning(s) missed due to ratelimiting
[ 9.476174] bcmgenet fd580000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 9.476256] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
')
invisiblek
 
Posts: 10
Joined: Wed Sep 20, 2017 3:37 pm

Re: [SOLVED] [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby unformatted » Sat Oct 23, 2021 7:51 am

You forgot to enable audio in kodi.config.txt, you need to uncomment dtparam=audio=on.
unformatted
 
Posts: 119
Joined: Tue Mar 09, 2021 5:23 pm

Re: [SOLVED] [kodi-rpi 19.2-1] no sound over hdmi using fkms

Postby invisiblek » Sat Oct 23, 2021 1:53 pm

Ah that did it. Thanks!
invisiblek
 
Posts: 10
Joined: Wed Sep 20, 2017 3:37 pm

Previous

Return to ARMv8

Who is online

Users browsing this forum: No registered users and 4 guests