Open erikLundstedt opened 3 years ago
I had this same issue running on Arch Linux. Installed via the AUR. The only difference is I was searching TuneIn.
tizonia --tunein-search
I had this same issue running on Arch Linux. Installed via the AUR. The only difference is I was searching TuneIn.
tizonia --tunein-search
I beleve the issue appears independent of distro and service correct me if im wrong
Looks that way from the other issues posted.
i have the same issue here, KDE neon, installed it from the install.sh script using the instrcutions. I do tizonia --youtube-audio-playlist https://www.youtube.com/playlist?list=PLfP6i5T0-DkIkXUym_3Be2Z8IENeuOqyk , and i get this error too.
tizonia exiting (OMX_ErrorInsufficientResources).
[OMX.Aratelia.audio_renderer.pulseaudio.pcm:port:0] [OMX_ErrorInsufficientResources]
yesterday this wasnt happening, now it happens. The issue page is literally filled with this bug report, please fix it quickly
i have the same issue here, KDE neon, installed it from the install.sh script using the instrcutions. I do tizonia --youtube-audio-playlist youtube.com/playlist?list=PLfP6i5T0-DkIkXUym_3Be2Z8IENeuOqyk , and i get this error too.
tizonia exiting (OMX_ErrorInsufficientResources).
[OMX.Aratelia.audio_renderer.pulseaudio.pcm:port:0] [OMX_ErrorInsufficientResources]
yesterday this wasnt happening, now it happens. The issue page is literally filled with this bug report, please fix it quickly
it started happening like that for me as well. one day it worked, the next it worked on first run but not on the rest
and after reinstalling /distrohopping and installing, now it isn't working at all
as an alternative for folks using google-play music(might work on others, I havent tried) is a application called mopidy. it uses the standard linux mpd but adds features to play from cloud services and to get a cool looking web-UI if you want
I've just installed a fresh KDE Neon (5.20.3) on a VirtualBox VM and added the latest Tizonia using the shell installer.
It works for me, with both renderers, PulseAudio and Alsa, no issues.
You can try changing the default renderer using this config (see https://docs.tizonia.org/manual/config.html) to see if this makes any difference in your case.
# The default audio renderer used by the tizonia player
# -------------------------------------------------------------------------
# Valid values are:
# - OMX.Aratelia.audio_renderer.pulseaudio.pcm
# - OMX.Aratelia.audio_renderer.alsa.pcm
default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
Another thing you can try is to check the debug logs. Use this configuration to enable full logs in Tizonia. Just copy the below xml configuration in $HOME/.log4crc
.
NOTE: You need to adjust <log4c version="1.2.1">
to match the version of liblog4c
on your system:
e.g.
<log4c version="1.2.1">
<log4c version="1.2.4">
Feel free to upload here the logs and I will take a look.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE log4c SYSTEM "">
<log4c version="1.2.4">
<config>
<bufsize>0</bufsize>
<debug level="2"/>
<nocleanup>0</nocleanup>
<reread>1</reread>
</config>
<category name="root" priority="trace" appender="stderr"/>
<layout name="tiz" type="tiz_layout"/>
<appender name="stderr" type="stream" layout="tiz"/>
</log4c>
I've just installed a fresh KDE Neon (5.20.3) on a VirtualBox VM and added the latest Tizonia using the shell installer.
It works for me, with both renderers, PulseAudio and Alsa, no issues.
You can try changing the default renderer using this config (see docs.tizonia.org/manual/config.html) to see if this makes any difference in your case.
# The default audio renderer used by the tizonia player # ------------------------------------------------------------------------- # Valid values are: # - OMX.Aratelia.audio_renderer.pulseaudio.pcm # - OMX.Aratelia.audio_renderer.alsa.pcm default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
Another thing you can try is to check the debug logs. Use this configuration to enable full logs in Tizonia. Just copy the below xml configuration in
$HOME/.log4crc
.NOTE: You need to adjust
<log4c version="1.2.1">
to match the version ofliblog4c
on your system: e.g.
- ubuntu 18.04 ->
<log4c version="1.2.1">
- ubuntu 20.04 ->
<log4c version="1.2.4">
Feel free to upload here the logs and I will take a look.
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE log4c SYSTEM ""> <log4c version="1.2.4"> <config> <bufsize>0</bufsize> <debug level="2"/> <nocleanup>0</nocleanup> <reread>1</reread> </config> <category name="root" priority="trace" appender="stderr"/> <layout name="tiz" type="tiz_layout"/> <appender name="stderr" type="stream" layout="tiz"/> </log4c>
I modifyed the config file to be
# PulseAudio Audio Renderer
# -------------------------------------------------------------------------
#
OMX.Aratelia.audio_renderer.pulseaudio.pcm.preannouncements_disabled.port0 = true
OMX.Aratelia.audio_renderer.pulseaudio.pcm.default_volume = 75
# Value from 0
# to 100 (Default: 75)
[tizonia]
# Tizonia player section
# The default audio renderer used by the tizonia player
# -------------------------------------------------------------------------
# Valid values are:
# - OMX.Aratelia.audio_renderer.pulseaudio.pcm
# - OMX.Aratelia.audio_renderer.alsa.pcm
default-audio-renderer = OMX.Aratelia.audio_renderer.pulseaudio.pcm
# MPRIS v2 interface enable/disable switch
# -------------------------------------------------------------------------
# Valid values are: true | false
#
mpris-enabled = false
#true
and I got the error:
tizonia --gmusic-unlimited-artist " first to eleven"
tizonia: tizport.c:1697: port_populate: Assertion `p_buf' failed.
[1] 28016 abort tizonia --gmusic-unlimited-artist " first to eleven"
Couple notes on here, first off the OMX_ErrorInsufficientResources error seems to be a sort of catch-all that pops up in any number of situations, so when encountering this error its most useful to also include all of the output before the printing of that error message as well, or to include logs as @juanrubio describes.
Second, although the tunein implications of this issue are likely still valid, Google Play Music's API is being shut down (See https://github.com/tizonia/tizonia-openmax-il/issues/757) so support for this service will necessarily be dropped at some point. A conversation about support of its replacement (YouTube Music) will happen soon I'm sure.
Issue
Description
tizonia wont run correctly exits with OMX_ErrorInsufficientResources
Steps to Reproduce
install the debian package
make the necesary configurations(I use google play music)
run tizonia with
tizonia --gmusic-unlimited-artist "name of group or artist here"
ORdownload and install the snap package
make the necesary configurations(I use google play music)
run tizonia with
tizonia --gmusic-unlimited-artist "name of group or artist here"
Expected behavior:
"name of group or artist here" should start playing
Actual behaviour: gives an error ` tizonia exiting (OMX_ErrorInsufficientResources).
[OMX.Aratelia.audio_renderer.pulseaudio.pcm:port:0] [OMX_ErrorInsufficientResources]
`
Reproduces how often:
for me it seems to happen 100% of the time but ive seen users with the same error but happening less often(works on first run, errors after that until reboot)
Versions
System Info: Linux@5.6.0-2-amd64-#1 SMP Debian 5.6.14-2 (2020-06-09) Debian bullseye/sid x86_64
Installation Method Used
same error with the Bintray deb and the snap
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.