Jump to content
IGNORED

GentooPlayer


Recommended Posts

On 2/16/2020 at 9:35 AM, DomieMic65 said:

This pw is for hqplayer if I’m not mistaken... the pw for ssh to GentooPlayer is “raspiroot”.

See here http://gentooplayer.com/download  

Thanks that worked perfectly! I have by the way switched off the USB bus (with "echo '1-1' | tee /sys/bus/usb/drivers/usb/unbind") because I do not need a wired Ethernet connection and I do not replay from local drives. This brings down the power consumption of a RPi 3B+ (idle, cpufreq 1400MHz) from about 0.5A to 0.24A. I cannot say this has any obvious beneficial effects on the sound quality of my system but it certainly does not hurt.  

Link to comment
55 minutes ago, griorii said:

Do you use wi-fi? Is it better for sound quality for you? 
Many claim that it is in Pi3b+ that the use of 5 GHz wi-fi improves the quality compared to Ethernet. Ethernet is more noisy because of the USB chip. I have not yet found a confirmation for this.

Yes, I use wireless. My renderer is a  RPi 3B+ hosting an Allo DigiOne Signature. The DigiOne Signature is connected to a Naim DAC via BNC SPDIF. The RPi 3B+ runs (under GenTooPlayer or under a minimal Raspbian Lite distribution of my own) only upmpdcli and MPD and receives data via wireless from an RPi 4. The RPi 4 is wired to the router (Fritz!Box 7490) and runs MinimServer. I have not noticed any significant difference in the sound quality between wired and wireless connection of the RPi 3B+. I am currently testing Antonello's GenTooPlayer against my own minimal Raspbian Lite system. The first impression is that GenTooPlayer sounds a bit better but I will need more extensive tests to confirm. Antonello's GenTooPlayer is anyway the first dedicated distribution that I really like. I have tried Volumio and DietPi and did not like their web interfaces.     

Link to comment
1 hour ago, antonellocaroli said:

it might be true if you use rpi3 and dac usb directly connected to the rpi usb...because rpi3 has the shared lan and usb bus...
but I seriously doubt that wifi is better than lan....

If you power off the USB bus on the RPi 3B+ (with "echo '1-1' | tee /sys/bus/usb/drivers/usb/unbind") than you cannot use any USB DAC and, of course, you do not have wired Ethernet. The USB bus is responsible for about 50% of the power consumption of an RPi 3B+ running GenTooPlayer. If one does not need the USB bus, it make sense to switch it off, I would say.    

Link to comment
56 minutes ago, zackthedog said:

I tried a WiFi dongle on the Allo USB Sig and it worked but I did not feel the sound was as good as ethernet.

Do you mean the Allo USBridge Signature? In that case I would use wired Ethernet whenever possible. A Wi-Fi dongle draws current from the USB port. The whole point of using Wi-Fi (on a RPi 3B+ that hosts an Allo DigiOne Signature) is to be able to poweroff the USB bus. This would not make any sense on a USBridge Signature which is supposed to be used precisely because of its clean USB output! 

Link to comment
1 hour ago, griorii said:

Many claim that it is in Pi3b+ that the use of 5 GHz wi-fi improves the quality compared to Ethernet. Ethernet is more noisy because of the USB chip. I have not yet found a confirmation for this.

That's not my experience: I have not found any significant differences in sound quality between wired Ethernet (and therefore USB bus on and about 0.5A consumption) and wireless (and USB bus switched off and about 0.25A consumption) in my system. As I mentioned, I switch off the USB bus because I do not need it. As a side effect, the JS-2 that powers the RPi side of my DigiOne Signature also runs very cool. 

Link to comment
7 minutes ago, DomieMic65 said:

@nbpf & @antonellocaroli

Would this command 

“echo '1-1' | tee /sys/bus/usb/drivers/usb/unbind"

would turn off USB ports in rpi4 too?

 

I use rpi4 only with Ethernet for LMS with my files on NAS so no need for usb.

The command for turning them back on if desired?

Thank you!!!

I do not think so, but I have not tried the command on my RPi 4. Perhap this

https://raspberrypi.stackexchange.com/questions/5407/how-can-i-cut-power-coming-out-of-the-pis-usb-ports can help?

Link to comment
2 minutes ago, DomieMic65 said:

So only for rpi3B+ yes?

 

I am using the DigiOne (not sig) on my 3B+ and I was considering how to turn off usb, but sometimes I use usb dac too so I would need to turn usb back on if needed ... can you please tell me the command to turn usb on?

 

Thank you!!

I do not know how to power on the USB bus. I power off the USB bus whenever I do not need it. if I happen to need the USB bus (for instance, to mount a USB drive or to connect via wired Ethernet), I just reboot the device.

 

 

Link to comment
5 minutes ago, DomieMic65 said:

Ok... I messed up! As a newbie I am.

I forgot that I need Ethernet ... I gave the command and now my player not working!

Unplugging and replugging power didn’t solve the issue.

Maybe I corrupted the sd card too by doing so... $c!t happens!!!

It is unlikely that you have corrupted the SD card but it is of course possible. I always keep an image of the current system for these cases, I hope you do so as well. If your system is GenTooPlayer, you might even have a backup of your setup. Kudos to Antonello for the very nice work! 

Link to comment

I have noticed that after having removed a software component (for instance, 'squeezelite') that very component is still in the list of removable software. Is that the intended behavior? I would rather expect a removed software to disappear from the lest of removable software.

Link to comment
1 minute ago, antonellocaroli said:

emerge --ask dev-vcs/git

 

how come you don't have any more git?

Thanks Antonello! I have removed "squeezelite", "logitechMediaServer" and the "hQPlayer"s using the GenTooPlayer web interface. After that git was gone. Reinstall does not seem to work:

rpi6GenToo ~ # emerge --ask dev-vcs/git

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "dev-vcs/git".

emerge: searching for similar names...
emerge: Maybe you meant any of these: dev-libs/glib, dev-libs/icu, dev-libs/gmp?

Any idea how to proceed? Best, nbpf

Link to comment

Antonello, FYI: with the cpufreq reduced to 1000MHz, the sdramfreq requced to 400MHz, HDMI switched off and the USB bus powered off, an RPi 3B+ hosting an Allo DigiOne Signature and running only mpd and upmpdcli under GenTooPlayer requires 0.22-0.24A under load (replay of 24bits/48KHz files). I have added "dtparam=audio=off" to /boot/config.txt as I do not need the internal audio of the RPi. Thanks for providing GenTooPlayer!

Link to comment
  • 3 weeks later...

I have upgraded GenTooPlayer (Raspberry 3B/3B+ (compatible Allo USBridge Sig.))  to 2.11 (from 2.10 via the "System H. GP-Version Update" web-interface menu) and ran into the following issues/regressions:

 

1) upmpdcli does not appear to work. The renderer is not seen in either Linn Kazoo and in the Bubble UPnP control app and I get a

:2:src/mediaserver/cdplugins/streamproxy.cpp:477::Aproxy: MHD_start_daemon failed

/var/log/upmpdcli.logerror upon restarting upmpdcli from the command line. 

 

2) Some settings in "System G. TWK various" do not appear to be persistent or they appear to get overwritten by other settings. In particular, setting the cpumaxfreq to 1000MHz and force turbo to Enable are not persistent.

 

I have now reverted to v2.0 that still works fine for me.

 

 

Link to comment
9 minutes ago, antonellocaroli said:

I don't reproduce the two problems...

 

1) did you overwrite the configuration file of upmpdcli? with etc-update?

 

2) does not change from 2.10 to 2.11

 

1) No, but I have manually set "friendlyname = UpMpd (rpi6 sala)" and "ohproductroom = UpMpd (rpi6 sala)" as I had done in 2.0

 

2) The problem is within 2.11. It seems that some other action (e.g. enabling upmpdcli or re-selecting a DAC) overwrites the cpufraqmax settings

 

I'll try to flash the image again, restart from scratch and report my findings. Thanks for your support!

Link to comment
17 minutes ago, antonellocaroli said:

the only one that overrides them and returns them to default values is "select dac".

but it's the same for both 2.10 and 2.11.

Ok, then issue 2) is resolved. I still have the problem that upmpdcli is not visible in my network in 2.11. In 2.0 it works fine and I have not tried it in 2.10. 

Link to comment

@antonellocaroli, @askat1988: I have now reinstalled 2.10 from scratch, updated to 2.11 and then setup my system (included upmpdcli.conf edits) in 2.11. Everything works now as expected. It is conceivable that the upmpdcli problems that I have reported in my previous posts might have to do with the fact that, in my previous attempt, I had first set up my system in 2.10 and then updated to 2.11. It is of course possible that I had done something wrong. Here is my system info:

 

Profile: Profile not Setting
RamSystem: Ramsystem not enabled
Free memory: 897MB of total 968MB


Kernel: 4.19.97-GentooPlayer-ST+
───────────────────────────────────────
GentooPlayer | 12:04 | mar 17/03/2020
───────────────────────────────────────
v2.11 | Raspberry Pi 3B/3B+ (aarch64)
───────────────────────────────────────
wlan0 | 192.168.178.50
───────────────────────────────────────


Players Info:
Squeezelite-R2 [Disabled]
Squeezelite [Disabled]
Networkaudiod [Disabled]
LigitechMediaServer [Disabled]
BubbleUpnp [Disabled]
HQPlayer Embedded [Disabled]
Mpd [Enabled]
UpMpdCli [Enabled]
RoonBridge [Disabled]
RoonServer [Disabled]
Mpd-Sima [Disabled]
MYmpd [Disabled]
minimserver [Disabled]
shairport-sync [Disabled]


*** Scanning for playback devices ***
Card 0, ID `sndallodigione', name `snd_allo_digione'
Device 0, ID `Allo DigiOne HiFi wm8804-spdif-0', name `Allo DigiOne HiFi wm8804-spdif-0', 1 subdevices (1 available)
2 channels, sampling rate 32000..192000 Hz
Sample formats: S16_LE, S24_LE
Buffer size range from 64 to 131072
Period size range from 32 to 65536


Subdevice 0, name `subdevice #0'



AUDIO CARDS
CARD TYPE ADDRESS NAME
--------------------------------------------------------------------------------------------------------
card0 Internal Audio card card0 --> -- Allo DigiOne HiFi
card0 STATUS --> closed
--------------------------------------------------------------------------------------------------------



Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 14G 3.1G 11G 24% /
devtmpfs devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 97M 264K 97M 1% /run
cgroup_root tmpfs 10M 0 10M 0% /sys/fs/cgroup
shm tmpfs 485M 0 485M 0% /dev/shm



[ OK ] Root access verified.


─────────────────────────────────────────────────────
Gentooplayer CPU Info
Use cpu-governor to change CPU / performance options
─────────────────────────────────────────────────────
Architecture | aarch64
Temp | 44'c : 111'f | Optimal temperature.
Governor | performance


Current Freq Min Freq Max Freq
CPU0 | 1000 MHz 1000 MHz 1000 MHz
CPU1 | 1000 MHz 1000 MHz 1000 MHz
CPU2 | 1000 MHz 1000 MHz 1000 MHz
CPU3 | 1000 MHz 1000 MHz 1000 MHz


[ INFO ] GentooPlayer-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.
- if the temperature is not displayed, first run the command: sensors-detect --auto
Link to comment
  • 2 weeks later...

@antonellocaroliToday I restarted the router and the system did not reconnect to the wireless. I can get an IP address through the wired interface and then I see

rpi6 ~ # ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:8b:cf:50 brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DORMANT group default qlen 1000
    link/ether b8:27:eb:de:9a:05 brd ff:ff:ff:ff:ff:ff
rpi6 ~ # ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.107  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 2003:da:a742:bf00:e81f:bd2:29cc:b305  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::2be0:f898:a4b6:f55d  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:8b:cf:50  txqueuelen 1000  (Ethernet)
        RX packets 829  bytes 95193 (92.9 KiB)
        RX errors 0  dropped 30  overruns 0  frame 0
        TX packets 646  bytes 277519 (271.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 366  bytes 90471 (88.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 366  bytes 90471 (88.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.178.50  netmask 255.255.255.0  broadcast 192.168.178.255
        inet6 2003:da:a742:bf00:fa0b:3c6c:c184:62da  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::8b21:b3a8:6523:b9f8  prefixlen 64  scopeid 0x20<link>
        ether b8:27:eb:de:9a:05  txqueuelen 1000  (Ethernet)
        RX packets 96  bytes 6170 (6.0 KiB)
        RX errors 0  dropped 2  overruns 0  frame 0
        TX packets 31  bytes 4226 (4.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 

If I turn off eth0, the system is immediately reachable via wlan0. But upon rebooting (after having disconnected the wired connection), the system does not connect to the wireless again. I might have done a gp-update before I restarted the router. The system information is:

 Profile:     Profile not Setting
 RamSystem:   Ramsystem not enabled
 Free memory: 849MB of total 968MB

 Kernel:   4.19.97-GentooPlayer-ST+
 ───────────────────────────────────────
 GentooPlayer   | 20:08 | dom 05/04/2020 
 ───────────────────────────────────────
 v2.12      | Raspberry Pi 3B/3B+ (aarch64)
 ───────────────────────────────────────
 wlan0       | 192.168.178.50
 ───────────────────────────────────────

Players Info:
Squeezelite-R2          [Disabled]
Squeezelite             [Disabled]
Networkaudiod           [Disabled]
LigitechMediaServer     [Disabled]
BubbleUpnp              [Disabled]
HQPlayer Embedded       [Disabled]
Mpd                     [Enabled]
UpMpdCli                [Enabled]
RoonBridge              [Disabled]
RoonServer              [Disabled]
Mpd-Sima                [Disabled]
MYmpd                   [Disabled]
minimserver             [Enabled]
shairport-sync          [Disabled]

*** Scanning for playback devices ***
Card 0, ID `sndallodigione', name `snd_allo_digione'
  Device 0, ID `Allo DigiOne HiFi wm8804-spdif-0', name `Allo DigiOne HiFi wm8804-spdif-0', 1 subdevices (1 available)
    2 channels, sampling rate 32000..192000 Hz
    Sample formats: S16_LE, S24_LE
    Buffer size range from 64 to 131072
    Period size range from 32 to 65536

      Subdevice 0, name `subdevice #0'


AUDIO CARDS
CARD    TYPE            ADDRESS            NAME
--------------------------------------------------------------------------------------------------------
    card0    Internal Audio card    card0 --> --         Allo DigiOne HiFi
card0    STATUS  --> closed
--------------------------------------------------------------------------------------------------------


Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/root      ext4       14G  9.8G  3.6G  74% /
devtmpfs       devtmpfs   10M     0   10M   0% /dev
tmpfs          tmpfs      97M  320K   97M   1% /run
cgroup_root    tmpfs      10M     0   10M   0% /sys/fs/cgroup
shm            tmpfs     485M     0  485M   0% /dev/shm


[  OK  ] Root access verified.

 ─────────────────────────────────────────────────────
 Gentooplayer CPU Info
 Use cpu-governor to change CPU / performance options
 ─────────────────────────────────────────────────────
 Architecture |     aarch64
 Temp         |     51'c : 123'f  | Running warm, but safe.
 Governor     |     performance

                 Current Freq    Min Freq   Max Freq
 CPU0         |      1000 MHz      1000 MHz    1000 MHz
 CPU1         |      1000 MHz      1000 MHz    1000 MHz
 CPU2         |      1000 MHz      1000 MHz    1000 MHz
 CPU3         |      1000 MHz      1000 MHz    1000 MHz

[ INFO ] GentooPlayer-CPU_info | CPU current frequency, may be affected by this script, due to the processing required to run it.
 - if the temperature is not displayed, first run the command: sensors-detect --auto

Any idea how to fix the problem? Thanks, nbpf

Link to comment
29 minutes ago, antonellocaroli said:

but via ssh you connect to the address:

ssh [email protected]

 

?

 

Yes, after turning off eth0 (192.168.178.107) I can immediately ping and ssh-connect to 192.168.178.50. But the setting is not persistent. If I shutdown the system and disconnect the wired connection, the device does not connect to the wireless anymore. In other words, I can only connect to eth0 after boot, later I can connect to wlan0 by shutting down eth0.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...