SDL plugin fails to initialize
Hi. I am trying to play udp stream via SDL sink but if fails to initialize.
I am on archlinux and using hyperland(wayland) which may be the cause of problem.
I have attached error and pipeline.
4 Replies
Hello @Damirados ! It seems that
SDL_init()
in the native part of the membane_sdl_plugin
code fails. It indeed looks as something related to wayland - could you try setting SDL_VIDEODRIVER=wayland
environmental variable and rerun your script?Still the same. Is there a way I could get more verbose output from SDL side? Is there a way to use system SDL instead of precompiled one?
Sure, you can turn off precompiled dependency with the use of the following configuration:
config :bundlex, disable_precompiled_os_deps: [:membrane_sdl_plugin]
(bundlex will then look for the SDL2 with pkg-config
).
Concerning more verbose logging, I don't think it is currently possible without C code manipulation in the implementation of the sdl_plugin's native part