Volumio X86/ Debian Buster debugging party (BETA)

Discuss, contribute and orient Volumio development!

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.

Volumio X86/ Debian Buster debugging party (BETA)

Postby jo01 » Thu Mar 12 2020 16:03

my stuff:
Alfawise X5 - also a Mini-PC, but with Z8350 CPU from 2017



Hello everyone :D

I was so happy when I discovered the thread.

I took one of my Mini-PCs out of the box:
Alfawise X5 - a Mini-PC, with a x5-Z8350 CPU.

The Alfawise itself is a very annoying PC:
preinstalled were an Android and Windows10 on a 32gb-emmc

A USB stick with the image "volumiobuster-0.007-2020-02-27-x86
finished and tested...

If someone also has the Alfawise X5 Mini-PC: F7 leads to
Selection in the boot menu.
If you do not press the F7 key, there is a flashed(UEFI?) graphical menu
with "ANDROID icon" / "Windows icon"
and you just can't get to the USB stick............ so: press F7.

With the Alfawise I can finally pass on the sound via HDMI.

But also my "aune USB DAC" which I just bought for other reasons
also gives me the sound.

My new Hisense TV shows me the GUI at my whim.
On some days I don't see anything /
on other days parts of the gui
on the next days perhaps the full gui
but because I only want to hear :D , I'm not going to clear the error.


Afterwards I tried to transfer the USB stick to the built-in emmc
to install.
But this UEFI stuff won't let me start, so what do I do?

So I just put a LinuxMint installation on the fourth free partition.
When it was installed, the grub-install of linux plus customizations of grub.cfg
let me now without TV, but just pressing the F7 key
the volumio starting.

Plugins do not seem to be selectable at the moment, I guess


But overall a big step forward :-)

thank you very much,
jo01

PS: sorry about my english ;)
User avatar
jo01
Fresh off the boat
Fresh off the boat
 
Posts: 9
Joined: Mon Feb 19 2018 13:47
Location: in the "Westerwald", Germany

Ads helps Volumio remain Free and Open Source. Please consider donating to help us continue to serve you.


Volumio X86/ Debian Buster debugging party (BETA)

Postby johnnyde94 » Sat Mar 14 2020 02:20

Hello, I am having some odd issues when it comes to my library. First, my internal HDD is showing up as a USB drive, secondly USB drives will not scan and show up correctly at all. This will happen while using different USB drives formatted in NTFS or EXFAT. Finally, update and or recreate function will not always work, when this happens no drives will show up at all and when I try to look in my library it will show up blank. Attached below are the suggested debug lines and please let me know if any other commands will be helpful.

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: Laptop System: Dell product: Latitude E5470 v: N/A serial: <filter>
Chassis: type: 9 serial: <filter>
Mobo: Dell model: 0VHKV0 v: A00 serial: <filter> UEFI: Dell v: 1.21.6
date: 10/02/2019
Battery:
ID-1: BAT0 charge: 59.2 Wh condition: 59.2/62.0 Wh (95%) volts: 8.3/7.6
model: Samsung SDI DELL TXF9M6A type: Li-poly serial: <filter>
status: Full
CPU:
Topology: Single Core model: Intel Core i5-6300U bits: 64 type: MCP
arch: Skylake rev: 3 L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 4992
Speed: 2400 MHz min/max: 400/2400 MHz Core speed (MHz): 1: 2400
Graphics:
Device-1: Intel HD Graphics 520 vendor: Dell Skylake GT2 driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:1916
Display: tty server: X.org 1.20.4 driver: modesetting unloaded: fbdev,vesa
tty: 80x24
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell
driver: snd_hda_intel v: kernel bus ID: 00:1f.3 chip ID: 8086:9d70
Device-2: N/A type: USB driver: snd-usb-audio bus ID: 1-4:3
chip ID: 30be:1000
Sound Server: ALSA v: k4.19.106+
Network:
Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: 3.2.6-k
port: f040 bus ID: 00:1f.6 chip ID: 8086:156f
IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Device-2: Intel Wireless 8260 driver: iwlwifi v: kernel port: f040
bus ID: 01:00.0 chip ID: 8086:24f3
IF: wlan0 state: down mac: <filter>
Drives:
Local Storage: total: 655.81 GiB used: 282.61 GiB (43.1%)
ID-1: /dev/sda vendor: SanDisk model: SD8SN8U128G1001 size: 119.24 GiB
speed: 6.0 Gb/s serial: <filter> rev: 3001 scheme: GPT
ID-2: /dev/sdb type: USB vendor: JMicron model: Tech size: 476.94 GiB
serial: <filter> rev: 0204 scheme: MBR
ID-3: /dev/sdc type: USB vendor: Lexar model: USB Flash Drive
size: 59.62 GiB serial: <filter> rev: 1100 scheme: GPT
Partition:
ID-1: / size: 54.69 GiB used: 35.2 MiB (0.1%) fs: overlay source: ERR-102
ID-2: /boot size: 486.0 MiB used: 42.1 MiB (8.7%) fs: vfat dev: /dev/sdc1
Sensors:
Missing: Required tool sensors not installed. Check --recommends
Info:
Processes: 137 Uptime: 2h 27m Memory: 2.41 GiB used: 544.0 MiB (22.0%)
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

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3235 Analog [ALC3235 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 5: USB [Schiit Bifrost 2 Unison USB], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

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
sysdefault:CARD=PCH
HDA Intel PCH, ALC3235 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
hdmi:CARD=PCH,DEV=2
HDA Intel PCH, HDMI 2
HDMI Audio Output
hdmi:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 3
HDMI Audio Output
hdmi:CARD=PCH,DEV=4
HDA Intel PCH, HDMI 4
HDMI Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample mixing device
dmix:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample mixing device
dmix:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample mixing device
dmix:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct sample mixing device
dmix:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct sample snooping device
dsnoop:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct sample snooping device
dsnoop:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct sample snooping device
dsnoop:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct sample snooping device
dsnoop:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct sample snooping device
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Direct hardware device without any conversions
hw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Direct hardware device without any conversions
hw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Direct hardware device without any conversions
hw:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Direct hardware device without any conversions
hw:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC3235 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
HDA Intel PCH, HDMI 0
Hardware device with all software conversions
plughw:CARD=PCH,DEV=7
HDA Intel PCH, HDMI 1
Hardware device with all software conversions
plughw:CARD=PCH,DEV=8
HDA Intel PCH, HDMI 2
Hardware device with all software conversions
plughw:CARD=PCH,DEV=9
HDA Intel PCH, HDMI 3
Hardware device with all software conversions
plughw:CARD=PCH,DEV=10
HDA Intel PCH, HDMI 4
Hardware device with all software conversions
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
sysdefault:CARD=USB
Schiit Bifrost 2 Unison USB, USB Audio
Default Audio Device
front:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
Front speakers
surround21:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
Direct sample mixing device
dsnoop:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
Direct sample snooping device
hw:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
Direct hardware device without any conversions
plughw:CARD=USB,DEV=0
Schiit Bifrost 2 Unison USB, USB Audio
Hardware device with all software conversions
usbstream:CARD=USB
Schiit Bifrost 2 Unison USB
USB Stream Output
Random avatar
johnnyde94
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Wed Mar 11 2020 01:13


Volumio X86/ Debian Buster debugging party (BETA)

Postby gkkpch » Sat Mar 14 2020 22:31

yes, it was to be expected not all hardware will work, although we made a big step forward with kernel version and firmware.
Thanks for the information, it may help locating issues. But can't give a promise, giving it our best.
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1821
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio X86/ Debian Buster debugging party (BETA)

Postby gkkpch » Sat Mar 14 2020 22:34

jo01 wrote:my stuff:
Alfawise X5 - also a Mini-PC, but with Z8350 CPU from 2017



Hello everyone :D

I was so happy when I discovered the thread.

I took one of my Mini-PCs out of the box:
Alfawise X5 - a Mini-PC, with a x5-Z8350 CPU.

The Alfawise itself is a very annoying PC:
preinstalled were an Android and Windows10 on a 32gb-emmc

A USB stick with the image "volumiobuster-0.007-2020-02-27-x86
finished and tested...

If someone also has the Alfawise X5 Mini-PC: F7 leads to
Selection in the boot menu.
If you do not press the F7 key, there is a flashed(UEFI?) graphical menu
with "ANDROID icon" / "Windows icon"
and you just can't get to the USB stick............ so: press F7.

With the Alfawise I can finally pass on the sound via HDMI.

But also my "aune USB DAC" which I just bought for other reasons
also gives me the sound.

My new Hisense TV shows me the GUI at my whim.
On some days I don't see anything /
on other days parts of the gui
on the next days perhaps the full gui
but because I only want to hear :D , I'm not going to clear the error.


Afterwards I tried to transfer the USB stick to the built-in emmc
to install.
But this UEFI stuff won't let me start, so what do I do?

So I just put a LinuxMint installation on the fourth free partition.
When it was installed, the grub-install of linux plus customizations of grub.cfg
let me now without TV, but just pressing the F7 key
the volumio starting.

Plugins do not seem to be selectable at the moment, I guess


But overall a big step forward :-)

thank you very much,
jo01

PS: sorry about my english ;)

see previous post, trying to locate and fix it when possible
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1821
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio X86/ Debian Buster debugging party (BETA)

Postby johnnyde94 » Sat Mar 14 2020 22:57

Update: I got things to work properly once I rebooted, tried to again remake my library and once I got the message that it started I just needed to let it sit for a hour or so.
Random avatar
johnnyde94
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Wed Mar 11 2020 01:13


SOLVED - Volumio X86 Buster via VM

Postby direwolff » Mon Mar 23 2020 20:27

Please see my testing threads above for the history on this post. My target usage of Volumio is to have it running as a VM in my NAS server with the music it will be playing. This same rack has the preamp that needs to process and route the audio, so, a digital stream out of Volumio is the best option to preserve quality and stay efficient.

My server had a spare PCI slot, so I procured some older NVidia cards which I hoped would share the HDMI ports with me. This never worked right. It was due to the lack of the Nvidia Drivers in Volumio. They would not install properly and a patch was required.

I've been using my GT1030 for 3 days now, it works perfectly, it doesn't go to sleep with my monitor off and it only uses 19W of power. If I want to watch the kiosk GUI, it displays on my main 85" TV :)

I'll be selling the GTX750 (I don't need another fan in that case) PM if interested. I'll also try to find time to test the GT710 so we all can learn something, and then I'll likely sell that one too.

VM Particulars
Machine type - i440fx-4.2
BIOS - OVMF

Note the manual "multifunction" addition to the GPU passthrough:
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</source>
<alias name='hostdev0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
</source>
<alias name='hostdev1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
</hostdev>



Code: Select all
<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm' id='1'>
  <name>Gt10301440</name>
  <uuid>1bfb38e3-e6d0-e2c3-30c0-6f3ed331a658</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Debian" icon="debian.png" os="debian"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='2'/>
    <vcpupin vcpu='1' cpuset='10'/>
  </cputune>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-4.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/1bfb38e3-e6d0-e2c3-30c0-6f3ed331a658_VARS-pure-efi.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <cpu mode='host-passthrough' check='none'>
    <topology sockets='1' cores='1' threads='2'/>
    <cache mode='passthrough'/>
  </cpu>
  <clock offset='utc'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/disks/nongamingvm/gt1030440/volumiobuster-0.007-2020-02-27-x86.img' index='1'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <alias name='usb'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <alias name='usb'/>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <alias name='usb'/>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <alias name='usb'/>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='sata' index='0'>
      <alias name='sata0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:d6:20:6e'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='e1000-82545em'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/0'/>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/0'>
      <source path='/dev/pts/0'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-1-Gt10301440/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0' state='disconnected'/>
      <alias name='channel0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='mouse' bus='ps2'>
      <alias name='input0'/>
    </input>
    <input type='keyboard' bus='ps2'>
      <alias name='input1'/>
    </input>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
      </source>
      <alias name='hostdev0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <driver name='vfio'/>
      <source>
        <address domain='0x0000' bus='0x02' slot='0x00' function='0x1'/>
      </source>
      <alias name='hostdev1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
    </hostdev>
    <memballoon model='none'/>
  </devices>
  <seclabel type='dynamic' model='dac' relabel='yes'>
    <label>+0:+100</label>
    <imagelabel>+0:+100</imagelabel>
  </seclabel>
</domain>




NVidia GT1030 Install Steps
Code: Select all
Step 1 - Expand Image to make room
qemu-img resize -f raw [imagelocation]/volumiobuster-0.007-2020-02-27-x86.img +2G

Step 2 - Install Headers
copy headers to
cd /usr/kernel/
sudo dpkg -i linux-headers-4.19.106+_4.19.106+-1_i386.deb

Step 3 - Update Sources
Update Sources
sudo nano /etc/apt/sources.list

deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free

deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib

# buster-backports
deb http://deb.debian.org/debian buster-backports main contrib non-free

Step 4 - Update Installers

1 - apt-get update
2 - apt-get install aptitude
3 - sudo aptitude update
4 - sudo aptitude upgrade

Step 5 - Apply Kernel Fix per https://forum.loverpi.com/discussion/555/how-to-fix-dkms-error-bin-sh-1-scripts-basic-fixdep-exec-format-error
There are 4 steps needed to do this:
1) Change to the Linux header directory: cd /usr/src/linux-headers-`uname -r`
1) Install the necessary dependencies: sudo apt-get install -y build-essential bc bison flex libssl-dev
2) Apply the byteshift patch to the headers: wget https://raw.githubusercontent.com/armbian/build/master/patch/misc/headers-debian-byteshift.patch -O - | sudo patch -p1
3) Compile the scripts: sudo make scripts

Now DKMS should work like normal.

Step 6 - Install Nvidia Driver (Note Volumio is 32bit and so we must use legacy drivers "nvidia-legacy-390xx-driver")
1 - sudo aptitude install nvidia-legacy-390xx-driver
2 - There should be no errors, reboot when completed.

Step 7 - Correct mpd.conf in Volumio
1 - sudo nano /etc/mpd.conf
2 - Edit to set the correct HDMI output port for audio.  Save and reboot.  This GT 1030 is "hw0,3".

Step 8 - Test
This is fully functional.  Settings persist.  Cold start and reboot area all OK with no loss of function.  Turning off all audio hardware and letting it sit overnight does not result in errors or sleep mode.  This appears fully stable.
I am able to control this via my cell phone while on my home network.

lspci -k
00:05.0 VGA compatible controller: NVIDIA Corporation GP108 (rev a1)
        Subsystem: eVga.com. Corp. GP108 [GeForce GT 1030]
        Kernel driver in use: nvidia
        Kernel modules: nvidia
00:05.1 Audio device: NVIDIA Corporation GP108 High Definition Audio Controller (rev a1)
        Subsystem: eVga.com. Corp. GP108 High Definition Audio Controller
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
volumio@guildnoise666:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
volumio@guildnoise666:~$ 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
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dmix:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
dsnoop:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
hw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions
plughw:CARD=NVidia,DEV=7
    HDA NVidia, HDMI 1
    Hardware device with all software conversions
usbstream:CARD=NVidia
    HDA NVidia
    USB Stream Output


Are there any tests I should run or other CLI checks to make to ensure it is running bitperfect and following the intended Volumio data flow?

GT710 Reserved Test Spot
Code: Select all

Random avatar
direwolff
Sunday DIYer
Sunday DIYer
 
Posts: 24
Joined: Thu Dec 05 2019 16:25


Volumio X86/ Debian Buster debugging party (BETA)

Postby speedturtle » Thu Mar 26 2020 02:16

Hi gkkpch Moderator, I am making a note as per your request in my post need-help-onboard-spdif-sound-output-x86-t14257.html

gkkpch wrote:
There is no soundcard profile for the ATI card yet.
Of course we are willing to make one but that can take a little time before the next release.
Could you make a note in the Volumio Development/ Development talk/ Volumio X86/buster thread so it does not get lost?
After this is done, it will work with the next "legacy" X86 version as well.

root@volumio:/home/volumio# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

To take a detail look of the x86 PC, Is dmesg command printout required here?
Attachments
微信图片_20200326101520.jpg
SPDIF
微信图片_20200326101520.jpg (92.94 KiB) Viewed 444 times
User avatar
speedturtle
Fresh off the boat
Fresh off the boat
 
Posts: 8
Joined: Tue Jan 15 2019 07:22


Volumio X86/ Debian Buster debugging party (BETA)

Postby gkkpch » Thu Mar 26 2020 22:02

Noted!

Read the OP (first post), it explains what we like to receive as info.
Volumio OS Developer

You like my work? Then what about buying me a beer :)
User avatar
gkkpch
Moderator
 
Posts: 1821
Joined: Mon Dec 29 2014 22:38
Location: Bodensee, Switzerland


Volumio X86/ Debian Buster debugging party (BETA)

Postby johnnyde94 » Thu Mar 26 2020 23:20

Hello there, I can not seem to get resampling to work. I set it up, and checked local dev and this was the output. Note I tried to set bitrate to 24 and sampling to 192 with the highest quality option. I also tried different combinations nothing was working.

Update: This is my local music and i reverted back to the most current non-beta release and im seeing the same issue. is this an issue with the resampler or is this an issue with status now showing its upsampling? More playing around i tried to set resampling above what my Dac can handle and the music will play fine, this i belive shows the resampling is not working on beta or stable.

{"status":"play","position":2,"title":"Speed of Sound","artist":"Coldplay","album":"X&Y","albumart":"/albumart?cacheid=367&web=Coldplay/X%26Y/extralarge&path=%2FUSB%2FMusic%2FUncompressed%20FLAC%2FArchived%2FColdplay%2FX%26Y&metadata=false","uri":"mnt/USB/Music/Uncompressed FLAC/Archived/Coldplay/X&Y/07 – Speed of Sound.flac","trackType":"flac","seek":103430,"duration":288,"samplerate":"44.1 kHz","bitdepth":"16 bit","channels":2,"random":null,"repeat":null,"repeatSingle":false,"consume":false,"volume":100,"disableVolumeControl":false,"mute":false,"stream":"flac","updatedb":false,"volatile":false,"service":"mpd"}
Random avatar
johnnyde94
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Wed Mar 11 2020 01:13

Previous

Return to Development talks

Who is online

Users browsing this forum: No registered users and 0 guests