Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


paul- wrote: 
> Not accurately, especially if there are child processes.  htop is a
> better tool.I finally realised it was there. I hadn't noticed it before. Is 
> htop
available on pCP?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Pi4b + piCoreplayer 7.0.0 + 3.5" Screen ADS7846 Successfully setup but not working

2021-01-28 Thread qyy920


33147
A photo of the TFT screen after fully bootup (pCP web portal working)


+---+
|Filename: IMG_1198.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33147|
+---+


qyy920's Profile: http://forums.slimdevices.com/member.php?userid=69283
View this thread: http://forums.slimdevices.com/showthread.php?t=113776

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread seekasoul


shunte88 wrote: 
> 
> have you run with -V - what does the monitor "-think-" its doing?
> 

What do you mean?
Putting: -V in Squeezelite Settings -> Various Options?



seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Docker Images - Tagging?

2021-01-28 Thread mherger


mherger wrote: 
> 
> >   >   > 
  - release - this obviously is the release version, currently 8.1.1
  - stable - this is the bugfix branch, based on the release with only
  > important fixes, currently 8.1.2
  - dev - this is where the good new things happen, but at the risk of
  > lower robustness (8.2.0)
  > > > 
> 

I believe I'm going to change this to 


- latest - this is the release version, currently 8.1.1
- stable - this is the bugfix branch, based on the release with only
  important fixes, currently 8.1.2
- dev - this is where the good new things happen, but at the risk of
  lower robustness (8.2.0)
  

"latest" has a special meaning in Docker and is being used if a user
doesn't define any other tag. Therefore we should have it. Lack of
"latest" has caused a few headaches to people getting started.

In addition to these "channel" tags I'm going to provide the absolute
version numbers. But I'll stop tagging "1.2.3-dev". Either you know you
want a specific version, or you better stick with the "channels". So,
going forward I plan to have channel and version tags:

Channels: latest, stable, dev (as outlined above)
Versions: 8.1.1, 8.2.0, 8.1.2 etc.



Michael

"It doesn't work - what shall I do?" - "Please check your server.log
and/or scanner.log file!"
(LMS: Settings/Information)

mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=113709

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-28 Thread amagalla


mherger wrote: 
> > 
> You can change LMS' port using the --httpport startup parameter. But you
> 
> have to make sure you're exposing the same in Docker.

It was easier to change the port on Portainer. It literally took about
30 seconds.



amagalla's Profile: http://forums.slimdevices.com/member.php?userid=71316
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Pi4b + piCoreplayer 7.0.0 + 3.5" Screen ADS7846 Successfully setup but not working

2021-01-28 Thread qyy920


Tested with pCP 6.1.0. Same outcome. no luck.:(



qyy920's Profile: http://forums.slimdevices.com/member.php?userid=69283
View this thread: http://forums.slimdevices.com/showthread.php?t=113776

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-28 Thread Michael Herger

1. I was using the lmscommunity/logitechmediaserver version. If you use
the docker pull command "docker pull lmscommunity/logitechmediaserver"
it will fail because docker seems to automatically add the flag :latest


Yeah, the tagging needs some work. See 
http://forums.slimdevices.com/showthread.php?t=113709



This worked perfectly. My only issue is the hostname. The LMS uses the
hostname of the container. This seems to be the MAC address. Is there a
way to change that?


See the basic settings in LMS. You can name your library.

> One more thing. When you're using portainer, it wants to start up on
> 9000. Obviously that's a problem for a default SqueezeServer install. So
> I stopped the portainer and restarted it on 9050. Problem solved.

You can change LMS' port using the --httpport startup parameter. But you 
have to make sure you're exposing the same in Docker.

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread Michael Herger

About replicating... Just playing some local flacs or from Qobuz, in
both cases the leak happens


Could you try to replicate using only Qobuz? What formats are you 
streaming? On what players? Could transcoding be involved?

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread paul-


I would suspect that it has to do with database management.  Possibly
linked to online music integration.

How big is your local library  (number of tracks)

How big is your qobuz library.


server.log and scanner.log would be the place to start.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread paul-


slartibartfast wrote: 
> Does "top" show which CPU is being used for a process? 
> 
> Sent from my Pixel 3a using Tapatalk

Not accurately, especially if there are child processes.  htop is a
better tool.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread Simonef


paul- wrote: 
> You cannot see memory leaks from htop output.  All that it shows you is
> memory used.

Of course, but based on memory used you can understand if a memory leak
Is happening. If usually a process takes from 100 to 400MB of RAM and
now It continues to grow until the whole 12GB are saturated then it's
not entirely wrong to suppose that a memory leak Is happening.
If there are some log files or whatever else that might be useful to
better understand the problem I'll attach them here.



https://audiodigitale.eu

Simonef's Profile: http://forums.slimdevices.com/member.php?userid=67438
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread paul-


You cannot see memory leaks from htop output.  All that it shows you is
memory used.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread Simonef


paul- wrote: 
> Going to offer some proof? or information on how to replicate what you
> see?

Proof:
33146

About replicating... Just playing some local flacs or from Qobuz, in
both cases the leak happens


+---+
|Filename: Screenshot_20210129-015348797.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33146|
+---+


https://audiodigitale.eu

Simonef's Profile: http://forums.slimdevices.com/member.php?userid=67438
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread paul-


Going to offer some proof? or information on how to replicate what you
see?



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Memory Leak in Perl Engine on piCorePlayer?

2021-01-28 Thread Simonef


I registered a memory leak of over 12GB(not using It on PCP), when RAM
Is full the process Is closed ofc.
Version: 8.1.2 - 167469

Is there already a fix?
Thanks,
Simone



https://audiodigitale.eu

Simonef's Profile: http://forums.slimdevices.com/member.php?userid=67438
View this thread: http://forums.slimdevices.com/showthread.php?t=113321

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-28 Thread spt58


Hi. Has anyone got the Wave Input plugin working with the official
docker image? Presumably you need to pass the USB audio device to the
docker container?

Thanks



spt58's Profile: http://forums.slimdevices.com/member.php?userid=65976
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Getting HDMI CEC to work on pCP 7.0

2021-01-28 Thread paul-


I forgot that I never submitted swig extension.   But sounds like you
figured that out.

Jivelite is going to pull in graphics-KERNEL.tcz   which is the needed
kernel modules for vc4/cec, et al.


Let me know how I can help you.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread paul-


agburnsky wrote: 
> Fresh install of 7.0 64bit on pi4. I use the official pi monitor for a
> touch like player.  I have my music stored on a connected USB drive.
> Under settings, picoreplayer, Rescan Logitech Media Library, I get the
> error, player not connected to Logitech Media Server. I had the same
> issue when using 6.0.  I
> can use the LMS web interface to rescan my media and the picoreplayer
> works fine, plays my music, no other issues that I am aware. Obviously I
> have something wrong in my configuration, but what?  Thanks to the
> picore team for a wonderful product.

We have heard that before, we haven't figured out the problem yet.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread paul-


jeroen2 wrote: 
> The one other issue which seems related though is the HDMI power
> setting.-(../usr/local/etc/init.d/pcp_startup.sh: line 788:
> pcp_rpi_is_rpi4: not found)- Since I am not using HDMI I want to disable
> the power to reduce energy usage (and assuming this would also reduce
> the overall temperature inside the box). Is there a work around for
> that, or should I just wait for an update to pCP?

The pi4 shuts down the HDMI port automatically.  No need to do anything
special.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Lost sound after upgrading to pCP 7

2021-01-28 Thread paul-


Remove the bluetooth extension if your not using it..it can be done
from the bluetooth page.

The 8channel audio, is the onboard rpi audio board.  The only line that
applies to the applepi is 

[ 28.765508] asoc-simple-card soc:sound: pcm1794a-codec <-> 3f203000.i2s
mapping ok

Max sample rate should be a single number.the max rate that you want
squeezelite to use..but I would remove all of that and keep it
simple.


I would also check the mixer setting via "alsamixer" from an ssh
session.   Apple pi cards are not fully integrated into card control.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=U7JHY5WYHCNRU&lc=GB¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113799

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


i have two devices running 24/7 with no ugliness, one runs with weather
and the other is pretty much default setting; there's another 3 setups
but they're in other parts of the house and not monitored - no
observable issues there though

a freeze after 10 minutes I've never seen

have you run with -V - what does the monitor "-think-" its doing?

I must admit i don't use airplay and I've definitely not put the monitor
through any stress testing with that setup

I'll beat on one of the the setups with airplay to see if that takes us
down any rabbit holes

NOTE THAT ITS NOT THAT THE SYSTEM TIME IS IN ERROR - THE DISPLAY HAS
FROZEN - DON'T CONFUSE SYSTEM DATE/TIME WITH THAT SHOWN BY AN
APPLICATION
some apps fake the time; I remember scoring 1's of points in a
single game in Windows solitaire one time as I was compiling code on the
crusty laptop I had 25+ years ago - the timer was application driven and
slowing the Windows 3.1 system -slowed- the timer - yes I am indeed an
old fart :eek:

if you don't specify -c no clock will be displayed, just track details
and/or visualization, audio or easter eggs

i'll get back to you as soon as I have some debug collected and
hopefully a solution

going to be a long evening running valgrind, a memory sniffer, on pCP is
a chore and a half :mad:



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread seekasoul


shunte88 wrote: 
> 
> i added additional safety code for the realloc and those changes are in
> the current available build

Just uploaded latest build, but after playing about 10 min with airplay
the clock display is already frozen!
No blinking ":" beetween hour and min...
It's very annoying. Please review code or suggest me what else to
check.
The:

tc@piCorePlayer:~$ date

gives me correct time but LMS clock display is locked at an old min
time.



seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 2.8" touch display on picore

2021-01-28 Thread Greg Erskine


There are a couple of Projects in the 'Projects'
(https://docs.picoreplayer.org/projects/) section of the pCP
Documentation that may give you some pointers.



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=113794

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread agburnsky


Fresh install of 7.0 64bit on pi4. I use the official pi monitor for a
touch like player.  I have my music stored on a connected USB drive.
Under settings, picoreplayer, Rescan Logitech Media Library, I get the
error, player not connected to Logitech Media Server. I had the same
issue when using 6.0.  I
can use the LMS web interface to rescan my media and the picoreplayer
works fine, plays my music, no other issues that I am aware. Obviously I
have something wrong in my configuration, but what?  Thanks to the
picore team for a wonderful product.



agburnsky's Profile: http://forums.slimdevices.com/member.php?userid=71315
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


sounds like its hitting a resource issue - memory allocation or
something else that's causing an abend
on exit it should be clearing the screen so maybe it is literally
getting stuck
I've seen that type of behavior with the JSON scrape of weather and LMS
status/details
hits an invalid linked list or has a realloc error
i added additional safety code for the realloc and those changes are in
the current available build
the linked list issue I've seen 2-3 times only - i'll beef up the code
around the JSON scrape to see if that helps

10 minute NTP is a bit of an overkill, if your pi is drifting that
rapidly there's something very much amiss - once a week should be more
than sufficient

i can add checks to the astral routines to review and correct for drift
if that would help



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-28 Thread amagalla


One more thing. When you're using portainer, it wants to start up on
9000. Obviously that's a problem for a default SqueezeServer install. So
I stopped the portainer and restarted it on 9050. Problem solved.

Tony



amagalla's Profile: http://forums.slimdevices.com/member.php?userid=71316
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 'Official' docker container for LMS?

2021-01-28 Thread amagalla


I was able to download and install the LMS container on to an
OpenMediaVault server using Portainer. There is information on how to do
it in docker from the cli, but every time I tried, I got an error. I
ended up creating a stack in portainer and deploying from there. Here
are a few things I found along the way.

1. I was using the lmscommunity/logitechmediaserver version. If you use
the docker pull command "docker pull lmscommunity/logitechmediaserver"
it will fail because docker seems to automatically add the flag :latest
if no flag exists, and there doesn't seem to be a "latest" version in
the repository. Add the flag :stable or the exact version you're looking
for and you're golden.

2. In portainer, I created a stack and used the following compose:
version: '2'
services:
lms:
container_name: lms
image: lmscommunity/logitechmediaserver:stable
volumes:
- /:/config:rw
- /:/music:ro
- /:/playlist:rw
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
ports:
- 9000:9000/tcp
- 9090:9090/tcp
- 3483:3483/tcp
- 3483:3483/udp
environment:
- PUID=1000
- PGID=1000
restart: always

(obiously you'll want to point the config, music and playlists to your
owm locations. For the config folder, I found that you just needed to
point it to a squeezebox/config folder.)

This worked perfectly. My only issue is the hostname. The LMS uses the
hostname of the container. This seems to be the MAC address. Is there a
way to change that?

Thanks. 

Tony



amagalla's Profile: http://forums.slimdevices.com/member.php?userid=71316
View this thread: http://forums.slimdevices.com/showthread.php?t=111828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Lost sound after upgrading to pCP 7

2021-01-28 Thread cfuttrup


Hi there

Today I in-situ updated pCP from 6.1.0 to 7.0.0. Problem: My sound
disappeared.

piCorePlayer | piCorePlayer v7.0.0 | www v00011 | linux
5.4.83-pcpCore-v7 | piCore v12.0pCP | Squeezelite v1.9.8-1287-pCP
This is running on a Raspberry Pi3 B+ with an ApplePi HAT DAC.
Wifi is disabled (using Ethernet only), Bluetooth is obviously then also
disabled.
Last I know HDMI was also disabled, but now I can't find a menu to
check.

Here's the pcp_insitu_upgrade.log:
Fixing any issues after insitu update Done.
Starting piCorePlayer v7.0.0 startup...
Starting rngd using /dev/hwrng... Done.
Checking for boot files on mmcblk0p1...
Trying to mount /dev/mmcblk0p1.
ssh file found on mmcblk0p1.
newpcp.cfg found on mmcblk0p1.
Processing saved Configuration file from mmcblk0p1...
Disabling RPi built-in wifi... Done.
Setting Screen Rotation... Done.
Removing old kernel modules extensions... Done.
Removing old pcp www extensions... Done.
Saving a copy of the upgrade log to
/mnt/mmcblk0p2/tce/pcp_insitu_upgrade.log ...

Generally my attention span is too short to look through the very
lengthy log files.
Let me know if I should look into a specific file for something
specific.

I noticed that on reboot after the update an error said that pCP-bt6.tgz
failed to update.
If I look in "Extensions" and try to manually install the file, then I
am told it already exist.
My sense is that this 'blurp' doesn't matter and the system is fine.
The BT Controller is Off. Since I'm not using Bluetooth - should I try
to REMOVE it entirely?

Squeezelite is running, running Standard Squeezelite Binary.
My audio device: hw:CARD=ApplePiDAC
I updated to: hw:CARD=ApplePiDAC,DEV=0
I tried: sysdefault:CARD=ApplePiDAC and reverted back to the previous
one.
None of these bring the sound back.
Volume is at 100%.
The system is finding my music library just fine, and seems to work with
the RadioParadize LMS plugin as well.
LMS is running on a Synology NAS.

ALSA settings were: 80 - 4 - blank - 1 - blank
I changed to:  80 - blank - blank - 1 - blank ... I think this is what I
original had. No difference.

I am forcing upsampling by setting
Max sample rate: 88200,96000,176400,192000
Upsample settings: v::3.5:28:95:100:45

I don't know if the problem is that SoX isn't properly loaded ?? (Why
wouldn't it be) 

In pCP 6.1.0 I had (AFAIR) access to the ALSA Mixer, but "Card Control"
gives me nothing now,
so I assume it's good, but it could be that the default is the Headphone
jack.

In /proc/asound I find:
lrwxrwxrwx1 root root 5 Jan 28 17:26 ApplePiDAC ->
card0
lrwxrwxrwx1 root root 5 Jan 28 17:26 Headphones ->
card1

I tried to plug a pair of headphones into the Raspberry Pi analog
output. No sound.
I suppose setting DEV=0 means use card0 for output (?).

Here's the tail end of DMESG - I'm a bit startled by the 8-channel audio
card, AFAIK I have 2-ch stereo:

[   28.745215] snd_bcm2835: module is from the staging directory, the
quality is unknown, you have been warned.
[   28.765508] asoc-simple-card soc:sound: pcm1794a-codec <->
3f203000.i2s mapping ok
[   28.766165] input: raspberrypi-ts as
/devices/platform/soc/soc:firmware/soc:firmware:touchscreen/input/input0
[   28.805201] bcm2835_audio bcm2835_audio: card created with 8
channels
[   30.637109] Under-voltage detected! (0x00050005)
[   33.531818] Starting piCorePlayer v7.0.0 startup.
[   33.571128] random: crng init done
[   34.430173] Bluetooth: Core ver 2.22
[   34.430355] NET: Registered protocol family 31
[   34.430369] Bluetooth: HCI device and connection manager initialized
[   34.430405] Bluetooth: HCI socket layer initialized
[   34.430426] Bluetooth: L2CAP socket layer initialized
[   34.430462] Bluetooth: SCO socket layer initialized
[   34.436710] Bluetooth: HCI UART driver ver 2.3
[   34.436729] Bluetooth: HCI UART protocol H4 registered
[   34.436818] Bluetooth: HCI UART protocol Three-wire (H5) registered
[   34.437194] Bluetooth: HCI UART protocol Broadcom registered
[   34.906239] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   34.906267] Bluetooth: BNEP filters: protocol multicast
[   34.906306] Bluetooth: BNEP socket layer initialized
[   36.137017] Finished piCorePlayer v7.0.0 startup.
[   68.077079] Voltage normalised (0x)
[   93.037119] Under-voltage detected! (0x00050005)
[   97.197040] Voltage normalised (0x)
[  105.517055] Under-voltage detected! (0x00050005)
[  109.677046] Voltage normalised (0x)
[  359.277077] rpi_firmware_get_throttled: 10 callbacks suppressed
[  359.277086] Under-voltage detected! (0x00050005)
[  417.517063] Under-voltage detected! (0x00050005)
[  421.677059] rpi_firmware_get_throttled: 11 callbacks suppressed
[  421.677068] Voltage normalised (0x)
[  477.837116] Under-voltage detected! (0x00050005)
[  481.997072] Voltage normalised (0x)
[  542.317071] Voltage normalised (0x)
[  685.837053] rpi_firmware_get_throttled: 3 callbacks suppressed
[  685.837062] Under-voltag

Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread seekasoul


shunte88 wrote: 
> how long is a piece of string? :p
> 
> not sure what you mean by stuck
> is the monitor freezing?
> are you referring to the colon flash not being bang on the second?
> 
> a bit more detail...

The monitor freeze with the time stuck at random hour:min displayed.
Then only a reboot will resync it with actual time.
NTP is synced every 10 mins with the cron script but still it freezes.



seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread jeroen2


I was also playing with the CPU settings, since isolation doesn't work
(out of the box) with a 4, I switched between "performance" and
"powersave". I noticed that running "performance" the webinterface feels
a tiny bit snappier. 
Monitoring "top" at the same time I noticed CPU usage% actually going
down. It sticks around 4% under "powersave" and just above 1% under
"Performance". Temperature does seem to go up a few degrees. Under "top"
I do indeed see all 4 cores being used equally in both settings.



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread shunte88


how long is a piece of string? :p

not sure what you mean by stuck
is the monitor freezing?
are you referring to the colon flash not being bang on the second?

a bit more detail...



As of *25-Jan-2021* my digitized collection is (25092 hours 53 minutes)
+ (54 seconds) or
2.863[/B] YEARS IN DURATION, THAT WOULD REALLY ANNOY THE NEIGHBORS...

DIGITIZED THUS FAR:

[B]TOTAL TRACKS: 162,025
TOTAL ALBUMS: 14,843
TOTAL ARTISTS: 21,092
TOTAL GENRES: 751
TOTAL PLAYING TIME: 25092:53:54

With another ~2500 yet to be ripped...

shunte88's Profile: http://forums.slimdevices.com/member.php?userid=40185
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


jeroen2 wrote: 
> Well According to the law of conservation of energy ("energy can be
> transformed from one form to another, but can be neither created nor
> destroyed") I would think if the Pi uses energy without outputting
> anything something will get a little warmer. [emoji14]
> 
> But thanks, I have unchecked this now.  I don't like errors in my
> bootlog.I expected a reduction but I guess just supplying  a voltage to a
connector with nothing plugged into it doesn't use a lot of power.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread jeroen2


slartibartfast wrote: 
> When I disabled HDMI on a Pi3B I didn't see any reduction in CPU
> temperature.

Well According to the law of conservation of energy ("energy can be
transformed from one form to another, but can be neither created nor
destroyed") I would think if the Pi uses energy without outputting
anything something will get a little warmer. :p

But thanks, I have unchecked this now.  I don't like errors in my
bootlog.



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread coyrls


ralphy wrote: 
> What version of ffmpeg do you have installed?
> 
> 

I installed the pcp-ffmpeg extension from the pcp repository.  Are you
running the 64 bit version of pcp?

The version seem to be the same as yours:


Code:

ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.1.0 (GCC)



But I have a load of disabled libraries:


Code:

 configuration: --prefix=/usr/local --disable-debug --enable-static 
--disable-dxva2 --disable-fontconfig --enable-gpl --disable-libass 
--disable-libbluray --disable-libfreetype --disable-libgsm --disable-libmodplug 
--disable-libmp3lame --disable-libopencore_amrnb --disable-libopencore_amrwb 
--disable-libopenjpeg --disable-libpulse --disable-libspeex --disable-libtheora 
--disable-libv4l2 --disable-libvpx --disable-libx264 --disable-libxvid 
--disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes 
--disable-libxcb-shape --disable-doc --enable-pic --enable-runtime-cpudetect 
--enable-shared --enable-swresample --disable-vdpau --enable-version3 
--disable-iconv --disable-xlib --disable-zlib --disable-bzlib --disable-lzma 
--extra-cflags='-march=armv8-a+crc -mtune=cortex-a72 -s -O2' 
--extra-ldflags='-Wl,-rpath,/usr/local/lib -s'
  libavutil  56. 51.100 / 56. 51.100
  libavcodec 58. 91.100 / 58. 91.100
  libavformat58. 45.100 / 58. 45.100
  libavdevice58. 10.100 / 58. 10.100
  libavfilter 7. 85.100 /  7. 85.100
  libswscale  5.  7.100 /  5.  7.100
  libswresample   3.  7.100 /  3.  7.100
  libpostproc55.  7.100 / 55.  7.100



Do you have the same?

My entry in onboot.lst is:


Code:

-pcp-ffmpeg.tcz
  |-pcp-libffmpeg.tcz
  | |-libasound.tcz
  | | |-alsa-modules-5.4.83-pcpCore-v8.tcz




coyrls's Profile: http://forums.slimdevices.com/member.php?userid=44253
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


praganj wrote: 
> Hi Paul,
> You can see my cpu tweaks, errors and "top" on attachec pictures. I did
> fresh install on Pi 4 2GB, pCp 7.0 v8.
> Strange ...It works on a Pi3B so maybe the Pi4 has an issue[image:
https://uploads.tapatalk-cdn.com/20210128/ee6fe786c0c120949c041621f83388d5.jpg]

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Getting HDMI CEC to work on pCP 7.0

2021-01-28 Thread Paul Webster


Well that was good ...

The differences between the 2 SD cards were mainly RPi2 had all of the
build tools and RPI1 had Jivelite ...

So I used pCP to install Jivelite on RPi2 ... and, as if by magic, on
reboot I had /dev/cec0 (and sound devices appearing).

So there must be some config going on when pCP knows that the screen is
going to be used.

Finally I can get back to trying out remote control stuff.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Getting HDMI CEC to work on pCP 7.0

2021-01-28 Thread Paul Webster


Annoyingly I can't get the RPi to load the /dev/cec0 with the new SD
card that I have rebuilt things on.

I suspect there is something that I did yesterday that I have missed out
today.
The overlay is specified in config.txt
dtoverlay=vc4-kms-v3d

If I put the SD card from yesterday into the 2nd RPi then I do get
/dev/cec0 created ... so the hardware difference does not appear to be
the issue.
The 2nd Pi is a B+ ... so not very different anyway.

I have also put the cmdline.txt from RPi1 into RPi2 and it does not
change things.

Next step is to compare all of the .tcz extensions I loaded.
Obviously RPi2 has a lot more because of the build environment (I had to
add a max_loop=150 to cmdline.txt avoid a mount error when installing
one).



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 2.8" touch display on picore

2021-01-28 Thread trondkj


Thanks for the answer. Seems like it's a long way to go to make this
display work at all.



trondkj's Profile: http://forums.slimdevices.com/member.php?userid=64958
View this thread: http://forums.slimdevices.com/showthread.php?t=113794

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


jeroen2 wrote: 
> Apart from it being a 'cool' thing to do (and since the settings are
> easy to access on the pCP Tweaks page), would there be any reason to use
> cpu isolation on a Pi4? I disabled it when I upgraded to a Pi4 and
> honestly have not noticed any difference.. LMS runs blazingly fast and
> never has any hiccups even with 6 players connected and streaming
> hi-res... 
> 
> The one other issue which seems related though is the HDMI power
> setting.-(../usr/local/etc/init.d/pcp_startup.sh: line 788:
> pcp_rpi_is_rpi4: not found)- Since I am not using HDMI I want to disable
> the power to reduce energy usage (and assuming this would also reduce
> the overall temperature inside the box). Is there a work around for
> that, or should I just wait for an update to pCP?

When I disabled HDMI on a Pi3B I didn't see any reduction in CPU
temperature.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: LMS Monitor 2020

2021-01-28 Thread seekasoul


Why the time get stuck so easily on the display?



seekasoul's Profile: http://forums.slimdevices.com/member.php?userid=69788
View this thread: http://forums.slimdevices.com/showthread.php?t=111790

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread ralphy

coyrls wrote: 
> It does seem that the version of ffmpeg downloaded as an extension to
> Pcp 7.0 64 bit is unable to convert wma to flac, meaning the Play
> Windows Media LMS plugin won’t work.  The simple ffmpeg command:
> > 
Code:

  >   > $ ffmpeg -v 9 -i f1.wma f2.flac

> > 
> 
> I don’t know where to go from here.  As it stands I am not able to
> play any WMA files.

What version of ffmpeg do you have installed?

Using the pcp-ffmpeg extension from the pcp repository it's working for
me with this command.


Code:

ralphy@pcp7:~$ *ffmpeg -i 005-Home.wma -f flac home.flac*
  ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.1.0 (GCC)
  
  Guessed Channel Layout for Input Stream #0.0 : stereo
  Input #0, asf, from '005-Home.wma':
  Metadata:
  WM/Track: 4
  WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
  WMFSDKVersion   : 10.00.00.3802
  WMFSDKNeeded: 0.0.0.
  WM/ProviderRating: 7
  track   : 5
  WM/EncodingTime : 18446744073551985792
  WM/WMADRCAverageReference: 10176
  publisher   : 143/Reprise
  genre   : Miscellaneous
  album_artist: Michael Bubl��
  WM/Year : 2005
  WM/UniqueFileIdentifier: AMGa_id=R   726384;AMGp_id=P   554516;AMGt_id=T  
7502477
  album   : It's Time
  WM/Provider : AMG
  IsVBR   : 0
  DeviceConformanceTemplate: L1
  WM/WMADRCPeakReference: 32767
  composer: Michael Bubl��
  title   : Home
  artist  : Michael Bubl��
  Duration: 00:03:45.37, start: 0.00, bitrate: 97 kb/s
  Stream #0:0: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, fltp, 96 
kb/s
  Stream mapping:
  Stream #0:0 -> #0:0 (wmav2 (native) -> flac (native))
  
  [flac @ 0xf834f60] encoding as 24 bits-per-sample
  Output #0, flac, to 'home.flac':
  Metadata:
  WM/Track: 4
  WM/MediaPrimaryClassID: {D1607DBC-E323-4BE2-86A1-48A42A28441E}
  WMFSDKVersion   : 10.00.00.3802
  WMFSDKNeeded: 0.0.0.
  WM/ProviderRating: 7
  TRACKNUMBER : 5
  WM/EncodingTime : 18446744073551985792
  WM/WMADRCAverageReference: 10176
  publisher   : 143/Reprise
  genre   : Miscellaneous
  ALBUMARTIST : Michael Bubl��
  WM/Year : 2005
  WM/UniqueFileIdentifier: AMGa_id=R   726384;AMGp_id=P   554516;AMGt_id=T  
7502477
  album   : It's Time
  WM/Provider : AMG
  IsVBR   : 0
  DeviceConformanceTemplate: L1
  WM/WMADRCPeakReference: 32767
  composer: Michael Bubl��
  title   : Home
  artist  : Michael Bubl��
  encoder : Lavf58.45.100
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s32 (24 bit), 128 kb/s
  Metadata:
  encoder : Lavc58.91.100 flac
  size=   38281kB time=00:03:45.41 bitrate=1391.2kbits/s speed=41.4x
  video:0kB audio:38272kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: 0.022702%
  




Code:

ralphy@pcp7:~$ ls -l home.flac
  -rw-r--r-- 1 ralphy users 39176807 Jan 28 07:00 home.flac




Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread praganj


slartibartfast wrote: 
> Regarding the CPU isolation of Squeezelite, the Sqieezelite process
> itself will only run on CPU 3 if you set Squeezelite CPU to CPU 3 in
> tweaks. You have probably only set Squeezelite output CPU to CPU 3. 
> 
> Sent from my Pixel 3a using Tapatalk

Hi Paul,
You can see my cpu tweaks, errors and "top" on attachec pictures. I did
fresh install on Pi 4 2GB, pCp 7.0 v8.
Strange ...


+---+
|Filename: cpuisol.png  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33128|
+---+


praganj's Profile: http://forums.slimdevices.com/member.php?userid=41091
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Getting HDMI CEC to work on pCP 7.0

2021-01-28 Thread Paul Webster


Borrowed a newer RPi ... progress
cmake does not segfault.


For the list of extensions required to build ... also need 'C' compiler
and related applications
compiletc

.. currently building ...



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] 2.8" touch display on picore

2021-01-28 Thread Paul Webster


"git" is not included by default in pCP.
You can install it as an extension ... however, that would only get you
to the next problem.

pCP does not include made things that are common on other systems. This
is what makes it small and fast to boot etc.

If you take a look at the script that they want you to run you will see
that it tried to fo many things including using apt-get to install some
X11 things.
This is not going to work on pCP.

So ... what you (or someone) have to do is work through their script by
hand to work out all that it is doing and then do the necessary parts by
hand ...

The best way to approach this (assuming this screen is not already
supported by pCP) is to look at some of the Waveshare threads or the
online pCP documentation to see how to tackle it.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113794

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] 2.8" touch display on picore

2021-01-28 Thread trondkj


I am trying to install drivers for this display:
https://raspberrypiwiki.com/index.php/2.8_inch_Touch_Screen_for_Pi_zero
on picoreplayer 7.0.0, Pi Zero W, but cannot get the *git* command to
run. Is there another way to install the drivers for the display?

I want to build a picore player into an old Tivoli One radio with this
display if possible.



trondkj's Profile: http://forums.slimdevices.com/member.php?userid=64958
View this thread: http://forums.slimdevices.com/showthread.php?t=113794

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


praganj wrote: 
> I installed extension uti-linux.tcz and i am getting less errors, then
> before, but cpus are not isolated.
> 
> I isolated only cpu 0 for interrupts and i can see in ssh shell with
> "top", that different processes are using cpu 0.
> When i am trying to isolate cpu 0 for interrupts and cpu 3 for
> squeezelite, so i am setting CPU isolation 0,3. Then i am trying to run
> squeezelite on 3 and output on 3 and i can see with ssh, that
> squeezelite is not running on cpu 3, but on 0 and different processes
> are using cpu 3.
> 
> So installing extension uti-linux.tcz is not solving this problem ... 
> :(Regarding the CPU isolation of Squeezelite, the Sqieezelite process
itself will only run on CPU 3 if you set Squeezelite CPU to CPU 3 in
tweaks. You have probably only set Squeezelite output CPU to CPU 3. 

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread Greg Erskine


jeroen2 wrote: 
> (../usr/local/etc/init.d/pcp_startup.sh: line 788: pcp_rpi_is_rpi4: not
> found)[/I] Since I am not using HDMI I want to disable the power to
> reduce energy usage (and assuming this would also reduce the overall
> temperature inside the box). Is there a work around for that, or should
> I just wait for an update to pCP?

Paul has already fixed it, so it will probably be in the "next" version
of pcp-x.x.x-www.tcz ie "www v00013".



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Getting HDMI CEC to work on pCP 7.0

2021-01-28 Thread Paul Webster


Thanks.

Just tried to build on the device ... very old RPI1

Code:


  [0.00] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), 
cr=00c5387d
  [0.00] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing 
instruction cache
  [0.00] OF: fdt: Machine model: Raspberry Pi Model B Rev 2
  



cmake fails immediately with a "Segmentation Fault"
wrong Arm?

Also - swig not in the list of extensions (and not on PiCore either).



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=113784

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


slartibartfast wrote: 
> I have also isolated CPU 0 and 3 and allocated 3 to Squeezelite but it
> seems to me that nothing at all is running on CPU 3 and the affinity for
> the PID for squeezelite is 0-2. So CPU 3 is isolated completely and
> isn't used.
> 
> After entering tweaks and resaving the CPU isolation settings,
> squeezelite restarted and now squeezelite isn't listed in top any more
> but one process is now using CPU 3
> 
> 
> 25799 2 root IW   0  0.0   3  0.0 [kworker/3:2-mm_]
> 
> Does that look right. Maybe CPU affinity does not survive a reboot.
> 
> 
> Sent from my Pixel 3a using TapatalkOK the reason Squeezelite disappeared 
> from top was that it failed to
restart after saving the CPU isolation settings [emoji3]. Now looking
further down the process list in top I can see a few processes running
on CPU 3 but I have no idea if they are squeezelite related.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


paul- wrote: 
> util-linux (which is just installing the full version of taskset) has no
> bearing on cpu isolation.  The kernel decides where it runs kernel code,
> if the kernel code says to run a process on CPU3, then it will do it,
> irregardless of the isolation request.  In the past, the rpi kernel
> forced all interrupts to run on cpu 0, but that could have changed.  
> 
> As for squeezelite, there are 4 different processes associated with
> squeezelite. Are you looking at them individually?I have also isolated CPU 0 
> and 3 and allocated 3 to Squeezelite but it
seems to me that nothing at all is running on CPU 3 and the affinity for
the PID for squeezelite is 0-2. So CPU 3 is isolated completely and
isn't used.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread Man in a van


Is it time to forget this combination and pCP7 :confused:

I would appreciate an answer (even if it's only to "stop being a pain in
the arse" :):):p)


Man in a van wrote: 
> I tried updating my "turtle" today from v 6.1 to standard v 7.
> 
> The  Cirrus Logic Audio Card is not recognised. :(:confused:
> 
> Info at 
> 
> paste name: pCP-B-1d85e7-pcp_diagnostics.log  
>   
> 
> Many thanks for any info :)
> 
> ronnie

gegen wrote: 
> +1 .reverted back to 6.1 and Cirrus Logic Audio card works again.
> Running on Pi 2B



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread jeroen2


paul- wrote: 
> util-linux (which is just installing the full version of taskset) has no
> bearing on cpu isolation.  The kernel decides where it runs kernel code,
> if the kernel code says to run a process on CPU3, then it will do it,
> irregardless of the isolation request.  In the past, the rpi kernel
> forced all interrupts to run on cpu 0, but that could have changed.  
> 
> As for squeezelite, there are 4 different processes associated with
> squeezelite. Are you looking at them individually?

Apart from it being a 'cool' thing to do (and since the settings are
easy to access on the pCP Tweaks page), would there be any reason to use
cpu isolation on a Pi4? I disabled it when I upgraded to a Pi4 and
honestly have not noticed any difference.. LMS runs blazingly fast and
never has any hiccups even with 6 players connected and streaming
hi-res... 

The one other issue which seems related though is the HDMI power
setting.-(../usr/local/etc/init.d/pcp_startup.sh: line 788:
pcp_rpi_is_rpi4: not found)- Since I am not using HDMI I want to disable
the power to reduce energy usage (and assuming this would also reduce
the overall temperature inside the box). Is there a work around for
that, or should I just wait for an update to pCP?



jeroen2's Profile: http://forums.slimdevices.com/member.php?userid=70418
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread slartibartfast


paul- wrote: 
> util-linux (which is just installing the full version of taskset) has no
> bearing on cpu isolation.  The kernel decides where it runs kernel code,
> if the kernel code says to run a process on CPU3, then it will do it,
> irregardless of the isolation request.  In the past, the rpi kernel
> forced all interrupts to run on cpu 0, but that could have changed.  
> 
> As for squeezelite, there are 4 different processes associated with
> squeezelite. Are you looking at them individually?Does "top" show which CPU 
> is being used for a process? 

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-01-28 Thread chill


paul- wrote: 
> From what I can tell ngrok is not open source.  It appears that v1 was
> open source, but moved to close source.
> 
> 1) Binary re-distribution licensing is not clear, the download zip files
> contain just the binary.
> 2) I have a general disdain for supporting closed source platforms.
> 
> Of someone has better information, I'll reconsider.
> 
> It's quite easy to squash up the extension yourself.

Thanks Paul - I didn't consider whether it was open or closed source,
and I completely agree with your stance.

I did already learn how easy it is to put this file into an extension,
so I will include those extra steps in some instructions, so that ngrok
users on pCP have a choice of where to put the executable.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix