Volumio Debian Buster Beta - Raspi images debugging

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 Debian Buster Beta - Raspi images debugging

Postby ashthespy » Thu May 21 2020 15:55

chelhydra wrote:
Darmur wrote:After another reboot, volume shown in the UI is 20. This makes me think of a visual issue on the UI, because what I see in the log looks correct and the selected value is saved before reboot.


It is a visual issue, the volume is changing as you click or move the bar but for some reason the UI is always falling back to the initial value.


Darmur wrote:Yes, it this a known issue?

Is this what your describing?
https://github.com/volumio/Volumio2/issues/1972
User avatar
ashthespy
Objectivist
Objectivist
 
Posts: 427
Joined: Fri Jul 22 2016 08:16

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


Volumio Debian Buster Beta - Raspi images debugging

Postby chelhydra » Thu May 21 2020 20:25

ashthespy wrote:
chelhydra wrote:
Darmur wrote:After another reboot, volume shown in the UI is 20. This makes me think of a visual issue on the UI, because what I see in the log looks correct and the selected value is saved before reboot.


It is a visual issue, the volume is changing as you click or move the bar but for some reason the UI is always falling back to the initial value.


Darmur wrote:Yes, it this a known issue?

Is this what your describing?
https://github.com/volumio/Volumio2/issues/1972


Yes that's it
Random avatar
chelhydra
Fresh off the boat
Fresh off the boat
 
Posts: 2
Joined: Sat May 12 2018 09:41


Volumio Debian Buster Beta - Raspi images debugging

Postby Darmur » Fri May 22 2020 19:20

ashthespy wrote:
chelhydra wrote:
Darmur wrote:After another reboot, volume shown in the UI is 20. This makes me think of a visual issue on the UI, because what I see in the log looks correct and the selected value is saved before reboot.


It is a visual issue, the volume is changing as you click or move the bar but for some reason the UI is always falling back to the initial value.


Darmur wrote:Yes, it this a known issue?

Is this what your describing?
https://github.com/volumio/Volumio2/issues/1972


I also have this issue, but I have problems with other volume controls too
User avatar
Darmur
Serious Listener
Serious Listener
 
Posts: 72
Joined: Sat Apr 25 2020 19:14
Location: Nijmegen, NL


Volumio Debian Buster Beta - Raspi images debugging

Postby mike42 » Mon May 25 2020 08:28

@ashthespy: Awesome, I justed tested your version 0.008 successfully on a Pi3.
However, for a more clear structured configuration I would like to move the hotspot specific dnsmasq config lines into a separated file. Intead of adding those lines onto the /etc/dnsmasq.conf file put it into /etc/dnsmasq.d/hotspot.conf
Code: Select all
# Only listen on wifi interface
interface=wlan0
# Always return 192.168.211.1 for any query not answered from /etc/hosts or DHCP and not sent to an upstream nameserver
address=/#/192.168.211.1
# DHCP server not active on wired lan interface
no-dhcp-interface=eth0
# IPv4 address range, netmask and lease time
dhcp-range=192.168.211.100,192.168.211.200,255.255.255.0,24h
# DNS server
dhcp-option=option:dns-server,192.168.211.1
expand-hosts
domain=local
# Facility to which dnsmasq will send syslog entries
log-facility=local7


Futher, I noticed there are some upgrades for packages like dhcpcd5, dnsmasq, openssl etc. available in the official raspbian repos. Do you integrate these into a new version or what is your policy to handle that? By doing it manually I also noticed that package upgrades like libavcodec58 require the raspberrypi-bootloader package which is kept back by apt preferences in /etc/apt/preferences.d/raspberrypi-kernel.

Thanks for all your effort. :)


FWIW, for everybody who is going to use Kodi Leia on the Volumio Buster image instead of the integrated Kodi Kryton plugin which is still linked by default, these lines might be helpful to install the Kodi Leia plugin manually.
Code: Select all
volumio@volumio:~$ mkdir -p /data/plugins/miscellanea/kodi
volumio@volumio:~$ git clone -b Buster https://github.com/Saiyato/volumio-kodi-plugin /data/plugins/miscellanea/kodi/
chmod 755 /data/plugins/miscellanea/kodi/*.sh
sudo /data/plugins/miscellanea/kodi/install.sh
Random avatar
mike42
Sunday DIYer
Sunday DIYer
 
Posts: 11
Joined: Sat Apr 25 2020 08:46


Volumio Debian Buster Beta - Raspi images debugging

Postby ashthespy » Mon May 25 2020 15:39

mike42 wrote:However, for a more clear structured configuration I would like to move the hotspot specific dnsmasq config lines into a separated file. Intead of adding those lines onto the /etc/dnsmasq.conf file put it into /etc/dnsmasq.d/hotspot.conf

Hm, I thought I was already doing that, the commit must have slipped through during the build. Will check, thanks!

mike42 wrote:Futher, I noticed there are some upgrades for packages like dhcpcd5, dnsmasq, openssl etc. available in the official raspbian repos. Do you integrate these into a new version or what is your policy to handle that? By doing it manually I also noticed that package upgrades like libavcodec58 require the raspberrypi-bootloader package which is kept back by apt preferences in /etc/apt/preferences.d/raspberrypi-kernel.

Thanks for all your effort. :)

Right now, as everything is picked up from buster repos, you should be able to safely just un-pin the kernel and upgrade.. It gets tricky only when we use the custom volumio build mpd and friends. I will look into why the latest packages weren't picked up automatically, it could be that my image was using an old multistrap rootfs..

Again, thanks for testing - please do report if you face some funny issues - the new version uses armv6l based unofficial nodejs binaries, to preserve compatibility with older pis.
It would be prudent to make some images with armv7 binaries to do some real world A/B checks for performance. If someone is interested in testing, let me know, will make the images/scripts..
User avatar
ashthespy
Objectivist
Objectivist
 
Posts: 427
Joined: Fri Jul 22 2016 08:16


Volumio Debian Buster Beta - Raspi images debugging

Postby Darmur » Mon May 25 2020 16:13

I'm testing the latest image on the old setup (RPi0 + WiFi dongle)

I can see the dongle is recognized properly and hotspot is created, but I can't find the network, it does not appear searching with PC, smartphone and tablet.

I'll try to use a different WiFi dongle and test again

Code: Select all
volumio@volumio:~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 520  bytes 44646 (43.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 520  bytes 44646 (43.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.211.1  netmask 255.255.255.0  broadcast 192.168.211.255
        ether cc:79:cf:5b:e4:e3  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

volumio@volumio:~$
User avatar
Darmur
Serious Listener
Serious Listener
 
Posts: 72
Joined: Sat Apr 25 2020 19:14
Location: Nijmegen, NL


Volumio Debian Buster Beta - Raspi images debugging

Postby Darmur » Tue May 26 2020 07:06

I did some more testing, I moved the SD-card from RPi0 with WiFi dongle to RPi0W and Hotspot was accessible. After connecting to my WiFi network, I put back the SD-card on RPi0 with WiFi dongle and it's working fine.

It looks like the WiFi dongle has some problems in creating a hotspot, unfortunately the other dongle I have is not supported out-of-the-box by kernel 4.19

* glitch on changing volume is still there.
* Spotify, web radio and playback from NAS are OK.
* GPIO plugins still not working

Is there something more I should test?
User avatar
Darmur
Serious Listener
Serious Listener
 
Posts: 72
Joined: Sat Apr 25 2020 19:14
Location: Nijmegen, NL


Volumio Debian Buster Beta - Raspi images debugging

Postby Darmur » Tue May 26 2020 07:19

I can confirm mt7601u driver included in the kernel does not support AP mode, some modified drivers are available but nothing official for supporting that feature.
User avatar
Darmur
Serious Listener
Serious Listener
 
Posts: 72
Joined: Sat Apr 25 2020 19:14
Location: Nijmegen, NL


Volumio Debian Buster Beta - Raspi images debugging

Postby ashthespy » Tue May 26 2020 09:01

Darmur wrote:I did some more testing, I moved the SD-card from RPi0 with WiFi dongle to RPi0W and Hotspot was accessible. After connecting to my WiFi network, I put back the SD-card on RPi0 with WiFi dongle and it's working fine.

It looks like the WiFi dongle has some problems in creating a hotspot, unfortunately the other dongle I have is not supported out-of-the-box by kernel 4.19

We pick up the firmware for this dongle from the`firmware-ralink` package. If it's not fixed/supported in the buster repo, not much we can do, sorry!

Darmur wrote:* glitch on changing volume is still there.
* Spotify, web radio and playback from NAS are OK.
* GPIO plugins still not working


You reported more than just the the visual volume glitch correct? Does your mixer work directly with alsamixer? Cause then it's a Volumio (backend/frontend) issue, and I will take a look there. I am assuming that the volume control works fine with a regular volumio build?

As for the GPIO plugins, the authors need to rebuild node modules, or you'll can build the node modules for it yourself.. You will need to install `build-essential`, and then head to the plugin's dir (`/data/plugins/...` and run `npm install`
User avatar
ashthespy
Objectivist
Objectivist
 
Posts: 427
Joined: Fri Jul 22 2016 08:16


Volumio Debian Buster Beta - Raspi images debugging

Postby Darmur » Tue May 26 2020 09:59

ashthespy wrote:We pick up the firmware for this dongle from the`firmware-ralink` package. If it's not fixed/supported in the buster repo, not much we can do, sorry!


No problem, the goal was to verify if the issue was related to the build or to my crappy dongle.

ashthespy wrote:You reported more than just the the visual volume glitch correct? Does your mixer work directly with alsamixer? Cause then it's a Volumio (backend/frontend) issue, and I will take a look there. I am assuming that the volume control works fine with a regular volumio build?


I described the test I did in the post from Wed May 20 2020 17:47.
Volume control with speaker icons has problems with latest Volumio 2.773 too, but using the circle control works fine with that version.

ashthespy wrote:As for the GPIO plugins, the authors need to rebuild node modules, or you'll can build the node modules for it yourself.. You will need to install `build-essential`, and then head to the plugin's dir (`/data/plugins/...` and run `npm install`


I'll try that
User avatar
Darmur
Serious Listener
Serious Listener
 
Posts: 72
Joined: Sat Apr 25 2020 19:14
Location: Nijmegen, NL

PreviousNext

Return to Development talks

Who is online

Users browsing this forum: No registered users and 1 guest