News for hackers. Stuff that matters.
Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by bayindirh on Monday October 19, 2020 @02:05PM (#24829026)
There's always AMD/ATI with its completely open drivers and hardware.

AMD even redesigned the silicon to isolate HDCP from rest of the core to be able to open video encoders and other HDCP facing hardware to open drivers.

Also, AMD's open driver's written by a different team in AMD. So they're not exactly 3rd party drivers.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by loosescrews on Monday October 19, 2020 @02:39PM (#24829451)
Open source is great, but AMD is not a good example of how to do open source right. AMD's drivers are often not usable in released kernels until many months after hardware is released. For example, AMD is just now adding initial support for their new GPUs [1]. From what I have read, good support for AMD's previous generation is only now getting to distributions.

Intel on the other hand typically has their drivers in released kernels long before their hardware is released. Intel's New GPUs haven't been released yet, but they first started adding support in early 2019 [2]. I can't find it now, but I remember hearing a story about Intel removing drivers from the kernel tree for some hardware that they cancelled.

If you want to use a modern high-end GPU in Linux, your only real choice continues to be Nvidia. Their drivers are not open source, but at least they work at launch (except maybe with a 5.9 kernel?).

This is why Intel entering into the high-end GPU space is so exciting. Soon we may have a high-end option with good open source drivers while the part is still high-end.

[1] https://www.phoronix.com/scan.php?page=news_item&px=Linux-5....

[2] https://www.forbes.com/sites/jasonevangelho/2019/02/18/intel...

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by sce on Monday October 19, 2020 @03:42PM (#24830096)
This comment is very weird. For Linux users it is definitely better buying an AMD discrete graphics card than Nvidia, and it has been for an eternity. Just google "torvalds Nvidia" as an example of how the community feels about Nvidia. Is it even possible using Nvidia cards with Wayland?

Nvidia has a history of problems in Linux. I can still remember having to log out of my X session just to change monitor layout; which is something you do alot with a laptop and external displays. Took them several years to fix!

I've experienced intel boards where I had trouble getting anything but the newest fedora with custom kernel parameter to even get the installer running. But most of the time intel has very good upstream support, so it is normally a pretty safe bet.

With AMD there are sometimes delays getting full support for a new generation upstreamed (e.g. hdmi audio and such), so it is usually good to Google for Linux reviews first.

In general AMD has superb open source support for their cards, if not immediately at launch, and I recommend them for Linux users who want the least amount of hassle.

I've seen people recommending Nvidia to Linux on YouTube (and now here), and I honestly think it's a disfavor to anyone interested in Linux.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by bgorman on Monday October 19, 2020 @03:51PM (#24830200)
Your comment is highly inaccurate- and in fact is basically straight up Nvidia propoganda. The article you linked to is an article about AMD submitting code for unreleased hardware, which is exactly what you said they are not doing.

I have been using a Polaris based card for years (card released in 2017), and the drivers were submitted in 2016. The kernel drivers were ready at launch and key features like HDMI audio were all working out of the box. Now, you might need to install a modern kernel for everything to work- but that is the Linux way.

It is true that the initial performance was not super great- maybe about 70% of the possible performance, however this was addressed by subsequent improvements to mesa (userspace portion)

AMD has even gone out of their way to support older, obsolete graphics cards that were released before AMD adopted the open source first strategy.

Source: https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-P...

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by loosescrews on Monday October 19, 2020 @05:45PM (#24831383)
The difference is the timeline. Basic support landing ~1 month before launch is not acceptable. We barely have a stable kernel with this initial support, and that kernel won't have been picked up by any distributions. Further, for previous AMD hardware releases, this initial support has not been really usable from what I have read. Most of the posts I found on Reddit pointed to it taking several months after launch for the Navi drivers to stabilize. Even then, running a custom kernel in my experience is a lot more trouble than the proprietary Nvidia drivers.

Compare to Intel where you have initial basic support landing around 2 years before launch with incremental improvements following. This is the correct way to do open source drivers.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by modeless on Monday October 19, 2020 @02:15PM (#24829144)
Unfortunately AMD totally missed the boat on ML. They need to dramatically increase their investment both in hardware and software. My impression in the past has also been that they lag in performance on the high end, and their OpenGL driver quality is not as good in terms of features and conformance either. Though I am not totally up to date on their latest stuff.
Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by StillBored on Monday October 19, 2020 @02:27PM (#24829309)

  Unfortunately AMD totally missed the boat on ML.
I think by this measure so did everyone else. Nvidia pushed cuda, and everyone took it, even though 8 or so years ago openCL was a reasonable competitor. But various orgs choose to make a proprietary technology a first class citizen rather than putting the effort into an open alternative. Big win for nvidia, big loss for everyone else not large enough to create their own ML frameworks and accelerators.
Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by dragontamer on Monday October 19, 2020 @02:48PM (#24829542)
Its not really about CUDA or OpenCL. Its about the choice to support FP16 matrix-multiplication at the assembly level of NVidia chips.

When you build a processor that literally has "do 4x4 matrix multiplication" as an assembly statement, you'll get far superior ML performance compared to everyone else. (Except Google's TPUs, which have larger matrix-multiplication arrays)

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by BearOso on Monday October 19, 2020 @02:18PM (#24829188)
The OpenGL quality problems are strictly on the Windows side.

The open-source OpenGL drivers are very good.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by dragontamer on Monday October 19, 2020 @02:19PM (#24829199)
I don't think any company, aside from NVidia, is working on FP16 Tensor cores. Not Intel, not AMD. Google has a systolic processor for tensor units, but that's cloud only.

I know ML is where the current money is at, but coprocessors in general seem to be applicable to far more problems than just machine learning and graphics.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by bayindirh on Monday October 19, 2020 @02:23PM (#24829255)
Just food for thought:

What if AMD actually acquires Xilinix?

Everybody thought it's about CPU-FPGA integration but, they may pull something very, very different.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by dragontamer on Monday October 19, 2020 @02:36PM (#24829408)
I'm not an expert on Xilinx's stuff, but Xilinx's 18-bit x 27-bit multiplier DSP48 architecture still seems quite awkward to me.

https://www.xilinx.com/support/documentation/white_papers/wp...

True, a systolic processor can be built out of these components, but I doubt it'd be anything as fast as a proper matrix-multiplication unit that NVidia is putting out. And that's after the complications associated with FPGA programming.

----------

Xilinx's FPGAs are a combination of LUTs (4-bit or 6-bit look-up tables), Routing, and "DSP Slices" (prefabricated multipliers). The bulk of your math is still going to be performed in the DSP Slice.

Where FPGAs win is that their LUTs and Routing tables allow you to create custom high-speed glue-logic between these DSP slices. But when it comes to something like a regular Convolutional neural net, the routing is very straightforward.

------

I'm not really a deep learning expert. I know that FP16 seems to be pushed by NVidia. This INT8 stuff seems odd to me (there's no way INT8 gets the same dynamic range as FP16), but I'm also not really sure if the dynamic range is needed or useful in deep learning applications.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by klyrs on Monday October 19, 2020 @03:36PM (#24830038)
I've done some systolic processors on Xilinx hardware. It's really dang hard, on their biggest, fanciest chips, to pump the DSPs at anything close to their advertised clock speeds. Maybe if I was smarter, I could do an asynchronous design that would somehow avoid clocking issues, but I suspect that doing async between mismatched clock regions would effectively halve the clock (and that might be optimistic).

The only consolation for me is that I/O over PCI ends up being my ultimate bottleneck. If AMD did a full-on integration with their infinity fabric, it could actually be a game changer. For me, in my weirdo niche.

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by dragontamer on Monday October 19, 2020 @04:35PM (#24830712)
I'm pretty sure I/O over PCIe is a substantial bottleneck in many applications (which is part of the reason for the 300GB/s POWER9 / OpenCAPI / NVLink / GPUs). Its a shame that NVLink is isolated to pretty much the DGX-line of computers and POWER9 (The "big" ones too, I don't think Talos II supports NVLink). But I guess an interconnect that fast will require dedicated, non-standard hardware.

----------

AMD's GPU Infinity Fabric seems to be a different infinity fabric from their CPU. CPU Infinity Fabric is ~50GB/s, but the GPU Infinity Fabric is GPU-to-GPU links of ~90GB/s.

Realistically, PCIe 4.0 and 5.0 will be the path forward for standard PCs. There will always be incredible application-specific solutions (such as NVLink / NVSwitch on the DGX), but the general computer user will wait for the open standards to support such speeds before adopting them.

At the moment, GPU-to-GPU communications probably will scale better than CPU-to-GPU comms. CPUs just aren't built for the bandwidth (outside of POWER9 / POWER10).

Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by 3np on Monday October 19, 2020 @02:07PM (#24829039)
Re:Nvidia Driver not yet supported for Linux Kernel 5.9 by zamalek on Monday October 19, 2020 @02:11PM (#24829089)
And hopefully AMD has good news on the 28th.