Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
We do often include affiliate links to earn us some pennies. See more here.

Looks like 2021 really could properly be the year of Wayland on the Linux desktop. For plenty it already is but NVIDIA have been a sore spot and it looks like they're moving forward now too.

NVIDIA's Erik Kurzinger has submitted a Merge Request to the xserver GitLab titled "Xwayland: Support hardware accelerated rendering with the proprietary NVIDIA driver", with the two patches included "intended to accompany upcoming support in the proprietary NVIDIA driver for hardware accelerated GL and Vulkan rendering with Xwayland". Kurzinger continues to mention that once a driver is out with the needed hooks, this code should "just start working".

The patches are being sent out to be considered, so that they can get some feedback and see if there's any substantial concerns about their approach to it.

As for the performance of it? They expect it to be "on-par with native X11 based on the benchmarking I've done", although there's "an annoying extra copy required for presentation of windowed applications, but the impact doesn't appear to be significant" and you shouldn't see it for full-screen applications as long as the compositor works with the zwp_linux_dmabuf_v1 interface.

Why is all this important? With Wayland coming along to replace X11 as a big shakeup for Linux as a whole, you need XWayland to provide that backwards compatibility to enable existing applications and games to continue working well into the future.

Article taken from GamingOnLinux.com.
31 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. You can also follow my personal adventures on Bluesky.
See more from me
The comments on this article are closed.
All posts need to follow our rules. For users logged in: please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Guest readers can email us for any issues.
46 comments
Page: 1/3»
  Go to:

Luke_Nukem Jan 7, 2021
Any clues as to how this night affect laptops? Particularly when using reverse-prime?
Arehandoro Jan 7, 2021
On a slightly unrelated note, Nvidia is the only one benefiting from this: https://www.phoronix.com/scan.php?page=news_item&px=HDMI-Closed-Spec-Hurts-Open
3zekiel Jan 7, 2021
Stupid question: will nvidia setting work also ?
Because right now it is a bit of a sore sport, I tried already with patches from Adam Jackson, which kinda worked - albeit not wonderfully - but I had no Nvidia settings, and no Gsync.
bolokanar Jan 7, 2021
As a all time NVIDIA user I must say that the idea to go AMD all the way have grown on me recently. AMD have to go and do some really stupid move to change my mind... but if that were to happen I simply would not upgrade hardware at all :D
Eike Jan 7, 2021
View PC info
  • Supporter Plus
I didn't look into Wayland yet, but XWayland is not the real thing, right?
Is it impossible for my graphics card vendor to do full Wayland support while keeping its driver closed?
3zekiel Jan 7, 2021
I didn't look into Wayland yet, but XWayland is not the real thing, right?
Is it impossible for my graphics card vendor to do full Wayland support while keeping its driver closed?

What do you mean but "the real thing" ? If you ask whether a full X server will run, answer is no.
Nvidia already has wayland support, using standard egl extenstions. Rest of the Linux world uses custom (GBM) extensions. Then it becomes a question on who is right or wrong in this story. Nvidia says everyone else uses eglstream, Linux world says yes, but GBM has been there for quite some time. Both are kinda right. And neither solution is technically perfect either. Discussion to converge on a third solution that would be better for everyone have begun quite some time ago, but never converged I think ... That being said, code divergence is nothing dramatic here, there's not much difference between supporting one or the other.

As for Xwayland support, there has been some patch to make it kinda work for some time already, but it is not real good... I guess this is the "real" patch, the one that will completely and cleanly work. Red Hat has been spearheading full (x)Wayland support with Nvidia since at least 2 or 3 Fedora releases, so I guess this time it should be all in shape for Fedora 34. Also, the fact that red hat is dropping X server maintenance probably accelerated the movement from Nvidia, since only red hat still maintained it, meaning they basically declared the "time of death" by deciding to do that. And so, it will be Wayland or Wayland pretty soon now.

So it is completely possible for Nvidia to support wayland with closed source driver. It was just 1/ not wanting to support not standard egl stuff (right or wrong) 2/ probably thinking that as long as X still lived, why bother.


Last edited by 3zekiel on 7 January 2021 at 2:08 pm UTC
ThatOneGuy Jan 7, 2021
Very happy to finally see Nvidia gearing up for Wayland in some form, X11 has been a thorn in my side in many aspects for far too long.

I hope the longstanding tearing issues with Nvidia GPU's can finally be fixed together with Wayland support.
BielFPs Jan 7, 2021
I didn't look into Wayland yet, but XWayland is not the real thing, right?


No and yes, "XWayland" is like a container using X11 to run applications which doesn't support wayland natively, but since is isolated to the rest of the system, you can still benefit from some wayland advantages (alt + tab and alt + f4, for example, is way more responsive than x11).

Also, X.org developers will now work with only XWayland support instead of x11, so probably we'll have a optimized x11 running inside XWayland in future updates (and less bloated too)


Is it impossible for my graphics card vendor to do full Wayland support while keeping its driver closed?

Presuming is Nvidia you're talking about, right now the answer is yes because Nvidia proprietary drivers can't run GBM.
Nanobang Jan 7, 2021
View PC info
  • Supporter
I'd love to use Wayland. I tried it a few years back and it was awesome, especially the way it expanded my laptop's trackpad functions. I've been looking forward to the day I could have Wayland and Nvidia living harmoniously together. (You watch, though. I'll have finally switched to an AMD GPU the week before it happens. Lol!)
x_wing Jan 7, 2021
Nvidia already has wayland support, using standard egl extenstions. Rest of the Linux world uses custom (GBM) extensions. Then it becomes a question on who is right or wrong in this story. Nvidia says everyone else uses eglstream, Linux world says yes, but GBM has been there for quite some time.

What do you mean by "everyone"? Nvidia is the only one that adopted EGLStreams, not to mention that they are the ones that created this "standard" that only they implement.
3zekiel Jan 7, 2021
[quote=BielFPs]
Is it impossible for my graphics card vendor to do full Wayland support while keeping its driver closed?

Presuming is Nvidia you're talking about, right now the answer is yes because Nvidia proprietary drivers can't run GBM.

The issue has nothing to do with proprietary or open source. Support for Wayland has been here for ages. Support for Xwayland is, as you see, coming to full feature. Is purely technical choices (and lack of discussions when they should have happened...).
3zekiel Jan 7, 2021
Nvidia already has wayland support, using standard egl extenstions. Rest of the Linux world uses custom (GBM) extensions. Then it becomes a question on who is right or wrong in this story. Nvidia says everyone else uses eglstream, Linux world says yes, but GBM has been there for quite some time.

What do you mean by "everyone"? Nvidia is the only one that adopted EGLStreams, not to mention that they are the ones that created this "standard" that only they implement.

I mean other OSes, at least ChromeOS and Android was their argument. I did not say their argument is good either. And if anything, issue is they did not say anything for years and then came and said "we support that and only that"
x_wing Jan 7, 2021
I mean other OSes, at least ChromeOS and Android was their argument. I did not say their argument is good either. And if anything, issue is they did not say anything for years and then came and said "we support that and only that"

AFAIK, no other OS uses EGLStream (I'm sure Android doesn't at least). Nvidia presented EGLStream as a OS independent solution, but the reality is that it was designed with the sole purpose of adapting to their needs. If Nvidia would want to improve GBM they would sit down with other wayland devs and start discussing a new standard that also works for Mesa drivers.

The big problem here is that Nvidia doesn't want to do a step back or rework in their driver design.


Last edited by x_wing on 7 January 2021 at 3:04 pm UTC
omer666 Jan 7, 2021
AMD's still at 1st gen RT and we know how useless Nvidia's 1st gen RT was. Same goes to whatever AMD calls their DLSS equivalent - which IMO is the biggest advantage Nvidia has.

1st gen tech is usually "bad" and it's a much better move to wait until 2nd gen. And Nvidia is already there :(
I think dealing with raytracing in its current state is not that simple. To begin with, not that many games implement it. Then, RTX is not always prettier than standard rendering. And finally, Dirt 5 offers better ray tracing performance on AMD, so it might still be a matter of optimisation.

What I do see nonetheless, is Nvidia advertising a technology which is not a thing yet, just like they always did.

Even with this move in the right direction, which makes me really happy, I am tired of running drivers that work like no others. There are always rough edges. This and the current product lineup is driving me away from Nvidia.
3zekiel Jan 7, 2021
I mean other OSes, at least ChromeOS and Android was their argument. I did not say their argument is good either. And if anything, issue is they did not say anything for years and then came and said "we support that and only that"

AFAIK, no other OS uses EGLStream (I'm sure Android doesn't at least). Nvidia presented EGLStream as a OS independent solution, but the reality is that it was designed with the sole purpose of adapting to their needs. If Nvidia would want to improve GBM they would sit down with other wayland devs and start discussing a new standard that also works for Mesa drivers.

The big problem here is that Nvidia doesn't want to do a step back or rework in their driver design.

Actually, it was in the pipe at some point, that 3rd, merged better API, but nothing came out of it. And yes, I agree Nvidia does not want to rework their driver, and that is the core of the issue I guess. Also, I understand it is not a technically better all around or anything like that. So yeah... We simply have to deal with it because it's Nvidia.
But I guess changing back must be non trivial for them, otherwise it would be done.
Shmerl Jan 7, 2021
Good, but coming from Nvidia with their money I'd count it as too little too late to affect how Linux gamers will perceive them. Judging by the trend of GOL stats, Nvidia usage is still the majority but it's continuously falling giving place to AMD. Nothing short of Nvidia supporting proper open source drivers will help them in this regard.

Regrading Wayland itself - now the big missing piece is Wayland support in Wine.


Last edited by Shmerl on 7 January 2021 at 4:19 pm UTC
BielFPs Jan 7, 2021
The issue has nothing to do with proprietary or open source.

I didn't said that the problem was the driver being proprietary, I said the problem is the said driver not supporting GBM.
BielFPs Jan 7, 2021
but coming from Nvidia with their money I'd count it as too little too late to affect how Linux gamers will perceive them.

I wish this was the case, but there's a lot of fanboys using Linux who are defending Nvidia, even when it's obviously their fault that wayland don't work with their graphic cards. Even a half-arsed "fix" from them is more than enough to make a lot of linux gamers to still give them money.

Regrading Wayland itself - now the big missing piece is Wayland support in Wine.

Fortunately, this only depends of open source software, so it'll eventually become true :)
Shmerl Jan 7, 2021
I wish this was the case, but there's a lot of fanboys using Linux who are defending Nvidia, even when it's obviously their fault that wayland don't work with their graphic cards. Even a half-arsed "fix" from them is more than enough to make a lot of linux gamers to still give them money.

That's usually the perception of those who come from Windows and there indeed Nvidia is very dominating and people really don't care about whether something is open source or not. So when such gamers are switching to Linux they can also bring that kind of attitude with them, but even they often get what the point is eventually.

The way I see it, the actual trend among Linux gamers is growth for AMD and decline for Nvidia. But influx of former Windows gamers might continue to offset that.

I think with AMD investing more in gaming cards in general, situation on Windows will balance out too, so that influx will have less of an impact on Linux in the future.


Last edited by Shmerl on 7 January 2021 at 5:12 pm UTC
3zekiel Jan 7, 2021
The issue has nothing to do with proprietary or open source.

I didn't said that the problem was the driver being proprietary, I said the problem is the said driver not supporting GBM.

Indeed, but I was referring the original question "Is it impossible for my graphics card vendor to do full Wayland support while keeping its driver closed?"
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.