Jump to content
IGNORED

GentooPlayer


Recommended Posts

3 hours ago, antonellocaroli said:

yes, bubbleupnp uses ffmpeg to read various formats, and mp4 is generally an audio file found in videos.
I have compiled ffmpeg with support only for some audio files.

What software do you use to send youtube videos to bubbleupnp? do I do some tests?

I use Youtube app on Android smartphone share to Bubble upnp.

Link to comment
1 hour ago, franz159 said:

Using wi-fi.

I started using Gentooplayer on one of my raspberries and I'm very happy about the results, with LMS+ Squeezelite-R2.

I also opened a discussion thread on one of the Italian forums I'm following.

I have my pi4 wired, but somebody could prefer using wi-fi.

I was wondering if the idea of adding a wi-fi configuration tab in the web interface has ever been considered.

For example Moode, if the acquisition of an IP address through DHCP fails, switches to Access Point mode, creating an ad-hoc network allowing to access using pre-defined IP/user/password.

Once connected, it is possible to enter the access parameters of your wi-fi network, execute a reboot... done!

 

 

Ciao Franz,

Create a wi-fi configuration module, it's not a problem, I do it...

The problem is that I, due to my deformation, hate wifi and bloothoot, it will be a fixation of mine, but I don't want it near my audio system, so I deactivate them directly in the kernel.....

But the request is also coming to me from the other side.....
So I'll probably have to add wifi support to the kernels (ST)... but only to these...

 

 

 

 

39 minutes ago, xp18 said:

I use Youtube app on Android smartphone share to Bubble upnp.

 

ok,  I'll give it a try

Link to comment
1 hour ago, antonellocaroli said:

can you tell me in detail how you do it?

Youtube on mobile

bubbleupnp on gentooplayer?

I use Youtube on mobile + Bubbleupnp app on mobile. Video on YouTube app share to Bubbleupnp app. Gentooplayer OS on Pi is renderer. 

Link to comment

Just wanted to update my status.

Using the version downloaded a week ago, without the kernel change download.

 

I decided I like the sound of kernel 4, with Profile Select 4, so that is what I've been using.

Sounds really good, and no pops in my system.  I did have some pops with kernel 4 without changing profile, but I tried the different profiles, though 4 sounded best, and it doesn't have pops

Note that another reason I picked kernel 4 is that is only had a few pops with default profile. Some kernels have a lot more pops

 

Randy

Link to comment

Just reporting back that Gentooplayer and the Denafrips Terminator are compatible. I reported an issue early on where using 1024 PCM in HQPlayer only played 768 and 705, increasing the HQP value to 1536 allowed playing at 1536 and 1411. Seemed there was an issue but it is the source content and auto bit rate feature and 48k option sometimes in HQP (which by the way it is BRILLIANT) which was limiting the playback resolution.

 

So Gentooplayer, HQPe, Roon, Denafrips, excellent combo

 

 

 

image.thumb.png.5691e8bf873abb1cc5bdcdb32bc81dc9.png

 

Last but not least special thanks to @antonellocaroli for supporting me and helping me out troubleshooting.

 

Link to comment
4 hours ago, xp18 said:

I use Youtube on mobile + Bubbleupnp app on mobile. Video on YouTube app share to Bubbleupnp app. Gentooplayer OS on Pi is renderer. 

ok, 

I know what the problem is, I'll solve it in the next version.

If you want you can try doing it on your system:

 

emerge-webrsync  (only if you've never done it, it takes a while to sync with the repo gentoo)

 

USE="ffmpeg" emerge --ask media-sound/mpd

Link to comment
4 hours ago, antonellocaroli said:

ok, 

I know what the problem is, I'll solve it in the next version.

If you want you can try doing it on your system:

 

emerge-webrsync  (only if you've never done it, it takes a while to sync with the repo gentoo)

 

USE="ffmpeg" emerge --ask media-sound/mpd

Many thanks for your feedback. But there was an error executing the command. I will wait for the next Gentooplayer version.

1.jpg

Link to comment
On 1/9/2020 at 1:38 PM, antonellocaroli said:

Did you test them?

 

Yes, I did extensive tests and so apologies for the delay in replying.

 

The standard kernels played fine and then I concentrated on RT kernel:

 

 4.14.91-GentooPlayer-V14RT-MIN-NOGRAPH-EUP100-rt49+

 

This was in conjunction with RoonBridge and USB Dac, which is MUTEC MC3+ USB. I'm using an Allo USB Signature. With all the other settings left at default, the RT kernel played without faults or glitches. Great sound too. Excellent!

 

I then introduced profile 1 and almost straight away I heard a faint click. I continued to listen and there were further rare clicks - perhaps one or two an hour and so it wasn't exactly a great problem.

 

Then I added system in RAM mode 3. The frequency of the faint clicks increased to maybe 3 or 4 an hour. Looking at HTOP, neither the CPU cores or RAM appeared to be under any pressure, with plenty of spare capacity.

 

Removing profile 1 reduced but did not eliminate the clicks - but they were very rare.

 

Finally, I went back to the kernel on its own….just to check my original results. Yes, I got a clean result again.

 

So, my conclusion is that the RT kernel is fine until I start to play with alternative profiles or RAM modes. Of course, I may just have been unlucky with the ones that I chose. The number of possible combinations is enormous! Do you have any suggestions for combinations of RT kernel, profile and RAM mode that might be more likely to work without the clicks? As I said, the frequency of the faint clicks isn't a great problem but it would be good to be free of them completely.

 

Great work! Many thanks!

 

Chris

 

 

 

Link to comment
12 minutes ago, Chris_Shorter said:

 

Yes, I did extensive tests and so apologies for the delay in replying.

 

The standard kernels played fine and then I concentrated on RT kernel:

 

 4.14.91-GentooPlayer-V14RT-MIN-NOGRAPH-EUP100-rt49+

 

This was in conjunction with RoonBridge and USB Dac, which is MUTEC MC3+ USB. I'm using an Allo USB Signature. With all the other settings left at default, the RT kernel played without faults or glitches. Great sound too. Excellent!

 

I then introduced profile 1 and almost straight away I heard a faint click. I continued to listen and there were further rare clicks - perhaps one or two an hour and so it wasn't exactly a great problem.

 

Then I added system in RAM mode 3. The frequency of the faint clicks increased to maybe 3 or 4 an hour. Looking at HTOP, neither the CPU cores or RAM appeared to be under any pressure, with plenty of spare capacity.

 

Removing profile 1 reduced but did not eliminate the clicks - but they were very rare.

 

Finally, I went back to the kernel on its own….just to check my original results. Yes, I got a clean result again.

 

So, my conclusion is that the RT kernel is fine until I start to play with alternative profiles or RAM modes. Of course, I may just have been unlucky with the ones that I chose. The number of possible combinations is enormous! Do you have any suggestions for combinations of RT kernel, profile and RAM mode that might be more likely to work without the clicks? As I said, the frequency of the faint clicks isn't a great problem but it would be good to be free of them completely.

 

Great work! Many thanks!

 

Chris

 

 

 

From what I understand, in systems where clicks occur, the most stable thing is to use a non-realtime 4.14 kernel. 
Clearly I speak in the specific case of UsbBridge Sig.

 

too late with kernels, it's not good...if they update them for a reason there will be...new drivers, some improvements...etc.

Link to comment
On 1/8/2020 at 9:42 PM, antonellocaroli said:

if you have squeezelite c-3po resample you don't need...

anyway, you can try it yourself if you want... it's pretty simple...

 

gp-update

emerge-webrsync  (only if you've never done it, it takes a while to sync with the repo gentoo)

then 

USE="flac mad mpg123 resample" emerge --ask squeezelite

then add to the squeezelite configuration file (sqc command)

values for resample

ex. -u hMX

 

http://manpages.ubuntu.com/manpages/trusty/man1/squeezelite.1.html

 

the options file should become something like this:

 

SL_OPTS="-C 1 -W -D :u32be -o hw:CARD=J20,DEV=0 -r 44100-384000 -a 40:3::0 -u hMX -n GentooPlayer -m 00:f0:4c:68:d1:47"

 

or

 

SL_OPTS="-C 1 -W -D :u32be -o hw:CARD=J20,DEV=0 -r 44100-384000 -a 40:3::0 -u vLX -n GentooPlayer -m 00:f0:4c:68:d1:47"

 

or

 

SL_OPTS="-C 1 -W -D :u32be -o hw:CARD=J20,DEV=0 -r 44100-384000 -a 40:3::0 -u vLX:2:6 -n GentooPlayer -m 00:f0:4c:68:d1:47"

 

etc

 

-u <recipe>:<flags>:<attenuation>:<precision>:<passband_end>:<stopband_start>:<phase_response>

Hi

   I have been using squeezelite-R2 so far, but I was intriguesd by this resample things and I wanted to try....

Before recompiling squeezelite, I traied to start it... but it crashes!

I0m using the 31/12/2019 Kernel for RPI 3B+.

 

This is what I did after gp-update:

 

GentooPlayerRpi64 ~ # sqr

 * WARNING: networkaudiod is already stopped

 * WARNING: mpd is already stopped

 * WARNING: upmpdcli is already stopped

 * WARNING: roonbridge is already stopped

-bash: /etc/init.d/roonserver: No such file or directory

 * WARNING: squeezelite-R2 is already stopped

 * Stopping squeezelite ...

 * start-stop-daemon: no matching processes found                                           [ ok ]

 * Starting squeezelite ...                                                                 [ ok ]

GentooPlayerRpi64 ~ # /etc/init.d/squeezelite status

 * status: crashed

GentooPlayerRpi64 ~ # 

 

Am I doing something wrong?

Something I can do to tray fix?
 

I tried activating the log, but I only a get a zero length files in /var/log:
 

GentooPlayerRpi64 ~ # ls -l /var/log/squeezelite.log 

-rw-r--r-- 1 squeezelite squeezelite 0 Jan 11 12:23 /var/log/squeezelite.log

 

 

Link to comment
2 minutes ago, franz159 said:

Hi

   I have been using squeezelite-R2 so far, but I was intriguesd by this resample things and I wanted to try....

Before recompiling squeezelite, I traied to start it... but it crashes!

I0m using the 31/12/2019 Kernel for RPI 3B+.

 

This is what I did after gp-update:

 

GentooPlayerRpi64 ~ # sqr

 * WARNING: networkaudiod is already stopped

 * WARNING: mpd is already stopped

 * WARNING: upmpdcli is already stopped

 * WARNING: roonbridge is already stopped

-bash: /etc/init.d/roonserver: No such file or directory

 * WARNING: squeezelite-R2 is already stopped

 * Stopping squeezelite ...

 * start-stop-daemon: no matching processes found                                           [ ok ]

 * Starting squeezelite ...                                                                 [ ok ]

GentooPlayerRpi64 ~ # /etc/init.d/squeezelite status

 * status: crashed

GentooPlayerRpi64 ~ # 

 

Am I doing something wrong?

Something I can do to tray fix?
 

I tried activating the log, but I only a get a zero length files in /var/log:
 

GentooPlayerRpi64 ~ # ls -l /var/log/squeezelite.log 

-rw-r--r-- 1 squeezelite squeezelite 0 Jan 11 12:23 /var/log/squeezelite.log

 

 

can you show me the result of the command 

 

cat /etc/conf.d/squeezelite

 

 

Link to comment
4 minutes ago, antonellocaroli said:

can you show me the result of the command 

 

cat /etc/conf.d/squeezelite

 

 

 

GentooPlayerRpi64 ~ # cat /etc/conf.d/squeezelite

SL_OPTS="-C -W 1  -o hw:CARD=BossDAC,DEV=0 -r 44100-192000 -a 40:3:32:0 -b 2080:3528 -d all=debug -n GentooPlayer-sq -m 00:f0:4c:68:d1:48"

Link to comment
4 minutes ago, franz159 said:

 

GentooPlayerRpi64 ~ # cat /etc/conf.d/squeezelite

SL_OPTS="-C -W 1  -o hw:CARD=BossDAC,DEV=0 -r 44100-192000 -a 40:3:32:0 -b 2080:3528 -d all=debug -n GentooPlayer-sq -m 00:f0:4c:68:d1:48"

there was an error on the web interface, which I corrected a few days ago,

I don't know if you've given gp-update, but if you have, give it back...

and then reconfigure squeezelite...

he was wrong to put the time...

what ahi posted should be

 

SL_OPTS="-C 1 -W  -o hw:CARD=BossDAC,DEV=0 -r 44100-192000 -a 40:3:32:0 -b 2080:3528 -d all=debug -n GentooPlayer-sq -m 00:f0:4c:68:d1:48"

Link to comment
2 minutes ago, antonellocaroli said:

there was an error on the web interface, which I corrected a few days ago,

I don't know if you've given gp-update, but if you have, give it back...

and then reconfigure squeezelite...

he was wrong to put the time...

what ahi posted should be

 

SL_OPTS="-C 1 -W  -o hw:CARD=BossDAC,DEV=0 -r 44100-192000 -a 40:3:32:0 -b 2080:3528 -d all=debug -n GentooPlayer-sq -m 00:f0:4c:68:d1:48"

 

Thanks for the quick reply!

I'm in the middle of emerge-webrsync which is taking some time.... :)

I will try immediately after and report back.

franz

 

Link to comment
8 minutes ago, antonellocaroli said:

there was an error on the web interface, which I corrected a few days ago,

I don't know if you've given gp-update, but if you have, give it back...

and then reconfigure squeezelite...

he was wrong to put the time...

what ahi posted should be

 

SL_OPTS="-C 1 -W  -o hw:CARD=BossDAC,DEV=0 -r 44100-192000 -a 40:3:32:0 -b 2080:3528 -d all=debug -n GentooPlayer-sq -m 00:f0:4c:68:d1:48"

 

GentooPlayerRpi64 ~ # /etc/init.d/squeezelite status

 * status: started

GentooPlayerRpi64 ~ # ps -ef | grep squeeze

squeeze+  3286     1  0 20:23 ?        00:00:00 /usr/bin/squeezelite -f /var/log/squeezelite.log -C 1 -W -o hw:CARD=BossDAC,DEV=0 -r 44100 192000 -a 40 3  0 -b 2080 3528 -n GentooPlayer -m 00 f0 4c 68 d1 47

____________________________________________________

This is what I call a "customer service"!

A 20 minutes SLA to resolve an issue in "production".

Do not blame Italian Software Developers!

____________________________________________________

 

😎 😀😐

Link to comment

I tried to recompile squeezelite to enable upsample, but the process failed as follows:

 

GentooPlayerRpi64 ~ # USE="flac mad mpg123 resample" emerge --ask squeezelite

 

These are the packages that would be merged, in order:

 

Calculating dependencies... done!

[ebuild   R    ] media-sound/squeezelite-1.9.6.1205  USE="flac* mad* mpg123* resample*" 

 

Would you like to merge these packages? [Yes/No] Yes

 

>>> Verifying ebuild manifests

 

>>> Emerging (1 of 1) media-sound/squeezelite-1.9.6.1205::antonellocaroli

>>> Unpacking source...

mkdir: cannot create directory ‘/usr/portage/distfiles/git3-src’: Permission denied

 * ERROR: media-sound/squeezelite-1.9.6.1205::antonellocaroli failed (unpack phase):

 *   Unable to create /usr/portage/distfiles/git3-src

 * 

 * Call stack:

 *     ebuild.sh, line  125:  Called src_unpack

 *   environment, line 3455:  Called git-r3_src_unpack

 *   environment, line 2539:  Called git-r3_src_fetch

 *   environment, line 2533:  Called git-r3_fetch

 *   environment, line 2301:  Called _git-r3_set_gitdir 'https://github.com/ralph-irving/squeezelite.git'

 *   environment, line  433:  Called die

 * The specific snippet of code:

 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";

 * 

 * If you need support, post the output of `emerge --info '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`,

 * the complete build log and the output of `emerge -pqv '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`.

 * The complete build log is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/environment'.

 * Working directory: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work'

 * S: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work/squeezelite-1.9.6.1205'

 

>>> Failed to emerge media-sound/squeezelite-1.9.6.1205, Log file:

 

>>>  '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'

 

 * Messages for package media-sound/squeezelite-1.9.6.1205:

 

 * ERROR: media-sound/squeezelite-1.9.6.1205::antonellocaroli failed (unpack phase):

 *   Unable to create /usr/portage/distfiles/git3-src

 * 

 * Call stack:

 *     ebuild.sh, line  125:  Called src_unpack

 *   environment, line 3455:  Called git-r3_src_unpack

 *   environment, line 2539:  Called git-r3_src_fetch

 *   environment, line 2533:  Called git-r3_fetch

 *   environment, line 2301:  Called _git-r3_set_gitdir 'https://github.com/ralph-irving/squeezelite.git'

 *   environment, line  433:  Called die

 * The specific snippet of code:

 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";

 * 

 * If you need support, post the output of `emerge --info '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`,

 * the complete build log and the output of `emerge -pqv '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`.

 * The complete build log is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/environment'.

 * Working directory: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work'

 * S: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work/squeezelite-1.9.6.1205'

GentooPlayerRpi64 ~ # 

Link to comment
1 hour ago, franz159 said:

I tried to recompile squeezelite to enable upsample, but the process failed as follows:

 

GentooPlayerRpi64 ~ # USE="flac mad mpg123 resample" emerge --ask squeezelite

 

These are the packages that would be merged, in order:

 

Calculating dependencies... done!

[ebuild   R    ] media-sound/squeezelite-1.9.6.1205  USE="flac* mad* mpg123* resample*" 

 

Would you like to merge these packages? [Yes/No] Yes

 

>>> Verifying ebuild manifests

 

>>> Emerging (1 of 1) media-sound/squeezelite-1.9.6.1205::antonellocaroli

>>> Unpacking source...

mkdir: cannot create directory ‘/usr/portage/distfiles/git3-src’: Permission denied

 * ERROR: media-sound/squeezelite-1.9.6.1205::antonellocaroli failed (unpack phase):

 *   Unable to create /usr/portage/distfiles/git3-src

 * 

 * Call stack:

 *     ebuild.sh, line  125:  Called src_unpack

 *   environment, line 3455:  Called git-r3_src_unpack

 *   environment, line 2539:  Called git-r3_src_fetch

 *   environment, line 2533:  Called git-r3_fetch

 *   environment, line 2301:  Called _git-r3_set_gitdir 'https://github.com/ralph-irving/squeezelite.git'

 *   environment, line  433:  Called die

 * The specific snippet of code:

 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";

 * 

 * If you need support, post the output of `emerge --info '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`,

 * the complete build log and the output of `emerge -pqv '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`.

 * The complete build log is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/environment'.

 * Working directory: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work'

 * S: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work/squeezelite-1.9.6.1205'

 

>>> Failed to emerge media-sound/squeezelite-1.9.6.1205, Log file:

 

>>>  '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'

 

 * Messages for package media-sound/squeezelite-1.9.6.1205:

 

 * ERROR: media-sound/squeezelite-1.9.6.1205::antonellocaroli failed (unpack phase):

 *   Unable to create /usr/portage/distfiles/git3-src

 * 

 * Call stack:

 *     ebuild.sh, line  125:  Called src_unpack

 *   environment, line 3455:  Called git-r3_src_unpack

 *   environment, line 2539:  Called git-r3_src_fetch

 *   environment, line 2533:  Called git-r3_fetch

 *   environment, line 2301:  Called _git-r3_set_gitdir 'https://github.com/ralph-irving/squeezelite.git'

 *   environment, line  433:  Called die

 * The specific snippet of code:

 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";

 * 

 * If you need support, post the output of `emerge --info '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`,

 * the complete build log and the output of `emerge -pqv '=media-sound/squeezelite-1.9.6.1205::antonellocaroli'`.

 * The complete build log is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/build.log'.

 * The ebuild environment file is located at '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/temp/environment'.

 * Working directory: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work'

 * S: '/var/tmp/portage/media-sound/squeezelite-1.9.6.1205/work/squeezelite-1.9.6.1205'

GentooPlayerRpi64 ~ # 

Ciao Franz,

 

chmod -R 755 /usr/portage

USE="flac mad mpg123 resample" emerge --ask squeezelite

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...