Announcement

Collapse
No announcement yet.

Announce: Melodeon

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • #61
    Originally posted by SlimChances
    found it in /root/melodeon/build/melodeon
    This implies you did not run "sudo make install"

    Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

    Comment


    • #62
      Originally posted by cpd73

      This implies you did not run "sudo make install"
      I checked the terminal history. This is what was recorded
      Code:
      55  sudo apt install git
         56  sudo git https://github.com/CDrummond/melodeon.git
         57  git clone https://github.com/CDrummond/melodeon.git
         58  cd melodeon
         59  git submodule update --init --recursive
         60  sudo apt install cmake g++ qtbase5-dev qtwebengine5-dev
         61  mkdir build
         62  cd build
         63  cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release
         64  make
         65  sudo make install
      ​
      should I run cd build and sudo make install again?

      Melodeon is running on my screen
      Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
      Operating system: Debian - EN - utf8
      Platform Architecture: x86_64-linux
      Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
      Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)​

      Comment


      • #63
        Originally posted by SlimChances

        I checked the terminal history. This is what was recorded
        Code:
        55 sudo apt install git
        56 sudo git https://github.com/CDrummond/melodeon.git
        57 git clone https://github.com/CDrummond/melodeon.git
        58 cd melodeon
        59 git submodule update --init --recursive
        60 sudo apt install cmake g++ qtbase5-dev qtwebengine5-dev
        61 mkdir build
        62 cd build
        63 cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release
        64 make
        65 sudo make install
        ​
        should I run cd build and sudo make install again?

        Melodeon is running on my screen
        I suspect that you have downloaded the melodeon source code to directory /root on your Linux system. This would mean that /root/melodeon is the build directory.
        But after command "sudo make install" the melodeon binary is copied to a different directory, and that is the melodeon binary that you are using when starting melodeon from the start menu shortcut. If you remove directory /root/melodeon (sudo rm -r /root/melodeon), you should still be able to start melodeon. After removing /root/melodeon, type "which melodeon" to find the location of the melodeon binary.

        EDIT: I installed melodeon on Linux Mint 21.1 using the melodeon debian package. When I type "which melodeon" from an xterm I get:
        /usr/bin/melodeon
        in your case it may be /usr/local/bin/melodeon
        Last edited by CJS; 2023-06-09, 14:30.
        | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

        Comment


        • #64
          Originally posted by CJS
          I suspect that you have downloaded the melodeon source code to directory /root on your Linux system. This would mean that /root/melodeon is the build directory.
          But after command "sudo make install" the melodeon binary is copied to a different directory, and that is the melodeon binary that you are using when starting melodeon from the start menu shortcut. If you remove directory /root/melodeon (sudo rm -r /root/melodeon), you should still be able to start melodeon. After removing /root/melodeon, type "which melodeon" to find the location of the melodeon binary.

          EDIT: I installed melodeon on Linux Mint 21.1 using the melodeon debian package. When I type "which melodeon" from an xterm I get:
          /usr/bin/melodeon
          in your case it may be /usr/local/bin/melodeon
          Thanks That worked. I need to work on my linux skills
          That location was exactly where melodeon binary was. I had looked in usr/bin amongst other locations
          Last edited by SlimChances; 2023-06-09, 15:57.
          Logitech Media Server Version: 8.4.0 - 1678519305 @ Sat 11 Mar 2023 08:54:37 AM CET
          Operating system: Debian - EN - utf8
          Platform Architecture: x86_64-linux
          Perl Version: 5.34.0 - x86_64-linux-gnu-thread-multi
          Database Version: DBD::SQLite 1.58 (sqlite 3.22.0)​

          Comment


          • #65
            Melodeon background of Playing and Queue screens suddenly changed to solid red

            I have an old PC running Linux Mint 21.2 on which I have installed squeezelite and Melodeon. I only occasionally use this PC.

            Today I started Melodeon on this PC for the first time since a few weeks, and noticed that the background color of the Playing and Queue screens has changed to solid red. See screenshot below. The background of the Browse screen is still dark gray (as before). In the Interface settings the Dark theme is selected. Changing the theme only affects the background color of the Browse screen, but the background color of the Playing and Queue screens stays solid red.

            When I open LMS Material in the default browser (Firefox) on Linux Mint, the background is still the same as before (i.e. darkened / zoomed in image of cover art). Also on my Windows PC and Android phone the background of Playing and Queue screens in LMS Material has not changed.

            Before I started Melodeon the kernel of my Linux Mint install was updated to 5.15.0-79. I don't know if the change in background is related to the kernel update (and I already removed the previous kernel from the system before starting Melodeon).

            => Suggestions on how to restore the background of the Playing and Queue screens in Melodeon are welcome.

            Click image for larger version  Name:	Melodeon_red_background.png Views:	18 Size:	395.6 KB ID:	1646717

            EDIT: Additional information:
            • Uninstalling and reinstalling melodeon_0.2.1_amd64.deb did not help
            • Clearing Cache in Melodeon Application settings did not help
            • Reverting from kernel 5.15.0-79 to 5.15.0-78 did not help
            The red color is the area where normally the darkened / zoomed in artwork graphics is displayed. A month ago Melodeon showed the same background as LMS Material skin in Firefox / MS Edge on Windows. I wonder what has broken background display in Melodeon on my Linux Mint PC.
            Last edited by CJS; 2023-08-14, 22:30.
            | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

            Comment


            • #66
              CJS


              I have checked both my Melodeon installations; one on Debian Bookworm and one on Ubuntu Jellyfish.

              Both were built a few weeks ago and both still have the same default colour schemes.

              Build instructions are here:




              A little search today and I found this (changes on the top line, I don't know if they have any significance)





              ronnie


              PS, the Dev may well be on Holiday

              Comment


              • #67
                Originally posted by CJS
                • Uninstalling and reinstalling melodeon_0.2.1_amd64.deb did not help
                • Clearing Cache in Melodeon Application settings did not help
                • Reverting from kernel 5.15.0-79 to 5.15.0-78 did not help
                Perhaps its a QtWebEngine issue? Are you using Wayland? Perhaps try "melodeon --platform xcb" ? (This forces Qt to use the X11/XWayland backend even when running under Wayland - which allows for sahdows and nicer window frames)

                Kernel version should have no impact.

                Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                Comment


                • #68
                  Originally posted by Man in a van

                  A little search today and I found this (changes on the top line, I don't know if they have any significance)



                  I assume you are referring to the last commit message? I've recently switched back to GNOME from KDE, and noticed the settings dialog being badly recoloured so disabled this for GNOME. When running under GNOME I'm also going to default to "Adwaita" (the light variant) as (AFAICS) there is no way to change the titlebar colour to match the window.

                  I also run with "QT_QPA_PLATFORM=xcb​" - which forces Qt to use XWayand when runnnig under Wayland - so the window has GNOME titlebars and a shadow.
                  Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                  Comment


                  • #69
                    Originally posted by cpd73
                    Perhaps its a QtWebEngine issue? Are you using Wayland?
                    I am using Linux Mint 21.2 with XFCE desktop. Later today I will test/install the melodeon deb package on another PC with Linux Mint 21.2 XFCE and check if that gives the same problem. Will report back in this thread.
                    | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                    Comment


                    • #70
                      Originally posted by CJS
                      I am using Linux Mint 21.2 with XFCE desktop. Later today I will test/install the melodeon deb package on another PC with Linux Mint 21.2 XFCE and check if that gives the same problem. Will report back in this thread.
                      OK, I tested melodeon_0.2.1 on the Linux Mint partition of my main PC (dual boot Windows / Linux Mint 21.2 XFCE) which has more modern hardware. On this PC there is no problem with Melodeon background display.

                      So the Melodeon background display problem that I reported is specific for one older PC with Linux Mint 21.2 XFCE.
                      On this PC I reinstalled following 4 QtWebEngine related packages, but that did not help:

                      Code:
                      Name                          Version       Architecture Description
                      =============================-=============-============-==========================================
                      libqt5webchannel5:amd64       5.15.3-1      amd64        Web communication library for Qt
                      libqt5webengine-data          5.15.9+dfsg-1 all          Web content engine library for Qt - Data
                      libqt5webenginecore5:amd64    5.15.9+dfsg-1 amd64        Web content engine library for Qt - Core
                      libqt5webenginewidgets5:amd64 5.15.9+dfsg-1 amd64        Web content engine library for Qt - Widget​

                      More information about this old PC that has Melodeon background display problem (output of inxi -b):
                      Code:
                      System:
                        Host: ATOM Kernel: 5.15.0-79-generic x86_64 bits: 64 Desktop: Xfce 4.18.1
                          Distro: Linux Mint 21.2 Victoria
                      Machine:
                        Type: Unknown Mobo: Intel model: D510MO v: AAE76523-403
                          serial: <superuser required> BIOS: Intel
                          v: MOPNV10N.86A.0542.2011.0729.1300 date: 07/29/2011
                      CPU:
                        Info: dual core Intel Atom D510 [MT MCP] speed (MHz): avg: 1667
                      Graphics:
                        Device-1: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics
                          driver: i915 v: kernel
                        Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: intel
                          unloaded: fbdev,modesetting,vesa gpu: i915 resolution: 1280x1024~60Hz
                        OpenGL: renderer: i915 (: Pineview G) v: 2.1 Mesa 23.0.4-0ubuntu1~22.04.1
                      Network:
                        Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
                          driver: r8169
                      Drives:
                        Local Storage: total: 698.65 GiB used: 37.9 GiB (5.4%)
                      Info:
                        Processes: 221 Uptime: 3m Memory: 3.8 GiB used: 920.3 MiB (23.6%)
                        Shell: Bash inxi: 3.3.13​
                      This old PC is only occasionally used to test some Linux stuff. As said before, Melodeon background display was OK on this PC, but is now broken. It is no big deal. I am open for suggestions, but there is no need for an extensive investigation.
                      | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                      Comment


                      • #71
                        Originally posted by CJS
                        I am open for suggestions
                        Perhaps disable using cover as a background? Maybe a driver issue? Tried wayland?
                        Material debug: 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here.

                        Comment


                        • #72
                          Originally posted by cpd73
                          Perhaps disable using cover as a background?
                          Thanks for your suggestions. I just tested with "Draw background" disabled in Melodeon Interface settings. But Playing and Queue backgrounds stay solid red.

                          Originally posted by cpd73
                          Maybe a driver issue? Tried wayland?
                          When I have time I will look into this. I have not tried wayland. Background display was OK before, so I wonder why I would now need to change to wayland? Anyway, when time permits I will have a look at this.
                          | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                          Comment


                          • #73
                            Originally posted by CJS


                            This old PC is only occasionally used to test some Linux stuff. As said before, Melodeon background display was OK on this PC, but is now broken. It is no big deal. I am open for suggestions, but there is no need for an extensive investigation.
                            Do you think that actually building Melodeon, on the "difficult" PC, would prduce a different result ?

                            Just a suggestion

                            ronnie

                            Comment


                            • #74
                              Originally posted by CJS
                              Thanks for your suggestions. I just tested with "Draw background" disabled in Melodeon Interface settings. But Playing and Queue backgrounds stay solid red.
                              cpd73 , FYI, I had a closer look at the Melodeon / LMS Material Interface settings. This time I noticed that there are actually 4 "Draw background" settings (i.e. for Browse, Now Playing, Queue and Song Information screens). When I disable all 4 of them, then I don't have a solid red background anymore in the Now Playing, Queue and Song Information screens (the first time I only disabled Draw Background for the Browse screen). So the solid red background problem is now partly fixed on the problem PC. Instead of solid red I have now the more neutral dark gray background in all screens, which is quite acceptable for this particular PC. I say partly solved, because apparently the "draw background" feature does not work anymore on this PC, while it has worked before.

                              My suspicion is that the "Draw background" feature is broken by an update to the video drivers for the Intel Integrated GPU in this PC. The PC has an Intel ATOM D510 dual core processor with integrated graphics, that uses the i915 video driver. As far as I understand, an i915 driver is integrated in the Linux Kernel, and additional video acceleration is provided by mesa3d packages. Don't ask me about the details. I don't know when the i915 driver in the Kernel was last updated, but the mesa packages for Linux Mint were last updated in June this year.

                              The reason that I think that the problem is caused by video drivers is that the "Draw background" option is working when I access this Linux Mint PC using the Remote Desktop client on my Windows PC. To enable remote access to the Linux Mint PC I installed an xrdp server on Linux Mint, which is an open source implementation of the Microsoft Remote Desktop Protocol server. In an RDP session, after enabling the "Draw background" option for the various screens, the background graphics are displayed correctly, while on the monitor that is connected to the VGA output of the PC I get the solid red background.

                              NB: To be precise, I think that the "draw background" problem is caused by the Qt5WebEngine in combination with updated video drivers for the Integrated GPU on my Intel ATOM D510 CPU. The draw background feature works fine when opening LMS Material with Firefox.

                              Originally posted by Man in a van
                              Do you think that actually building Melodeon, on the "difficult" PC, would prduce a different result ?
                              ​FYI, I built the melodeon_0.2.2_amd64.deb from source code on the problem PC using this build instructions. The debian package builds without problems, but installing the built package does not solve the solid red background problem when enabling "Draw background" in the Melodeon Interface settings.
                              Last edited by CJS; 2023-08-15, 23:54.
                              | LMS 8.3.2 on Linux Mint 21.2 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | ESP Muse Luxe |

                              Comment


                              • #75
                                I managed to build Melodeon on my Raspberry Pi 4 running DietPi 64-bit. However, when I launch it, I get the following error messages :

                                qt.qpa.xcb: could not connect to display
                                qt.qpa.xcb:could not load the Qt platform "xcb" in "" even though it was found.
                                This application failed to start because no Qt Plaform plugin could be initialised...

                                Any help would be greatly appreciated.

                                Comment

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