Max2Play auf Raspberry Pi 2B+ und Hifiberry AMP2

Max2Play Home Forums Max2Play Add-ons Max2Play auf Raspberry Pi 2B+ und Hifiberry AMP2

Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • 28. Januar 2021 at 15:04 #50675

    Hallo,

    Nachdem ich auf o.a. System eine Neuinstalltion gemacht habe (nach Kernel-Upgrade ging kein Sound mehr) bekomme ich das System nicht mehr 100% zum Laufen.
    Ich habe in unregelmäßigen Abständen ein nervendes Knacken. Das passiert im Playmodus sowie auch im Pausemodus.
    Ich habe über das Hifiberry Plugin den Hifiberry AMP2 ausgewählt.

    Das System lief vorher monatelang ohne Probleme.

    Danke im Voraus für Eure Hilfe
    crepp

    29. Januar 2021 at 15:23 #50685

    Hallo crepp,

    bitte lade noch einmal unser Stretch Image von unserer Download-Seite herunter und brenne es auf die SD-Karte. Erstelle ggf. vorher ein Backup deines aktuellen Systems. Führe nach der Neuinstallation über das Webinterface ein Update auf die neuste Max2Play Version durch. Ist das Knacken dann immer noch da?

    30. Januar 2021 at 13:13 #50691

    Hallo Mario,

    Definitiv ja !
    Habe gestern wie von Dir vorgeschlagen das Stretch Image eingerichtet und das Update von Max2Play geladen. Das Knacken ist immer noch Da ich kann aber kein Muster erkennen es kommt immer mal manchmal nervt es richtig. Meistens knackt es einmal wenn ich Pause drücke. Manchmal knackt es 10mal hintereinander wenn man Pause drückt.
    Kann ich irgendwelche logfiles zur Verfügung stellen um den Fehler einzugrenzen ? Ich denke es hängt mit dem Hifiberry zusammen. Ich habe ein zweites Gerät mit max2play mit Soundausgabe über den intenern Soundchip, da ist das Problem nicht.

    Gruß
    Torsten
    Einstellung Audioplayer

    30. Januar 2021 at 13:13 #50692

    Bild

    2. Februar 2021 at 17:41 #50707

    Hallo crepp,

    am besten zu postest hier mal deine Debug Log vom Audioplayer. Darüber hinaus könnte ggf. auch die Log des Squeezebox Servers helfen, falls du diesen für die Wiedergabe nutzt.

    17. Februar 2021 at 18:07 #50813

    Hallo sorry das es so lang gedauert hat, ich habe es tagelang durchlaufen lassen (nach Neuinstallation) und dachte schon ich hab die Ursache gefunden (Spotify Connect) Hat sich aber leider nicht berstätigt. Spotify Connect ist jetzt erst mal deaktiviert. Aktuell tritt das Problem wieder auf. Wie komme ich ans Log des Audioplayers. Pers shell oder geht es über die Gui ?

    Gruß
    crepp

    19. Februar 2021 at 15:02 #50819

    Hallo crepp,

    du findest die Debug Info unten im Reiter „Audioplayer“ im Webinterface von Max2Play.

    23. Februar 2021 at 9:13 #50830

    Hier ist der debug log:

    #### SQUEEZELITE VERSION ####
    Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.

    #### SQUEEZELITE BUILDOPTIONS ####
    Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC

    #### AUDIOPLAYER CONFIG ####
    ### Configuration of Audioplayers
    SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4:: -o hw:1
    SQUEEZESLAVE_PARAMETER=-n plugequal
    SHAIRPORT_PARAMETER=-d default:CARD=sndrpihifiberry -t hardware -m hw:1 -c Digital
    USE_USB_DAC=0
    USE_EQUALIZER=0
    SYSTEM_USER=pi
    YMPD_PARAMETER=–webport 8081
    SPOTIFYCONNECT_PARAMETER=–username „xxxxxx“ –password „xxxxxx“ –device hw:sndrpihifiberry
    LMSIP=192.168.1.164

    #### SQUEEZELITE -l ####
    Output devices:
    null – Discard all samples (playback) or generate zero samples (capture)
    equal
    plugequal – Equalizer for plughw:0,0
    default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
    sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
    dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
    dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
    dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
    dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
    hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
    hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
    plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
    plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions
    default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
    sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
    dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample mixing device
    dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample snooping device
    hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct hardware device without any conversions
    plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Hardware device with all software conversions

    #### SHAIRPORT (SYNC) VERSION ####
    3.1.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc

    #### OUTPUT SOUND DETAILS CARD 0 ####
    closed

    #### OUTPUT SOUND DETAILS CARD 1 ####
    access: MMAP_INTERLEAVED
    format: S32_LE
    subformat: STD
    channels: 2
    rate: 48000 (48000/1)
    period_size: 960
    buffer_size: 3840

    23. Februar 2021 at 9:16 #50831

    Das Knacken ist nicht immer regelmäßig zu hören, manchmal ist es gar nicht zu hören und manchmal kommt es fast in regelmäßigen Abständen von ein paar Sekunden.
    Was mir noch aufgefallen ist: Ich kann nach der Neuinstallation des Stretch Image gar nicht mehr richtig laut machen, da war vorher wesentlich mehr Power …

    Viele Grüße
    crepp

    23. Februar 2021 at 9:23 #50832

    Logitech serverlog
    [21-02-17 17:25:07.8862] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-17 17:25:07.9403] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-17 17:25:08.2718] Slim::Networking::Repositories::__ANON__ (148) Failed to fetch https://github.com/LMS-Community/lms-plugin-repository/raw/master/extensions.xml: Couldn’t resolve IP address for: github.com
    [21-02-17 17:25:08.2737] Slim::Networking::Repositories::__ANON__ (151) https lookup failed – trying plain text http instead: https://github.com/LMS-Community/lms-plugin-repository/raw/master/extensions.xml
    [21-02-17 17:25:10.1695] Slim::Formats::XML::gotErrorViaHTTP (339) Error: getting http://opml.radiotime.com/Index.aspx?partnerId=16
    Couldn’t resolve IP address for: opml.radiotime.com
    [21-02-17 17:25:10.1710] Slim::Plugin::InternetRadio::Plugin::_gotRadioError (71) Unable to retrieve radio directory from SN: Couldn’t resolve IP address for: opml.radiotime.com
    [21-02-17 17:25:19.1641] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s158317&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-17 17:25:19.3529] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s158317&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    2021-02-17 18:17:05 squeezeboxserver_safe started.
    [21-02-17 18:17:13.6534] main::init (387) Starting Logitech Media Server (v7.9.4, 1603273368, Thu Oct 22 04:17:43 CEST 2020) perl 5.024001 – arm-linux-gnueabihf-thread-multi-64int
    [21-02-17 18:17:14.7124] Slim::Utils::IPDetect::_init (138) Warning: Couldn’t call connect() – falling back to 127.0.0.1
    [21-02-17 18:17:14.9387] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-17 18:17:18.1101] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-17 18:17:28.6574] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-17 18:17:28.7138] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-17 18:17:33.0150] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-17 18:17:33.0694] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-17 18:17:36.6381] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [21-02-20 09:13:47.9645] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s158317&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-20 09:13:59.3994] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-20 09:13:59.5178] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    2021-02-23 08:26:13 squeezeboxserver_safe stopped.
    2021-02-23 08:27:11 squeezeboxserver_safe started.
    [21-02-23 08:27:24.2603] main::init (387) Starting Logitech Media Server (v7.9.4, 1603273368, Thu Oct 22 04:17:43 CEST 2020) perl 5.024001 – arm-linux-gnueabihf-thread-multi-64int
    [21-02-23 08:27:25.3410] Slim::Utils::IPDetect::_init (138) Warning: Couldn’t call connect() – falling back to 127.0.0.1
    [21-02-23 08:27:25.5626] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:27:26.5562] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:27:29.0717] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:27:30.0061] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:27:40.8449] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:27:42.0832] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:27:43.1962] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [21-02-23 08:28:06.7357] Slim::Web::Cometd::handler (421) errorNeedsClient: b8:27:eb:16:e0:21, status, -, 10, menu:menu, useContextMenu:1, subscribe:600
    [21-02-23 08:28:07.5319] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s17658&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-23 08:28:16.0611] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s25260&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-23 08:28:28.4738] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:28:29.5212] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:43:28.4625] main::init (387) Starting Logitech Media Server (v7.9.4, 1603273368, Thu Oct 22 04:17:43 CEST 2020) perl 5.024001 – arm-linux-gnueabihf-thread-multi-64int
    [21-02-23 08:43:31.7106] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:43:39.5928] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:43:42.6492] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:43:42.7128] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:43:49.9190] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:43:49.9794] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!
    [21-02-23 08:43:53.2496] main::checkDataSource (1107) Warning: Schema updated or no media found in the database, initiating scan.
    [21-02-23 08:43:53.6286] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s25260&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-23 08:43:53.7261] Slim::Player::Song::open (409) Error: Couldn’t create command line for unk playback for [http://opml.radiotime.com/Tune.ashx?id=s17658&formats=aac,ogg,mp3,wmpro,wma,wmvoice&partnerId=16&serial=406f912e61a6239f0ee3ac86a91ac050]
    [21-02-23 08:44:02.3973] Slim::Utils::SQLiteHelper::postConnect (377) Optimizing DB because of missing or empty sqlite_stat1 table
    [21-02-23 08:44:02.4548] Slim::Schema::forceCommit (2143) Warning: Trying to commit transactions before DB is initialized!

    • This reply was modified 3 years, 2 months ago by crepp.
    23. Februar 2021 at 16:06 #50834

    Hallo crepp,

    bitte versuche in den erweiterten Optionen von Squeezelite hinter „-o hw:1“ -V Digital zu ergänzen. Dadurch verbindest du die Software-Lautstärkeregelung mit der Hardware-Lautstärke-Steuerung deiner Soundkarte. Details dazu findest du in unserem Wiki: https://www.max2play.com/en/wiki/optimizing-squeezelites-volume-control/
    Im HiFiBerry Plugin oder in den Raspberry Einstellungen kannst du dann noch prüfen, wie die Lautstärkeregler eingestellt sind. Bei HiFiBerry Karten wird empfohlen, den Playback Boost ausgeschaltet zu lassen und das Digital Volume auf 96% einzustellen.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.

Register here