Announcement

Collapse
No announcement yet.

ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Originally posted by philippe_44
    I’ve updated 4.3 with an additional parameter named « cswap »
    I upgraded to 1027, but it doesn't seem to change. This is display_config
    SPI:width=160,height=80,cs=12,reset=22,back=14,spe ed=8000000,driver=ST7735:x=26:y=1,rotate,VFlip,inv ert,cswap

    maybe this is the problem:
    https://github.com/Bodmer/TFT_eSPI/i...ment-633211571

    Comment


    • ANNOUNCE: Squeezelite-ESP32 (dedicated thread)

      Originally posted by nenu
      I upgraded to 1027, but it doesn't seem to change. This is display_config
      SPI:width=160,height=80,cs=12,reset=22,back=14,spe ed=8000000,driver=ST7735:x=26:y=1,rotate,VFlip,inv ert,cswap

      maybe this is the problem:
      https://github.com/Bodmer/TFT_eSPI/i...ment-633211571
      No change at all in colors with or without cswap? We are talking about 4.3 (only in the build artefact, right?)
      LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

      Comment


      • Originally posted by nenu1049146
        ...SPI:width=160,height=80,cs=12,reset=22,back=14, speed=8000000,driver=ST7735:x=26:y=1,rotate,VFlip, invert,cswap...
        It probably has nothing to do with the problem but I'm surprised you are using such a high value at X offset?
        Does anything change if you set the value to zero for a test?

        Comment


        • Originally posted by philippe_44
          No change at all in colors with or without cswap? We are talking about 4.3 (only in the build artefact, right?)
          Yes, this update: "add color swap BGR/RGB and generalize invert option ESP-IDF v4.3.1 #117: Commit dd519b9 pushed by philippe44"

          After double checking that there was no effect, I tried a few other settings in the string. But I ended up getting the device in a boot loop. I have been able to recover the device, but I can't get the screen to show anything anymore, not even the SqueezeESP32 message during booting.


          Originally posted by piPlayer
          It probably has nothing to do with the problem but I'm surprised you are using such a high value at X offset?
          I agree that the x:26 seems totally arbitrary, but that is what puts it in the right position...

          Comment


          • Originally posted by nenu
            I upgraded to 1027, but it doesn't seem to change. This is display_config
            SPI:width=160,height=80,cs=12,reset=22,back=14,spe ed=8000000,driver=ST7735:x=26:y=1,rotate,VFlip,inv ert,cswap

            maybe this is the problem:
            https://github.com/Bodmer/TFT_eSPI/i...ment-633211571
            argh... was not fixed correctly for ST7735
            LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

            Comment


            • Spectrum Analyzer hung after about a day...

              Hello,

              I have a squeezelite-esp32 running on a ESP32 Audio Kit.
              I have an SD1322 screen attached and all works fine.

              My player "now playing information" is set to "Spectrum Analyzer and Progress Bar and Remaining Time".

              I'm living it playing 24/7 as a kind of stress test.

              I keep getting the spectrum hung after around a day.

              Today, I saw it hung after 26 hours playing nonstop a radio station.
              The "remaing time" is still counting up (as it is a radio) but the bars won't move.

              I did connect through telnet and saw nothing special.
              I still get the kind of "I (108026916) httpd_handlers: serving /status.json to peer 192.168.141.6 port 21641" line from time to time.

              Rotating the know will display the volume "slider" and the following lines appear as soon as I leave the know idle for a while (and the slider get's off the screen):
              Code:
              [13:31:16.289068] visu_handler:1214 Stopping visualizer
              [13:31:20.824881] visu_handler:1212 Visualizer with 32 bars of width 0:7:1:0 (w:256,h:32,c:0,r:32,s:0.25)
              [13:31:20.877117] visu_handler:1214 Stopping visualizer
              [13:31:22.325311] visu_handler:1212 Visualizer with 32 bars of width 0:7:1:0 (w:256,h:32,c:0,r:32,s:0.25)
              We are then back on tracks for a few other hours.

              Is there anything I should collect to help debug this behaviour ?

              Comment


              • Originally posted by zorglups
                Hello,

                I have a squeezelite-esp32 running on a ESP32 Audio Kit.
                I have an SD1322 screen attached and all works fine.

                My player "now playing information" is set to "Spectrum Analyzer and Progress Bar and Remaining Time".

                I'm living it playing 24/7 as a kind of stress test.

                I keep getting the spectrum hung after around a day.

                Today, I saw it hung after 26 hours playing nonstop a radio station.
                The "remaing time" is still counting up (as it is a radio) but the bars won't move.

                I did connect through telnet and saw nothing special.
                I still get the kind of "I (108026916) httpd_handlers: serving /status.json to peer 192.168.141.6 port 21641" line from time to time.

                Rotating the know will display the volume "slider" and the following lines appear as soon as I leave the know idle for a while (and the slider get's off the screen):
                Code:
                [13:31:16.289068] visu_handler:1214 Stopping visualizer
                [13:31:20.824881] visu_handler:1212 Visualizer with 32 bars of width 0:7:1:0 (w:256,h:32,c:0,r:32,s:0.25)
                [13:31:20.877117] visu_handler:1214 Stopping visualizer
                [13:31:22.325311] visu_handler:1212 Visualizer with 32 bars of width 0:7:1:0 (w:256,h:32,c:0,r:32,s:0.25)
                We are then back on tracks for a few other hours.

                Is there anything I should collect to help debug this behaviour ?
                I don't have much log messages there as it is a very CPU-consuming item. I'll try on my side.
                LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                Comment


                • Originally posted by philippe_44
                  I don't have much log messages there as it is a very CPU-consuming item. I'll try on my side.
                  As you speak about CPU consumption, I noticed that for that particular station, the spectrum bars were not moving so "fluidly".
                  Maybe that station is using an encoding that is taxing too much the esp32 cpu ?

                  The radio is https://radios.rtbf.be/classic21-128.mp3

                  Be careful, if you leave this station running for 24+ hours, you may get addicted

                  Comment


                  • Originally posted by zorglups
                    As you speak about CPU consumption, I noticed that for that particular station, the spectrum bars were not moving so "fluidly".
                    Maybe that station is using an encoding that is taxing too much the esp32 cpu ?

                    The radio is https://radios.rtbf.be/classic21-128.mp3

                    Be careful, if you leave this station running for 24+ hours, you may get addicted
                    I will try - Usually aac, ogg or even opus consume more CPU. Of course if you use the 32 bits version then it can be a bit ugly. I strongly recommend against doing that.
                    LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                    Comment


                    • Originally posted by nenu
                      Yes, this update: "add color swap BGR/RGB and generalize invert option ESP-IDF v4.3.1 #117: Commit dd519b9 pushed by philippe44"

                      After double checking that there was no effect, I tried a few other settings in the string. But I ended up getting the device in a boot loop. I have been able to recover the device, but I can't get the screen to show anything anymore, not even the SqueezeESP32 message during booting.

                      I agree that the x:26 seems totally arbitrary, but that is what puts it in the right position...
                      Originally posted by philippe_44
                      argh... was not fixed correctly for ST7735
                      Have you tried updated version?
                      LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                      Comment


                      • Originally posted by philippe_44
                        I will try - Usually aac, ogg or even opus consume more CPU. Of course if you use the 32 bits version then it can be a bit ugly. I strongly recommend against doing that.
                        I've read too many times the github pages and posts in this forum to stick to the 16bits version ;-)

                        Comment


                        • Originally posted by zorglups
                          I've read too many times the github pages and posts in this forum to stick to the 16bits version ;-)
                          You mean you overflowed

                          But joke aside, using 32 bits with display and al is not a good idea
                          LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                          Comment


                          • Originally posted by philippe_44
                            Have you tried updated version?
                            Sorry about the delay. Turns out it's not a great idea to flash over USB while also copying a few TB to a backup USB drive. You get random errors and funky messages while booting.

                            Now all is recovered. And it's working properly on 1030!

                            (However, the 'credits' menu seems to be broken in 1030, so I couldn't get to the NVS tab. Neither in Firefox nor Chrome. So for testing, I reverted to 1027, adjusted display_config and then back to 1030.)

                            Thanks once again!

                            Comment


                            • Originally posted by nenu
                              Sorry about the delay. Turns out it's not a great idea to flash over USB while also copying a few TB to a backup USB drive. You get random errors and funky messages while booting.

                              Now all is recovered. And it's working properly on 1030!

                              (However, the 'credits' menu seems to be broken in 1030, so I couldn't get to the NVS tab. Neither in Firefox nor Chrome. So for testing, I reverted to 1027, adjusted display_config and then back to 1030.)

                              Thanks once again!
                              That’s weird, I’ll try on my own but I had no issue so far. Maybe I’ve. It updated the whole webapp package on my mirror system
                              LMS 8.2 on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

                              Comment


                              • Originally posted by philippe_44
                                That’s weird, I’ll try on my own but I had no issue so far. Maybe I’ve. It updated the whole webapp package on my mirror system
                                Part of the website gets cached in the browsers. So after updating, the Credits menu actually continues to work. But after a forced refresh with CTR+SHIFT+R, it doesn't anymore.

                                Comment

                                Working...
                                X
                                😀
                                🥰
                                🤢
                                😎
                                😡
                                👍
                                👎