Open TheK0tYaRa opened 2 years ago
Currently going to install (ok, compile) from AUR to test for compilation errors with current ffmpeg or something else.
where dem logs at?
~/.local/share/KotatogramDesktop
So basically AUR is, as always, unreliable at building telegram. Doesn't change the problem tho.
[2022.03.06 13:13:52] Audio Playback Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Playback Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Capture Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo;Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Capture Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Seems fine, maybe you just muted kotatogram stream in pulseaudio settings?
A dynamic binary works. Yet the issue still happened. I'll report the issue to the package maintainer of kotatogram-desktop-bin
[2022.03.06 13:13:52] Audio Playback Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Playback Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Capture Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo;Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo [2022.03.06 13:13:52] Audio Capture Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
Seems fine, maybe you just muted kotatogram stream in pulseaudio settings?
The voice message started but didn't play. Was stuck on 0:00
Is this log after a play attempt?
I did try to play said voice message each time after starting.
@TheK0tYaRa Did you try just restarting pulseaudio
and then the application?
Regarding the package: this could be specific to Endeavour OS afaik, did you try the same on a plain Arch machine?
Also, after a quick googling of your error I found this, which suggests that it's most likely due to the recent ffmpeg
update - I would just use the dinamically linked package or the kotatogram-dev-git
version on the AUR until a new kotato version is released.
I have pipewire-pulse
[2022.03.06 13:19:53] Audio Error: Could not create default playback device, enumerating..
Oh, I see now... Try to run with ALSOFT_LOGLEVEL=3
, openal should print debug information to terminal
Also, after a quick googling of your error I found this, which suggests that it's most likely due to the recent
ffmpeg
update
The stream protocol line has nothing to do with this, it can't create a handle for audio device
did you try the same on a plain Arch machine?
Nope, but i do have an arch VM
Also, after a quick googling of your error I found this, which suggests that it's most likely due to the recent
ffmpeg
update - I would just use the dinamically linked package or thekotatogram-dev-git
version on the AUR until a new kotato version is released.
Well, yes https://github.com/kotatogram/kotatogram-desktop/issues/327#issuecomment-1059947435
This definitely is not related to ffmpeg and the fact EndevaourOS shouldn't is used shouldn't matter for AppImage (that I suppose is used according to the Installation source field in the issue)
Try to run with `ALSOFT_LOGLEVEL=3
Here's the output of that:
ALSOFT_LOGLEVEL=3 kotatogram-desktop
[ALSOFT] (II) Initializing library v1.21.1-01bbfd3 fix_pulse_default
[ALSOFT] (II) Supported backends: pulse, alsa, oss, null, wave
[ALSOFT] (II) Loading config /etc/openal/alsoft.conf...
[ALSOFT] (II) Loading config /etc/xdg/alsoft.conf...
[ALSOFT] (II) Loading config /home/thek0tyara/.config/kdedefaults/alsoft.conf...
[ALSOFT] (II) Loading config /home/thek0tyara/.alsoftrc...
[ALSOFT] (II) Loading config /home/thek0tyara/.config/alsoft.conf...
[ALSOFT] (II) Got binary: /tmp/.mount_kotatoEwDkek/usr/bin, kotatogram-desktop
[ALSOFT] (II) Loading config /tmp/.mount_kotatoEwDkek/usr/bin/alsoft.conf...
[ALSOFT] (II) Key disable-cpu-exts not found
[ALSOFT] (II) Vendor ID: "AuthenticAMD"
[ALSOFT] (II) Name: "AMD Ryzen 5 2600 Six-Core Processor"
[ALSOFT] (II) Extensions: +SSE +SSE2 +SSE3 +SSE4.1
[ALSOFT] (II) Key rt-prio not found
[ALSOFT] (II) Key resampler not found
[ALSOFT] (II) Key trap-al-error not found
[ALSOFT] (II) Key trap-alc-error not found
[ALSOFT] (II) Key reverb/boost not found
[ALSOFT] (II) Key drivers not found
[ALSOFT] (II) Key pulse/spawn-server not found
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (II) Initialized backend "pulse"
[ALSOFT] (II) Added "pulse" for playback
[ALSOFT] (II) Added "pulse" for capture
[ALSOFT] (II) Key excludefx not found
[ALSOFT] (II) Key default-reverb not found
[ALSOFT] (II) Got device "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo", "alsa_output.pci-0000_09_00.3.analog-stereo"
[ALSOFT] (II) Got device "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo", "alsa_input.pci-0000_09_00.3.analog-stereo"
[ALSOFT] (II) Got device "Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo", "alsa_output.pci-0000_09_00.3.analog-stereo.monitor"
error: : cannot open
error: : cannot open
error: : cannot open
OpenType support missing for "Droid Sans", script 11
qt.gui.icc: fromIccProfile: failed minimal tag size sanity
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Corrupt JPEG data: premature end of data segment
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
Invalid return value 0 for stream protocol
[ALSOFT] (EE) Failed to set real-time priority for thread: Operation not permitted (1)
[ALSOFT] (II) Key pulse/allow-moves not found
[ALSOFT] (II) Connecting to "(default)"
[ALSOFT] (WW) Failed to open playback device: Playback Stream did not get ready (Timeout)
[ALSOFT] (WW) Error generated on device (nil), code 0xa004
[ALSOFT] (II) Freeing device 0x7f301bfbeb40
[ALSOFT] (II) Got device "Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo", "alsa_output.pci-0000_09_00.3.analog-stereo"
QCoreApplication::postEvent: Unexpected null receiver
I will now proceed to install it in the arch VM
What version of pipewire are you using? This looks like a pipewire bug...
0.3.48-1
It fails here: https://github.com/kcat/openal-soft/blob/537aa2f442d72807498f9f1d402f3070a81665f3/alc/backends/pulseaudio.cpp#L506-L518 It seems pipewire returns a timeout error in response to openal request
https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2189 that might be the one
EDIT1: nvm, i still had audio devices.
Yeah, looks like that
It's not the same issue. Firefox is still fine. Yes i tested if stuff broke via firefox.
It's not the same issue. Firefox is still fine.
I don't quite understand how it's related to firefox, people in pipewire issue don't mention firefox
The firefox would also have no sound because i have it hardwired to the specific output. If the output did not exist it would not play the sound i tested it with.
Also the output shows in the pavu
.
I don't understand why do you say 'If the output did not exist', no one says the output doesn't exist, pipewire just fails to accept requests from openal applications (apparently because pipewire broke compatibility with a part of PA APIs used by openal)
Let me explain in the most simple and understandable way i can.
Left is my system settings.
What do you want to explain with these screenshots? :thinking:
Good question. I just wanted to prove a point. Which i forgot. I will continue installing yay onto the archlinux VM.
Well, the pipewire issue you provided is definitely the same as yours, so looks like you need to just wait an update for wireplumber (people in comments say it's a wireplumber bug actually)
Tested with archlinux in QEMU from root. It worked as supposed to. the invalid return value
still happened.
Although the pipewire there is 0.3.47-2
People from the issue saying it was introduced in 0.3.48 and wireplumber hasn't updated to the new API yet, hence the bug
Hey there!
This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
Steps to reproduce
1) Install on archlinux (EndeavourOS) 2) Run in terminal and try to play some voice message 3) Get this in terminal
Expected behaviour
The voice message gets played
Actual behaviour
and no sound
Operating system
EndeavourOS Linux x86_64 with Xfce backbone
Version of Kotatogram Desktop
1.4.8 (TD 3.3)
Installation source
Static binary from official website
Logs