When trying to run sdl3 based applications on linux you need to specify SDL_VIDEO_DRIVER=x11 for the application to present a window. If you do not specify x11 or instead specify wayland the application will behave as if a window has been created, but will not present that window at all. Also there will be no errors from sdl.
Tried this on a fedora 43 and ubuntu 25.04 install
I have other sdl applications that were created in c++ that are working without having to explicitly set the SDL_VIDEO_DRIVER env variable. Also the c++ applications will work with that variable set to x11 or wayland