181 points · by ollien · 9y ago · 307 comments
Intel is actively trying to kill off lowend and mid-range GPUs in the desktop, and has locked them out in the mobile space, leaving Nvidia with just the high end GPU market and their ventures into the ARM SOC space.
By not treating Linux end user devices as first class citizens, I don't see how Nvidia intends to have a viable business long term. Who wants a tablet, phone or desktop GPU without drivers?
Gaming enthusiasts aren't running Linux. The HPC/GPU compute market don't care about Wayland. Android devices aren't using Wayland.
What part of their target market runs Linux?
What portion of the desktop market runs Linux?
If it wasn't for Linux, I'd be in a very different profession, so I'm a huge fan. But I don't understand where you guys that act like the Linux desktop is a big enough market that this will make a material affect on nvidia's bottom line is so weird to me.
More and more do today.
However it's never been good enough. At first there just were no drivers, so I couldn't get acceptable performance from any game. Then came drivers, but I had to fight for days to get them to work on handful of games and even then performance was sub par compared to Windows. Last time drivers installed without any problems, but still from the games I tend to play only couple had native Linux support (in this case, they could be downloaded straight from Steam), but still most required Wine and that sucked the performance right out. Then there were bunch of games that didn't even work with Wine.
I'm first to admit that I do not have high end gaming PC, but 16GB of middle of the road RAM, i5 2500K, and nVidia GTX 970 serve me well on Windows side. Frankly, I see no reason to spend more money to get the same performance on Linux.
If you can get acceptable performance from your Linux PC while gaming then more power to you, but from my point of view we are still long way and I mean really long way from gaming being "viable" on Linux.
And the GP comment was right anyway, 90% of the Market is for sure not running Linux for gaming on PC. 1~2% is nice but it's hardly enough to convince large publishers to support Linux.
And the "this year is the year of the Linux desktop" (or gaming desktop) line has been going on since 1998. I was there, got the t-shirt.
We have a multiple GPU compute nodes with Teslas for research. The vast majority of us uses Macs.
But do they use XWayland? Seems nvidia is still supporting X, Wayland, and Headless Compute modes of operation...
They're a business, so when their customers need it, they'll support it. Until then, only hobbyists or an insufficient part of their customer base is interested, so understandably, they're not investing in it.
Will Toyota go for running legacy, unmaintained Xorg in their cars? How about BMW? I don't see Nvidia ready to dump this market they've spent a decade building, so short of them being complete idiots, they will probably walk back on this.
That being said, these were the people that tried to pass off a painted block of wood as a GPU on multiple occasions: https://semiaccurate.com/2011/03/11/nvidias-ceo-has-another-...
Given this -- if Toyota doesn't want to run "legacy, unmaintained" X11 in their cars, then.... they don't have to, they can just move to Wayland, which will work, and NVidia supports Wayland just fine -- and they don't have to worry about X11 at all anymore?
So, everything would be fine? I'm not sure what point you're making here...
I highly doubt they'll want to stay on something that isn't seeing much in the way of support, so time for a new SOC vendor...
Don't turn a company's laziness into a virtue.
Didn't mean to do that. The whole thing has been a point of contention for a long time, so I wanted to clarify that they are actually getting on board with Wayland. They are by no means fully backing with Xwayland. I want a full Wayland experience and nVidia is doing the bare minimum to enable it on their hardware. For me getting all the way there really does involve desktop applications embracing it and adding support too. X is deprecated, and so should be Xwayland.
The more relevant question is "who wants a desktop Linux system". And the answer is very few.
That's why they doesn't care about that market. The huge majority of desktop users will go either Windows or OS X.
(And, of course, Nvidia is the only choice for now if you want GPGPU computing).
Desktop Linux with Wayland has maybe 0.1% market share rising to maybe 1% over the next years in the best case. In the worst case, Wayland will just be another Linux Desktop fail. Other devices (Phone/Tablets) do not use Wayland.
The amount of resources any given company can allocate to Linux platform bullshit is limited. The "serious" NVIDIA Linux customers will probably stick with X anyway, in the foreseeable future.
I'm not ruling out that there exist other pointless mobile operating systems with 0.0% market share that use Wayland or even XWayland in some capacity.
My point however is that the "market" argument is nonsense when the market is practically non-existent.
So: it could well be that this is an issue of resource allocation more than anything else. Over time, most applications should move to using wayland (or whatever window / surface library emerges as the clear winner, but that looks like wayland is the future here) for their graphics. A lot of effort into supporting Xwayland would mean work spent on a library that should be of limited utility - only useful during the transition between platforms (like the old carbon layer for OSX in the early 10.0, 10.1 days). Right? Or maybe I'm misreading it.
Xwayland enables these types of applications to continue working in a Wayland session, so that desktops and distributions can move to Wayland without having to either wait on the legacy applications or remove them from the distribution.
tl;dr Nvidia has no need to play in this space, anyone using X will just use X without the translation layer.
There is no standard way to register global keybindings under Wayland yet, but this is bound to happen eventually. Not as a builtin part of Wayland, but it doesn't matter. It will of course use D-Bus interface, as KDE does it now for example - but if an application doesn't support this interface, it can't steal keybindings, it just doesn't get to install global keybindings itself.
Not sure what you have exactly against D-Bus, but clearly modern Linux desktop embraced it.
From that point of view, "Wayland" is kind of a short-hand for a number of different stacks that have some components in common, and speak the Wayland protocol. If you choose not to use a complete stack on a system, then the result can't be fully functional.
Personally, I don't have any sense of how much dark matter is in the area of Linux GUI applications. We can easily know about Open Source, where most modern applications sit on toolkits and desktops that are moving to Wayland, but presumably places like CERN have some really old internal applications that will only ever run on X until they are replaced. I'm genuinely unsure how large that problem is.
I have to say that I'm always skeptical about arguments that something can't be done for performance reasons. People have been using that argument against new technology since at least the days when C was decried as new-fangled, decadent luxury.
Qt and GTK are not responsible for implementing the compositor at all. Compositors aren't actually the problem at all, the problem is applications.
XWayland is one of the main ways we are going to bring legacy applications to Wayland desktops. It works about as well as X does, and lets the other applications take advantage of the sane architecture of Wayland.
> In my view desktop/workstation use cases are not sufficiently covered by Wayland, and that is where nvidia's focus has been.
What use cases? The only thing that's missing for me is input method integration. It has full display colour management, handles multiple refresh rates in the same session well, handles scaling, supports every input device I own (including graphics tablets). What's not really firm right now is native support in every application, that's coming along at some rate, and XWayland is bridging that gap quite well.
Probably the most salient issue with wayland is that it prevents programs from communicating with each other in the name of 'security' and 'sandboxing' when preventing those things at the display server level adds literally zero security and just makes everything more painful for application developers (imo to the point where they simply won't touch the stuff). If there were a 'windowing protocol' that went along with wayland that covered many of the things wayland does not then I do not think there would be as much of an issue, but the thought that we can force a new display server on people without the other bits as well seems at best naive. Again, I think that the absence of such a 'windowing protocol' from wayland is because one of the main use cases it was developed for often had literally one program running (car backup camera displays).
I do not dispute that xwayland bridges the gap. But if people are using X right now then nvidia has no reason to support xwayland right now because there are no wayland only applications that their customers are demanding support for. Down the line that may change, but from a corporate decision making point of view there is zero reason to do this.
You don't need to. Just like X11 has Xlib and libxcb, Wayland has libwayland. It is actually easier to get input from libwayland than it is to get it from Xlib, and about on par with libxcb.
> I realize this is a bit of an exaggeration, but X11 is more than something that draws windows and from my understanding wayland doesn't address many of the other parts. For example, from my understanding wayland does not provide a standard way to support window manager level keybinds that override the binds set by the developer of the window that currently has focus.
You're right about that, global keybindings will have to be allowed through the compositor, and I don't know if there's a protocol for that yet. Global keylogging is one of the things Wayland was designed to avoid, so the way we implement that feature will have to be a bit different. It's for good reasons though.
> For me this means that the primary way I interact with my computer is now broken on wayland unless every single program I use implements the ability to pass those custom keybinds to the program that actually handles them. Sure, everyone can implement their own way of dealing with window manager level keybinds but that completely defeats the purpose of having a standard in the first place.
I don't know that it defeats the purpose of a standard! I agree that these use cases need to be addressed, but I don't think the way to do that is to give every Wayland client the ability to globally change the way input reaches other clients without permission from the compositor.
> Probably the most salient issue with wayland is that it prevents programs from communicating with each other in the name of 'security' and 'sandboxing' when preventing those things at the display server level adds literally zero security and just makes everything more painful for application developers (imo to the point where they simply won't touch the stuff).
Yeah, I think that the XDG compositor extensions should loosen this stuff up a bit, or at least make it easy for an application to ask the user for permission to spoof everything. I'm unlikely to be displaying a hostile application on my machine. That said, doesn't exactly add "zero security" though. It is helpful for partially-isolated applications, like those in containers. I would like to be able to trust the isolation of applications some day so that I can run spotify on my workstation without breaking into a sweat.
I think it would be perfectly adequate to have the application ask for permission to do the heinous boundary violations that make X11 fun and dynamic.
> I do not dispute that xwayland bridges the gap. But if people are using X right now then nvidia has no reason to support xwayland right now because there are no wayland only applications that their customers are demanding support for. Down the line that may change, but from a corporate decision making point of view there is zero reason to do this.
For what it's worth, NVIDIA is looking to support Wayland on desktop. They already support it commercially in their embedded products (especially targeted toward automotive). So it's not exactly accurate to say that they have no customers asking for Wayland-only application support. The question is, when will it be convenient on desktop Linux? and that's hard to say. It is somewhat surprising that they aren't currently planning to support acceleration in XWayland, given that they have at least put some effort into supporting Wayland in general.
There's an effort to reverse engineer this called nouveau, they've done a surprisingly good job in a surprisingly short time, but it's still far from perfect.
Nvidia has been putting a lot of hurdles on their efforts since the Pascal GPUs. If you look and pre-Pascal GPU the performance of Nouveau is really impressive, but Pascal GPUs are crawling to go beyond a few frames per second. It's really sad.
Basically, if you're not a gamer, the open-source Nouveau driver should provide all you need, assuming it works for your card. But parts of your system may stop working, or cause other bugs, from not using the official drivers.
edit
I might have misinterpreted your question, so here's an alternate answer. If you mean "Why can't we just do 3D rendering with a framebuffer?", a framebuffer is just a copy of the rendered screen in memory. You render it in your local CPU, and then copy it over into video card memory. So it doesn't use hardware rendering, and can work with pretty much any card.
If you do want to do hardware rendering (or most any feature of your card at all) you have to write a kernel driver (the DRM) to use the chip, and then some userland software (the DRI) to manipulate that driver, and send data to it somehow from your client app using a standard API for 3d graphics (OpenGL's GLX extension for the X11 protocol). The devil is in the details though, so to work around some limitations, some people wrote new graphics software to allow the client app to render without a "middle man" in the way. That's where you get Wayland.
Performance is good for regular desktop use, including video playback (then again, my CPU is a Ryzen 1700), 3d gaming performance is not overwhelming, though. Plus, Kerbal Space Program gives me weird display errors and sometimes manages to crash Xorg.
I am not much of a gamer, though, so I can live with this arrangement.
But Mesa really caught up lately, so switching to AMD was never as good. Just forget Nvidia and enjoy properly integrated graphics stack.
It's not as if "we have no plans for support" could result in accidentally having support.
Reverse those numbers and you'll hear a different story.
"Speaking of the Linuxes, Ubuntu is tops among them with 12.3% of the entire OS market for developers. Fedora, Mint, and Debian accounted for 1.4%, 1.7%, and 1.9% of all responses, respectively."
No they don't. I have had 3 different nVIdia configs, and presently 2 for gaming, and through my experience hopping from one distro to the next I find that the problem is actually unrelated to nVIdia drivers - but the compositor. For example, in Mint if you switch to compton, it makes all tearing disappear. This is well documented.
If/when Wayland becomes the default for Ubuntu, Nvidia will follow. Can't let them ponder the amount of time it would take to code the missing layers for AMD hardware
As a Fedora user I can understand the reluctance. The recent upgrade to Fedora 26 has given me a ton of gnome crashes which I think are Wayland related. Commentary on Fedora channels tends to be along the lines of "Wayland is great and works for everyone (OK, maybe not those with NVidia cards)".
If Ubuntu has millions of users it may have millions of NVidia users. Putting them onto unstable technology to pressure Nvidia into supporting Wayland wouldn't be a great move.
Therefore I can understand Nvidia's lack of haste. They will support the version/fork that Ubuntu chooses. No point in wasting resources until then.
Of course that would not happen if they opensourced their drivers but I kinda lost hope about that...
Ubuntu is the default distro for gaming, too, and I doubt they will jump until it's well ready, and certainly NOT before nVIdia provides support. It would make no sense.
You're right that we don't use our computer card for our graphics and, as many people pointed out, the computation will wind up running on a headless server. On the other hand, during development, our code will be running on our desktops and will be using the GPUs on the graphics card. I've witnessed a developer's frustration with X11 driver issues cause a project to transition from CUDA to OpenCL.
Granted, he didn't just throw a hissy fit an port the code. Rather, it inspired him to write up a tradeoff analysis of OpenCL versus CUDA that showed that OpenCL offered this specific project significant benefits and that the main selling points of CUDA weren't being used in this instance. He also wound up rage coding a prototype port to OpenCL to go along with the proposal.
The project would have moved eventually, since it was the better engineering decision in this case, but it was about a half decade away on the timeline until the lead dev's compositor stopped work.
I sometimes fantasize about hooking up twelve monitors for a wicked game of descent, though.
* The big exception is Chrome which uses GLX for accelerated rendering. The software fallback path uses a lot more CPU and won't support WebGL AFAIK.
They continue to expand their team, and there is a certain amount of broader community involvement in the Mesa-based driver. Valve software has at least one full time developer working on the driver in addition to the full time developers working directly for AMD on it.
The peak performance of AMD's top (pre-vega) cards right now is less than the peak performance of NVIDIA's top cards, but for similarly priced cards, the performance is basically on par. Finishing out 2017, and starting 2018, I think AMD may reach or exceed NVIDIA in flagship performance.
This is true and I'm a happy linux gamer these days but I wanted to point out that these are new drivers and the mesa support is really only in new kernels. Ubuntu 16.04 - don't bother, Ubuntu 16.10 - getting there, Ubuntu 17.04 - worked great for me since day 1. Arch will also work fine.
Sapphire is one of the best card makers with AMD chips: http://sapphirenitro.sapphiretech.com/en/580-8.html
The only problem - lately they are hard to buy. I guess all those bitcoin miners buy all of them at once.
I do play some games, but it's on a 3 year old desktop which is also running 4 fairly busy VMs (i7-4770 CPU @ 3.40GHz with 32 GB RAM and the built-in Intel graphics card).
Nvidia supports X11, on Centos/fedora. ITs first class support and the driver is as fast as windows (or faster)
Laptops and media PC are all Intel and they are reliable as well.
Will depend on your use case though.
As of recently, I have a mixed 1920x1200 and 4K setup on my home desktop, and 1920x1200 + 2560x1440 setup on my work laptop. I was very interested in what I'd heard about Wayland supporting per-monitor scaling and hoping to move over whenever KDE's Wayland support stabilised.
Well, I guess I'll still be doing that on my work laptop with its Intel graphics... here's hoping AMD does better for my next desktop GPU upgrade.
And Wayland is a huge improvement over X. Whenever I go back to X, it really suffers from tearing on portrait sub-1080p DIV-D monitor.
The graphics market is dangerously locked up by two players and its time some new players took the capital risk and stepped in. Nvidia would probably give a shit if someone bothered to challenge their share of the market in both graphics and computational space.
I'm really glad I ditched Nvidia and switched to AMD. With Mesa progressing at fast pace, Nvidia will become simply inferior in many aspects, including the above one.
Maybe AMD if they drop proprietary drivers. But never Nvidia.