News for hackers. Stuff that matters.
Re:AMD is determined to gets its rightful datacenter share by nominated1 on Friday March 06, 2020 @12:43PM (#22505578)
My biggest concern when considering AMD on Linux is drivers. I see in my feeds Phoronix is constantly reporting on updates to recent kernels. However, most of these power management, etc equivalent features have been available for years from Intel.

How are people finding AMD hardware in the real world wrt Linux on say 4.19 or 5.4 kernels?

Re:AMD is determined to gets its rightful datacenter share by jchw on Friday March 06, 2020 @01:12PM (#22505834)
I run Ryzen on Linux 5.5 on my desktop workstation at home. Admittedly I am always running the latest kernel as long as I reboot often enough, but it has been good. I also use an AMD GPU, and that has been very nice. Intel probably still has an edge on supporting the Linux graphics stack but not by much, and AMD GPUs have a lot more muscle, so it’s not a bad trade off imo. Anything to avoid NVIDIA really.

(To those who love NVIDIA on Linux: I get it. However, Linux needs to move on from X11 and the old, broken, fragmented graphics driver “model.” NVIDIA will always be a second class citizen on Wayland until they change their tune regarding open source. But hey, maybe they’re OK with losing Linux and Mac users, and if that’s their position I’m perfectly happy losing them.)

Re:AMD is determined to gets its rightful datacenter share by gowld on Friday March 06, 2020 @02:34PM (#22506501)
Do AMD GPUs work well with ML drivers (CUDA and competitors)? Are higher-level drivers like PyTorch and TensorFlow compatible (and optimized, or else no point buying an expensive GPU to get only half-performance) with AMD backends?
Re:AMD is determined to gets its rightful datacenter share by slavik81 on Friday March 06, 2020 @05:20PM (#22507883)
It's far better today than it used to be, but it's still a work in progress. Over the past year or two, they've been doing a lot of hiring to bring ROCm HIP up to par as a CUDA competitor.

I wasn't exactly thrilled to see yet another GPU interface, but they seem to be trying to match the CUDA way of doing things. That ought to make supporting AMD much easier than it once was.

Re:AMD is determined to gets its rightful datacenter share by fnbr on Friday March 06, 2020 @03:47PM (#22507159)
In general, no. The highest performance software only runs on Nvidia GPUs (or internal hardware, like Google’s TPUs).
Re:AMD is determined to gets its rightful datacenter share by Josephineus on Sunday March 08, 2020 @03:29AM (#22516803)
I think this depends very much on what exactly you mean by "highest performance software". Some frameworks have upstreamed support for ROCm. A few of my colleagues have been doing some testing and mentioned to me they were reasonably impressed with performance on newer hardware.
Re:AMD is determined to gets its rightful datacenter share by jchw on Friday March 06, 2020 @03:30PM (#22507035)
My current impression is that AMD is not the best option for ML but is getting better over time. So YMMV. That said, I do not use my local machine for ML (and don’t do ML in any serious capacity.)
Re:AMD is determined to gets its rightful datacenter share by lostmsu on Friday March 06, 2020 @03:17PM (#22506910)
TensorFlow works with AMD's CUDA alternative named ROCm. You'd need to check installation instructions though.
Re:AMD is determined to gets its rightful datacenter share by jamesblonde on Friday March 06, 2020 @04:59PM (#22507733)
Yes, ROCm is upstreamed into Tensorflow. On our Hopsworks platform, you can run the same TensorFlow code on either ROCm or Cuda. No code changes needed:

https://www.logicalclocks.com/blog/welcoming-amd-rocm-to-hop...

Performance ain't so bad on AMD GPUs anymore - and none of the EULA crap. Just buy a Vega R7 for 500 bucks and get 16 GB of memory and the performance of close to a 2080 Ti (for convnets, at least) - but with no data center restrictions:

https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/...

Re:AMD is determined to gets its rightful datacenter share by yangikan on Friday March 06, 2020 @08:21PM (#22509034)
How about Pytorch?
Re:AMD is determined to gets its rightful datacenter share by jamesblonde on Saturday March 07, 2020 @12:31AM (#22509962)
You have to compile it yourself, which sucks. For some reason PyTorch aren't agreeing to upstream ROCm, yet.
Re:AMD is determined to gets its rightful datacenter share by bgorman on Saturday March 07, 2020 @02:56AM (#22510456)
You don't need to compile it, AMD provides docker images.

For example I was able to run fast.ai/pytorch oh my amd gpu https://github.com/briangorman/fastai_rocm_docker

Re:AMD is determined to gets its rightful datacenter share by core-questions on Friday March 06, 2020 @01:47PM (#22506130)
> NVIDIA will always be a second class citizen on Wayland

More like Wayland will always be a second class citizen on machines with NVIDIA cards.

Re:AMD is determined to gets its rightful datacenter share by jchw on Friday March 06, 2020 @02:07PM (#22506285)
They are the only such graphics vendor, but sure. Either way NVIDIA users lose.
Re:AMD is determined to gets its rightful datacenter share by mottosso on Friday March 06, 2020 @04:39PM (#22507579)
Or is it Wayland users that lose? On which side will the coin land? :)
Re:AMD is determined to gets its rightful datacenter share by jchw on Friday March 06, 2020 @04:49PM (#22507657)
The coin landed long enough that you can’t even see it under the dust. Xorg is effectively unmaintained aside from Xwayland. If you had hopes of Wayland disappearing, you can safely end them now.
Re:AMD is determined to gets its rightful datacenter share by core-questions on Tuesday March 10, 2020 @12:58AM (#22532855)
I don't have hopes of that, I'm just waiting for the dust to eventually settle so we can just use it and stop waiting for it.

Do you know if Ubuntu 20.04 will be using it by default?

Re:AMD is determined to gets its rightful datacenter share by asguy on Friday March 06, 2020 @01:01PM (#22505731)
It's great. I've been using an EPYC 7401P as a primary workstation/build server for < 3 years, things have all been working great. I'm on Debian/testing, and I upgrade once a week or so.

I have a bunch of VMs on it, multiple-GPUs, and a bunch of disks. It does exactly what I want, and I'll be upgrading things next year or so.

Re:AMD is determined to gets its rightful datacenter share by UI_at_80x24 on Friday March 06, 2020 @01:30PM (#22505981)
Linux on ThreadRipper 1950 has run great since launch.

From the other side of the FOSS isle I can report that I have had zero issues under FreeBSD with: 1600X, 2700, Epyc 7002

FreeBSD & Linux both handle the Rx580 line of video cards without a problem. (including 4k@60Hz)

Re:AMD is determined to gets its rightful datacenter share by arendtio on Friday March 06, 2020 @03:38PM (#22507098)
I am quite happy with my AMD Radeon RX 460 running Arch Linux with a 5.5.7 kernel. It has significantly more power than the embedded Intel GPU I have in the same system but doesn't require a fan either (the PC is completely fanless).
Re:AMD is determined to gets its rightful datacenter share by PureParadigm on Friday March 06, 2020 @12:57PM (#22505693)
I've been running Arch Linux on my 3900X with no major issues. It took a couple of updates before the temperature sensing worked, but right now everything works perfectly.
Re:AMD is determined to gets its rightful datacenter share by morning_gelato on Friday March 06, 2020 @01:11PM (#22505816)
The sad part is that AMD seemingly does not want temperature sensors to work on Linux. All progress on sensor support has been from the community (namely Guenter Roeck) using leaked information, and AMD has been plugging some of those leaks[1]. It's not clear to me why AMD does not add this support themselves, Intel has no problem adding temperature support so I don't think there's much to gain by trying to keep it a secret.

> Guenter Roeck: The information is available from AMD under NDA, which is why Windows tools like HwINFO support it. The added Linux support was largely possible due to what I am sure are unintentional leaks by AMD, mostly in AMD's Linux kernel graphics code. Unfortunately, they learned; the latest version of their graphics code include files no longer provides temperature sensor addresses for Zen2.

[1] https://www.phoronix.com/forums/forum/hardware/processors-me...

Re:AMD is determined to gets its rightful datacenter share by toohotatopic on Friday March 06, 2020 @02:20PM (#22506383)
Maybe it's Microsoft that doesn't want AMD to reveal the sensor addresses and it's AMD that wants to sell processors for the next Xbox ...
Re:AMD is determined to gets its rightful datacenter share by lostmsu on Friday March 06, 2020 @03:19PM (#22506926)
Why would Microsoft care? O-o
Re:AMD is determined to gets its rightful datacenter share by MertsA on Saturday March 07, 2020 @01:26AM (#22510142)
Right now I'm battling the rough edges around the RX 5500 XT support. If you try and use 3 monitors it reliably crashes. You can kind of make it work by manually setting monitors.xml to a low resolution on them or a low refresh rate before you add the third monitor, but that only seems to work if you add the monitor at runtime. I copied the same monitors.xml for gdm as well so no clue what during initialization seems to be crashing it only if it's during boot. I've tried all the way up to DRM-next, mesa-git, latest linux-firmware and so far I'm stuck with 2 out of 3 screens.

I've also got a new 3700X and that's been completely stable.

Re:AMD is determined to gets its rightful datacenter share by Glyptodon on Friday March 06, 2020 @03:22PM (#22506955)
So this is obviously non-server:

If you use their integrated graphics (as on laptops, etc.) there are sometimes driver hiccups (for example, sometimes a feature that's discrete GPU specific will be problematic with the integrated graphics but enabled by default), or slowness to shut down.

Besides that, of the three Ryzen machines I use regularly they're all fine daily drivers, but sometimes have fixable boot/kernel configuration oddities that vary by kernel release.

Based on this, I'd stay away from 2000 series with integrated graphics, but otherwise am pretty comfortable with the platform.

Re:AMD is determined to gets its rightful datacenter share by gentleman11 on Friday March 06, 2020 @04:13PM (#22507355)
My desktop with a ryzen is more stable than it was with my previous i5: no bootup / boot down systemD delays that take 2 minutes to time out. No issues with vagrant / virtual box either
Re:AMD is determined to gets its rightful datacenter share by ben-schaaf on Saturday March 07, 2020 @12:54AM (#22510045)
Bought a 1600x a couple months after launch (along with an rx580). Other than temperature sensors everything worked beautifully out of the box with a standard ubuntu install. Since then my work has bought a 2990wx and multiple 3950x's all mostly without issues (wifi only works on newer kernels on some x570 motherboards, but an upgrade to ubuntu 19.10 fixes this).
Re:AMD is determined to gets its rightful datacenter share by montecarl on Friday March 06, 2020 @12:59PM (#22505712)
I don't have any Epyc hardware, but Linux 5.0 and 5.3 have worked great with my Ryzen 3 1200 and Ryzen 7 3700X, using Ubuntu 18.04.
Re:AMD is determined to gets its rightful datacenter share by gameswithgo on Friday March 06, 2020 @12:48PM (#22505615)
I have a 3900x that I have used with the latest ubuntu and now popos. No stability issues at all, performance is great.
Re:AMD is determined to gets its rightful datacenter share by kevin_thibedeau on Friday March 06, 2020 @01:14PM (#22505848)
Works fine for me. Only issue is that the Picasso video driver isn't in 4.19 shipping with Debian 10. Text mode works though, so it is easy to build and install the latest kernel.
Re:AMD is determined to gets its rightful datacenter share by tremon on Friday March 06, 2020 @01:33PM (#22506008)
Text mode works though, so it is easy to build and install the latest kernel.

No building necessary BTW, just use the 5.4 kernel from backports.

Re:AMD is determined to gets its rightful datacenter share by blindfolded_go on Saturday March 07, 2020 @01:31PM (#22513130)
I am using a Thinkpad with a Ryzen 5 Pro 3500U. Has been completely trouble-free for me on 5.4+ and this is easily the best Linux laptop I have ever owned.
Re:AMD is determined to gets its rightful datacenter share by Avamander on Friday March 06, 2020 @06:01PM (#22508177)
I have an Ryzen 9 3900x with an AMD GPU, I haven't manually installed any drivers and everything I use it for (web, compiling, videos), works.
Re:AMD is determined to gets its rightful datacenter share by nwallin on Friday March 06, 2020 @10:08PM (#22509466)
I have a 3700x desktop and have no issues with it. I have a $200 AMD APU netbook and it's fine. Slow, but I got the performance I paid for.
Re:AMD is determined to gets its rightful datacenter share by pjmlp on Saturday March 07, 2020 @02:49AM (#22510424)
On laptops the open source driver experience still fails short of the fxglr capabilities.
Re:AMD is determined to gets its rightful datacenter share by brnt on Friday March 06, 2020 @01:14PM (#22505843)
Not sure which kernel is in Ubuntu 18.04, but my 1300X has been nothing but rock steady.