RAATServer error on Raspberry Pi 3B+ with vc4-hdmi (ref#AQBJUV)

What’s happening?

· Other

How can we help?

· None of the above

Other options

· Other

Describe the issue

RAATServer error with Raspberry Pi 3B+ vc4-hdmi

Describe your network setup

I have several Roon zones using Raspberry Pi 3B+ with HifiBerry audio hardare, chromecast, and android devices. Wifi is Netgear Orbi with repeaters and all wifi devices are on 5GHz band. Everything works fine. If I start getting latency and Roon issues I reboot the Orbis and the DGS-1210-10 Gigabit Ethernet Switch, which always resolves any issues.

This specific problem, which your support wizard is incapable of diagnosing, is that I have a Raspberry Pi 3B+ (armv8 64bit) for which I want to use the HDMI output and Roon Bridge to use a cheap soundbar that has only HDMI input.

The HDMI audio works OK. I’m using a LG monitor which has speakers and can be used as a TV for testing. I’ve disabled (in config.txt and the raspi-config) the brcm2852 audio interface leaving only the vc4-hdmi audio device.The following shows the audio device info and example music commands which cause music to play through the monitor:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The ALSA config file for this is /usr/share/alsa/cards/vc4-hdmi.conf. These commands work OK to play music:

  331  aplay ./06-The\ Safety\ Dance.wav 
  332  mpg123 ./09-You\ Might\ Think-\ The\ Cars.mp3 

Here’s what dmesg and kmsprint say about it:

$ sudo dmesg | grep vc4
[    0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 cgroup_disable=memory snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0 snd_bcm2835.enable_hdmi=0  vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=fd2b6370-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=US vc4.force_hotplug=1
[    8.399861] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[    8.408438] rc rc0: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0
[    8.408748] input: vc4-hdmi as /devices/platform/soc/3f902000.hdmi/rc/rc0/input2
[    8.610529] input: vc4-hdmi HDMI Jack as /devices/platform/soc/3f902000.hdmi/sound/card0/input4
[    8.666826] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[    8.667330] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[    8.667644] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.667872] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.668041] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[    8.668181] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[    8.682174] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[    8.740787] vc4-drm soc:gpu: [drm] The core clock cannot reach frequencies high enough to support 4k @ 60Hz.
[    8.740810] vc4-drm soc:gpu: [drm] Please change your config.txt file to add hdmi_enable_4kp60.
[    8.812072] vc4-drm soc:gpu: [drm] fb0: vc4drmfb frame buffer device

kmsprint 
Connector 0 (32) HDMI-A-1 (connected)
  Encoder 0 (31) TMDS
    Crtc 3 (95) 1920x1080@60.00 148.500 1920/88/44/148/+ 1080/4/5/36/+ 60 (60.00) D 16:9
      Plane 3 (84) fb-id: 669 (crtcs: 3) 0,0 1920x1080 -> 0,0 1920x1080 (XR24 AR24 AB24 XB24 RG16 BG16 AR15 XR15 RG24 BG24 YU16 YV16 YU24 YV24 YU12 YV12 NV12 NV21 NV16 NV61 RGB8 BGR8 XR12 AR12 XB12 AB12 BX12 BA12 RX12 RA12)
        FB 669 1920x1080 RG16

ALSA finds the device OK but I’m not sure how to interpret this:

$ cat /proc/asound/vc4hdmi/pcm0p/info 
card: 0
device: 0
subdevice: 0
stream: PLAYBACK
id: MAI PCM i2s-hifi-0
name: MAI PCM i2s-hifi-0
subname: subdevice #0
class: 0
subclass: 0
subdevices_count: 1
subdevices_avail: 1

After installing Roon Bridge for armv8 linux the zone shows up in the app as shown in the attached screen shots.

Nothing will play however and RAATServer logs the error RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED in /var/roon/RAATServer/Logs/RAATServer.log.txt:

03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] clock socket listening on udp 0.0.0.0:46181
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] audio socket listening on tcp 0.0.0.0:33185
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdm
i", "id": "vc4hdmi", "name": "vc4-hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] SENT[LL] [1] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [2] {"request":"info"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [2] {"output":{"supported_formats":"","info":{"config":{"name":"vc4-hdmi","type":"alsa","device":"hw:CARD=vc4hdmi,DEV=0","dsd_mode":"none"},"alsa_device":
{"id":"vc4hdmi","longname":"vc4-hdmi",
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [3] {"status":"Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [4] {"request":"subscribe_transport"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [5] {"controls":[],"status":"Success","action":"Changed"}
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [6] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/20 17:35:50 Warn: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [6] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}

I’ll attach a full logfile of RAATServer.

How can I get RAATServer to write audio to the HDMI audio device? This UnexpectedError is a show stopper, and prevents every streaming audio and music I’ve tried to play. For albums/playlists Roon tries a few times then says something about playback disabled due to too many failures.


03/20 17:33:41 Info: Starting RAATServer v1.8 (build 1125) stable on linuxarmv8
03/20 17:33:41 Info: Local time is 3/20/2025 5:33:41 PM, UTC time is 3/21/2025 12:33:41 AM
03/20 17:33:41 Trace: [RAATServer] detected ALSA support
03/20 17:33:42 Trace: [bits] myinfo: {"os":"Linux 6.6.74+rpt-rpi-v8","platform":"linuxarmv8","machineversion":100801125,"branch":"stable","appmodifier":"","appname":"RAATServer"}
03/20 17:33:43 Info: [RAATServer] creating RAAT__manager
03/20 17:33:43 Info: [RAATServer]     appdata_dir  = /var/roon/RAATServer
03/20 17:33:43 Info: [RAATServer]     unique_id    = cc12c2f3-2306-48ab-9065-67f74d805863
03/20 17:33:43 Info: [RAATServer]     machine_id   = a651510c-2bc4-ca69-9844-89dbd7431d25
03/20 17:33:43 Info: [RAATServer]     machine_name = rpi-garage
03/20 17:33:43 Info: [RAATServer]     os_version   = Linux 6.6.74+rpt-rpi-v8
03/20 17:33:43 Info: [RAATServer]     vendor       = 
03/20 17:33:43 Info: [RAATServer]     model        = 
03/20 17:33:43 Info: [RAATServer]     service_id   = d7634b85-8190-470f-aa51-6cb5538dc1b9
03/20 17:33:43 Info: [RAATServer]     is_dev       = False
03/20 17:33:43 Trace: [raatmanager] starting
03/20 17:33:43 Trace: [raatmanager/linux] FOUND id=hw:CARD=vc4hdmi,DEV=0 usb_id=
03/20 17:33:43 Trace: [raatmanager/linux]       vendor=                               name=vc4-hdmi                      
03/20 17:33:43 Trace: [raatmanager] [vc4-hdmi] loaded config from /var/roon/RAATServer/Settings/device_d64330a42a0c28dbfda8a8c4041e0ac7.json
03/20 17:33:43 Trace: [raatmanager] initialized
03/20 17:33:43 Info: [RAATServer] running RAAT__manager
03/20 17:33:43 Trace: [raatmanager] starting discovery
03/20 17:33:43 Trace: [discovery] starting
03/20 17:33:43 Info: [discovery] [iface:lo:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
03/20 17:33:43 Info: [discovery] [iface:lo:127.0.0.1] multicast send socket is bound to 0.0.0.0:36448
03/20 17:33:43 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
03/20 17:33:43 Trace: [raatmanager] starting server
03/20 17:33:43 Info: [jsonserver] listening on port 9200
03/20 17:33:43 Trace: [raatmanager] announcing
03/20 17:33:43 Debug: [discovery] broadcast op is complete
03/20 17:33:44 Trace: [inetdiscovery] added device raatserver/cc12c2f3-2306-48ab-9065-67f74d805863 in addr:__ADDR__
03/20 17:33:44 Trace: [inetdiscovery] added service com.roonlabs.raatserver.tcp for device raatserver/cc12c2f3-2306-48ab-9065-67f74d805863
03/20 17:33:49 Trace: [ipaddresses] enumerating addresses
03/20 17:33:51 Warn: [easyhttp] [1] Post https://bits.roonlabs.net/1/q/roon.base.,roon.internet_discovery. web exception without response: Error: NameResolutionFailure 
03/20 17:34:07 Trace: [RAATServer] refreshing @ 10s
03/20 17:34:24 Trace: [raatmanager] announcing
03/20 17:34:24 Debug: [discovery] broadcast op is complete
03/20 17:34:24 Trace: [jsonserver] [192.168.0.19:53084] accepted connection
03/20 17:34:24 Trace: [jsonserver] [192.168.0.19:53084] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/20 17:34:24 Trace: [jsonserver] [192.168.0.19:53084] SENT [1] [nonfinal] {"status": "Success", "devices": [{"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "
03/20 17:34:24 Warn: [bits] http request failed updating bits, status code: 999, message: <<NULL>>
03/20 17:34:25 Trace: [ipaddresses]    SKIPPED lo: not up
03/20 17:34:25 Trace: [ipaddresses]    SKIPPED eth0: no ipv4
03/20 17:34:25 Trace: [ipaddresses]    SKIPPED wlan0: not up
03/20 17:34:26 Warn: [easyhttp] [2] Post https://discovery.roonlabs.net/1/register web exception without response: Error: NameResolutionFailure 
03/20 17:34:26 Warn: [inetdiscovery] failed to register: Result[Status=NetworkError]
03/20 17:34:27 Trace: [RAATServer] network reachability changed, refreshing discovery
03/20 17:34:27 Trace: [raatmanager] updating network interfaces
03/20 17:34:27 Trace: [discovery] stopping
03/20 17:34:27 Trace: closing multicast
03/20 17:34:27 Trace: [discovery] closing unicast send socket
03/20 17:34:27 Trace: [discovery] closing unicast recv socket
03/20 17:34:27 Trace: [discovery] starting
03/20 17:34:27 Info: [discovery] [iface:lo:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
03/20 17:34:27 Info: [discovery] [iface:lo:127.0.0.1] multicast send socket is bound to 0.0.0.0:37218
03/20 17:34:27 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
03/20 17:34:27 Trace: [raatmanager] announcing
03/20 17:34:27 Warn: [discovery] got send failure: network is unreachable
03/20 17:34:27 Debug: [discovery] broadcast op is complete
03/20 17:34:34 Warn: [jsonserver] client timed out after 10010ms (timeout=10000)
03/20 17:34:34 Trace: [jsonserver] [192.168.0.19:53084] destroying client
03/20 17:34:34 Trace: [jsonserver] [192.168.0.19:53086] accepted connection
03/20 17:34:34 Trace: [jsonserver] [192.168.0.19:53086] GOT[LL] [1] {"request":"enumerate_devices","subscription_id":"0"}
03/20 17:34:34 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "Success", "devices": [{"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "
03/20 17:34:35 Trace: [RAATServer] network reachability changed, refreshing discovery
03/20 17:34:35 Trace: [raatmanager] updating network interfaces
03/20 17:34:35 Trace: [discovery] stopping
03/20 17:34:35 Trace: closing multicast
03/20 17:34:35 Trace: [discovery] closing unicast send socket
03/20 17:34:35 Trace: [discovery] closing unicast recv socket
03/20 17:34:35 Trace: [discovery] starting
03/20 17:34:35 Info: [discovery] [iface:lo:127.0.0.1] multicast recv socket is bound to 0.0.0.0:9003
03/20 17:34:35 Info: [discovery] [iface:lo:127.0.0.1] multicast send socket is bound to 0.0.0.0:45853
03/20 17:34:35 Info: [discovery] [iface:wlan0:192.168.0.10] multicast recv socket is bound to 0.0.0.0:9003
03/20 17:34:35 Info: [discovery] [iface:wlan0:192.168.0.10] multicast send socket is bound to 0.0.0.0:38580
03/20 17:34:35 Info: [discovery] unicast socket is bound to 0.0.0.0:9003
03/20 17:34:35 Trace: [raatmanager] announcing
03/20 17:34:35 Debug: [easyhttp] [3] POST to https://discovery.roonlabs.net/1/register returned after 2542 ms, status code: 200
03/20 17:34:35 Debug: [discovery] broadcast op is complete
03/20 17:34:35 Trace: [inetdiscovery] registered 1 devices, 1 services
03/20 17:34:40 Debug: [easyhttp] [4] POST to https://discovery.roonlabs.net/1/register returned after 96 ms, status code: 200
03/20 17:34:40 Trace: [inetdiscovery] registered 1 devices, 1 services
03/20 17:35:34 Trace: [jsonserver] [192.168.0.19:53086] GOT[LL] [2] {"request":"enable_device","device_id":"hw:CARD=vc4hdmi,DEV=0","subscription_id":"24"}
03/20 17:35:34 Trace: [raat_wrap] creating new RAAT device
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card components 
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/20 17:35:34 Info: [RAAT::vc4-hdmi] [server] listening on port 44963
03/20 17:35:34 Trace: [raat_wrap] starting RAAT device
03/20 17:35:34 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 44963, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/20 17:35:34 Trace: [jsonserver] [192.168.0.19:53086] SENT [2] [nonfinal] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] accepted connection
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] created: 0x7f7804ea20 (0x7f78066da8)
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] pre-loading lua module base
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] SENT[LL] [1] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] pre-loading lua module dkjson
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] SENT[LL] [1] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] pre-loading lua module protocol
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] SENT[LL] [1] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] executing lua script
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] clock socket listening on udp 0.0.0.0:46181
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] audio socket listening on tcp 0.0.0.0:33185
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] SENT[LL] [1] {"status": "Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [2] {"request":"info"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [2] {"output":{"supported_formats":"","info":{"config":{"name":"vc4-hdmi","type":"alsa","device":"hw:CARD=vc4hdmi,DEV=0","dsd_mode":"none"},"alsa_device":{"id":"vc4hdmi","longname":"vc4-hdmi",
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [3] {"status":"Success"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [4] {"request":"subscribe_transport"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/20 17:35:34 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [5] {"controls":[],"status":"Success","action":"Changed"}
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  GOT [6] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/20 17:35:50 Warn: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/20 17:35:50 Trace: [RAAT::vc4-hdmi] [lua@0x7f78004bc8] [192.168.0.19:53143]  SENT [6] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/20 19:34:02 Debug: [easyhttp] [5] POST to https://discovery.roonlabs.net/1/register returned after 354 ms, status code: 200
03/20 19:34:02 Trace: [inetdiscovery] registered 1 devices, 1 services
03/20 23:34:03 Debug: [easyhttp] [6] POST to https://discovery.roonlabs.net/1/register returned after 397 ms, status code: 200
03/20 23:34:03 Trace: [inetdiscovery] registered 1 devices, 1 services
03/20 23:39:33 Trace: [jsonserver] [192.168.0.19:53086] GOT[LL] [3] {"request":"get_device_config","device_id":"hw:CARD=vc4hdmi,DEV=0","options":{}}
03/20 23:39:33 Trace: [raatmanager] stopping device vc4-hdmi
03/20 23:39:33 Trace: [raat_wrap] calling force_teardown on output
03/20 23:39:33 Trace: [raat_wrap] stopping RAAT device
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [device] stopping server
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:53143] destroying client
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:53143] destroying session
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [device] run exited successfully
03/20 23:39:33 Trace: [raat_wrap] deleting device
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] deleting device
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] closing multicast
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] deleting server
03/20 23:39:33 Trace: [raat_wrap] deleting volume
03/20 23:39:33 Trace: [raat_wrap] deleting output
03/20 23:39:33 Trace: [raat_wrap] deleting transport
03/20 23:39:33 Trace: [raat_wrap] deleting log
03/20 23:39:33 Trace: [raat_wrap] freeing
03/20 23:39:33 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa
03/20 23:39:33 Trace: [raatmanager/linux] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/20 23:39:33 Trace: [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/20 23:39:33 Trace: [raat_wrap] creating new RAAT device
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/20 23:39:33 Trace: [jsonserver] [192.168.0.19:53086] SENT [3] {"config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "volume": null, "external_config": {}}, "dev
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card components 
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/20 23:39:33 Info: [RAAT::vc4-hdmi] [server] listening on port 39645
03/20 23:39:33 Trace: [raat_wrap] starting RAAT device
03/20 23:39:33 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 39645, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] accepted connection
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] created: 0x7f60004ca0 (0x7f6000ff48)
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] pre-loading lua module base
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] SENT[LL] [1] {"status": "Success"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] pre-loading lua module dkjson
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] SENT[LL] [1] {"status": "Success"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] pre-loading lua module protocol
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] SENT[LL] [1] {"status": "Success"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] executing lua script
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  [roon] clock socket listening on udp 0.0.0.0:59085
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  [roon] audio socket listening on tcp 0.0.0.0:39381
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] SENT[LL] [1] {"status": "Success"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  GOT [2] {"request":"info"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  SENT [2] {"status":"Success","platform":{"uname":{"machine":"aarch64","nodename":"rpi-garage","release":"6.6.74+rpt-rpi-v8","version":"#1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27)","sysname":
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  SENT [3] {"status":"Success"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  GOT [4] {"request":"subscribe_transport"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/20 23:39:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58099]  SENT [5] {"status":"Success","action":"Changed","controls":[]}
03/20 23:39:51 Trace: [jsonserver] [192.168.0.19:53086] GOT[LL] [3] {"request":"get_device_config","device_id":"hw:CARD=vc4hdmi,DEV=0","options":{}}
03/20 23:39:51 Trace: [raatmanager] stopping device vc4-hdmi
03/20 23:39:51 Trace: [raat_wrap] calling force_teardown on output
03/20 23:39:51 Trace: [raat_wrap] stopping RAAT device
03/20 23:39:51 Trace: [RAAT::vc4-hdmi] [device] stopping server
03/20 23:39:51 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58099] destroying client
03/20 23:39:51 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58099] destroying session
03/20 23:39:51 Trace: [RAAT::vc4-hdmi] [device] run exited successfully
03/20 23:39:52 Trace: [raat_wrap] deleting device
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] deleting device
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] closing multicast
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] deleting server
03/20 23:39:52 Trace: [raat_wrap] deleting volume
03/20 23:39:52 Trace: [raat_wrap] deleting output
03/20 23:39:52 Trace: [raat_wrap] deleting transport
03/20 23:39:52 Trace: [raat_wrap] deleting log
03/20 23:39:52 Trace: [raat_wrap] freeing
03/20 23:39:52 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa
03/20 23:39:52 Trace: [raatmanager/linux] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/20 23:39:52 Trace: [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/20 23:39:52 Trace: [raat_wrap] creating new RAAT device
03/20 23:39:52 Trace: [jsonserver] [192.168.0.19:53086] SENT [3] {"config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "volume": null, "external_config": {}}, "dev
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card components 
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/20 23:39:52 Info: [RAAT::vc4-hdmi] [server] listening on port 46005
03/20 23:39:52 Trace: [raat_wrap] starting RAAT device
03/20 23:39:52 Trace: [jsonserver] [192.168.0.19:53086] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 46005, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58104] accepted connection
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58104] created: 0x7f7c0725f0 (0x7f7c01cfc8)
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58104] pre-loading lua module base
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58104] SENT[LL] [1] {"status": "Success"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58104] pre-loading lua module dkjson
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58104] SENT[LL] [1] {"status": "Success"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58104] pre-loading lua module protocol
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58104] SENT[LL] [1] {"status": "Success"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58104] executing lua script
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  [roon] clock socket listening on udp 0.0.0.0:48739
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  [roon] audio socket listening on tcp 0.0.0.0:45321
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58104] SENT[LL] [1] {"status": "Success"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  GOT [2] {"request":"info"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  SENT [2] {"status":"Success","source_selection":{"is_supported":false,"info":[]},"transport":{"info":[],"is_supported":false},"flags":{"has_write_chmap":true},"info":{"raat_version":"1.1.38","proto
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  SENT [3] {"status":"Success"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  GOT [4] {"request":"subscribe_transport"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/20 23:39:52 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c036548] [192.168.0.19:58104]  SENT [5] {"status":"Success","controls":[],"action":"Changed"}

I note that the vc4-hdmi is only 2 channels at 16 bit 44100Hz. I thought RAAT/Roon could downsample in case of some low quality audio device like this? From the RAATServer_log.txt:

{"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}

Also from the log

03/20 17:35:50 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2

It seems kind of dumb if I have to hook up a USB DAC to the Raspberry Pi USB port, then use S/PDIF from the DAC to the sound bar. It seems like we could skip some A/D conversions if I could just use the vc4-hdmi sound device.

I respect Roon’s attention to detail for high fidelity music, but this use case doesn’t require super hi fi since it’s a fitness room with loud fans and gym noises.

Thanks for taking a look.

I don’t think so, S/PDIF is still digital. You probably use the DAC as an USB to S/PDIF bridge in this setup. As an alternative , you could add a HAT to the RPi that provides digital outputs like S/PDIF, TOSLINK, …

This is also not the first report of what seems to me to be the same issue:

PS: It is more likely something that needs to be fixed on the RPi side of things. Just waiting on Roon Support to fix it may not work in the end. See also: Search results for 'vc4-hdmi' - Roon Labs Community

I should mention I’ve mucked around with /boot/firmware/config.txt and cmdline.txt:

pi@rpi-garage:/boot/firmware $ cat cmdline.txt 
console=serial0,115200 console=tty1 root=PARTUUID=fd2b6370-02 rootfstype=ext4 fsck.repair=yes rootwait cfg80211.ieee80211_regdom=US vc4.force_hotplug=1

and

pi@rpi-garage:/boot/firmware $ cat config.txt 
# For more options and information see
# http://rptl.io/configtxt
# Some settings may impact device functionality. See link above for details

# Uncomment some or all of these to enable the optional hardware interfaces
dtparam=i2c_arm=on
dtparam=i2s=on
dtparam=spi=on

# Enable audio (loads snd_bcm2835)
#dtparam=audio=on
dtparam=audio=off
dtparam=hdmi_drive=2
hdmi_drive=2
hdmi_force_edid_audio=1

# Additional overlays and parameters are documented
# /boot/firmware/overlays/README

# Automatically load overlays for detected cameras
camera_auto_detect=0

# Automatically load overlays for detected DSI displays
display_auto_detect=1

# Automatically load initramfs files, if found
auto_initramfs=1

# Enable DRM VC4 V3D driver
dtoverlay=vc4-kms-v3d
max_framebuffers=2

# Don't have the firmware create an initial video= setting in cmdline.txt.
# Use the kernel's default instead.
disable_fw_kms_setup=1

# Run in 64-bit mode
arm_64bit=1

# Disable compensation for displays with overscan
disable_overscan=1

# Run as fast as firmware / board allows
arm_boost=1

[cm4]
# Enable host mode on the 2711 built-in XHCI USB controller.
# This line should be removed if the legacy DWC2 controller is required
# (e.g. for USB device mode) or if USB support is not required.
otg_mode=1

[cm5]
dtoverlay=dwc2,dr_mode=host

[all]
pi@rpi-garage:/boot/firmware $ 

There is a forum section Raspberry Pi for RPi related stuff, maybe you can connect there with other RPi users that can help you with this issue.

Hi,

Are you suggesting that the error “RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED” is specific to Raspberry Pis? I kind of think it probably isn’t?

eg this post Playback not working via RME HDSPe MADI FX/PCIe [resolved with exclusive mode] - #26 by danny

I think it’s not the same issue, because the RoonBridge shows up just fine on the Roon Server and the zone can be enabled, configured, etc.

I know that this indicates a mismatch between the format Roon intends to play and what the device is capable of playing (the ALSA sound device refuses to be initialized with the requested format{s}) – something seen frequently on Windows too and needs to be fixed there on Windows, nothing Roon support can magically fix for affected users as can be seen from the solution in the thread you linked too.

Feel free to actually read the thread:

PS: I’m not saying that you’re not allowed to wait on an official reply from Roon support here, I’m just trying to point out that Roon support is here to help with Roon issues primarily and you therfor might not get here what you hoped for.

I read the thread and I don’t have a “MUSE (DSP)” or most of the other stuff mentioned in that thread, which is why I’m asking Roon support to take a look and offer any advice.

I have to say you write a lot but are not super helpful, let us wait for Roon support to take a look and see if they can suggest how I can get RAATServer to resolve the format incompatibility and write audio to the HDMI device.

Since audio playback works fine on the HDMI device, and Roon works fine for everything else I have, this is a compatibility/interfacing issue with RAATServer, and I assert it’s a Roon issue, in that I hope Roon support can maybe suggest how to resolve the issue.

This is something you have to setup to see if it helps.

Hi @James_Ockers,
Thanks for reaching out to us about this issue. Are you still having trouble after setting up MUSE?

Hi,

I “set up” MUSE for this zone but since I’ve never used MUSE before on any zone it’s a fair bet I don’t know what I’m doing.

Having set it up as per the attached screen shots I still can’t play audio to this zone. What else could I try?


Also, here is the RAATServer.log.txt from today. Note the plethora of error messages “Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867] setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED”

03/21 12:27:26 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [3] {"request":"refresh"}
03/21 12:27:26 Trace: [jsonserver] [192.168.0.19:62497] SENT [3] {"status": "Success"}
03/21 12:27:28 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [3] {"request":"get_device_config","device_id":"hw:CARD=vc4hdmi,DEV=0","options":{}}
03/21 12:27:28 Trace: [raatmanager] stopping device vc4-hdmi
03/21 12:27:28 Trace: [raat_wrap] calling force_teardown on output
03/21 12:27:28 Trace: [raat_wrap] stopping RAAT device
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] [device] stopping server
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:62503] destroying client
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:62503] destroying session
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] [device] run exited successfully
03/21 12:27:28 Trace: [raat_wrap] deleting device
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] deleting device
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] closing multicast
03/21 12:27:28 Trace: [RAAT::vc4-hdmi] deleting server
03/21 12:27:29 Trace: [raat_wrap] deleting volume
03/21 12:27:29 Trace: [raat_wrap] deleting output
03/21 12:27:29 Trace: [raat_wrap] deleting transport
03/21 12:27:29 Trace: [raat_wrap] deleting log
03/21 12:27:29 Trace: [raat_wrap] freeing
03/21 12:27:29 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa
03/21 12:27:29 Trace: [raatmanager/linux] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:27:29 Trace: [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:27:29 Trace: [raat_wrap] creating new RAAT device
03/21 12:27:29 Trace: [jsonserver] [192.168.0.19:62497] SENT [3] {"config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "volume": null, "external_config": {}}, "dev
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card components 
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/21 12:27:29 Info: [RAAT::vc4-hdmi] [server] listening on port 38667
03/21 12:27:29 Trace: [raat_wrap] starting RAAT device
03/21 12:27:29 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 38667, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] accepted connection
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] created: 0x7f80014830 (0x7f80028c98)
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] pre-loading lua module base
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] SENT[LL] [1] {"status": "Success"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] pre-loading lua module dkjson
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] SENT[LL] [1] {"status": "Success"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] pre-loading lua module protocol
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] SENT[LL] [1] {"status": "Success"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] executing lua script
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  [roon] clock socket listening on udp 0.0.0.0:51046
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  [roon] audio socket listening on tcp 0.0.0.0:45959
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] SENT[LL] [1] {"status": "Success"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [2] {"request":"info"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  SENT [2] {"status":"Success","info":{"unique_id":"90899420-fba4-8a1a-e497-b787f339c0c5"},"source_selection":{"is_supported":false,"info":[]},"platform":{"uname":{"nodename":"rpi-garage","release":"
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  SENT [3] {"status":"Success"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [4] {"request":"subscribe_transport"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/21 12:27:29 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  SENT [5] {"status":"Success","action":"Changed","controls":[]}
03/21 12:35:28 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [3] {"request":"disable_device","subscription_id":"33"}
03/21 12:35:28 Trace: [jsonserver] [192.168.0.19:62497] SENT [2] {"status": "Canceled"}
03/21 12:35:28 Trace: [jsonserver] [192.168.0.19:62497] SENT [3] {"status": "Success"}
03/21 12:35:33 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [2] {"request":"enable_device","device_id":"hw:CARD=vc4hdmi,DEV=0","subscription_id":"36"}
03/21 12:35:33 Trace: [jsonserver] [192.168.0.19:62497] SENT [2] [nonfinal] {"status": "Success"}
03/21 12:35:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [6] {"request":"subscribe_transport"}
03/21 12:35:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  GOT [7] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/21 12:35:33 Trace: [RAAT::vc4-hdmi] [lua@0x7f80003f08] [192.168.0.19:58739]  SENT [7] {"status":"Success","action":"Changed","controls":[]}
03/21 12:35:35 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [3] {"request":"get_device_config","device_id":"hw:CARD=vc4hdmi,DEV=0","options":{}}
03/21 12:35:35 Trace: [raatmanager] stopping device vc4-hdmi
03/21 12:35:35 Trace: [raat_wrap] calling force_teardown on output
03/21 12:35:35 Trace: [raat_wrap] stopping RAAT device
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [device] stopping server
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58739] destroying client
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58739] destroying session
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [device] run exited successfully
03/21 12:35:35 Trace: [raat_wrap] deleting device
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] deleting device
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] closing multicast
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] deleting server
03/21 12:35:35 Trace: [raat_wrap] deleting volume
03/21 12:35:35 Trace: [raat_wrap] deleting output
03/21 12:35:35 Trace: [raat_wrap] deleting transport
03/21 12:35:35 Trace: [raat_wrap] deleting log
03/21 12:35:35 Trace: [raat_wrap] freeing
03/21 12:35:35 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa
03/21 12:35:35 Trace: [raatmanager/linux] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:35:35 Trace: [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:35:35 Trace: [raat_wrap] creating new RAAT device
03/21 12:35:35 Trace: [jsonserver] [192.168.0.19:62497] SENT [3] {"config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "volume": null, "external_config": {}}, "dev
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card components 
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:35:35 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/21 12:35:36 Info: [RAAT::vc4-hdmi] [server] listening on port 42481
03/21 12:35:36 Trace: [raat_wrap] starting RAAT device
03/21 12:35:36 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 42481, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] accepted connection
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] created: 0x7f600018b0 (0x7f6000ff48)
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] pre-loading lua module base
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] SENT[LL] [1] {"status": "Success"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] pre-loading lua module dkjson
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] SENT[LL] [1] {"status": "Success"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] pre-loading lua module protocol
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] SENT[LL] [1] {"status": "Success"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] executing lua script
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  [roon] clock socket listening on udp 0.0.0.0:50670
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  [roon] audio socket listening on tcp 0.0.0.0:41863
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] SENT[LL] [1] {"status": "Success"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  GOT [2] {"request":"info"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  SENT [2] {"output":{"info":{"alsa_device":{"longname":"vc4-hdmi","components":"vc4hdmi","id":"vc4hdmi","driver":"vc4-hdmi","mixername":"","name":"vc4-hdmi"},"config":{"device":"hw:CARD=vc4hdmi,DEV=
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  SENT [3] {"status":"Success"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  GOT [4] {"request":"subscribe_transport"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/21 12:35:36 Trace: [RAAT::vc4-hdmi] [lua@0x7f60013508] [192.168.0.19:58852]  SENT [5] {"controls":[],"status":"Success","action":"Changed"}
03/21 12:36:23 Trace: [jsonserver] [192.168.0.19:62497] GOT[LL] [3] {"request":"get_device_config","device_id":"hw:CARD=vc4hdmi,DEV=0","options":{}}
03/21 12:36:23 Trace: [raatmanager] stopping device vc4-hdmi
03/21 12:36:23 Trace: [raat_wrap] calling force_teardown on output
03/21 12:36:23 Trace: [raat_wrap] stopping RAAT device
03/21 12:36:23 Trace: [RAAT::vc4-hdmi] [device] stopping server
03/21 12:36:23 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58852] destroying client
03/21 12:36:23 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58852] destroying session
03/21 12:36:23 Trace: [RAAT::vc4-hdmi] [device] run exited successfully
03/21 12:36:24 Trace: [raat_wrap] deleting device
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] deleting device
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] closing multicast
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] deleting server
03/21 12:36:24 Trace: [raat_wrap] deleting volume
03/21 12:36:24 Trace: [raat_wrap] deleting output
03/21 12:36:24 Trace: [raat_wrap] deleting transport
03/21 12:36:24 Trace: [raat_wrap] deleting log
03/21 12:36:24 Trace: [raat_wrap] freeing
03/21 12:36:24 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa
03/21 12:36:24 Trace: [raatmanager/linux] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:36:24 Trace: [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:36:24 Trace: [raat_wrap] creating new RAAT device
03/21 12:36:24 Trace: [jsonserver] [192.168.0.19:62497] SENT [3] {"config": {"unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5", "output": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "volume": null, "external_config": {}}, "dev
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] initializing info dictionary
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting raat_version -> 1.1.38
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting protocol_version -> 3
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] initializing output uniqueid=hw:CARD=vc4hdmi,DEV=0
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] preferred buffer duration=0.040000s
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] force_max_volume=0
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] resync delay=0.100000s
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [ALSA] max pcm rate=1411200
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] max dsd rate=1024
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] enable_mqa_usb_device_support=1
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] dsd_mode=none
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] getting hardware info
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card id vc4hdmi
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card name vc4-hdmi
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card longname vc4-hdmi
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card mixername 
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card components 
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] pcm card driver vc4-hdmi
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] probing formats
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0] probing formats
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [alsa] [hw:CARD=vc4hdmi,DEV=0]     device supports channels range 2-2
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [output/alsa] initialized
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting unique_id -> 90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting vendor -> N/A
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting model -> N/A
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [info] inserting version -> N/A
03/21 12:36:24 Info: [RAAT::vc4-hdmi] [server] listening on port 45967
03/21 12:36:24 Trace: [raat_wrap] starting RAAT device
03/21 12:36:24 Trace: [jsonserver] [192.168.0.19:62497] SENT [1] [nonfinal] {"status": "DeviceChanged", "device": {"device_id": "hw:CARD=vc4hdmi,DEV=0", "type": "alsa", "name": "vc4-hdmi", "discovery_data": {"tcp_port": 45967, "unique_id": "90899420-fba4-8a1a-e497-b787f339c0c5
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58867] accepted connection
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58867] created: 0x7f7c0725f0 (0x7f7c01cfc8)
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:base.lua module=base
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58867] pre-loading lua module base
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58867] SENT[LL] [1] {"status": "Success"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:dkjson.lua module=dkjson
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58867] pre-loading lua module dkjson
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58867] SENT[LL] [1] {"status": "Success"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:protocol.lua module=protocol
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58867] pre-loading lua module protocol
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58867] SENT[LL] [1] {"status": "Success"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] new script with name=raat.dat:roon_tcp.lua module=(null)
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [session] [192.168.0.19:58867] executing lua script
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  [roon] clock socket listening on udp 0.0.0.0:45016
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  [roon] audio socket listening on tcp 0.0.0.0:33225
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  [roon] output info {"config": {"type": "alsa", "device": "hw:CARD=vc4hdmi,DEV=0", "dsd_mode": "none", "name": "vc4-hdmi"}, "alsa_device": {"longname": "vc4-hdmi", "id": "vc4hdmi", "name": "vc4-hdmi
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [server] [192.168.0.19:58867] SENT[LL] [1] {"status": "Success"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [2] {"request":"info"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [2] {"volume":{"info":[],"is_supported":false},"info":{"unique_id":"90899420-fba4-8a1a-e497-b787f339c0c5"},"flags":{"has_write_chmap":true},"status":"Success","platform":{"os":"linux","uname":
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [3] {"request":"set_client_type","client_type":"Roon"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [3] {"status":"Success"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [4] {"request":"subscribe_transport"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [5] {"request":"subscribe_controls","controller_id":"6724cc02-6e1f-4e3c-8bf5-80d4756f23bd"}
03/21 12:36:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [5] {"action":"Changed","controls":[],"status":"Success"}
03/21 12:37:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [6] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:24 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:24 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:24 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:24 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [6] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [7] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:25 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [7] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [8] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:25 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [8] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [9] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:25 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:25 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [9] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:26 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [10] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:26 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:26 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:26 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:26 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [10] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [11] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:38 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [11] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [12] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:38 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [12] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [13] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:38 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:38 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [13] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [14] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:39 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [14] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [15] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:39 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:39 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [15] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [16] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
03/21 12:37:55 Warn: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  setup failed: RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  SENT [16] {"message":"RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED","status":"UnexpectedError"}
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] [lua@0x7f7c0a14e8] [192.168.0.19:58867]  GOT [17] {"request":"setup","format":{"sample_type":"pcm","sample_rate":44100,"bits_per_sample":16,"channels":2,"sample_subtype":"none"}}
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] alsa output setup: format is pcm 44100/16/2
03/21 12:37:55 Trace: [RAAT::vc4-hdmi] opening [hw:CARD=vc4hdmi,DEV=0] 44100/16/2
(truncated many more of the same due to textarea character limit)

As before, I can play music fine through the HDMI port. Both of these commands get me the required 80s music playing through the monitor.

pi@rpi-garage:~ $ play ./06-The\ Safety\ Dance.wav 
play WARN alsa: can't encode 0-bit Unknown or not applicable

./06-The Safety Dance.wav:

 File Size: 29.2M     Bit Rate: 1.41M
  Encoding: Signed PCM    
  Channels: 2 @ 16-bit   
Samplerate: 44100Hz      
Replaygain: off         
  Duration: 00:02:45.33  

In:1.40% 00:00:02.32 [00:02:43.01] Out:102k  [  -===|====  ] Hd:2.3 Clip:0    
Aborted.
pi@rpi-garage:~ $ mpg123 ./09-You\ Might\ Think-\ The\ Cars.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
	version 1.31.2; written and copyright by Michael Hipp and others
	free software (LGPL) without any warranty but with best wishes

Directory: ./

Terminal control enabled, press 'h' for listing of keys and functions.

Playing MPEG stream 1 of 1: 09-You Might Think- The Cars.mp3 ...

MPEG 1.0 L III cbr256 44100 stereo

[0:02] Decoding of 09-You Might Think- The Cars.mp3 finished.

How could I get RAATServer to write audio to the HMDI device same as these other programs?

Thanks
James

The Android app doesn’t show the MUSE settings so here’s a screen shot from a mac. Note the same error stopping playback due to too many failures. RAATServer.log.txt shows the same RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED error messages repeating.

Note that “sample rate conversion” field is greyed out. Maybe the vc4-hdmi ALSA device is incompatible with this or something? Anyway I can’t upsample or downsample any audio, I think, because it’s greyed out. The other settings don’t make any difference to whether or not audio plays.

What else could I try?

Hey @James_Ockers ,

Have you tried setting the default audio output on the RPi to HDMI? Might be worth a shot:

https://forums.raspberrypi.com/viewtopic.php?t=322634

Hi,

Yes of course I did that. vc4-hdmi is the only audio output, because I disabled snd_bcm2835 in the config.txt.

Did you see above the output from aplay -l showing only vc4-hdmi audio out? Here it is again:

pi@rpi-garage:/boot/firmware $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pi@rpi-garage:/boot/firmware $ 

Screen shot from raspi-config:

I plugged in an el cheapo USB DAC and Roon and RAATServer work right away. I still would prefer to have RAATServer write the audio to the vc4-hdmi so please look into how we could get that to work.

Here’s how it looks with the USB DAC plugged in:

pi@rpi-garage:~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: vc4hdmi [vc4-hdmi], device 0: MAI PCM i2s-hifi-0 [MAI PCM i2s-hifi-0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: DAC [USB AUDIO    DAC], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Screen shot, when I click Enable, all the Roon things work on as expected.

Therefore I still think the RAAT__OUTPUT_PLUGIN_STATUS_FORMAT_NOT_SUPPORTED is a compatibility issue somewhere in RAATServer, ALSA, and/or vc4-hdmi hardware (?), so please let me know what else I could try to get that to work.

Thanks
James