and see what appens (you should see the meters on the left of your display).
In the mean time could you please provide to me some of your files (e.g.:you could zip the directory and put it on the cloud), to try to replicate your issue.
Best regards,
Francesco
05-21-2024, 05:24 PM (This post was last modified: 05-21-2024, 06:56 PM by Pappece.)
Code:
/home/pi/peppyalsa/src/peppyalsa-client /var/tmp/peppyfifo
the L&R channels bars regularry appears and move.
Code:
meter.folder = 480x320
than i give the command ssh cd /home/pi/PeppyMeter
sudo python3 peppymeter.py
but nothing, display became black and in terminal ssh i have this error libpng warning: iCCP: known incorrect sRGB profile.
"In the mean time could you please provide to me some of your files (e.g.:you could zip the directory and put it on the cloud), to try to ary to replicate your issue."... i don't undestand what do you mean, what i have to send you? purtroppo
My screen resolution is
pi@moode:~ $ tvservice -l
tvservice -s -v 0
tvservice -s -v 2
tvservice -s -v 7
2 attached device(s), display ID's are :
Display Number 2, type HDMI 0
Display Number 7, type HDMI 1
[E] Invalid device/display ID
state 0xa [HDMI DMT (87) RGB full unknown AR], 320x1480 @ 60.00Hz, progressive
state 0xa [HDMI DMT (4) RGB full 4:3], 640x480 @ 60.00Hz, progressive
So i wrote in config.txt screen.width = 1480
screen.height = 320
then started playing music and then peppy on, and finally a little meter appear on the left of my display,without cover and metadata info, and meters don't move, and in terminal i have this message of error :
libpng warning: iCCP: known incorrect sRGB profile The template folder you asked me to link, was created by Gelo , an user/developer of another music Os, and you can find it here on github: https://github.com/project-owner/PeppyMe...0skins.zip.
Hi Pappece,
It must run: the only thing I can see is that seems you have a secondary display connected on the second HDMI.
Would you please try to switch the system off, disconnect the display and try again without the secondary display?
I will try to replicate your issue and will inform.
Best regards,
Francesco
(05-22-2024, 07:29 AM)fdealexa Wrote: Hi Pappece,
It must run: the only thing I can see is that seems you have a secondary display connected on the second HDMI.
Would you please try to switch the system off, disconnect the display and try again without the secondary display?
I will try to replicate your issue and will inform.
Best regards,
Francesco
Francesco ,my Rpi 4 is connected only to my waveshare 11.9", the second HDMI plug is empty.....nothing connected ! Boh?!?
I have tried to replicate your configuration and, as you can see in the attached, the meter is running.
Some notes:
the variable fields (duration title, author, etc.) are filled by another O.S.
the warning that you see are related to the not complete compatibility of the original meters with raspberry OS
I am quit sure that (if you have follow the GITHUB Instructions) the field in the config.txt related to the FIFO has something wrong: would you please double check it?
05-23-2024, 06:30 AM (This post was last modified: 05-23-2024, 06:31 AM by Pappece.)
(05-22-2024, 03:15 PM)fdealexa Wrote: I have tried to replicate your configuration and, as you can see in the attached, the meter is running.
Some notes:
the variable fields (duration title, author, etc.) are filled by another O.S.
the warning that you see are related to the not complete compatibility of the original meters with raspberry OS
I am quit sure that (if you have follow the GITHUB Instructions) the field in the config.txt related to the FIFO has something wrong: would you please double check it?
Best regards,
Francesco
Good morning Francesco.
I send you my config.txt from /home/pi/PeppyMeter
configure:2177: checking for a BSD-compatible install
configure:2245: result: /usr/bin/install -c
configure:2256: checking whether build environment is sane
configure:2311: result: yes
configure:2457: checking for a thread-safe mkdir -p
configure:2496: result: /usr/bin/mkdir -p
configure:2503: checking for gawk
configure:2533: result: no
configure:2503: checking for mawk
configure:2519: found /usr/bin/mawk
configure:2530: result: mawk
configure:2541: checking whether make sets $(MAKE)
configure:2563: result: yes
configure:2592: checking whether make supports nested variables
configure:2609: result: yes
configure:2766: checking build system type
configure:2780: result: aarch64-unknown-linux-gnu
configure:2800: checking host system type
configure:2813: result: aarch64-unknown-linux-gnu
configure:2854: checking how to print strings
configure:2881: result: printf
configure:2906: checking whether make supports the include directive
configure:2921: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:2924: $? = 0
configure:2943: result: yes (GNU style)
configure:3013: checking for gcc
configure:3029: found /usr/bin/gcc
configure:3040: result: gcc
configure:3269: checking for C compiler version
configure:3278: gcc --version >&5
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3289: $? = 0
configure:3278: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/10/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
configure:3289: $? = 0
configure:3278: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3289: $? = 1
configure:3278: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:3289: $? = 1
configure:3309: checking whether the C compiler works
configure:3331: gcc conftest.c >&5
configure:3335: $? = 0
configure:3383: result: yes
configure:3386: checking for C compiler default output file name
configure:3388: result: a.out
configure:3394: checking for suffix of executables
configure:3401: gcc -o conftest conftest.c >&5
configure:3405: $? = 0
configure:3427: result:
configure:3449: checking whether we are cross compiling
configure:3457: gcc -o conftest conftest.c >&5
configure:3461: $? = 0
configure:3468: ./conftest
configure:3472: $? = 0
configure:3487: result: no
configure:3492: checking for suffix of object files
configure:3514: gcc -c conftest.c >&5
configure:3518: $? = 0
configure:3539: result: o
configure:3543: checking whether we are using the GNU C compiler
configure:3562: gcc -c conftest.c >&5
configure:3562: $? = 0
configure:3571: result: yes
configure:3580: checking whether gcc accepts -g
configure:3600: gcc -c -g conftest.c >&5
configure:3600: $? = 0
configure:3641: result: yes
configure:3658: checking for gcc option to accept ISO C89
configure:3721: gcc -c -g -O2 conftest.c >&5
configure:3721: $? = 0
configure:3734: result: none needed
configure:3759: checking whether gcc understands -c and -o together
configure:3781: gcc -c conftest.c -o conftest2.o
configure:3784: $? = 0
configure:3781: gcc -c conftest.c -o conftest2.o
configure:3784: $? = 0
configure:3796: result: yes
configure:3815: checking dependency style of gcc
configure:3926: result: gcc3
configure:3941: checking for a sed that does not truncate output
configure:4005: result: /usr/bin/sed
configure:4023: checking for grep that handles long lines and -e
configure:4081: result: /usr/bin/grep
configure:4086: checking for egrep
configure:4148: result: /usr/bin/grep -E
configure:4153: checking for fgrep
configure:4215: result: /usr/bin/grep -F
configure:4250: checking for ld used by gcc
configure:4317: result: /usr/bin/ld
configure:4324: checking if the linker (/usr/bin/ld) is GNU ld
configure:4339: result: yes
configure:4351: checking for BSD- or MS-compatible name lister (nm)
configure:4405: result: /usr/bin/nm -B
configure:4535: checking the name lister (/usr/bin/nm -B) interface
configure:4542: gcc -c -g -O2 conftest.c >&5
configure:4545: /usr/bin/nm -B "conftest.o"
configure:4548: output
0000000000000000 B some_variable
configure:4555: result: BSD nm
configure:4558: checking whether ln -s works
configure:4562: result: yes
configure:4570: checking the maximum length of command line arguments
configure:4701: result: 1572864
configure:4749: checking how to convert aarch64-unknown-linux-gnu file names to aarch64-unknown-linux-gnu format
configure:4789: result: func_convert_file_noop
configure:4796: checking how to convert aarch64-unknown-linux-gnu file names to toolchain format
configure:4816: result: func_convert_file_noop
configure:4823: checking for /usr/bin/ld option to reload object files
configure:4830: result: -r
configure:4904: checking for objdump
configure:4920: found /usr/bin/objdump
configure:4931: result: objdump
configure:4963: checking how to recognize dependent libraries
configure:5163: result: pass_all
configure:5248: checking for dlltool
configure:5278: result: no
configure:5308: checking how to associate runtime and link libraries
configure:5335: result: printf %s\n
configure:5396: checking for ar
configure:5412: found /usr/bin/ar
configure:5423: result: ar
configure:5460: checking for archiver @FILE support
configure:5477: gcc -c -g -O2 conftest.c >&5
configure:5477: $? = 0
configure:5480: ar cr libconftest.a @conftest.lst >&5
configure:5483: $? = 0
configure:5488: ar cr libconftest.a @conftest.lst >&5
ar: conftest.o: No such file or directory
configure:5491: $? = 1
configure:5503: result: @
configure:5561: checking for strip
configure:5577: found /usr/bin/strip
configure:5588: result: strip
configure:5660: checking for ranlib
configure:5676: found /usr/bin/ranlib
configure:5687: result: ranlib
configure:5789: checking command to parse /usr/bin/nm -B output from gcc object
configure:5942: gcc -c -g -O2 conftest.c >&5
configure:5945: $? = 0
configure:5949: /usr/bin/nm -B conftest.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' > conftest.nm
configure:6015: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6018: $? = 0
configure:6056: result: ok
configure:6103: checking for sysroot
configure:6133: result: no
configure:6140: checking for a working dd
configure:6178: result: /usr/bin/dd
configure:6182: checking how to truncate binary pipes
configure:6197: result: /usr/bin/dd bs=4096 count=1
configure:6526: checking for mt
configure:6542: found /usr/bin/mt
configure:6553: result: mt
configure:6576: checking if mt is a manifest tool
configure:6582: mt '-?'
configure:6590: result: no
configure:7267: checking how to run the C preprocessor
configure:7298: gcc -E conftest.c
configure:7298: $? = 0
configure:7312: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7312: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pimeter"
| #define PACKAGE_TARNAME "pimeter"
| #define PACKAGE_VERSION "0.44"
| #define PACKAGE_STRING "pimeter 0.44"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "pimeter"
| #define VERSION "0.44"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7337: result: gcc -E
configure:7357: gcc -E conftest.c
configure:7357: $? = 0
configure:7371: gcc -E conftest.c
conftest.c:11:10: fatal error: ac_nonexistent.h: No such file or directory
11 | #include <ac_nonexistent.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
configure:7371: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "pimeter"
| #define PACKAGE_TARNAME "pimeter"
| #define PACKAGE_VERSION "0.44"
| #define PACKAGE_STRING "pimeter 0.44"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "pimeter"
| #define VERSION "0.44"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:7400: checking for ANSI C header files
configure:7420: gcc -c -g -O2 conftest.c >&5
configure:7420: $? = 0
configure:7493: gcc -o conftest -g -O2 conftest.c >&5
configure:7493: $? = 0
configure:7493: ./conftest
configure:7493: $? = 0
configure:7504: result: yes
configure:7517: checking for sys/types.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for sys/stat.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for stdlib.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for string.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for memory.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for strings.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for inttypes.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for stdint.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7517: checking for unistd.h
configure:7517: gcc -c -g -O2 conftest.c >&5
configure:7517: $? = 0
configure:7517: result: yes
configure:7531: checking for dlfcn.h
configure:7531: gcc -c -g -O2 conftest.c >&5
configure:7531: $? = 0
configure:7531: result: yes
configure:7787: checking for objdir
configure:7802: result: .libs
configure:8062: checking if gcc supports -fno-rtti -fno-exceptions
configure:8080: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command-line option '-fno-rtti' is valid for C++/D/ObjC++ but not for C
configure:8084: $? = 0
configure:8097: result: no
configure:8461: checking for gcc option to produce PIC
configure:8468: result: -fPIC -DPIC
configure:8476: checking if gcc PIC flag -fPIC -DPIC works
configure:8494: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:8498: $? = 0
configure:8511: result: yes
configure:8540: checking if gcc static flag -static works
configure:8568: result: yes
configure:8583: checking if gcc supports -c -o file.o
configure:8604: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:8608: $? = 0
configure:8630: result: yes
configure:8638: checking if gcc supports -c -o file.o
configure:8685: result: yes
configure:8718: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9981: result: yes
configure:10018: checking whether -lc should be explicitly linked in
configure:10026: gcc -c -g -O2 conftest.c >&5
configure:10029: $? = 0
configure:10044: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:10047: $? = 0
configure:10061: result: no
configure:10221: checking dynamic linker characteristics
configure:10802: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5
configure:10802: $? = 0
configure:11051: result: GNU/Linux ld.so
configure:11173: checking how to hardcode library paths into programs
configure:11198: result: immediate
configure:11746: checking whether stripping libraries is possible
configure:11751: result: yes
configure:11786: checking if libtool supports shared libraries
configure:11788: result: yes
configure:11791: checking whether to build shared libraries
configure:11816: result: yes
configure:11819: checking whether to build static libraries
configure:11823: result: yes
configure:11909: checking for gcc
configure:11936: result: gcc
configure:12165: checking for C compiler version
configure:12174: gcc --version >&5
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:12185: $? = 0
configure:12174: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/aarch64-linux-gnu/10/lto-wrapper
Target: aarch64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 10.2.1-6' --with-bugurl=file:///usr/share/doc/gcc-10/README.Bugs --enable-languages=c,ada,c++,go,d,fortran,objc,obj-c++,m2 --prefix=/usr --with-gcc-major-version-only --program-suffix=-10 --program-prefix=aarch64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libquadmath --disable-libquadmath-support --enable-plugin --enable-default-pie --with-system-zlib --enable-libphobos-checking=release --with-target-system-zlib=auto --enable-objc-gc=auto --enable-multiarch --enable-fix-cortex-a53-843419 --disable-werror --enable-checking=release --build=aarch64-linux-gnu --host=aarch64-linux-gnu --target=aarch64-linux-gnu --with-build-config=bootstrap-lto-lean --enable-link-mutex
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 10.2.1 20210110 (Debian 10.2.1-6)
configure:12185: $? = 0
configure:12174: gcc -V >&5
gcc: error: unrecognized command-line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:12185: $? = 1
configure:12174: gcc -qversion >&5
gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
gcc: fatal error: no input files
compilation terminated.
configure:12185: $? = 1
configure:12189: checking whether we are using the GNU C compiler
configure:12217: result: yes
configure:12226: checking whether gcc accepts -g
configure:12287: result: yes
configure:12304: checking for gcc option to accept ISO C89
configure:12380: result: none needed
configure:12405: checking whether gcc understands -c and -o together
configure:12442: result: yes
configure:12461: checking dependency style of gcc
configure:12572: result: gcc3
configure:12588: checking whether ln -s works
configure:12592: result: yes
configure:12600: checking for snd_pcm_open in -lasound
configure:12625: gcc -o conftest -g -O2 conftest.c -lasound >&5
configure:12625: $? = 0
configure:12634: result: yes
configure:12647: checking for fftw_plan_dft_r2c_1d in -lfftw3
configure:12672: gcc -o conftest -g -O2 conftest.c -lfftw3 -lasound >&5
configure:12672: $? = 0
configure:12681: result: yes
configure:12694: checking for log in -lm
configure:12719: gcc -o conftest -g -O2 conftest.c -lm -lfftw3 -lasound >&5
conftest.c:32:6: warning: conflicting types for built-in function 'log'; expected 'double(double)' [-Wbuiltin-declaration-mismatch]
32 | char log ();
| ^~~
conftest.c:1:1: note: 'log' is declared in header '<math.h>'
1 | /* confdefs.h */
configure:12719: $? = 0
configure:12728: result: yes
configure:12879: checking that generated files are newer than configure
configure:12885: result: done
configure:12912: creating ./config.status
Thanks Steve,
this is from PeppyMeter documentation: UI is available in four resolutions 320x240, 480x320, 800x480 and 1280x400 pixels.
In attachment, please find the list of the folders in a peppymeter installation.
Best regards,
Francesco