Trying to replicate my stack, in case I ever need to switch to or support Linux natively.
On Windows it's win32 + dx11 + wasapi, simple.
Looking at Linux, I got confused as to what the fuck Wayland is even trying to be. Replacement for X11, but also not? A library, but also a protocol? What? I've seen there's XWayland for backward compatibility, so I wanted to know if it's a standard thing and therefore everywhere, and if it won't go away tomorrow, 'cause a tranny threw a hissy fit.
To put it simply, if I can just do xlib + Vulkan + ALSA, and I'm good.
I get that it might be a stupid question, but the last Linux I used was Fedora 13 - no Wayland there!
Also: total micro-pajeet death.
fedora is one of the distros currently pushing towards moving completely to wayland.
anyway. unlike what some people may say in this thread. wayland definitely isn't going away. So I wouldn't worry about that specifically.
wayland. is basically intended to be the eventual replacement for x11. being the replacement, and not an update, or a fork. It does do some thing differently. Some things are a bit more secure, (that's a bit complicated really, on whether it matters or not, doesn't hurt imo though).
one thing that is different. is it's a set of protocols. and the desktop/window manager takes care of how it's implemented. There are things like wlroots, which almost all of the tiling wayland compositors are implemented on. that are basically an effort to reduce the duplication of work that goes into making basically the entire display server (not exactly but closer to that than how x11 window managers are done). Gnome and kde have their ways they did thing. But basically. what you just need to worry about, likely is the wayland protocols, what you want to do in relation to those, and maybe what desktop you intend to use. If its fedora, I imagine that's gnome.
and yeah. xwayland, is just there for compatibility. in the long run, if you are worried about something not being there at some point. that would be the thing, that isn't around, or is at least going to be a lot more rare as time passes. Like I mentioned a couple posts up. When I'm running wayland right now, I'm not using xwayland at all. I've been able to replicate basically everything I have on x11 at this point. So I imagine that will probably get more common as time goes on.
that said. you can do xlib. I just wouldn't count on that lasting forever. especially with fedora. On other distros like arch, gentoo, debian, probably mint. I don't see them dropping xorg, well idk some probably never. But fedora, not so much. Obviously you can use ALSA across whatever.
I mean. really anything else I can say. would probably just be better read from their documentation on it, rather than paraphrasing what I remember.