Jump to content

congofather

  • Posts

    74
  • Joined

  • Last visited

  • Country

    Turkey

Retained

  • Member Title
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi @antonellocaroli, When I try to update media-sound/mpd, the update could not be completed due to a dependency error given below. Similiarly, when I try to update upmpdcli, I received the same dependency error which is also given below. What should I do to update them correctly to the newest available version? *********MY SYSTEM INFO********************************************** Profile: Profile not Setting RamSystem: Ramsystem not enabled Free memory: 3739MB of total 3860MB Kernel: 6.1.77-GentooPlayer-RT-ULTRA-EUP100-NOR-rt24+ ─────────────────────────────────────── GentooPlayer | 00:30 | Mon 11/03/24 ─────────────────────────────────────── v8.50-211 | Raspberry Pi 4B+ (aarch64) ─────────────────────────────────────── eth0 | 192.168.1.63 ─────────────────────────────────────── Players/soft. Info: Squeezelite-R2 [Disabled] Squeezelite [Disabled] Networkaudiod [Disabled] LogitechMediaServer [Disabled] BubbleUpnp [Disabled] HQPlayer Embedded [Disabled] Mpd [Enabled] UpMpdCli [Enabled] RoonBridge [Disabled] RoonServer [Disabled] myMPD [Disabled] minimserver [Disabled] shairport-sync [Disabled] spotify-connect [Disabled] web-interface [Enabled] Samba [Disabled] gmediarender [Disabled] camillagui [Disabled] aplayer [Disabled] aprenderer [Disabled] gstreciver [Disabled] HotSpot [Disabled] GP-Service Info: gpchronystop [Enabled] gphavagedstop [Enabled] gpkernel1 [Enabled] gprtclock [Enabled] gpseteth [Enabled] gpsetirq [Enabled] gpsetlib [Enabled] gpsetmpd [Enabled] gpsetrestart [Enabled] gpsetupm [Enabled] - Started Service: dhcpcd clockup upmpdcli netmount mpd sshd local Stopped Service: chronyd gprtclock gpkernel1 gpseteth gpsetirq gpsetlib gpsetmpd gpsetupm gphavagedstop gpchronystop gpsetrestart Crashed Service: ───────────────────────────────────────────────────── Boot Options: dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=817067c7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait mitigations=off nosoftlockup cpufreq.off=1 numa_balancing=disable audit=0 selinux=0 cpuidle.off=1 skew_tick=1 acpi_irq_nobalance isolcpus=1-3 nohz_full=1-3 rcu_nocbs=1-3 net.ifnames=0 ───────────────────────────────────────────────────── *** Scanning for playback devices *** Card 0, ID `sndrpihifiberry', name `snd_rpi_hifiberry_digi' Device 0, ID `HiFiBerry Digi+ Pro HiFi wm8804-spdif-0', name `HiFiBerry Digi+ Pro 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 4 to 131072 Period size range from 2 to 65536 Subdevice 0, name `subdevice #0' ───────────────────────────────────────────────────── AUDIO CARDS INFO: CARD TYPE ADDRESS NAME -------------------------------------------------------------------------------------------------------- card0 Internal Audio card card0 --> -- HiFiBerry Digi+ Pro card0 STATUS --> closed -------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------- ───────────────────────────────────────────────────── K-e4:5f:01:38:1b:37 ───────────────────────────────────────────────────── ───────────────────────────────────────────────────── Filesystem Type Size Used Avail Use% Mounted on /dev/root ext4 56G 5.0G 49G 10% / devtmpfs devtmpfs 10M 0 10M 0% /dev tmpfs tmpfs 773M 488K 772M 1% /run shm tmpfs 1.9G 0 1.9G 0% /dev/shm //192.168.1.25/music cifs 1.8T 1.1T 715G 61% /mnt/Synology_Music //192.168.1.25/music/playlist cifs 1.8T 1.1T 715G 61% /mnt/Synology_Playlist /dev/mmcblk0p1 vfat 591M 241M 350M 41% /boot ───────────────────────────────────────────────────── Raspberry Pi Compute Module 4 Rev 1.0 CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Vendor ID: ARM Model: 3 Model name: Cortex-A72 ───────────────────────────────────────────────────── CPU-specific microarchitecture: ───────────────────────────────────────────────────── Gentooplayer CPU Info Use cpu-governor to change CPU / performance options ───────────────────────────────────────────────────── Architecture | aarch64 Temp | 45'c : 113'f | Optimal. Governor | Unknown Current Freq Min Freq Max Freq CPU0 | 0 MHz 0 MHz 0 MHz ───────────────────────────────────────────────────── COMMAND %CPU mpd 0.8 irq/30-eth0 0.1 upmpdcli 0.1 irq/15-DMA IRQ 0.1 irq/31-eth0 0.0 ***********ERROR LOG FOR MPD*********************************** \... done! Dependency resolution took 16.43 s (backtrack: 1/20). !!! The following update has been skipped due to unsatisfied dependencies: media-sound/mpd:0 selected: (media-sound/mpd-0.23.13:0/0::gentoo, installed) skipped: (media-sound/mpd-0.23.15:0/0::antonellocaroli, ebuild scheduled for merge) (see unsatisfied dependency below) emerge: there are no ebuilds to satisfy ">=virtual/gp_version-860". (dependency required by "media-sound/mpd-0.23.15::antonellocaroli" [ebuild]) ***********ERROR LOG FOR upmpdcli*********************************** !!! The following update has been skipped due to unsatisfied dependencies: media-sound/upmpdcli:0 selected: (media-sound/upmpdcli-1.8.7:0/0::antonellocaroli, installed) skipped: (media-sound/upmpdcli-1.8.8:0/0::antonellocaroli, ebuild scheduled for merge) (see unsatisfied dependency below) emerge: there are no ebuilds to satisfy ">=virtual/gp_version-860". (dependency required by "media-sound/upmpdcli-1.8.8::antonellocaroli" [ebuild])
  2. @chrisc This is what small Devialet screen shows when it's playing DSD64 over Mercury Streamer :)
  3. Devialet is able to play DSD64 by using its AES/EBU input (USB input also supports that but if you have a really good streamer, sound quality of AES is superior when it is compared with USB input for Devialet). Pi2Design Mercury Streamer can also stream DSD64 audio files by using DOP(DSD Over PCM). You can set DSD to DOP under MPD BitPerfect(if you use MPD) to enable DSD64 streaming to Devialet. On the small circular screen of Devialet 220PRO, you can see that it's playing DSD64 when you stream a DSD64 song over Mercury Streamer :) However, please note that neither Devialet nor Mercury Streamer can play files more detailed than DSD64 natively like DSD128, DSD256 ,DSD512.
  4. So, did you like seeing such clear explanations?
  5. I really did not understand what you try to mean by saying that "Your Explanation is very intersting". It includes just the facts, nothing more than that!
  6. It is important for everybody to read the help pages which are already provided. Nonetheless to say, I can say that every help page does not explain everything in details. And sometimes these pages may not be up to date. For the refered page, I have already read that page. However, it does not explain the kernel parameters. But I have already seen that @antonellocaroli had already provided a link for kernel parameters in the tweaks page directly. In spite of this, I understand that it might not be easy for everybody to understand them . That's why, people help each other in the forums etc. Lastly, I advise everybody to try to understand what these settings are used for FIRST before trying to change everything one by one and see its effect(the experiement case). This may be very time consuming and most of the time boring. If you are an advanced, technical user, you can connect to the device by using ssh and apply some other kernel optimizations by yourself. But in that case, you'll take your own risk. As far as I know, it's not recommended as you have high risk of making a corruption in the overall system.
  7. Thanks. I just wanted to clarify things and the logic/main idea behind these settings. I have been working as a software architect for a long time. Although my specific interest or research area is not operating systems or Linux, I have Computer Science and M. Sc. degree in Computer Engineering. Therefore, it's sometimes easier for me to understand these things in high-level manner when I just search and read them quickly from online or printed resources. By the way, I have shared some explanation related with one of the kernel parameter which is missing in my previous post; 7) skew_tick=1 (My) preffered setting : ENABLING it The kernel command line parameter skew_tick helps to smooth jitter on moderate to large systems with latency-sensitive applications running. Using the skew_tick=1 boot parameter reduces contention on these kernel locks. The parameter ensures that the ticks per CPU do not occur simultaneously by making their start times 'skewed'. Skewing the start times of the per-CPU timer ticks decreases the potential for lock conflicts, reducing system jitter for interrupt response times.
  8. Let's get into kernel optimization parameters and understand how they might effect the system performance/latency. I'll share my opinions. It's up to you whether you prefer using them, or not. The explanations are directly taken as reference from the documentation pages and BING Chatgpt extension. I have highlighted important points so that you can understand them easily. 1) cpuidle.off=1 [CPU_IDLE] disable the cpuidle sub-system. (My) preffered setting is ENABLING it. The kernel command line option cpuidle.off=1 prevents CPU cores from entering idle states. This can be useful on CPUs where exiting idle states is slow. 2) cpufreq.off=1 [CPU_FREQ] disable the cpufreq sub-system (My) preffered setting is ENABLING it. The cpufreq.off=1 parameter is used to disable the CPU frequency scaling feature 1. This can be useful in situations where the user wants to run a program as fast as possible without any P-states different from the highest one 1. 3) numa_balancing=disable [KNL,X86] Enable or disable automatic NUMA balancing. (My) preffered setting is ENABLING it. Allowed values are enable and disable Disable automatic NUMA memory balancing Linux supports automatic page fault based NUMA memory balancing and manual page migration of memory between NUMA nodes. Migration of memory pages between NUMA nodes will cause TLB shootdowns and page faults for applications using the affected memory. Automatic NUMA memory balancing can be disabled with the following command: echo 0 > /proc/sys/kernel/numa_balancing For some latency-sensitive applications, that can be a problem; there are, seemingly, applications where it is better to pay the cost of suboptimal memory placement to avoid being stalled during NUMA balancing. NUMA balancing, when done correctly, improves the throughput of the system by increasing memory speeds. But NUMA balancing can also cause short-term latency spikes for applications, especially if they incur page faults while the kernel is migrating pages across nodes. 4) acpi_irq_nobalance [HW,ACPI] (My) preffered setting : ENABLING it If you ISOLATE CPU for specific processes (where isolcpus parameter is used), then acpi_irq_nobalance should be noirqbalance. Therefore, the IRQs should not be moved dynamically!! ACPI will not move active IRQs (default) default in PIC mode The post suggests that you can use the noirqbalance and acpi_irq_nobalance kernel options to disable IRQ balancing and improve IRQ latency. To run a real-time application in Linux, you can add the kernel options isolcpus=1 acpi_irq_nobalance noirqbalance to /etc/default/grub and call update-grub afterwards 1. You should also make sure that the software irqbalance is not installed. If it is installed, remove it by running sudo apt-get remove irqbalance 1. 5) audit=0 disables the kernel components of the audit subsystem which have been measured at about 1% CPU utilization when under heavy load. (My) preffered setting : ENABLING it 6) nosoftlockup (My) preffered setting : ENABLING it disables logging of backtraces when a process executes on a CPU for longer than the softlockup threshold (default 120 seconds) As a result, when I run SYSTEMINFO under "07.Home System" menu, I see that my boot options have been changed after changing these kernel parameter settings for Gentooplayer and my final boot options are as follows; MY Boot Options: dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=817067c7-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait isolcpus=1-3 nohz_full=1-3 rcu_nocbs=1-3 mitigations=off nosoftlockup cpufreq.off=1 numa_balancing=disable audit=0 selinux=0 cpuidle.off=1 skew_tick=1 acpi_irq_nobalance net.ifnames=0 After understanding clearly what each parameter is used for, I also advise you to enable all parameters.
  9. You can remove net.ifnames=0 from the cmdline.txt file stored in the sdcard. A better solution which @antonellocaroli advised is also given below.
  10. I have added the URLs of some other posts above. You can refer to the help page for Gentooplayer http://YOUR_Gentooplayer_IP_ADDRESS:5000/WI/mount.html and the actual page for configuration is http://YOUR_Gentooplayer_IP_ADDRESS:5000/index.html#/Mount%20Local%20Disk I have mounted remote ssd drive from Synology NAS. In order to do this, I edited manually /etc/fstab from the commandline using ssh. It uses CIFS protocol to mount remote ssd drive with right permissions. If you already have a NAS server which is attached to the same network via ethernet, I think this approach is much better than directly installing the ssd on the streamer, Mercury. nano /etc/fstab UUID=9561-85F6 /boot vfat noauto,noatime 1 2 UUID=6f39d3fc-ee1a-4a16-b8f4-3f5380427280 / ext4 noatime 0 1 #/dev/mmcblk0p3 none swap sw 0 0 //192.168.1.25/music /mnt/Synology_Music cifs vers=3.0,username=admin,password=xyz123456,iocharset=utf8,file_mode=0777,dir_mode=0777,rw,uid=1000,gid=500,nofail 0 0 //192.168.1.25/music/playlist /mnt/Synology_Playlist cifs vers=3.0,username=admin,password=xyz123456,iocharset=utf8,file_mode=0777,dir_mode=0777,rw,uid=1000,gid=1000,nofail 0 0
  11. https://www.superbestaudiofriends.org/index.php?threads/pi2-design-idiot-proof-ready-to-go-rpi-aes-streamer.10471/page-57#post-409318 . There are several posts related with it in Mercury Streamer thread. https://www.superbestaudiofriends.org/index.php?threads/pi2-design-idiot-proof-ready-to-go-rpi-aes-streamer.10471/page-49#post-400105 and the oldest post was provided for Moode. But it's similar.. https://www.superbestaudiofriends.org/index.php?threads/pi2-design-idiot-proof-ready-to-go-rpi-aes-streamer.10471/page-30#post-379113
  12. @chrisc, as you know from the DevialetChat forum, I have almost the same setup with you. I use Pi2Design Mercury as the streamer and Devialet 220 PRO as DAC/Amplifier for the stereo system. We both make connection between them by using the AES output & inout of these devices. If you do not have in-depth technical knowledge or do not have idea about how to configure these technical parameters, you can just use , copy-paste my settings. I have been using Gentooplayer for a long time and I have still been trying different parameters as a result of my curiosity. The main thing that will probably be different in your setup will be the Audio Player. As I use another X86 machine and run Euphony Stylus v4 on its RAM for streaming(Qobuz, Tidal) as well as for browsing my audio catalog on NAS server, it is high likely not to be an option for you. These 2 devices communicate with each other over different network switches which are connected to each other by using a fiber-optical connection which may seem complex for a standard user. I highly advise you to try LMS(Logitech Media Server) and SqueezeLite-R2. I'd rather you installed LMS on another machine than install both on Mercury. When you use LMS , you can use mobile apps like Squeezer etc. in this scenario, try also running both of them directly on RAM when you use Gentooplayer. For experimental purpose, you can also use Audirvana as the audio server(for streaming, NAS, disc connection etc.) if you already have access to it. In this scenario, you can use Gentooplayer as UPNP endpoint for Audirvana. There are different user-friendly mobile apps which you can use in this case, too. Lastly, Roon is another option you can try. However, Roon is not my favorite at all except its advanced UI which is the best one. I have tried all of them; some of them for a short period of time, some of them for longer. My second best advice would be running LMS, Squeezelite-R2 on separate machines( Squeezelite-R2 on Gentooplayer, Mercury Streamer). You can run LMS on different platforms as well as running it also on top of Gentooplayer directly on RAM.
  13. Select "Pi2Design Mercury" from the dropdown and continue setup. I shared almost all of them. It is up to you to apply and use the same settings. Just try and see different options. Find the best setting for your taste. AES is the best option from Mercury streamer to Devialet 220 Pro 👍
  14. Don't you use Pi2Design Mercury streamer?!! Just select "Pi2Design Mercury" from the dropdown..
×
×
  • Create New...