News for hackers. Stuff that matters.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Tuesday October 24, 2017 @11:12PM (#15547144)
AMD is a clear winner now on Linux. Nvidia will become an underdog, if they won't open source and upstream their driver, which is very unlikely. Nvidia was and will be plagued by integration issues, while AMD already nearly caught up performance wise, and will overtake Nvidia soon enough.
Re:AMD Announces 307% Increase in Q3 Earnings by sliken on Wednesday October 25, 2017 @03:02AM (#15548081)
I've heard this annually or so for 5 years or so. Yet whenever I look at a benchmark of linux games about half of them don't work on AMD GPUs.

Similar for the steam statistics on linux, AMD just doesn't compete on anything that pushes the GPU on linux. Even things like vlc, mplayer, plex, and friends often get the AMD GPUs in a wonky mode.

The problems I most often see is new windows fail to map, I just get a black window. Presumably something to do with memory allocations of the backing store. It's also frequently munges the console so I can't get to text mode to unwedge the AMD GPU.

So generally if you what a stable linux box I'd recommend nvidia or intel GPUs. Things just work, you can easily have month long uptimes, and things don't freak just because you are playing 1080P video full screen. No pixel droppings, no failing to map, console always works, etc.

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @03:07AM (#15548096)
> Yet whenever I look at a benchmark of linux games about half of them don't work on AMD GPUs.

Not sure what you looked at, but I see quite a rapid progress of bug fixes: https://www.gamingonlinux.com/wiki/Mesa_Broken

Never had problems with vlc or mpv on AMD. It works just fine with vaapi. If anything munges the console, it's Nvidia blob which doesn't even support framebuffer.

Also, it sounds like you aren't using Mesa, but use AMD closed stack instead. Don't do that. In short, if you want a stable experience - AMD is way ahead of Nvidia.

Re:AMD Announces 307% Increase in Q3 Earnings by MrRadar on Wednesday October 25, 2017 @07:26AM (#15549165)
> Also, it sounds like you aren't using Mesa, but use AMD closed stack instead. Don't do that.

This is true, but needs a caveat: a lot of work has gone into improving Mesa and the rest of the Linux graphics stack recently and it's now pretty much caught up (performance-wise) to the proprietary AMD drivers. However, that's only happened in the past 6 months or so, so if you're not using a rolling-release distro like Arch or Gentoo you might still be better off with the proprietary drivers until your distro catches up.

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @10:58AM (#15550648)
Most stable distros including Ubuntu have repositories for backports, that provide recent Mesa. So I'd say there is no need to use closed AMD driver at all, unless someone needs full OpenCL or compat profile.
Re:AMD Announces 307% Increase in Q3 Earnings by shaklee3 on Wednesday October 25, 2017 @01:15AM (#15547667)
You should clarify you mean games. Nvidia has the gpgpu market to themselves on Linux, and nobody cares if the driver is open source in that area.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @01:19AM (#15547684)
Yes, I mean games. In GPGPU market AMD is popular as well though. Miners buy Vega GPUs like hot cakes, it even creates a shortage. Also, CUDA lock-in will be undermined by Vulkan becoming the new common basis for compute. And AMD hardware is better for it and has more raw power, there is no question about it.
Re:AMD Announces 307% Increase in Q3 Earnings by Nursie on Wednesday October 25, 2017 @03:46AM (#15548252)
I haven't noticed a Vega shortage, are you sure?

Vega is loud and power-hungry, and expensive The last generation of AMD card was snapped up by miners, I've not heard of it happening with Vega.

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @10:59AM (#15550652)
There was Vega shortage for some time, but now it looks better. Huge demand from miners clearly affects it.
Re:AMD Announces 307% Increase in Q3 Earnings by Nursie on Wednesday October 25, 2017 @02:23PM (#15552682)
AFAICT here in the UK there was a very limited first week release, followed by a restock and since then it's not been an issue.

I am genuinely interested in whether miners are really buying these. Have you any reason to think they are?

I couldn't find much when I looked, beyond speculation about how amazing they might be (but turned out not to be). AFAICT for ethereum you're better off with nVidia 1070s which can cost about 75% as much, have about 75% of the hash rate, and use under 50% of the power.

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @02:26PM (#15552727)
That's what I've heard from others about the shortage reason. I didn't specifically research mining topic.
Re:AMD Announces 307% Increase in Q3 Earnings by wyldfire on Tuesday October 24, 2017 @11:37PM (#15547252)
I've pinned my compute hopes on AMD for about a decade now. They've been able to hang in there performance-wise, but their solutions on linux just haven't been as stable as NVIDIA's. I hope that's changing, but I'm pretty reluctant to believe it.
Re:AMD Announces 307% Increase in Q3 Earnings by danieldk on Wednesday October 25, 2017 @01:59AM (#15547847)
The amdgpu driver really changes that. With NVIDIA you have to choose between an open source driver (nouveau) that has quite some problems or a proprietary driver that does not really integrate well with the rest of the platform. E.g. for a long time you could not use Wayland with the proprietary NVIDIA drivers because they had implemented a different API for device memory allocation (via EGLStreams) [1]. In contrast, AMD is actively contributing to the open source amdgpu driver and builds their proprietary AMDGPU-PRO driver on top of that.

I have recently switched from an NVIDIA Quadro card to an AMD FirePro card. I use GNOME/Wayland and the difference is quite big, with NVIDIA on nouveau, there was regularly flickering (at random moments), artifacts and other problems. The FirePro with the amdgpu driver on the other hand works completely flawless on my machine.

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

Re:AMD Announces 307% Increase in Q3 Earnings by lmm on Wednesday October 25, 2017 @04:52AM (#15548487)
> I have recently switched from an NVIDIA Quadro card to an AMD FirePro card. I use GNOME/Wayland and the difference is quite big, with NVIDIA on nouveau, there was regularly flickering (at random moments), artifacts and other problems.

nouveau was always pretty awful, but the nvidia binary drivers always Just Worked, across many models for many years, whereas with AMD it's always been a crapshoot whether a given card would work properly or not.

The binary drivers always kept up with the important things (indeed they were well ahead of AMD in terms of doing accelerated video decoding on linux via Xvmc and later vaapi, their xinerama integration was always better...). Sure, they don't support Wayland, but that's a solution in search of a problem; if and when there's actual value to be had by using it I have confidence that nvidia will support it.

Re:AMD Announces 307% Increase in Q3 Earnings by Fnoord on Wednesday October 25, 2017 @05:50AM (#15548757)
Just worked? The amount of security advisories for Nvidia kernel module or Nvidia X module are staggering.

X is also insecure from the ground up, that alone is enough incentive to move away from it.

Re:AMD Announces 307% Increase in Q3 Earnings by danieldk on Wednesday October 25, 2017 @06:46AM (#15548984)
they don't support Wayland, but that's a solution in search of a problem

Not

- if you don't want any GUI application to be able to read keystrokes/mouse events/screen grabs of any other GUI application,

- if you want per-display scaling factors,

- if you want a tear-free desktop experience.

Re:AMD Announces 307% Increase in Q3 Earnings by bryanlarsen on Wednesday October 25, 2017 @07:29AM (#15549185)
I'm currently building out a CUDA cluster and I can assure you that Nvidia drivers don't "Just Work"

If AMD is worse, they're failing to clear a pretty low bar.

Re:AMD Announces 307% Increase in Q3 Earnings by guicho271828 on Wednesday October 25, 2017 @08:50AM (#15549579)
I'm on 1070 for DL tasks with the proprietary driver and it segfaults cinnamon every hours, probably when the acceleration for its graphic effects kicks in. It can be restarted though. I know it is due to the driver because every time the kernel gets updated cinnamon keeps failing to restart itself until I restart the entire system. This never happened before switching from Radeon.
Re:AMD Announces 307% Increase in Q3 Earnings by m-p-3 on Tuesday October 24, 2017 @11:53PM (#15547325)
Their new drivers (AMDGPU) are being slowly integrated in the Linux kernel, no closed-source binaries.
Re:AMD Announces 307% Increase in Q3 Earnings by nhaehnle on Wednesday October 25, 2017 @08:06AM (#15549352)
Small correction: the amdgpu driver has been integrated and working in the upstream Linux kernel for many years now.

The one chink recently was the new display code, which was a requirement for Vega (but not for earlier generations), and which was a genuine open sourcing of an existing, Windows-focused code base. That process took longer than one might hope for, but we're clearly over the hump now with it going upstream.

Re:AMD Announces 307% Increase in Q3 Earnings by fgonzag on Wednesday October 25, 2017 @02:16AM (#15547912)
AMDGPU beats Nvidia proprietary blobs on every measure. Stability, Performance (Vega 64s hanging with 1080Ti in some games), ease of installation. Especially now that both the kernel developers and AMD are making a concerted effort to integrate the driver into the kernel.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Tuesday October 24, 2017 @11:48PM (#15547303)
With OpenCL being replaced with Vulkan, things will get in shape.
Re:AMD Announces 307% Increase in Q3 Earnings by unabridged on Wednesday October 25, 2017 @04:02AM (#15548294)
The future of GPU is virtualization (ie where a single gpu can power multiple VMs at almost native performance). When the mining profits start to dwindle, AMD is going to need something to fall back on. They should start putting MxGPU on their consumer cards. Intel already sees the future and has enabled GVT-g on all their integrated GPUs.

AMD had slideshows describing the feature on the new Vegas, but decided to disable it before release. This alone stopped me from building a threadripper + vega machine. Now instead I'm waiting for Intel to add more cores, then I will use their integrated graphics between multiple VMs.

Re:AMD Announces 307% Increase in Q3 Earnings by simik on Wednesday October 25, 2017 @05:12AM (#15548592)
What do you use integrated graphics for on VMs? Genuinely interested, I haven't used VMs beyond web dev and occasionally trying out some new distro of Linux.
Re:AMD Announces 307% Increase in Q3 Earnings by lgbr on Wednesday October 25, 2017 @09:34AM (#15549925)
For those using IOMMU, integrated GPUs are a wonderful way to separate your host machine (which uses the integrated GPU exclusively) and your virtual machine (which uses the dedicated GPU exclusively) such that you can work on a Linux host and game on a Windows guest with (near?) native performance.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @11:59AM (#15551211)
I wonder if AMD will enable SR-IOV for their desktop GPUs.
Re:AMD Announces 307% Increase in Q3 Earnings by snarfy on Wednesday October 25, 2017 @05:14AM (#15548601)
> AMD is a clear winner now on Linux.

It depends what you value. I've consistently bought Nvidia hardware because of the proprietary drivers.

Re:AMD Announces 307% Increase in Q3 Earnings by dvtv75 on Wednesday October 25, 2017 @05:51AM (#15548761)
I had an admittedly very old ATI card that I was using in my Linux box while saving my pennies for a newer Nvidia card. I had to give up on it and use an equally old iMac (2008-ish) because the ATI card was locking up my desktop with ring 0 errors nightly (if I ran something that required the 3D hardware, 2D was fine), and no amount of searching could find the solution. That put me off an AMD GPU. I would love to support something else in the ecosystem, but sadly I just don't have the dollars to waste on new hardware that may not work.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @11:50AM (#15551119)
Until recently, it was a sensible approach for Linux gamers. Today - not anymore. AMD is just better overall.
Re:AMD Announces 307% Increase in Q3 Earnings by aslkdjaslkdj on Wednesday October 25, 2017 @02:06AM (#15547881)
The several dozen people playing AAA games on linux must be thrilled.
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @02:10AM (#15547894)
Your sarcasm is misplaced because you didn't pay attention to the growth of the Linux gaming market. Check contributions to Mesa by Valve, Feral and others.

But more to the point - sure, Linux gamers are quite excited about all the work that's going now into the open graphics stack.

Re:AMD Announces 307% Increase in Q3 Earnings by sliken on Wednesday October 25, 2017 @03:10AM (#15548113)
Amusing that you call it sarcasm. Linux gaming has flatlined at 1% or so for years without any noticeable changes.

I just checked the last steam hardware survey, linux is at 0.60%.

The linux steam hardware has pretty much been a flop. Ubuntu is ditching unity.

I sit in front of linux desktops at home and work. I do occasionally game some under linux. I have a linux phone (which has a linux kernel). But I fully realize it's a niche and feel lucky when any game comes to linux. I don't really see any reason for any real optimism.

Re:AMD Announces 307% Increase in Q3 Earnings by bipson on Wednesday October 25, 2017 @05:05AM (#15548558)
Ubuntu ditching unity has nothing to do with anything, what am I missing?
Re:AMD Announces 307% Increase in Q3 Earnings by jhasse on Wednesday October 25, 2017 @07:59AM (#15549316)
It shows that Canonical doesn't have the money to support the desktop like before and rather focuses on server / IoT instead.
Re:AMD Announces 307% Increase in Q3 Earnings by Lorkki on Wednesday October 25, 2017 @09:48AM (#15550057)
It's much more a sign of their failed mobile strategy, which hinged on UI convergence between the desktop and mobile versions of Ubuntu. With all that gone, pooling their efforts with the rest of the Gnome-using world only makes sense (much of the Unity desktop also consisted of appropriated Gnome components).
Re:AMD Announces 307% Increase in Q3 Earnings by bipson on Wednesday October 25, 2017 @09:51AM (#15550092)
I think your conclusion falls under the term non sequitur. It does not show anything about Canonical's financial incentives or their strategy, your statement is basically stating an assumption what the reason is.

Further I would argue it is irrelevant to the initial argument.

What has Canonical to do with it? Neither "Linux", "Linux Desktop", "Linux Gaming" or "AMD graphics under Linux" are in any way tied solely to Canonical or what Canonical does. Again, am I missing something?

Re:AMD Announces 307% Increase in Q3 Earnings by jhasse on Wednesday October 25, 2017 @10:08AM (#15550224)
> It does not show anything about Canonical's financial incentives or their strategy, your statement is basically stating an assumption what the reason is.

Fair point.

> What has Canonical to do with it? Neither "Linux", "Linux Desktop", "Linux Gaming" or "AMD graphics under Linux" are in any way tied solely to Canonical or what Canonical does. Again, am I missing something?

Ubuntu is the only official supported distribution by Steam and GOG (they also support Linux Mint, but it's based on Ubuntu).

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @10:43AM (#15550517)
RedHat and Valve do way more for Linux gaming than Canonical. So I agree with the above, Canonical's decisions aren't affecting Linux gaming that much.
Re:AMD Announces 307% Increase in Q3 Earnings by jhasse on Thursday October 26, 2017 @03:03AM (#15556930)
If that was the case, why doesn't Valve support Fedora or RHEL/CentOS, but Canonical's Ubuntu?
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Thursday October 26, 2017 @10:01AM (#15558846)
Because Valve assume majority of users are using Ubuntu or derivatives. Which doesn't contradict what I said above. RedHat developers contribute a lot to Mesa. Canonical isn't exactly known to do that.
Re:AMD Announces 307% Increase in Q3 Earnings by jhasse on Thursday October 26, 2017 @10:08AM (#15558904)
If the majority of Linux gamers use Ubuntu, that means that Canonical has something to do with gaming on Linux ;)
Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Thursday October 26, 2017 @01:42PM (#15561214)
Something yes, but not improving it directly. Besides, Ubuntu proper isn't even the most used distro probably. Mint is likely more used.

My point is, those who work on Mesa (OpenGL / Vulkan) and Linux graphics stack have way more direct impact of Linux gaming (they are fixing bugs that affect games, improve performance, add new functionality and so on).

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @03:14AM (#15548132)
> Linux gaming has flatlined at 1% or so for years

You didn't pay attention either. The growth was well described here: http://boilingsteam.com/linux-gaming-in-2016-the-good-the-ba...

And that was last year, since then it only improved. And please, stop using Steam hardware survey for any Linux market estimation. It's useless.

Re:AMD Announces 307% Increase in Q3 Earnings by nl on Wednesday October 25, 2017 @07:00AM (#15549040)
> The growth was well described here: https://boilingsteam.com/linux-gaming-in-2016-the-good-the-b...

That actually says (if you follow the links to try to find the actual claims): The Linux Market share on Steam is about 1%, Mac is about 4%. They are relatively stable around that. But obviously more people join Steam every day.[1]

So... about 1%, using Steam to estimate (not steam hardware though).

[1] https://boilingsteam.com/our-fifth-podcast-with-feral-intera...

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @10:08AM (#15550220)
It's referncing same useless Steam survey for that quote. See above.
Re:AMD Announces 307% Increase in Q3 Earnings by nl on Wednesday October 25, 2017 @04:48PM (#15554121)
Exactly!?

There is no evidence presented anywhere which disproves that. Your claim was that it showed evidence of growth, but if you read it then it turns out it is using the steam survey, and shows no growth in percentage terms at all.

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @08:11PM (#15555379)
The article above showed evidence of growth, read it again.

And there is actual sales data that comes from developers. It's very different from those survey numbers.

Also, since there is no info on methodology of that survey, you can't know even what it means. I've heard from many Linux users, that they never got one while using Steam on Linux, while they got it while using it on Windows for example. It even never comes up in Valve's own SteamOS, so it's clearly not something Valve put a lot of thought in.

So, I'll stand by what I said. Data from that survey is useless as is and should not be applied for any market evaluation.

Re:AMD Announces 307% Increase in Q3 Earnings by nl on Wednesday October 25, 2017 @10:12PM (#15555841)
The article above showed evidence of growth, read it again.

Show me a quote. There is a larger number of titles being published on Linux, but there is nothing about sales or usage.

And there is actual sales data that comes from developers. It's very different from those survey numbers.

In that article or elsewhere? Can you point to it please?

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Wednesday October 25, 2017 @11:53PM (#15556231)
Larger number of titles corresponds to growing demand. That's a natural dependency.

There were several articles with numbers from developers on GOL: https://www.gamingonlinux.com

Search for sales statistics or something of that sort there.

Re:AMD Announces 307% Increase in Q3 Earnings by nl on Thursday October 26, 2017 @05:56AM (#15557572)
So.. not a single quote, number or anything.

The OP's comment "The several dozen people playing AAA games on linux must be thrilled." seems pretty realistic.

Increased number of games is simply because it is close to zero-effort for most game engines to press the button and deploy to Linux Steam. That doesn't mean anyone is actually playing them.

I had a quick look at the GOL site and I didn't see anything obvious claiming growth. Ironically (given the topic of this HN story) I did see this:

Get ready to become a neural detective as 'Observer' is now on Linux, AMD not supported.... I spoke with Aspyr Media, who confirmed to me the team has "currently no plans to support AMD at this time for Observer".[1]

Yet, clearly gaming on Linux will take off any day now... (And this is from someone who runs a Linux desktop computer)

[1] https://www.gamingonlinux.com/articles/get-ready-to-become-a...

Re:AMD Announces 307% Increase in Q3 Earnings by shmerl on Thursday October 26, 2017 @10:03AM (#15558867)
> Increased number of games is simply because it is close to zero-effort for most game engines to press the button and deploy to Linux Steam.

It's far from zero effort. Besides, engines are making Linux support easier, is also driven by demand. But hey, legacy execs would rather talk about how Linux gamers don't buy games, instead of actually making games for Linux.

See https://twitter.com/icculus/status/923201260819550209