Luckily there is no need to distinguish between member types, paying or not.
Thanks for the info, this should not be platform-specific, therefore I’ll check with the team. Will let you know.
Wrote it only because some features are license specific like analog/digital input, Tidal or CD playback. Not sure where bluetooth fals.
not relevant we’ll help anyway
According to the logs, the bluetooth stack get initialized ok, this needs to be checked with one of the devs.
If you need any additional data or logs just let me know.
Got a testing Rock PI X from Radxa along with another board, so gave it a whirl –
Boots fine, but needs some help with audio and WiFI.
For sound – audio codec should be up with SND_SOC_NAU8824
For WiFi – It’s the Ampak AP6255 module, so needs the appropriate drivers…
volumio@volumio:~$ inxi -vFzxxx
System: Host: volumio Kernel: 4.19.106+ i686 bits: 32 compiler: gcc v: 8.3.0 Console: tty 0 dm: N/A
Distro: Debian GNU/Linux 10 (buster)
Machine: Type: Desktop System: ROCK Pi product: ROCK Pi X v: N/A serial: <filter>
Mobo: ROCK Pi model: Cherry Trail CR v: 1.0 serial: <filter> UEFI: American Megatrends v: 5.11 date: 08/21/2020
CPU: Topology: Quad Core model: Intel Atom x5-Z8350 bits: 64 type: MCP arch: Airmont rev: 4 L2 cache: 1024 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 11520
Speed: 553 MHz min/max: 480/1920 MHz Core speeds (MHz): 1: 594 2: 565 3: 480 4: 480
Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:22b0
Display: tty server: X.org 1.20.4 driver: modesetting unloaded: fbdev,vesa tty: 183x58
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit driver: N/A bus ID: 00:03.0
chip ID: 8086:22b8
Sound Server: ALSA v: k4.19.106+
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169 v: kernel port: e000 bus ID: 01:00.0
chip ID: 10ec:8168
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: wlan0 state: down mac: <filter>
Drives: Local Storage: total: 62.46 GiB used: 14.28 GiB (22.9%)
ID-1: /dev/mmcblk0 model: SLD32G size: 28.91 GiB serial: <filter> rev: 0x8 scheme: GPT
ID-2: /dev/sda type: USB model: USB Flash Disk size: 3.73 GiB serial: <filter> rev: 1100 scheme: GPT
ID-3: /dev/sdb type: USB vendor: LITE-ON model: C S1-SP32-11 M.2 2 size: 29.82 GiB serial: <filter> rev: 0204
Partition: ID-1: / size: 454.9 MiB used: 204.8 MiB (45.0%) fs: overlay source: ERR-102
ID-2: /boot size: 486.0 MiB used: 42.1 MiB (8.7%) fs: vfat dev: /dev/sda1
Sensors: System Temperatures: cpu: 84.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info: Processes: 155 Uptime: 13m Memory: 1.85 GiB used: 382.5 MiB (20.2%) Init: systemd v: 241 runlevel: 5 default: 2
Compilers: gcc: N/A Shell: bash v: 5.0.3 running in: tty 0 (SSH) inxi: 3.0.32
volumio@volumio:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 1: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Audio [Intel HDMI/DP LPE Audio], device 2: HdmiLpeAudio [Intel HDMI/DP LPE Audi]
Subdevices: 1/1
Subdevice #0: subdevice #0
volumio@volumio:~$ aplay -L
default
Playback/recording through the PulseAudio sound server
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
softvolume
softvol
sysdefault:CARD=Audio
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Default Audio Device
hdmi:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
hdmi:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
hdmi:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
HDMI Audio Output
dmix:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
dmix:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
dmix:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample mixing device
dsnoop:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample snooping device
dsnoop:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample snooping device
dsnoop:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct sample snooping device
hw:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
hw:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
hw:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Direct hardware device without any conversions
plughw:CARD=Audio,DEV=0
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
plughw:CARD=Audio,DEV=1
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
plughw:CARD=Audio,DEV=2
Intel HDMI/DP LPE Audio, Intel HDMI/DP LPE Audi
Hardware device with all software conversions
usbstream:CARD=Audio
Intel HDMI/DP LPE Audio
USB Stream Output
Got a testing Rock PI X from Radxa along with another board, so gave it a whirl –
Boots fine, but needs some help with audio and WiFI.
For sound – audio codec should be up withSND_SOC_NAU8824
For WiFi – It’s the Ampak AP6255 module, so needs the appropriate drivers…
The SND_SOC_NAU8824 codec is already present, including the corresponding SND_SOC_INTEL_CHT_BSW_NAU8824_MACH machine driver.
The Alsa UCM configuration is also there, but is not being initialised in /usr/local/bytcr-init.sh
I only ever got this done for 2 Cherrytrail machines, which have both died a long time ago and with not having a device to do further development with, Baytrail/Cherrytrail support remains incomplete.
Driver and firmware to support the AP6255 module should also be present, but I’m not sure whether the default nvram file (brcmfmac43455-sdio.txt) is correct. There is another one in /lib/firmware/brcm, for the MINIX-NEO, perhaps you can try that one by renaming it to brcmfmac43455-sdio.txt(save the current one )
Aha, I was to hasty in my first boot and exploration(s) as I didn’t have a heatsink.
I rechecked again now and, WiFi is working out of the box, not sure why inxi
doesn’t see it though?
volumio@volumio:~$ sudo lshw -class network
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: eth0
version: 07
size: 1Gbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 ip=192.168.1.158 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
resources: irq:16 ioport:e000(size=256) memory:91804000-91804fff memory:91800000-91803fff
*-network
description: Wireless interface
physical id: 1
logical name: wlan0
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=brcmfmac driverversion=7.45.18 firmware=01-6a2c8ad4 ip=192.168.211.1 multicast=yes wireless=IEEE 802.11
I wasn’t that lucky with the audio though - I checked and you are right - the snd_soc_nau8824
drivers are already present as you mentioned, but it seems to fail to register the card with alsa.
volumio@volumio:~$ lsmod | grep snd_soc
snd_soc_sst_cht_bsw_nau8824 16384 0
snd_soc_sst_atom_hifi2_platform 65536 1 snd_intel_sst_core
snd_soc_acpi_intel_match 20480 1 snd_intel_sst_acpi
snd_soc_nau8824 45056 1 snd_soc_sst_cht_bsw_nau8824
snd_soc_acpi 16384 2 snd_intel_sst_acpi,snd_soc_acpi_intel_match
snd_soc_core 167936 3 snd_soc_nau8824,snd_soc_sst_cht_bsw_nau8824,snd_soc_sst_atom_hifi2_platform
regmap_i2c 16384 1 snd_soc_nau8824
snd_compress 20480 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
snd_pcm 77824 5 snd_hdmi_lpe_audio,snd_soc_nau8824,snd_soc_sst_cht_bsw_nau8824,snd_soc_sst_atom_hifi2_platform,snd_soc_core
snd 57344 11 snd_compress,snd_seq,snd_hdmi_lpe_audio,snd_soc_sst_cht_bsw_nau8824,snd_timer,snd_soc_sst_atom_hifi2_platform,snd_seq_device,snd_soc_core,snd_pcm
i2c_core 53248 8 i2c_designware_core,i2c_algo_bit,regmap_i2c,snd_soc_nau8824,i2c_designware_platform,i915,drm_kms_helper,drm
It does try and probe for the card multiple times but fails?
volumio@volumio:~$ dmesg | grep cht-bsw
[ 29.115169] cht-bsw-nau8824 cht-bsw-nau8824: ASoC: CODEC DAI nau8824-hifi not registered
[ 29.115179] cht-bsw-nau8824 cht-bsw-nau8824: snd_soc_register_card failed -517
<Appears a few more times>
[ 31.155251] cht-bsw-nau8824 cht-bsw-nau8824: ASoC: CODEC DAI nau8824-hifi not registered
[ 31.155261] cht-bsw-nau8824 cht-bsw-nau8824: snd_soc_register_card failed -517
If I understood you correctly, there won’t be any audio if the right ALSA UCM isn’t initialised for a device?
Looking at bytcr-init.sh
, if I am reading it right - the DAC has to be registered first correct?
So if it’s not showing up to alsa in aplay
then there isn’t much the script can do?
I also plugged it into a HDMI capable speaker, and had no dice with that.
Will try and play around a bit more with this x86 board - I’m not used to these non device-tree x86 stuff, so I hope you don’t mind if I read up a bit and then come back to trouble you!
Sound on baytrail/cherrytrail was new to me and I did not get much chance to play with it, but ask. Yes, it seems the dac has to be registered, error -517 always occurs when things are not done in the right order, in this case it is ok. You can experiment with the byctr-init script, I got as far as playing music in chipmunk mode, but there have been many UCM and driver/firmware dates since.
I’m supposed to get a Larkbox soon, this means I can have a closer look.
I also got a RockPi X, it woks fine with Lubuntu.
I tried latest Buster image and it never reaches the UI on the screen, it goes black and stays like that.
Do you have some new images to test with it?
which kernel version does your Lubuntu install have?
Lubuntu is running on kernel 5.4.0-45
I think it’s worth to mention latest Jessie for X86 works fine, even being with very old kernel. Unfortunately audio DAC and WiFi do not work, I had to use an external USB dongle.
That’s interesting, first time report that jessie with old kernel works and buster with new does not.
When the UI “goes black”, does Volumio actually work, can you access it from an external browser?
The current buster version has kernel 4.19.y, 5.4.y is still planned.
Perhaps I missed specific firmware for the graphics card, drivers should all be there.
Could you create a log from the dev page (when volumio does work without UI) or give me the output from the commands I listed in the opening post?
That would be a big help
sure, no problem!
I’ll let you know the outcome
I did some more testing with latest buster beta on RockPi X, here the outcome:
- I confirm UI is not showing up, but I noticed that before having a black screen there is a dark gray one with mouse cursor (I can even move it). screen turns full black when the system crashes, ssh is not responsive anymore.
- WiFi works out-of-the-box! This was not true for Lubuntu/Debian (I had to manually add one .txt file to have it working). I didn’t test streaming performance due to stability issues.
- HDMI audio works out-of-the box. Embedded DAC does not.
- system is very unstable, I could connect to Volumio via web interface on a PC a couple of times only (I could finalize the setup wizard and reboot once),
- most of the times the system crashes and becomes unresponsive, the only thing I could do is power-cycle.
- once I managed to login via ssh before the crash and perform a dump of dmesg. right after the dump the system crashed. here the log:
dmesg.txt (67.3 KB)
I tried several times to have a successful boot again, to perform the dump you requested, but after ~10 attempts I gave up.
I tried again latest Volumio x86 jessie and it never crashes
so far as i see it hangs on :
46.004111] [drm] GPU HANG: ecode 8:0:0x0cf3b8f3, in Xorg [1162], reason: han g on rcs0, action: reset
[ 46.005197] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
volumio@volumio-x86:~$ dmesg > dmes
yes, I could not type the complete command again because the system became unresponsive
Ah, I wonder what I was doing wrong… Didn’t get any audio when I hooked it up to my TV. Stock Buster worked fine OOTB…
Now I just feel silly. I just assumed it was headless as usual and didn’t really follow up on the blank/grey screen with just the mouse cursor!
I booted up a stock Buster image and compared it to the dumps from inxi
in Volumio X86/ Debian Buster debugging party (BETA)
– inxi
reports 1.85 GiB
of memory in this image compared to stock Buster’s 3.78 GiB
– There might be something amiss with the graphic card/firmware?
# Buster x86 Volumio
Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:22b0
Display: tty server: X.org 1.20.4 driver: modesetting unloaded: fbdev,vesa tty: 183x58
Message: Unable to show advanced data. Required tool glxinfo missing.
# Buster stock
System: Host: debian Kernel: 4.19.0-10-amd64 x86_64 bits: 64 compiler: gcc v: 8.3.0 Console: tty 1 dm: GDM3 3.30.2
Distro: Debian GNU/Linux 10 (buster)
Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Configuration Registers driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:22b0
Display: tty server: X.org 1.20.4 driver: i915 compositor: gnome-shell tty: 143x46
Message: Advanced graphics data unavailable in console. Try -G --display
do you also experience stability issues?
I’m going to try again soon, this afternoon I’ve added a heatsink on the processor