Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


paul- wrote: 
> I have not found a way to have two screens and HDMI audio working on
> pCP.   For multiple screens, You probably need to be running an Xorg
> solution.

Okay.  I had come across multiple tutorials on setting up
squeezelite/jivelight on raspian.  I've heard it's not quite the same as
loading a pCP image, but maybe that's a project to plan out.

Thanks everyone for their help.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


paul- wrote: 
> So I re-read my post here
> https://forums.slimdevices.com/showthread.php?114828-Announce-piCorePlayer-8-0-0&p=1029240&viewfull=1#post1029240
> I think when I did this test, I did not use the vc4-kms-v3d driver.   I
> made only the changes listed in the post, and then used the conventional
> HDMI  device.

Well -- there we go.  I ssh'd in to pcp and edited the config to remove
the 'dtparam=vc4-kms-v3d' as well as the settings you had in the post. 
Rebooted.  Ssh'd in again and went through the available outputs
(hw:card=b1, plughw:card, sysdefault:card) via cli.  plughw worked and I
entered that setting into pcp squeezelite output setting.  Rebooted and
now I have sound, and we have the 'needed' requirements resolved.

So -- is it possible to have both the LCD and HDMI outputting something
visual?  As a reminder, this is a older RPi 3B v1.2, and I would love to
have personal pictures on the tv screen, and album information on the
LCD, but even if we just mirrored the LCD to the TV would be cool.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


Paul Webster wrote: 
> Most internet radio stations are 44.1KHz (like a CD) some are 48KHz
> (like DAB radio - e.g. BBC).
> You can usually see what is playing via the "More" function in the web
> UI.

That's what I thought you were getting at.  So, current song playing is
at 44.1 sample rate (from squeezelite.log) and LMS is reporting 319Kbs
CBR.  I don't have any internet radios setup in LMS, and all of my music
is either downloaded or ripped.  Not sure on Download, but ripped,
taking a look at my ABCDE configuration, we're ripping with a variable
bit rate with target of 245Kbps, but can swing between 220 and 260, so I
would assume most of my mp3s are going to be in that 44.1KHz range.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


Paul Webster wrote: 
> Also ... try different sources including 48kHz and 44.1KHz
I thought I might be able to figure this one out, but having some
issues.  Where do I need to do this?



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


paul- wrote: 
> That doesn't need to be in asound.conf. Alsa handles it directly.

Ahh!  It has been a long while.  Thank you.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-08 Thread AnaximanderThales


Paul Webster wrote: 
> Try pushing the volume up in LMS and in the TV just in case that is the
> issue (it was for me once).
TV volume is sitting at 50, and the volume slider on the web interface
of LMS is maxed, and I can confirm that alsa volume is at fixed volume
(I assume that's default for HdMI).

Paul Webster wrote: 
> Also ... try different sources including 48kHz and 44.1KHz

This I will try, I can do this is a little quicker than before as I'm
working from home.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-07 Thread AnaximanderThales


Okay -- hdmi wasn't plugged in securely, so iec958:CARD=vc4hdmi,DEV=0
does get squeezelite running, however still no sound.

Examining the /etc/asound.conf (in diagnostics) there is no vc4hdmi,
just headphones:

Code:


  # default - Generated by piCorePlayer
  pcm.!default {
  type plug
  slave.pcm "hw:0,0"
  }
  
  pcm.pcpinput {
  type hw
  card Headphones
  device 0
  }
  
  #---ALSA EQ Below
  pcm.sound_device {
  type plug
  slave.pcm {
  type hw
  card Headphones
  device 0
  }
  }
  
  ctl.equal {
  type equal;
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.plugequal {
  type equal;
  slave.pcm "sound_device";
  controls "/home/tc/.alsaequal.bin"
  library "/usr/local/lib/ladspa/caps.so"
  }
  
  pcm.equal {
  type plug;
  slave.pcm plugequal;
  }
  
  



I feel like I should have at least something in alsa for card1.  But it
has been a while since I've configured alsa manually.

Code:


  *** Scanning for recording devices ***
  
  Card 0, ID `Headphones', name `bcm2835 Headphones'
  
  Card 1, ID `vc4hdmi', name `vc4-hdmi'
  



What information would y'all like to see?



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-05 Thread AnaximanderThales


Paul Webster wrote: 
> In the pCP web page ... the section headed "Change Squeezelite settings"
> has "Squeezelite command string" at the bottom ... with a "more" link.
> Click "more" and you will see the command line that pCP is using.
> From ssh session ... run the same command and capture the output (as
> text not as an image) and paste it into a reply here inside "code"
> "/code" (replace the quotes with open/close square brakcets.

Oh, Excellent! I did not know that it would show the command being
used.
I'll take care of it when I get a chance tonight.

Thank you.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-05 Thread AnaximanderThales

Paul Webster wrote: 
> If the device was listed when clicking “more” in pCP web interface then
> it really should have been OK for Squeezelite- at least to run.
> 
> You could try running Squeezelite from the command line (pCP can be
> coaxed to show you what it is using) and then you might see a more
> specific error message at the terminal.

I'll have to try that once I get home from work (about 8 hours from
now). I found the 'squeezelite -l' (here in the forums) which would list
the available outputs, *do you have a link that would be helpful for
actual troubleshooting*?  I just did a quick search, and while I'm
seeing quite a few, they are all pointing to slimdevices, and not
actually giving command suggestions, and point to suggestions about
specific issues not pertaining to a failing squeezelite (sound
optimization, only working on the command line).

pCP, being minimal, doesn't have man pages installed, and while I
understand the reason why, it can be frustrating initially.  I did see a
-v flag for squeezelite, which seems like it'll be like following
journal/dmesg entries specific to squeezelite.  Is the preferred method
for sharing that information a link to something like Pastebin, or just
wrap the output in code tags directly in the thread?



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-05 Thread AnaximanderThales


Paul Webster wrote: 
> On pCP 8 - with KMS - set the Squeezelite output to go to the IEC device
> to get audio on HDMI.

I believe that you are replying to me -- I did accidentally leave that
out.  I have tried all of the vc4hdmi outputs:
IEC958, Default, Card, etc.  All of those leaves Squeezebox failing to
start, and no audio to hdmi 

As some additional information, I didn't have a wired set of headphones
to test the audio jack output, so no clue if that is working or not.  I
have picked a set of wired headphones up from work to test out tonight.



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2022-12-04 Thread AnaximanderThales


I had pCP setup before this, I am pretty sure it was pCP7, but I did not
keep a backup to verify that.  When this worked, the album info
displayed on the 7" screen, and the rainbow test screen would display on
the TV (assuming it was on).

The hardware is rPi 3B v1.2.  Despite all the documentation I'm seeing
online, this board is tagged with 2015, the revision for this board is
a22082 -- this is a recent update.  I am unsure of what revision was
used when I had this working. 

I am trying to set up pCP8 (8.20) [64-bit] and am having issues getting
it configured the way I need/would like to have it set up.

My needs:
pCP8 displaying album information on 7" LCD, playing audio through HDMI
(as described above).

My Wants: 
pCP8 displaying album information on 7" LCD AND TV (via HDMI) displaying
Album Art and/or personal images while playing audio through HDMI

I have the 'Official Raspberry Pi 7" touch screen.'  This is a DSI
display, and was the cause of some consternation when I originally setup
pCP as, at the time, DSI and HDMI did not play well together.  I
remember it was a simple config.txt change, but do not remember the
specific item I needed to add.  Again, no back up to figure it out.  As
such, I have been using the forums and Google to try to figure out what
I need to do to set this up.  As nothing works at the moment, I'm find
doing what ever is needed.  I'm pretty familiar with linux and should be
able to get whatever is needed.

[I HAVE NOT TESTED RASPIAN -- My next test later on today will be
whether raspian is functioning similarly to what I would like.  I am
expecting mirrored displays on LCD and TV, and getting sound from TV,
but am not sure if that's what will happen, I will report the results if
they are not as expected. ]

On to what I have tried:
I have tried both 32- and 64-bit versions.
I have set SqueezeLite for HDMI Audio (as well as Headphones and None
just to be thorough)
I have added dtparam=vc4-kms-v3d, as well as -fkms-
I have removed gpu_mem OR left it in place
I have added max_framebuffers=2, display_default_lcd=1 and
framebuffer_priority=0 (in groups and individually)
I have tried adding video=DSI-1:800x480@60 and video=DSI-1:480x800@60

It's possible I've missed a combination, but have tried going through
reasonable iterations of the above settings.  My results are either A or
B -- A) No sound from HDMI regardless of LCD or HDMI video out.  B) It
only displays through HDMI, and there's no audio.

What other information do you need/want?  What suggestions might anyone
have?



AnaximanderThales's Profile: 
http://forums.slimdevices.com/member.php?userid=73206
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

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