News for hackers. Stuff that matters.
Re:Are We Wayland Yet? by Svenstaro on Monday November 25, 2019 @12:03AM (#21625602)
This would be a good time to mention that sway doesn't support the nvidia proprietary driver [0]. The author recommends nouveau but this leaves out users that 1) have very modern GPUs 2) need vulkan 3) need CUDA 4) do heavy gaming. The author is also quite spiteful about it and I'm not sure I like that. There is even a flag "--my-next-gpu-wont-be-nvidia" [1]. Whether or not this is nvidia's fault I can't judge but there are usually two stories to every disagreement and so far at least I haven't heard nvidia's.

For me at least, this is a dealbreaker as I don't always get to choose the systems I get to use and I'd like to use the same config/wm everywhere if I can help it and if I sometimes have to alternate between i3 and sway then that won't do for me.

[0] https://github.com/swaywm/sway/wiki#nvidia-users [1] https://github.com/swaywm/sway/blob/3334d11adc926c0f6d86afc4...

Re:Are We Wayland Yet? by ddevault on Monday November 25, 2019 @09:45AM (#21628494)
Maintainer of sway and wlroots here. The Nvidia proprietary driver does not support sway, not the other way around.

Their standard, EGLStreams, is only implemented by their proprietary drivers, so in order to test that codepath we'd have to use a famously broken and undebuggable driver, which we're not interested in - and make no mistake, we get our hands dirty in the drivers all the time. Their standard also has serious technical problems - lots of really important features simply are not possible to implement based on the proprietary driver. We can't export buffers to clients, overlay planes don't work, buffer presentation timings are impossible... Supporting this driver would be a massive overhaul and would probably make the good drivers worse.

Sway is a volunteer project, we are under no obligation to put in free work to support a GPU vendor which has no interest in playing nice. It's total bullshit that anyone would think to blame the small group of volunteers who have offered up thousands of hours of our free time to the community, for free, when the real blame lays in the hands of the multi-billion dollar company which refuses to pony up docs and cryptographically signs their firmwares. Everyone else plays ball and works with upstream on open source drivers.

Re:Are We Wayland Yet? by cosmiccatnap on Monday November 25, 2019 @05:30PM (#21633498)
I appreciate what you do truly, but It's also perfectly understandable that we consider it a major reason not to use your software and a perfectly fair criticism of the choices you have made. Your rebutal has not changed the main point of the original poster at all, If you want to ignore 70% or more of Linux users that is perfectly your right to do so, but it's also my obligation as a long time Linux user to recommend that people avoid your solution in favor of i3 on X11 or a superior solution such as gnome or kde which understands the basic problems the overwhelming majority of it's user base faces and is willing to work with them regardless of the hurdle.
Re:Are We Wayland Yet? by ddevault on Monday November 25, 2019 @07:31PM (#21634469)
Nouveau works great with Sway. Users make a choice to use proprietary drivers, they aren't forced into it. They can buy more freedom-respecting hardware, too. It's a choice to reward Nvidia's behavior, and consequently that choice alienates them from our userbase.
Re:Are We Wayland Yet? by rootbear on Tuesday November 26, 2019 @03:54PM (#21642568)
Some high-end CG applications do not work acceptably under nouveau. If I must use those applications for my job, and thus must use the proprietary Nvidia driver, then I will. It is NOT my choice at that point, I am effectively forced into it. I wish Nvidia were nicer, but I also have to do my job. And no, using a non-Nvidia video card isn't an acceptable solution either, in some cases.
Re:Are We Wayland Yet? by vetinari on Tuesday November 26, 2019 @08:30AM (#21638079)
Nvidia doesn't have 70% share of linux desktop by any chance. If anyone, that would be Intel.
Re:Are We Wayland Yet? by qplex on Monday November 25, 2019 @02:29AM (#21626139)
It's not just the Wayland/EGL stuff with Nvidia.

They've been called 'the worst company to work with' by the Linux kernel devs and are locking their GPUs down with signed firmware. Nouveau driver development is no longer possible for GM20x and newer GPUs because of this.

Re:Are We Wayland Yet? by cies on Monday November 25, 2019 @03:21AM (#21626329)
Hence...

> --my-next-gpu-wont-be-nvidia

Re:Are We Wayland Yet? by pjmlp on Monday November 25, 2019 @06:04AM (#21627025)
I though I was doing a good deed buying a netbook with AMD CPU, because of their FOSS love and such, then they decided that Brazos APUs aren't worth supporting beyond basic features.

Since then I just decided that no matter what, GNU/Linux is not the platform for anyone that actually cares about desktop graphics programming.

Re:Are We Wayland Yet? by vertex-four on Monday November 25, 2019 @07:28AM (#21627491)
Brazos is 2011-era, right? amdgpu has become a thing since then - AMD now officially supports their GPUs on Linux, including those in most APUs.
Re:Are We Wayland Yet? by pjmlp on Monday November 25, 2019 @08:13AM (#21627796)
Except that it doesn't provide the same OpenGL features and hardware video decoding as fxglr.

So much for "supports".

Re:Are We Wayland Yet? by jl6 on Monday November 25, 2019 @03:24AM (#21626336)
I recently built a new PC and my GPU was a Radeon RX 5700 for exactly this reason.
Re:Are We Wayland Yet? by eleitl on Monday November 25, 2019 @07:15AM (#21627410)
Way ahead of you here.

And regardless of how https://github.com/RadeonOpenCompute/ROCm pans out, at least you're not sinking skills into a proprietary jail.

Re:Are We Wayland Yet? by d0ugal on Monday November 25, 2019 @01:28AM (#21625920)
After trying Sway recently I read a bunch of github issues when debugging. I was disappointed to find many the comments toxic.

I’ll stick with i3 and probably look for something different in the future.

The examples that were easy to find again; https://github.com/swaywm/sway/issues/1207#issuecomment-2984...

https://github.com/swaywm/sway/issues/829#issuecomment-32683...

Re:Are We Wayland Yet? by dkersten on Monday November 25, 2019 @08:18AM (#21627826)
Ugh I also find that really offputting. Worse still is it’s the same guy behind SourceHut. Now I need to think about whether I want to continue to use that since if I need help the last thing I want to hear is RTFM. I always do but that doesn’t mean I don’t miss things and need a pointer :(
Re:Are We Wayland Yet? by MayeulC on Monday November 25, 2019 @10:07AM (#21628698)
To be frank, drew answered me RTFM once regarding one of my sway questions. I found the answer valid, because I couldn't find the manual before. As sad as it is, many projects do not ship a man page, which makes it very difficult to find documentation.

Sway has quality man pages, and I very rarely have to find someone else in a chat room or fire up the web browser to find answers. I can understand the devs' frustration: they spent a lot of time writing those up, so have people use them.

Give someone an answer, you'll help him for the day. Show him the man, you'll help him for life :)

Re:Are We Wayland Yet? by dkersten on Monday November 25, 2019 @10:25AM (#21628867)
I get it, but when I reach out for help, its because I wasn't able to figure it out myself and I likely put a significant (relatively speaking) amount of time into it. If its in the manual, it means I overlooked it and could really do with a pointer. If I'm just told RTFM, that leaves a very sour taste.

I understand that devs have to deal with a lot of "dumb" questions, but that doesn't mean they have to be rude. As someone else said, silence would actually be better in this case, but a better response would be something like "hey, that's in the manual, in the blah section" because its not rude, it affirms that it is, indeed, in the manual and gives me a pointer where. Even without the last bit, it would be better. Part of good support is to acknowledge that the person has a problem, even if you can't help. If you don't want to provide support for an open source project (as in the case of the linked issues) then don't respond or at least set up a replacement to turn RTFM into something a bit more human.

> I found the answer valid, because I couldn't find the manual before.

How did RTFM help you find the manual if you didn't find it before, aside from affirming that there is, indeed, a manual?

Re:Are We Wayland Yet? by dijit on Monday November 25, 2019 @02:33AM (#21626157)
idk, those examples seem justified. The second one was someone ressurecting an old issue with a request for config information that was _in the issue_.

RTFM is sometimes a valid response, and if you're having an issue finding the documentation then that's a bug.

Re:Are We Wayland Yet? by onli on Monday November 25, 2019 @04:38AM (#21626655)
RTFM is never a valid response. At the very least you point the user to the specific section of the manual.

It's this philosophy that made the ubuntu support forums the most agreeable (and pretty much most popular), at least for a while. You can RTFM people, but then you show that you hate your users, and they will leave.

Not only the people asking, but also others reading it. Like this example shows very well. This bad comment not only made d0ugal search for a different project, but also made sure I won't use it, and worsened my opinion of the author considerably.

Re:Are We Wayland Yet? by growse on Monday November 25, 2019 @06:51AM (#21627266)
In my experience, "RTFM" is often a manifestation of the frustration that the person asking for help hasn't even begun to do the most basic thing to try and help themselves.

It's extremely wearing having to deal with people with a problem who have apparently put precisely zero effort into figuring the problem out on their own.

"RTFM" isn't always a useful response, but I have sympathy with people who express it and its friends ("Have you read the manual?", "What have you tried to do to solve this problem before asking for help?").

Re:Are We Wayland Yet? by AnIdiotOnTheNet on Monday November 25, 2019 @07:42AM (#21627610)
Well that's what you sign up for when you ask people to use your software.
Re:Are We Wayland Yet? by roenxi on Monday November 25, 2019 @10:15AM (#21628773)
That foolish sway dev, angering his paying users?

RTFM is not going to make for happy users, but volunteers for free projects have the luxury of being able to ignore disgruntled users. If they don't want to maximise their user count then they have the luxury of being able to do whatever they like up to and including not having a bug tracker and literally hurling abuse at people who ask them questions.

We aren't entitled to professional and comprehensive support just because the project happens to look well run.

Re:Are We Wayland Yet? by kelnos on Monday November 25, 2019 @03:53PM (#21632700)
"Ask"? Of all the open source work I've done, I never ask anyone to use it. I put it out there with the hope that others will find it useful. I never go around pushing people to use it.

No one is entitled to anything, including free support. Many open source developers provide free support, but don't have the patience to deal with users who won't even do the bare minimum to help themselves.

Re:Are We Wayland Yet? by AnIdiotOnTheNet on Monday November 25, 2019 @04:09PM (#21632843)
> I put it out there with the hope that others will find it useful. I never go around pushing people to use it.

Which is fair. A lot of FOSS devs, however, do. And then they still try to pull "it's free" as an excuse for a poor product.

Re:Are We Wayland Yet? by mariusor on Tuesday November 26, 2019 @08:41AM (#21638141)
I think there is a very clear distinction between asking for help like: 'I have searched for a solution to my X problem in this or that way, but I couldn't find anything.' and 'I don't know how to do X.'

If you feel like neither of them deserves a RTFM, I think you have a very entitled view of being a user, and personally I will never want you as a one for the software I write.

RTFM is a perfectly justified answer to people that consider that a developer's time in replying to their problem is less valuable than their own in searching for a solution. Exceptionally more so when the answer is an "apropos" or "man" page away. The least thing a user can do is to spend a fraction of the developers' invested time into finding solutions on their own.

Re:Are We Wayland Yet? by kelnos on Monday November 25, 2019 @03:49PM (#21632660)
Here's a question:

Is it the category of response, or is it just the simple "RTFM" that turns you off? That is, if the answer was, "The answer to your question is in the manual; please read it", would you consider that ok?

Arguably the latter answer is the exact same thing in content as "RTFM", but it's easily more polite and doesn't have the same negative baggage.

If you're ok with the more wordy answer, then you're really just objecting to the negative tone and lack of politeness, not the amount of information given by the answer.

> This bad comment not only made d0ugal search for a different project, but also made sure I won't use it, and worsened my opinion of the author considerably.

Just a final note: many open source developers consider that a feature, so I doubt you'd sway most of them with this argument. As in, they're doing this in their spare time, and don't want that spare time to be squandered by people who don't even give them the courtesy of reading the provided documentation. (This is why, if you have read the docs and are still at a loss, you should say so: "How can I do X? I read through the man page and searched the wiki, but I wasn't able to figure it out". Framing your request this way shows that you aren't just a lazy leech who is wasting the developer's time.)

Having more users is only great if they aren't a support burden. A company can afford to hire scores of first-line support and afford to pay for support-desk platforms that automatically help triage and suggest answers to common questions. Most single-person and small-team open source projects can't do that. And users should not feel entitled to free support for software they haven't paid for. Sure, it would be great if people could always be courteous and friendly despite stress and overwork, but everyone has their limits.

Re:Are We Wayland Yet? by onli on Tuesday November 26, 2019 @05:17AM (#21636996)
It's both. Using the insulting term RTFM makes it worse. But just pointing to the manual is also not the right way to do it, at least you have to specify which manual and where. That's the rules we set and they are really the right rules, below this minimal amount of effort you are not giving support. You are just wasting time and offending people.

> Just a final note: many open source developers consider that a feature, so I doubt you'd sway most of them with this argument

See the reaction in this comment thread. Developers rarely do only one project. One might not care whether or not someone uses the free Window Manager, but if the negative impression carries on to other and commercial projects there was harm.

Re:Are We Wayland Yet? by kelnos on Wednesday November 27, 2019 @06:20PM (#21653170)
> That's the rules we set and they are really the right rules

"We" who? That's just your opinion, not some universal rule.

> Developers rarely do only one project. One might not care whether or not someone uses the free Window Manager, but if the negative impression carries on to other and commercial projects there was harm.

Perhaps, but I think we should let developers make the decision for themselves as to how to support (or not support) their own software that they work on for free in their spare time. If providing bad support hurts them in other walks of life, that's still a choice they may decide to make.

Re:Are We Wayland Yet? by onli on Wednesday November 27, 2019 @07:06PM (#21653472)
I referenced above the Ubuntu Linux forum. That's where we (=the people running the forum) set those rules, based on general Ubuntu guidelines. So it's a little bit more than just my opinion. But it's my opinion that these rules are always right if you want a successful software project. You can also treat it as an observation if you prefer.

> Perhaps, but I think we should let developers make the decision for themselves...

That's not a useful route to discuss, and frankly a bit annoying. No one is forcing devs to do anything. If you think discussing the consequences and why that behaviour is harmful is making it impossible for devs to make decisions for themselves - that will sound harsher than I mean it - you shouldn't engage in such a discussion.

Re:Are We Wayland Yet? by bananamerica on Tuesday November 26, 2019 @02:37AM (#21636307)
> if the answer was, "The answer to your question is in the manual; please read it", would you consider that ok?

YES.

Re:Are We Wayland Yet? by mortdeus on Monday November 25, 2019 @02:45AM (#21626197)
RTFM is always a valid response when you are dealing with a lazy, spoiled society that would rather just call tech support and bother somebody who is sitting on the other side shifting through a stack of manuals in from of them that comes with the product...

What surprises me are people who have the patience to wait for somebody else to tell them why their app broke, when it's much quicker dealing with problem just by going straight to the source. (pun intended)

Re:Are We Wayland Yet? by bananamerica on Monday November 25, 2019 @04:46AM (#21626687)
RTFM is just a rude way to say "Please search the documentation before asking".

If the amount of typed characters is the issue, I assume developers are more than capable of using system-wide text-expansion.

In any case, even silence is better than "RTFM". If you're not in the mood to give a civil answer, take some time off. No one will notice.

Re:Are We Wayland Yet? by Fnoord on Monday November 25, 2019 @08:13AM (#21627791)
Generally, I agree. However, we're discussing a highly customizable WM. Not GNOME or KDE. You may assume the user is technically adept, and able to read a man page. Telling them to do exactly that is fair (but I agree it can be said friendlier). Silence might be better, but it might also be worse if the reader is awaiting help.
Re:Are We Wayland Yet? by dkersten on Monday November 25, 2019 @10:38AM (#21629005)
I often ask "stupid" questions, but I do so after having searched the documentation, google and tried everything I could think of trying. Sometimes it really is in the manual and in my frustration I overlooked it. My point is that assuming the person is just lazy is, well, an assumption and may not be true. At least a friendly "its in the manual" tells me I just overlooked it, but an unfriendly RTFM just makes me think why did I even bother wasting my time struggling. I don't have problems with stuff for the fun of it.

Two days ago, I tried to get a vim plugin working. After trying the instructions over and over for about an hour and a half, I finally gave up and opened a ticket with a question that probably looks pretty lazy and dumb to someone experienced with it. Did I get an RTFM? No, it turns out there actually WAS a bug (actually, a bug and an undocumented setting). I almost didn't post out of fear of being called lazy or whatever and just give up on it, but it turns out there actually was a problem. They fixed it and I'm now a happy user and the positive experience makes me more likely to report future bugs, tell others about the tool or even contribute if I can. An "RTFM" would have driven me away forever.

Re:Are We Wayland Yet? by kelnos on Monday November 25, 2019 @03:59PM (#21632765)
> I often ask "stupid" questions, but I do so after having searched the documentation, google and tried everything I could think of trying.

Then when you ask, demonstrate that you've done so.

"Hey, how do I do X? I read through the docs, googled, and tried everything I could think of but I'm still stuck" is likely to get you a decent answer.

If you're going to ask someone working for free to give you free support, the least you can do is demonstrate that you've done your homework. The unfortunate reality is that many users do not do this and just want someone else to hand-hold them through everything.

I agree that it'd be nicer if developers would remove "RTFM" from their lexicon, and, even if it provides no more information, go for something politer, like, "the answer is in the manual; please read it". But people get tired, people get frustrated, people have a bad day. And some people might do it deliberately to push away users who they think will be an unproductive time-suck for them. As someone benefiting from someone else's free labor, you are entitled to nothing. Suck it up and do your best to show that you're not a leech and that you'll do your part to support yourself, only asking for help when you've exhausted the usual avenues.

Re:Are We Wayland Yet? by bananamerica on Tuesday November 26, 2019 @02:28AM (#21636270)
The RTFM conundrum is very simple to solve:

1. Install texpander (https://github.com/leehblue/texpander)

2. $ vim ~/.texpander/RTFM

3. Paste this text: "Please search the documentation before asking and opening issues." Press ESCAPE, followed by ":wq<return>"

4. Add a handy keybinding to "texpander.sh"

5. Problem solved! Now you can RTFM all day long without bothering anyone!

Re:Are We Wayland Yet? by Fnoord on Monday November 25, 2019 @11:33AM (#21629789)
I get it that it comes across as negative, but it is partly a choice. You could assume the person is just very busy. You could assume RTFM just means Read The Fine Manual.
Re:Are We Wayland Yet? by bananamerica on Monday November 25, 2019 @12:43PM (#21630653)
The current meaning of RTFM is well established and it does not contain the word "fine"...
Re:Are We Wayland Yet? by gtirloni on Monday November 25, 2019 @05:03AM (#21626752)
Lots of assumptions and generalizations.

There are countless reasons for why these things happen.

Re:Are We Wayland Yet? by izacus on Monday November 25, 2019 @06:40AM (#21627212)
The thing is - nVidia uses shared source for all of their drivers. This is why you always have the newest GPU feature support and performance on their Linux driver - it's the same codebase as it is for Windows and was for macOS.

Linux community on other hand wants nVidia to restructure their driver just to fit Linux model and essentially lose the source parity or publish the source completely. It's not an invalid request, because nVidias APIs don't really fit into Linux kernel design and userspace APIs. It's also not very likely to happen, especially due to poisonous behaviour of kernel maintainers towards nVidia, unwilligness to compromise and nVidias refusal to add more resources to refactor the driver.

Re:Are We Wayland Yet? by brmgb on Monday November 25, 2019 @08:45PM (#21634955)
> It's also not very likely to happen, especially due to poisonous behaviour of kernel maintainers towards nVidia, unwilligness to compromise

Please, there is nothing to compromise about.

Nvidia doesn't want to work with the kernel community. They don't want to document how their driver works. They don't want people to look at how their driver works. They don't even want people to develop alternative drivers for their cards.

Nvidia earned 100% of the bad blood existing between them and the kernel community. They are even worse to work with than Qualcomm. Should give you an idea of how bad they are.

Re:Are We Wayland Yet? by BiteCode_dev on Monday November 25, 2019 @06:52AM (#21627275)
Do you think Windows or MacOS make compromise on the way they code their kernel to accomodate nVidia ?

No, it's just a matter of economics.

Re:Are We Wayland Yet? by fwxwi on Monday November 25, 2019 @07:15AM (#21627411)
Yes, Windows has a stable driver API you can build upon.

Linux does not, because they want all drivers to be inlined (included in the kernel) and open source. nVidia does not want to release their trade secrets, so they don't want to open source their drivers.

(No idea about macOS)

Re:Are We Wayland Yet? by vertex-four on Monday November 25, 2019 @07:22AM (#21627456)
Of course, AMD managed, so there’s no technical reason that nVidia cannot.
Re:Are We Wayland Yet? by izacus on Monday November 25, 2019 @07:41AM (#21627595)
Except that AMD doesn't have feature parity with Windows driver on open source version and has all the Nvidia driver headaches on closed source version.

I'm not sure what AMD really managed here.

Re:Are We Wayland Yet? by nemetroid on Monday November 25, 2019 @08:22AM (#21627848)
AMD's open source driver is fully usable for normal usage (including gaming), and in general more performant than the closed source version.

https://www.phoronix.com/scan.php?page=article&item=rx590-li...

Re:Are We Wayland Yet? by jhasse on Monday November 25, 2019 @08:50AM (#21628069)
Still behind the proprietary Windows driver or Nvidia's proprietary Linux driver.
Re:Are We Wayland Yet? by MayeulC on Monday November 25, 2019 @09:45AM (#21628496)
They are not behind their windows driver on OpenGL. And neither for Vulkan, I think. AMDVLK scores a few wins here and there, but RADV is generally more stable, performant, and compatible. Plus being open-source, it is easily extended, like valve is doing with their AC0 experiment [1].

Last I heard, people were installing Linux to use the AMD OpenGL drivers to play emulators (it might have been Cemu, actually ran trough wine).

[1]: XDC2019 slide deck https://xdc2019.x.org/event/5/contributions/334/attachments/...

Re:Are We Wayland Yet? by pepemon on Monday November 25, 2019 @09:21AM (#21628311)
Can you share some source of your statement?
Re:Are We Wayland Yet? by vertex-four on Monday November 25, 2019 @07:56AM (#21627695)
It doesn’t have “all” the headaches on the closed source version, afaik - it still implements the standard APIs and thus works with systems that were designed to work with every other driver from AMD to Mali, unlike the nVidia proprietary driver.
Re:Are We Wayland Yet? by fwxwi on Monday November 25, 2019 @07:42AM (#21627609)
Because it is NOT the same driver. AMD, just like nVidia, want to keep their own secret sauce secret, because that's where the money is.
Re:Are We Wayland Yet? by pmoriarty on Monday November 25, 2019 @01:37PM (#21631261)
Is so much of their profit bound up in their software?

I thought these were hardware companies.

Re:Are We Wayland Yet? by fwxwi on Monday November 25, 2019 @07:27AM (#21627480)
I didn't say there's a technical reason, I said they want to keep their source code secret, which to me is a reasonable argument.
Re:Are We Wayland Yet? by pepemon on Monday November 25, 2019 @07:34AM (#21627542)
Well then sway maintainer's reason to explicitly deny support for proprietate nvidia driver is a reasonable argument too.
Re:Are We Wayland Yet? by fwxwi on Monday November 25, 2019 @07:41AM (#21627599)
Definitely, it's his software and he can do whatever he wants, and I'm not criticising him, I'm criticising Linux for not offering a stable driver API. As far as I know they don't even want to allow shims like the one Android Treble introduced. It is not a technical decision, it's a political one.
Re:Are We Wayland Yet? by sheepdestroyer on Monday November 25, 2019 @08:13AM (#21627797)
There is a technical rationale that should be read to understand kernel dev's PoV : https://github.com/torvalds/linux/blob/master/Documentation/...
Re:Are We Wayland Yet? by vertex-four on Monday November 25, 2019 @07:53AM (#21627679)
Refusing to open source their drivers is not a technical decision, it’s a political one.
Re:Are We Wayland Yet? by akvadrako on Monday November 25, 2019 @09:09AM (#21628196)
Linux has a fairly stable driver API, it just doesn't have an ABI.
Re:Are We Wayland Yet? by rjsw on Monday November 25, 2019 @09:18AM (#21628284)
The GPU API doesn't seem particularly stable to me.
Re:Are We Wayland Yet? by ovi256 on Monday November 25, 2019 @07:24AM (#21627463)
MacOS user: what's a driver ?

Seriously though, one of the pleasurable things about using macOS is that you don't have to worry about hardware compatibility. Because there is none, outside the small list of parts officially supported by Apple itself. There are some NVidia cards on that list, yes.

Re:Are We Wayland Yet? by ac29 on Tuesday November 26, 2019 @12:40AM (#21635881)
> The thing is - nVidia uses shared source for all of their drivers. This is why you always have the newest GPU feature support and performance on their Linux driver - it's the same codebase as it is for Windows and was for macOS.

Sure this is almost true, but not quite - there is obviously Linux specific code to support X11 and VDPAU that isnt in the Windows driver, for example. Of course, NVIDIA can decide to not support open drivers, or not support Wayland in their closed drivers, and as a consumer I can choose not to buy their products.

Re:Are We Wayland Yet? by aidenn0 on Monday November 25, 2019 @11:22AM (#21629622)
You can have an open source driver without mainlining it. This was what the whole discussion between the Linux devs and AMD was over the AMD HAL. If you want to maintain it yourself, you can do it however you want.

Linux has modules, and had very good support for out of tree modules.

Re:Are We Wayland Yet? by eleitl on Monday November 25, 2019 @07:13AM (#21627401)
It's easier to switch to Radeon, and ROCm instead of CUDA.
Re:Are We Wayland Yet? by microcolonel on Monday November 25, 2019 @09:00AM (#21628145)
> The thing is - nVidia uses shared source for all of their drivers. This is why you always have the newest GPU feature support and performance on their Linux driver - it's the same codebase as it is for Windows and was for macOS.

The same is true of AMD, they share most of their display configuration code (in the kernel) and userspace code between a set of drivers on Windows, Linux, and macOS; they just also publish documentation and redistributable firmware, and maintain a second very-high-quality driver in Mesa, and due to the availability of documentation and that Mesa GL driver, there is a second Vulkan driver (RADV) which is also excellent.

Re:Are We Wayland Yet? by sosodev on Monday November 25, 2019 @12:05AM (#21625617)
It’s pretty clearly nvidias fault. Their proprietary driver doesn’t play well with wayland and they haven’t seemed to care.
Re:Are We Wayland Yet? by Svenstaro on Monday November 25, 2019 @12:23AM (#21625682)
Well, they've developed their EGLStream approach and that probably cost some resources on their end so the question is why they decided to go that way at all. It seems like a waste to me to develop something nobody is going to use and I don't see the business reason for this particular development.
Re:Are We Wayland Yet? by thayne on Monday November 25, 2019 @01:28AM (#21625922)
afaict the only people who really care about EGLStream are nvidia. And while GNOME and KDE might have the resources to support both API's (much as they don't want to), smaller projects like sway simply don't have the resources to worry about that.

I think one of the biggest failings of wayland is that it requires so much duplication of effort between different compositors. Ideally, the compositor shouldn't have to care very much about which drivers the user is using for their graphics card.

Re:Are We Wayland Yet? by imtringued on Monday November 25, 2019 @06:21AM (#21627109)
>Ideally, the compositor shouldn't have to care very much about which drivers the user is using for their graphics card.

That would require a single standard for communication with GPUs and the problem is that Nvidia is refusing to implement that standard.

Re:Are We Wayland Yet? by arghwhat on Monday November 25, 2019 @10:08AM (#21628718)
All it requires is a single standard interface for managing buffers, which exists and is named GBM.

Wayland doesn't care how you draw your buffers, and a custom EGL library as they already do, while gross as hell, is not at all a compatibility problem.

Re:Are We Wayland Yet? by traverseda on Monday November 25, 2019 @07:57AM (#21627706)
Or some kind of abstraction layer.
Re:Are We Wayland Yet? by pzone on Monday November 25, 2019 @01:50AM (#21625996)
Even KDE was only able to gain support for EGLStreams after an NVidia developer Erik Kurzinger contributed the necessary changes to Kwin.
Re:Are We Wayland Yet? by josefx on Monday November 25, 2019 @06:56AM (#21627294)
As far as I know that was mostly because they refused to even try and not because it was too hard or even complicated.
Re:Are We Wayland Yet? by kelnos on Monday November 25, 2019 @04:03PM (#21632798)
If one of the kwin developers had nvidia hardware, likely they would have cared enough to try. And if they didn't, how would they test and maintain the nvidia-specific code? Adding an entirely new code path for rendering would be a large support and testing burden that they may not have had the resources to take on.
Re:Are We Wayland Yet? by josefx on Tuesday November 26, 2019 @01:35AM (#21636062)
> If one of the kwin developers had nvidia hardware,

So what your are saying is that NVIDIA could have just sent them a crate full of low end $50 dollar hardware and been done with it? I find that rather unlikely, or rather as an end user I prefer to think that there wouldn't be that much drama over what amounts to nothing.

Re:Are We Wayland Yet? by kelnos on Wednesday November 27, 2019 @06:17PM (#21653150)
Maybe? I don't know.

But, either way, having two completely separate graphics code paths means a much larger maintenance burden than one. Even with hardware to test on, I'd consider it perfectly reasonable to decide to only support one, especially if the odd company out is one with a history of not playing ball with the community.

Re:Are We Wayland Yet? by jcelerier on Monday November 25, 2019 @02:17AM (#21626095)
EGLStreams is heavily used in industrial embedded, eg in nvidia's car platforms.
Re:Are We Wayland Yet? by arghwhat on Monday November 25, 2019 @04:47AM (#21626692)
You got that the wrong way around:

Nvidia's platforms are a large part of industrial embedded, on which the users have no option but to use EGLStream.

Re:Are We Wayland Yet? by raverbashing on Monday November 25, 2019 @01:57AM (#21626035)
So, I find this a bit weird

The nvidia driver doesn't play well with some basic apps, but it plays extremely well with games and other professional apps running on Linux (the whole reason for nvidia to put up a driver)?

Re:Are We Wayland Yet? by fluffything on Monday November 25, 2019 @03:45AM (#21626421)
The reason is simple: those using profesional apps are typically >100k/year engineers using apps that cost >10k/year. The developers of these Apps either put in a lot of money into supporting nvidia proprietary APIs, or, they contract nvidia to implement support for them. If you are big enough, nvidia does this for free.

It doesn't matter if AMD sells the exact same GPU as nvidia, because when you then switch BLAS for cuBLAS, the nvidia GPU becomes 100x better than AMD.

And that's just libraries, there is also tooling, engineering support, and well, software in general. Nvidia invests a lot of money on making sure that their GPUs come with a great proprietary AMD-incompatible software stack, and in integrating this stack with anyone developing products using GPUs.

I've worked on a couple of national supercomputers using AMD hardware, and AMD pays for ~1 AMD engineer full-time that works on improving the applications that run there. Nvidia pays for a couple of engineers that manage and tune the cluster for you, and a bunch more that work on peoples applications. Easily, 10x more engineers than AMD.

Even if AMD were to build better hardware, no sane industry person would pick them up over nvidia due to all other services nvidia offers.

Re:Are We Wayland Yet? by SXX on Monday November 25, 2019 @03:35AM (#21626387)
It's chicken and egg problem. Nvidia was major backer of OpenGL, but their drivers were never conformant implementations that allowed a lot of incorrect shaders to compile and run. Yet Nvidia had best developer support so most of commercial apps were developed and tested against their drivers. As result those apps use non-standard codepath that simply dont work on conformant drivers. On top of that OpenGL compatibility contexts are not well documented or tested, but it's not strictly Nvidia fault.

In case of Wayland it was was opposite. It was developer by everyone, but Nvidia. Open source graphics stack developers found a way that work best for their hardware and supported it for decade. Recently Nvidia tried to join the parry while extending it with own incompatible addition that no one else needs. Obviously many open source proponents dont give a damn about their closed drivers so they only going to support primary APIs.

Re:Are We Wayland Yet? by krageon on Monday November 25, 2019 @04:38AM (#21626656)
> The author is also quite spiteful about it

Sadly this is more or less the norm and in my eyes the source of the large disconnect between people who believe in things like "linux desktop is for everyone" and actual average users. Nobody wants to read a long principled rant when they're looking to actually use their computer.

Re:Are We Wayland Yet? by canofbars on Monday November 25, 2019 @05:05AM (#21626764)
No developer wants to deal with bug reports due to a buggy proprietary driver they have no ability to change.
Re:Are We Wayland Yet? by krageon on Monday November 25, 2019 @07:10AM (#21627371)
If you don't want to deal with stupid bug reports then you'll have a big problem developing any software that a large group of people interact with.
Re:Are We Wayland Yet? by kelnos on Monday November 25, 2019 @04:10PM (#21632858)
Yes, but the dynamic changes considerably when you're a one-person team doing it for free in your spare time.

Companies that build software can afford to hire dedicated people to deal with particular hardware configurations, and usually make revenue-based decisions on what to support. One-person shops only have what they have.

Why does nvidia get the pass here? They've decided not to support the standardized graphics driver interface that Wayland needs to work. They certainly have the money and developers to do so if they wanted to. Presumably they've made a decision not to based on (lack of) expected revenue.

Why would you begrudge an unpaid volunteer to make a similar decision about what to support in their own software?

Re:Are We Wayland Yet? by chungus_khan on Monday November 25, 2019 @10:36AM (#21628986)
The average user would probably appreciate a driver experience most similar to Mac OS, and such an experience is available on Linux for non-nvidia graphics hardware because other vendors cooperate with standards.
Re:Are We Wayland Yet? by benhurmarcel on Monday November 25, 2019 @04:54AM (#21626718)
I agree this gives a bad image, but the average user isn't going to use Sway. It doesn't affect most Linux users by far.
Re:Are We Wayland Yet? by krageon on Monday November 25, 2019 @07:09AM (#21627367)
It's a symptom of the culture, not the big driver of that culture.
Re:Are We Wayland Yet? by Leace on Monday November 25, 2019 @05:47AM (#21626953)
> This would be a good time to mention that sway doesn't support the nvidia proprietary driver

It's rather nvidia proprietary driver that doesn't support standard Wayland protocols and thus doesn't work with Sway not the other way around.

See this for details: https://drewdevault.com/2017/10/26/Fuck-you-nvidia.html

Re:Are We Wayland Yet? by codedokode on Monday November 25, 2019 @06:08AM (#21627044)
I have read this and I don't understand why Wayland developers don't want to write an adapter for NVidia's proprietary API. How is it worse than other APIs?

Also, porting proprietary drivers for Linux must be a pain because there is no driver API and you cannot just release a closed-source driver and forget about it, you have to open source it and maintain it forever. No wonder manufacturers don't want to bother with this.

Re:Are We Wayland Yet? by Leace on Monday November 25, 2019 @06:39AM (#21627208)
> I have read this and I don't understand why Wayland developers don't want to write an adapter for NVidia's proprietary API.

If you're NVidia user you're justified to feel bad about this entire fiasco but remember protocols exist so that everyone implements their own part and users can mix-and-match and it works together.

If AMD and Intel can dedicate resources to maintain their Wayland implementations with no complains why NVidia can't?

> why Wayland developers don't want to write an adapter for NVidia's proprietary API

Because they could use the time spent on maintaining NVidia proprietary API adapter writing open-source software that will benefit all parties.

Re:Are We Wayland Yet? by izacus on Monday November 25, 2019 @06:42AM (#21627223)
> If AMD and Intel can dedicate resources to maintain their Wayland implementations with no complains why NVidia can't?

nVidia shares the driver with Windows, AMD/Intel don't. So AMD/Intel always give you a driver that's significantly trailing the Windows versions on features and stability (you can read a lot about this on Dolphin blog for example) while adding more maintenance costs.

> Because they could use the time spent on maintaining NVidia proprietary API adapter writing open-source software that will benefit all parties.

What do you mean "all parties"? They're excluding at least one party - nVidia users.

Re:Are We Wayland Yet? by bildung on Monday November 25, 2019 @06:45AM (#21627235)
> They're excluding at least one party - nVidia users.

"They" being Nvidia here. AMDs amdgpu driver clearly shows the problem is neither Linux nor Wayland or Sway.

Re:Are We Wayland Yet? by pepemon on Monday November 25, 2019 @07:37AM (#21627563)
> significantly trailing

Please elaborate more. I'm writing this from my Dell XPS 9575 with Vega M GL under Fedora 30 and I haven't encountered a single problem in GPU-accelerated applications and games with official open source drivers.

Re:Are We Wayland Yet? by ben-schaaf on Monday November 25, 2019 @08:31AM (#21627918)
To add to this, the AMD OpenGL windows drivers are notoriously bad, whereas the Linux OpenGL drivers perform closer to DirectX. Performance on that end is significantly ahead.
Re:Are We Wayland Yet? by Leace on Monday November 25, 2019 @06:54AM (#21627286)
> What do you mean "all parties"? They're excluding at least one party - nVidia users.

I mean all parties that implement the standard protocol. It's rather nVidia that's not interested in giving their users a chance to use properly Wayland not Sway developers "excluding users" by not doing free work for nVidia.

Re:Are We Wayland Yet? by kabes on Monday November 25, 2019 @05:07AM (#21626776)
As someone who has spend a lot of time working on graphics on linux, I can safely say this is nvidia's fault.
Re:Are We Wayland Yet? by AnIdiotOnTheNet on Monday November 25, 2019 @07:37AM (#21627558)
Drew's stance on supporting EGLStreams is not unreasonable. It's a "standard" that only nVidia cares about and causes a lot of headache for pretty much everyone.

However, yes, the naming of that flag is a red flag. It tells me "this developer thinks that because you use their software they are entitled to tell you how to use your computer", which is an attitude I cannot abide.

Re:Are We Wayland Yet? by michaelmrose on Monday November 25, 2019 @12:37AM (#21625735)
It leaves out users who do any meaningful gaming beyond tetris or Farmville in the same session.

You could always log in 2 graphical sessions and have one be running x and one sway I presume.

Re:Are We Wayland Yet? by atq2119 on Monday November 25, 2019 @01:48AM (#21625993)
You could just use an AMD GPU on Linux. They've had (more than) competitive open source drivers for a few years now, and they play well with all the modern Linux desktop protocols.
Re:Are We Wayland Yet? by michaelmrose on Monday November 25, 2019 @02:42AM (#21626186)
I won't be buying new hardware just to use a currently worse functioning alternative whose increased security is wholly hypothetical.
Re:Are We Wayland Yet? by majewsky on Monday November 25, 2019 @04:26AM (#21626612)
It is something to keep in mind when you purchase your next card. I'll always choose a smooth experience with mainline drivers over 10% more raw power. (And it's incredible how much AMD GPU driver support has progressed over the last few years, going from the total clusterfuck that is Catalyst to everything just working out-of-the-box.)
Re:Are We Wayland Yet? by benhurmarcel on Monday November 25, 2019 @04:57AM (#21626729)
Clusterfuck? I just installed nvidia-driver and it sets itself up.
Re:Are We Wayland Yet? by franga2000 on Monday November 25, 2019 @05:26AM (#21626854)
Catalyst is AMD's previous driver: https://wiki.archlinux.org/index.php/AMD_Catalyst
Re:Are We Wayland Yet? by benhurmarcel on Monday November 25, 2019 @09:28AM (#21628363)
Ah my bad, I mixed up with Nvidia. Thank you.
Re:Are We Wayland Yet? by Svenstaro on Monday November 25, 2019 @12:52AM (#21625801)
I don't think so. A driver needs to control a device completely so you can't drive sway with nouveau and game on nvidia.
Re:Are We Wayland Yet? by Teknoman117 on Monday November 25, 2019 @03:29AM (#21626360)
Well, this exact problem is why I won’t be buying an nvidia GPU the next time around. I’ll hang on to my 1080 Ti until AMD has something faster.
Re:Are We Wayland Yet? by mortdeus on Monday November 25, 2019 @02:40AM (#21626178)
Maybe it's about time for Linus to break the fourth wall and flip them off again in the middle of of a university classroom?

I mean it worked wonders the first time, considering that's how we got the Nvidia proprietary driver to begin with.

Re:Are We Wayland Yet? by throwaway8941 on Monday November 25, 2019 @03:27AM (#21626348)
>that's how we got the Nvidia proprietary driver to begin with

Could you elaborate a bit? I don't buy nvidia hardware and don't follow them at all these days, but I very well remember using the proprietary driver back in 2008 or so. At the time, it seemed to me to be the only well supported high-performance graphics driver.

Re:Are We Wayland Yet? by gpderetta on Monday November 25, 2019 @04:00AM (#21626493)
I remember using their proprietary driver on linux at the turn of the millennium.
Re:Are We Wayland Yet? by alimbada on Monday November 25, 2019 @11:41AM (#21629900)
All spite towards NVidia is completely deserved for many many reasons.