New installation experience share - Debian10 - v1.0.6Beta

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • Gast

    New installation experience share - Debian10 - v1.0.6Beta

    Hello,

    First of all, i want to thank this community and certainly hismastersvoice for creating & supporting this software.
    I was quiet surprised of the functionality and possibilities of MS4L and the integration with LMS.

    This post is share the experience I had during the installation.
    HW-setup:
    - I5 3570K, on a asrock Z99 extreme4 motherboard, 16GB of RAM. (overkill I know, but we might install other services later on)
    - Asus Xonar AE 7.1 PCIE soundcard
    Click image for larger version  Name:	e8SUGW7f8Wb8p81T-eI6oLp-E9F2HVdMTLxt2BJgCrxnaO9Egar3W_9QvsN_suWs-dAt7N6IFdzBtj_aJsHFNsZoQ_M9jMbxEMBY8HwqJUOkTrsFn_InwkMmfpYs0vL23S0LKnL1k9y6k_sPGciQuLFPq_02G5ydYbXvb18CxfqZ9k39AZNXUX8l4sfPi24FXpNZaX2AqdtfT-vOQJchU29bsmWZg-ElLMm4dxG_k8Ipij57Co30NKVjnooZs7M Views:	0 Size:	160.9 KB ID:	261399
    - 6 chan amplifier connected to 12 speakers (stereo per channel) installed in the house


    We tried multiple things before getting it to work properly.
    The first step we tried, was making a virtual debian 10 machine (vmware player) with MS4L 0.7.4. Installation went smoothely, the configuration did not. We followed the guide provided (awesome guide btw!), but the players just would not start. We selected the only soundcard available in the VM (the ASUS XONAR AE), with 8 channels but it just did not work.. So we gave up this idea. We suspected an issue with virtualisation.

    The second step we tried was installing a dedicated debian installation on the same hardware, with the same MS4L version. We tried AGAIN choosing the ASUS XONAR AE 8 chan sound card (tried both sampling rates 44.1KHz & 48KHz), but the squeezelite players just would not start. We tried also enabling and disabling the onboard audio (like sugested in the guide), but did not have any influence on the result.

    That's the point we ALMOST gave up, and we started to bruteforce the settings in order to see what could finally make it work. The setting that did make it work was the selection of only 6 channels out of the 8 of the Xonar AE soundcard. Poef, the players started, and I could create 3 players (3 channels of my amplifier). Very strangely the players started, but the amplifier did misteriously not receive any signal out of player 2 & 3 (channel 2/3 & 4/5 of the soundcard). We tried connecting all possible outputs of the soundcard, it just did not work. Only the "headphone" output of the soundcard gave a sound output.
    Click image for larger version  Name:	716zyDZg0DL._AC_SL1500_.jpg Views:	0 Size:	96.2 KB ID:	261400
    It felt like MS4L selected the wrong audio card, like only the "headphone" was usable for some reason (i am no expert but i suspect that for debian there are 2 kind of devices, the "stereo/headphone" device and the "7.1 surround" device and MS4L could not choose the second one). (i do not have the support data any more of this configuration, you will understand later on why).

    After a lot of troubleshooting (and trying changing a lot of settings), something (i cant tell anymore what exactly) went terribly wrong and it all broke. I did try to reinstall using the install script, but he did not reinstall MS4L because MS4L allready (or still) existed. I did not know at that time the exact location of the MS4L configuration files (/opt/music_server).

    So i made a clean debian10 installation, just to be sure and used the beta installation script (v1.0.6), and kept onboard audio disabled.
    Installation went like a charm, beta installation was succesfull and the soundcard was directly detected. I don't know if following the following steps helped (https://wiki.debian.org/PulseAudio) of changing /etc/pulse/daemon.conf, default-sample-channels = 8.
    The zones were easily created (much more userfriendly then 0.7.6, great job guys!!), and the 4 outputs work like a charm!
    We got courageous and enabled onboard audio, maybe that would work as well as a second soundcard. This would avoid buying a second sound card (6 Chan amplifier and 8CHAN soundcard > creating only 4 stereo chan). MS4L detected the onboard audio, and i got those players running as well, hurray!

    So now we had sound, we went configuring LMS. Spotify & airplay plugin loaded and configured very easily. We tought, top, job finished everything is working fine, let's call it a day.
    Then something strange happened, the CPU got stuck at 100% usage and memory climbed to 14GB. This is not normal after 5 min audio playback. After a good night of rest, and new hope, i disabled all unnecessary LMS plugins (internet radio's, and such) restarted the system, and problem was solved.


    Minor bugs discovered:
    - we noticed that only the last created player could be deleted from the web interface (don't forget to add that in the manual please )
    - DON'T change the language settings directly from the GUI. We did that, and i think there was no language file and that make the WebGUI unusable (white screen), reboot did not help. We had to delete /opt/music_server and reinstall to fix it. (probably there are more elegant ways to fix it)
    - strange stuff at boot: mstools line 52 & 59 "[: ==: unary operator expected" but did not make it stop to work, so we ignored it for now.
    Click image for larger version  Name:	gAmgBLBVxktKPaP8yvqxj6MDNTv5TNqHYdTh7UxejztFFFwEfvU72ibErBErOZKQ-RtOvssWK-gXz19rtxL3pDqoBlsDuuNIQ-Qq8B64OrKj9Uy0OGUhlgOpLkSuTMWB1T7DbuZeLPyhz01D0-cQOpqZkiKldKVSPGtawpGHbk1wkch5rofWE4U0wCk3SKpnWbunXQyJ27l_gkl-0QeaLnNXhZs-r39zP-_HN1k5VjQn4YI0lsZKt7E2UhMOW_9 Views:	0 Size:	386.9 KB ID:	261401
    - strange stuff in configuration data, we renamed a zone (ZONE 6 > "KEUKEN") but both are visible in the configuration data (ZONE 6 is not visible in LMS or MS4L dashboard, only KEUKEN is visible as a player)
    [EDIT] This fenomenon has disappeared
    Click image for larger version  Name:	VJlbY1MLruSvxUH_2HS6VVyJ8QJg8TsC71uZSv6m6PLFfidlEvQmPw8AT-V8X8ipj1uzKYJrqTxTDEfCUe3MSCObifet18xOtNOOz0cWAaDHBvU1n60JmERLmvsllfscLrEOmiYV-Bmh6AUQmKdVvAaUbKPqvJZd0TRzZ9E2qTZ10GUdYiezf4G_hrZrrkIFpWP3lmHlTv1g0e2ZZwzDAkA1xbuXdm1PFd6zb6EYHA8MuWlXG3xzz4CMcePgbzN Views:	0 Size:	498.2 KB ID:	261402

    conclusion: this was a fun project, and we are using this currently in the house, works like a charm. Next step for us is the integration with the Loxone mini server. In hindsight we could have tried again the virtualisation of debian 10 with the 1.0.6B software, because the 0.7.4 just did not work for us.

    Bonus request:
    We have a hard way to make all players (or all audio channels) play the same song at the same time. Yes i can "synchronise" players with LMS, but that is not what we want. We wonder how it would be possible to make an extra "parent" player that will play music on a selection of "child" virtual players. I don't know if that is possible or feasible, but that is certainly an intresting feature for the future.
    If there is another workaround, feel free to help us.
    Zuletzt geändert von Gast; 15.08.2020, 14:38.
  • hismastersvoice
    Supermoderator
    • 25.08.2015
    • 7217

    #2
    Thanks for sharing...

    1. Main problem, you us a Xonar Card "AE" that is offical not supported by Alsa https://www.alsa-project.org/wiki/Matrix:Vendor-Asus
    2. The MS4L don´t select the Soundcard Alsa is doing that.I think there is the same as 1.

    It is no issue that only the last Zone can be deleted, that is how the MS4L works. If you delete a player into another position the system crash.
    What langauge did you choose when you get a "with screen". That happens if the lang-files has an issue.

    The issue with the UUID is now on bug lost and will be fixed next time.
    Kein Support per PN!

    Kommentar

    • duncan
      LoxBus Spammer
      • 28.08.2015
      • 312

      #3
      to create the master players, load 'group players' plugin to LMS

      you can then create a new player (eg whole house) which is really a group of other players

      Kommentar


      • querex
        querex kommentierte
        Kommentar bearbeiten
        duncan sounds cool!

        Are you able to use the "group" functionality in the Loxone app (music tab of a zone) after install?
        Or do you need to configure the "group zones" always in LMS?
        Thanks for the advice.
    Lädt...