kotatogram / kotatogram-desktop

Experimental Telegram Desktop fork.
https://kotatogram.github.io
Other
1.11k stars 118 forks source link

No sound after latest system update. Maybe incompatible ffmpeg. #327

Open TheK0tYaRa opened 2 years ago

TheK0tYaRa commented 2 years ago

Steps to reproduce

1) Install on archlinux (EndeavourOS) 2) Run in terminal and try to play some voice message 3) Get this in terminal

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)

Expected behaviour

The voice message gets played

Actual behaviour

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)

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

[2022.03.06 13:13:52] Launched version: 3003000, install beta: [TRUE], dev: 0, debug mode: [FALSE]
[2022.03.06 13:13:52] Executable dir: /usr/bin/, name: kotatogram-desktop
[2022.03.06 13:13:52] Initial working dir: /home/thek0tyara/
[2022.03.06 13:13:52] Working dir: /home/thek0tyara/.local/share/KotatogramDesktop/
[2022.03.06 13:13:52] Command line: kotatogram-desktop
[2022.03.06 13:13:52] Executable path before check: /usr/bin/kotatogram-desktop
[2022.03.06 13:13:52] Logs started
[2022.03.06 13:13:52] Launcher filename: appimagekit_d2192f48ebc43a9db26e1dfa2bc5097b-Kotatogram_Desktop.desktop
[2022.03.06 13:13:52] Connecting local socket to /run/user/1000/f85b397c75abfb4faf1a638e7eb26499-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2022.03.06 13:13:52] This is the only instance of Telegram, starting server and app...
[2022.03.06 13:13:52] Moved logging from '/home/thek0tyara/.local/share/KotatogramDesktop/log_start0.txt' to '/home/thek0tyara/.local/share/KotatogramDesktop/log.txt'!
[2022.03.06 13:13:52] Primary screen DPI: 96.3105
[2022.03.06 13:13:52] Found non-trivial Device Pixel Ratio: 1
[2022.03.06 13:13:52] Environmental variables: QT_DEVICE_PIXEL_RATIO=''
[2022.03.06 13:13:52] Environmental variables: QT_SCALE_FACTOR=''
[2022.03.06 13:13:52] Environmental variables: QT_AUTO_SCREEN_SCALE_FACTOR='0'
[2022.03.06 13:13:52] Environmental variables: QT_SCREEN_SCALE_FACTORS=''
[2022.03.06 13:13:52] Icon theme: breeze-dark
[2022.03.06 13:13:52] Fallback icon theme: breeze
[2022.03.06 13:13:52] App Info: reading settings...
[2022.03.06 13:13:52] App Info: reading encrypted settings...
[2022.03.06 13:13:52] Lang Info: Loaded cached, keys: 3597
[2022.03.06 13:13:52] OpenAL Logging Level: (not set)
[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
[2022.03.06 13:13:52] Not using D-Bus global menu.
[2022.03.06 13:13:52] Using Unity launcher counter.
[2022.03.06 13:13:52] System tray available: [TRUE]
[2022.03.06 13:13:53] App Info: reading accounts info...
[2022.03.06 13:13:53] App Info: reading encrypted info...
[2022.03.06 13:13:53] App Info: reading map...
[2022.03.06 13:13:53] App Info: reading encrypted map...
[2022.03.06 13:13:53] App Info: reading encrypted user settings...
[2022.03.06 13:13:53] App Info: encrypted user settings read.
[2022.03.06 13:13:53] App Info: reading encrypted mtp data...
[2022.03.06 13:13:53] MTP Info: read keys, current: 5, to destroy: 0
[2022.03.06 13:13:53] Map read time: 49
[2022.03.06 13:13:53] App Info: reading encrypted mtp config...
[2022.03.06 13:13:53] Export Info: Destroy top bar by controller removal.
[2022.03.06 13:13:53] OpenGL Profile: Compatibility.
[2022.03.06 13:13:53] OpenGL Renderer: AMD Radeon RX 580 Series (POLARIS10, DRM 3.42.0, 5.15.26-1-lts, LLVM 13.0.1)
[2022.03.06 13:13:53] OpenGL Vendor: AMD
[2022.03.06 13:13:53] OpenGL Version: 4.6 (Compatibility Profile) Mesa 21.3.7
[2022.03.06 13:13:53] OpenGL Extensions: GL_EXT_blend_minmax, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_gpu_shader5, GL_EXT_texture_cube_map, GL_AMD_shader_stencil_export, GL_ARB_shader_ballot, GL_MESA_shader_integer_functions, GL_ARB_multi_draw_indirect, GL_INTEL_blackhole_render, GL_ARB_shader_image_size, GL_KHR_robust_buffer_access_behavior, GL_ARB_draw_buffers, GL_KHR_context_flush_control, GL_ARB_texture_view, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_blend_func_extended, GL_NV_packed_depth_stencil, GL_EXT_texture_array, GL_ARB_multi_bind, GL_ARB_pipeline_statistics_query, GL_EXT_subtexture, GL_EXT_texture_env_add, GL_EXT_timer_query, GL_ARB_arrays_of_arrays, GL_AMD_pinned_memory, GL_ARB_shading_language_include, GL_SGIS_texture_edge_clamp, GL_ARB_shader_bit_encoding, GL_EXT_packed_float, GL_EXT_texture_shared_exponent, GL_EXT_multi_draw_arrays, GL_ARB_fragment_program_shadow, GL_ARB_texture_env_add, GL_NV_texgen_reflection, GL_EXT_gpu_program_parameters, GL_ARB_debug_output, GL_KHR_debug, GL_ANGLE_texture_compression_dxt3, GL_ARB_viewport_array, GL_ARB_shader_objects, GL_ARB_depth_texture, GL_EXT_memory_object_fd, GL_ARB_texture_gather, GL_ARB_framebuffer_object, GL_ARB_gpu_shader_fp64, GL_IBM_multimode_draw_arrays, GL_ARB_texture_multisample, GL_ARB_enhanced_layouts, GL_ARB_explicit_attrib_location, GL_ATI_fragment_shader, GL_EXT_texture_sRGB_R8, GL_ARB_vertex_attrib_binding, GL_SGIS_texture_border_clamp, GL_EXT_semaphore_fd, GL_ARB_texture_barrier, GL_EXT_texture_env_combine, GL_EXT_framebuffer_sRGB, GL_EXT_vertex_array_bgra, GL_ARB_texture_stencil8, GL_EXT_texture_buffer_object, GL_ARB_shader_viewport_layer_array, GL_SGIS_generate_mipmap, GL_ARB_window_pos, GL_ARB_texture_query_lod, GL_ARB_fragment_coord_conventions, GL_NV_light_max_exponent, GL_OES_EGL_image, GL_ARB_fragment_layer_viewport, GL_ARB_draw_buffers_blend, GL_EXT_blend_color, GL_NV_fog_distance, GL_ARB_occlusion_query, GL_ARB_texture_rg, GL_EXT_draw_instanced, GL_ARB_transform_feedback3, GL_KHR_parallel_shader_compile, GL_ARB_compute_variable_group_size, GL_ARB_texture_env_combine, GL_ARB_vertex_array_bgra, GL_ARB_stencil_texturing, GL_NV_primitive_restart, GL_EXT_texture3D, GL_EXT_EGL_image_storage, GL_EXT_shadow_funcs, GL_NV_compute_shader_derivatives, GL_ARB_internalformat_query, GL_ARB_shader_atomic_counters, GL_EXT_copy_texture, GL_EXT_gpu_shader4, GL_ARB_shader_precision, GL_ARB_texture_rectangle, GL_ATI_texture_compression_3dc, GL_ARB_ES3_compatibility, GL_ARB_spirv_extensions, GL_ARB_program_interface_query, GL_ARB_parallel_shader_compile, GL_AMD_query_buffer_object, GL_ARB_fragment_program, GL_ARB_texture_env_crossbar, GL_EXT_shader_image_load_store, GL_ARB_texture_float, GL_ARB_shadow, GL_ARB_gl_spirv, GL_ARB_transform_feedback_instanced, GL_EXT_shader_image_load_formatted, GL_ARB_texture_buffer_range, GL_ARB_texture_non_power_of_two, GL_ARB_compute_shader, GL_EXT_packed_depth_stencil, GL_ARB_clip_control, GL_KHR_no_error, GL_EXT_provoking_vertex, GL_AMD_seamless_cubemap_per_texture, GL_ARB_texture_compression_bptc, GL_ARB_draw_elements_base_vertex, GL_EXT_texture_shadow_lod, GL_ARB_depth_clamp, GL_EXT_framebuffer_blit, GL_EXT_secondary_color, GL_EXT_memory_object, GL_ARB_texture_rgb10_a2ui, GL_ARB_shader_draw_parameters, GL_ARB_texture_buffer_object, GL_ARB_draw_indirect, GL_ARB_buffer_storage, GL_ATI_blend_equation_separate, GL_MESA_texture_signed_rgba, GL_NV_texture_rectangle, GL_EXT_bgra, GL_ARB_cull_distance, GL_ARB_copy_image, GL_EXT_packed_pixels, GL_ARB_explicit_uniform_location, GL_ARB_vertex_array_object, GL_ARB_texture_swizzle, GL_EXT_depth_bounds_test, GL_ARB_depth_buffer_float, GL_NV_shader_atomic_int64, GL_EXT_abgr, GL_EXT_texture, GL_ARB_texture_cube_map, GL_ARB_texture_env_dot3, GL_ARB_seamless_cubemap_per_texture, GL_EXT_texture_snorm, GL_ATI_draw_buffers, GL_ARB_texture_compression, GL_EXT_framebuffer_object, GL_NV_vdpau_interop, GL_EXT_texture_sRGB_decode, GL_ARB_internalformat_query2, GL_EXT_texture_rectangle, GL_APPLE_packed_pixels, GL_EXT_direct_state_access, GL_ARB_tessellation_shader, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_draw_buffers2, GL_ARB_vertex_program, GL_ARB_texture_buffer_object_rgb32, GL_EXT_texture_env_dot3, GL_ARB_point_parameters, GL_ARB_get_texture_sub_image, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_compression_latc, GL_ARB_shader_texture_lod, GL_NV_alpha_to_coverage_dither_control, GL_ARB_clear_buffer_object, GL_NV_half_float, GL_ATI_texture_env_combine3, GL_ARB_shading_language_420pack, GL_ARB_texture_border_clamp, GL_EXT_stencil_wrap, GL_ARB_separate_shader_objects, GL_ARB_texture_cube_map_array, GL_ARB_transpose_matrix, GL_AMD_draw_buffers_blend, GL_EXT_separate_specular_color, GL_AMD_conservative_depth, GL_ARB_transform_feedback2, GL_ARB_point_sprite, GL_ARB_shader_group_vote, GL_EXT_compiled_vertex_array, GL_ARB_framebuffer_no_attachments, GL_ARB_texture_storage_multisample, GL_ATI_separate_stencil, GL_EXT_texture_edge_clamp, GL_EXT_texture_compression_s3tc, GL_EXT_texture_lod_bias, GL_ARB_shader_image_load_store, GL_ARB_vertex_buffer_object, GL_ARB_sample_shading, GL_NVX_gpu_memory_info, GL_EXT_fog_coord, GL_ARB_vertex_shader, GL_EXT_texture_sRGB, GL_ARB_framebuffer_sRGB, GL_ARB_shading_language_packing, GL_ARB_texture_mirrored_repeat, GL_MESA_pack_invert, GL_ARB_provoking_vertex, GL_NV_texture_barrier, GL_MESA_window_pos, GL_NV_copy_depth_to_color, GL_ARB_texture_query_levels, GL_AMD_multi_draw_indirect, GL_EXT_window_rectangles, GL_SGIS_texture_lod, GL_EXT_framebuffer_multisample, GL_NV_depth_clamp, GL_ARB_pixel_buffer_object, GL_ARB_half_float_vertex, GL_NV_texture_env_combine4, GL_KHR_texture_compression_astc_sliced_3d, GL_EXT_texture_swizzle, GL_ARB_query_buffer_object, GL_ARB_shading_language_100, GL_EXT_texture_compression_dxt1, GL_ARB_shader_clock, GL_EXT_texture_compression_rgtc, GL_ARB_color_buffer_float, GL_EXT_polygon_offset_clamp, GL_ARB_map_buffer_range, GL_NV_blend_square, GL_EXT_demote_to_helper_invocation, GL_S3_s3tc, GL_ARB_robustness, GL_KHR_blend_equation_advanced, GL_EXT_transform_feedback, GL_ARB_texture_storage, GL_AMD_framebuffer_multisample_advanced, GL_ARB_vertex_attrib_64bit, GL_AMD_performance_monitor, GL_ARB_multisample, GL_EXT_EGL_sync, GL_ARB_ES3_1_compatibility, GL_ARB_shader_texture_image_samples, GL_EXT_point_parameters, GL_AMD_depth_clamp_separate, GL_ARB_shader_stencil_export, GL_ARB_shader_storage_buffer_object, GL_ARB_sampler_objects, GL_ARB_bindless_texture, GL_ARB_shader_subroutine, GL_KHR_texture_compression_astc_ldr, GL_AMD_vertex_shader_layer, GL_EXT_texture_mirror_clamp, GL_ARB_sync, GL_EXT_texture_integer, GL_ARB_instanced_arrays, GL_EXT_blend_subtract, GL_ARB_get_program_binary, GL_IBM_texture_mirrored_repeat, GL_ARB_transform_feedback_overflow_query, GL_EXT_shader_integer_mix, GL_ATI_meminfo, GL_ARB_multitexture, GL_ARB_half_float_pixel, GL_ARB_texture_filter_anisotropic, GL_EXT_pixel_buffer_object, GL_EXT_shader_samples_identical, GL_AMD_shader_trinary_minmax, GL_ARB_direct_state_access, GL_ATI_texture_float, GL_ARB_ES3_2_compatibility, GL_ARB_timer_query, GL_ARB_compressed_texture_pixel_storage, GL_KHR_robustness, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_conservative_depth, GL_EXT_blend_equation_separate, GL_EXT_semaphore, GL_ARB_polygon_offset_clamp, GL_AMD_texture_texture4, GL_ARB_gpu_shader_int64, GL_EXT_rescale_normal, GL_NV_copy_image, GL_EXT_texture_object, GL_EXT_stencil_two_side, GL_ARB_texture_compression_rgtc, GL_ANGLE_texture_compression_dxt5, GL_NV_conditional_render, GL_OES_read_format, GL_MESA_framebuffer_flip_y, GL_ARB_shader_atomic_counter_ops, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_uniform_buffer_object, GL_EXT_vertex_array, GL_ARB_robust_buffer_access_behavior, GL_ARB_base_instance, GL_IBM_rasterpos_clip, GL_ARB_fragment_shader, GL_INGR_blend_func_separate, GL_ARB_conditional_render_inverted, GL_ATI_texture_mirror_once, GL_ARB_compatibility, GL_ARB_derivative_control, GL_EXT_vertex_attrib_64bit, GL_EXT_draw_range_elements, GL_ARB_copy_buffer, GL_SUN_multi_draw_arrays, GL_ARB_seamless_cube_map, GL_ARB_draw_instanced, GL_EXT_blend_func_separate, GL_ARB_indirect_parameters, GL_ARB_clear_texture, GL_ARB_ES2_compatibility, GL_ARB_occlusion_query2, GL_AMD_vertex_shader_viewport_index
[2022.03.06 13:13:53] OpenGL: QOpenGLContext created, version: 4.4.
[2022.03.06 13:13:53] OpenGL: [TRUE] (OverlayWidget)
[2022.03.06 13:13:53] Using SNI tray icon.
[2022.03.06 13:13:53] XDP File Dialog Error: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit xdg-desktop-portal.service not found.
[2022.03.06 13:13:53] Notification daemon product name: Plasma
[2022.03.06 13:13:53] Notification daemon vendor name: KDE
[2022.03.06 13:13:53] Notification daemon version: 5.24.2
[2022.03.06 13:13:53] Notification daemon specification version: 1.2
[2022.03.06 13:13:53] Notification daemon capabilities: body, body-hyperlinks, body-markup, body-images, icon-static, actions, persistence, inline-reply, x-kde-urls, x-kde-origin-name, x-kde-display-appname, inhibitions
[2022.03.06 13:13:59] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:00] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:02] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:03] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:04] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:04] API Warning: not loaded minimal channel applied.
[2022.03.06 13:14:08] API Error: unexpected messages.channelMessages! (History::addUnreadMentionsSlice)
[2022.03.06 13:14:34] Message Info: bad message notification received (error_code 33) for msg_id = 7071944001244665600, seq_no = 400
[2022.03.06 13:14:34] Message Info: bad message notification received (error_code 33) for msg_id = 7071944001315099676, seq_no = 402
[2022.03.06 13:14:34] Message Info: bad message notification received, msgId 7071944001315099676, error_code 33
[2022.03.06 13:15:01] Skipping message, because it is already in blocks!
[2022.03.06 13:15:52] RPC Error: request 269 got fail with code 406, error STICKERSET_INVALID
[2022.03.06 13:16:04] Audio Info: recreating audio device and reattaching the tracks
[2022.03.06 13:16:34] Audio Error: Could not create default playback device, enumerating..
[2022.03.06 13:16:34] Audio Playback Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
[2022.03.06 13:16:34] Audio Playback Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
[2022.03.06 13:16:47] RPC Error: request 320 got fail with code 400, error CHAT_ADMIN_REQUIRED
[2022.03.06 13:16:48] Message Info: bad message notification received (error_code 33) for msg_id = 7071944577028345052, seq_no = 222
[2022.03.06 13:16:48] Message Info: bad message notification received, msgId 7071944577028345052, error_code 33
[2022.03.06 13:17:03] Skipping message, because it is already in blocks!
[2022.03.06 13:17:18] Message Info: bad message notification received (error_code 33) for msg_id = 7071944702028193088, seq_no = 22
[2022.03.06 13:17:18] Message Info: bad message notification received, msgId 7071944702028193088, error_code 33
[2022.03.06 13:18:11] Export Info: Panel Hide By Cancel.
[2022.03.06 13:18:11] Export Info: Panel Hide Requested.
[2022.03.06 13:18:12] Export Info: Panel Closed.
[2022.03.06 13:18:12] Export Info: Stop requested.
[2022.03.06 13:18:12] Export Info: Destroying.
[2022.03.06 13:18:12] Export Info: Destroy top bar by controller removal.
[2022.03.06 13:18:12] Export Info: Controller destroyed.
[2022.03.06 13:19:23] Audio Info: recreating audio device and reattaching the tracks
[2022.03.06 13:19:53] Audio Error: Could not create default playback device, enumerating..
[2022.03.06 13:19:53] Audio Playback Devices: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
[2022.03.06 13:19:53] Audio Playback Default Device: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo
[2022.03.06 13:19:55] API Warning: not loaded minimal channel applied.
[2022.03.06 13:20:08] API Warning: not loaded minimal channel applied.
[2022.03.06 13:22:40] Skipping message, because it is already in blocks!
[2022.03.06 13:25:48] Api::Updates prevents quit, sending offline status...
TheK0tYaRa commented 2 years ago

Currently going to install (ok, compile) from AUR to test for compilation errors with current ffmpeg or something else.

ilya-fedin commented 2 years ago
where dem logs at?

~/.local/share/KotatogramDesktop

TheK0tYaRa commented 2 years ago

So basically AUR is, as always, unreliable at building telegram. Doesn't change the problem tho.

ilya-fedin commented 2 years ago
[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?

TheK0tYaRa commented 2 years ago

A dynamic binary works. Yet the issue still happened. I'll report the issue to the package maintainer of kotatogram-desktop-bin

TheK0tYaRa commented 2 years ago
[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

ilya-fedin commented 2 years ago

Is this log after a play attempt?

TheK0tYaRa commented 2 years ago

I did try to play said voice message each time after starting.

BachoSeven commented 2 years ago

@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?

BachoSeven commented 2 years ago

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.

TheK0tYaRa commented 2 years ago

I have pipewire-pulse

ilya-fedin commented 2 years ago
[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

ilya-fedin commented 2 years ago

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

TheK0tYaRa commented 2 years ago

did you try the same on a plain Arch machine?

Nope, but i do have an arch VM

TheK0tYaRa commented 2 years ago

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.

Well, yes https://github.com/kotatogram/kotatogram-desktop/issues/327#issuecomment-1059947435

ilya-fedin commented 2 years ago

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)

TheK0tYaRa commented 2 years ago

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
TheK0tYaRa commented 2 years ago

I will now proceed to install it in the arch VM

ilya-fedin commented 2 years ago

What version of pipewire are you using? This looks like a pipewire bug...

TheK0tYaRa commented 2 years ago

0.3.48-1

ilya-fedin commented 2 years ago

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

TheK0tYaRa commented 2 years ago

https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2189 that might be the one

EDIT1: nvm, i still had audio devices.

ilya-fedin commented 2 years ago

Yeah, looks like that

TheK0tYaRa commented 2 years ago

It's not the same issue. Firefox is still fine. Yes i tested if stuff broke via firefox.

ilya-fedin commented 2 years ago

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

TheK0tYaRa commented 2 years ago

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.

TheK0tYaRa commented 2 years ago

Also the output shows in the pavu.

ilya-fedin commented 2 years ago

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)

TheK0tYaRa commented 2 years ago

Let me explain in the most simple and understandable way i can. image Left is my system settings.

ilya-fedin commented 2 years ago

What do you want to explain with these screenshots? :thinking:

TheK0tYaRa commented 2 years ago

Good question. I just wanted to prove a point. Which i forgot. I will continue installing yay onto the archlinux VM.

ilya-fedin commented 2 years ago

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)

TheK0tYaRa commented 2 years ago

Tested with archlinux in QEMU from root. It worked as supposed to. the invalid return value still happened.

TheK0tYaRa commented 2 years ago

Although the pipewire there is 0.3.47-2

ilya-fedin commented 2 years ago

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

github-actions[bot] commented 4 days ago

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!