Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Native Wayland Support on Linux  (Read 13033 times)

0 Members and 1 Guest are viewing this topic.

Aster

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Native Wayland Support on Linux
« on: March 06, 2013, 02:10:56 pm »
Hello all.

Just recently, Wayland has started being shipped with the mesa drivers on Archlinux. I'm seriously considering the move, since X is older than I am, and hasn't changed (much) since my birth.

For those of you who need some enlightenment on the subject, here's a recent video of Daniel Stone, a developer of Wayland, explaining everything (get some popcorn, it's a long one):
.

Now, I'm not entirely sure whether SFML works on Wayland or not. It should, since Wayland can interface with X programs. But since Wayland is more or less "the future" compared to X, I think SFML should be written to support it as well.

I'm also aware of Ubuntu's (Canonical's) new fabulous idea, Mir. I don't support the project at all, but I don't have much against it. My request is entirely for Wayland, and I'd like to prevent flamewars on the two.

Thanks,
Aster

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Native Wayland Support on Linux
« Reply #1 on: March 06, 2013, 03:11:17 pm »
There's no point supporting Wayland as long as X is supported (and it will for a long time). It won't enable new features, it won't bring anything noticeable for the end user, just a lot of work for me. So what's the point, other than "it's the new cool thing to support"?
Laurent Gomila - SFML developer

Krofna

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: Native Wayland Support on Linux
« Reply #2 on: March 07, 2013, 09:17:52 pm »
There's no point supporting Wayland as long as X is supported (and it will for a long time). It won't enable new features, it won't bring anything noticeable for the end user, just a lot of work for me. So what's the point, other than "it's the new cool thing to support"?

There is overhead when running X applications on wayland because it pretty much means starting an X server for the app (Altho this is hidden from the user, because xwayland does it behind the scenes). X is bad (I will not go into details), and thats why Linux users want wayland.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Native Wayland Support on Linux
« Reply #3 on: March 07, 2013, 10:19:11 pm »
I know that X is bad, it's so old, badly designed and such an undocumented mess to work with, but once you get something working, it works reliably.

As for the overhead of X over Wayland, to be honest I have no idea if it's significant or not. If experience proves that it is a real issue, then of course I'll consider switching to Wayland more seriously.

But right now I don't see any strong reason to do it, compared to the million of more important tasks that are waiting in the tracker ;)
Laurent Gomila - SFML developer

Aster

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Native Wayland Support on Linux
« Reply #4 on: March 08, 2013, 07:45:00 pm »
I'm glad to see that you're aware of everything. I'm aware that the feature is not essential, but it's good to keep it in mind, and I predict changes from X to Wayland in the next 6-12 months.

Krofna

  • Newbie
  • *
  • Posts: 42
    • View Profile
    • Email
Re: Native Wayland Support on Linux
« Reply #5 on: March 09, 2013, 11:01:43 am »
I predict changes from X to Wayland in the next 6-12 months.

Careful with predictions. Bleeding edge distros like fedora might change to wayland soon, however I bet "stable" distros like Debian (and its derivatives ofcourse) won't do it in a very long time because X has passed the test of time and they prefer to not break stuff. Although this doesn't stop users from installing wayland, default is always the most popular choice.
« Last Edit: March 09, 2013, 11:21:07 am by Krofna »

Aster

  • Full Member
  • ***
  • Posts: 130
    • View Profile
Re: Native Wayland Support on Linux
« Reply #6 on: March 27, 2013, 10:01:39 pm »
I predict changes from X to Wayland in the next 6-12 months.

Careful with predictions. Bleeding edge distros like fedora might change to wayland soon, however I bet "stable" distros like Debian (and its derivatives ofcourse) won't do it in a very long time because X has passed the test of time and they prefer to not break stuff. Although this doesn't stop users from installing wayland, default is always the most popular choice.

Indeed. I'm an Arch user, I use it everywhere, so, I know what bleeding edge distros are planning. My prediction was just a general prediction for when I think Wayland will be usable enough for everyone, and when everyone will start trusting Wayland.

Although, Arch doesn't really have a "default", we just install what we want. I think this is why I think Wayland support is getting more and more important.

Turbine

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: Native Wayland Support on Linux
« Reply #7 on: June 05, 2013, 11:43:33 am »
Great video, needs some more car chases and gun fights.  ;D

I was under the illusion Wayland would remain compatible with X11.

This is going to give me nightmares, staring into the black abyss of X on my laptop.

cpolymeris

  • Jr. Member
  • **
  • Posts: 65
    • View Profile
    • Email
Re: Native Wayland Support on Linux
« Reply #8 on: July 15, 2013, 04:31:02 am »
I was under the illusion Wayland would remain compatible with X11.

It will. By the time X11-compatibility is no longer supported, I am sure someone can add Wayland support to SFML 5.0. Since most applications will be using that compatibility layer for now, it has to be running anyway, and so, your SFML using it should have no big impact.

 

anything