News for hackers. Stuff that matters.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by broodbucket on Sunday October 11, 2020 @07:57PM (#24750168)
At least on par. That said, the AMD driver on Windows is notoriously crap compared to Nvidia.

I'm hoping AMD's next gen turns out to be competitive with the RTX3000 series for my next GPU for the same reason.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by rayhendricks on Sunday October 11, 2020 @10:00PM (#24750787)
That is really interesting, I haven't had an AMD card for >10 years now and would really like to be rid of Nvidia due to the closed source drivers. How is suspend/resume? Thinking about canceling my pre-order queue with EVGA and getting a 6xxx card.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by ploxiln on Sunday October 11, 2020 @10:17PM (#24750843)
For system integration stuff like suspend/resume, display hotplug and resolution changes, etc, the open-source radeon driver is good, and probably the best option on linux. The 3D accel is not bad (but not as good as nvidia).

However, don't expect a new Radeon GPU to be well supported on day of release, expect 1 kernel release cycle until it basically works, and one more until it has most of the bugs ironed out, and then wait until your favorite distro gets that kernel. So you're looking at 3 to 9 months depending on what distro you use.

I'm personally going to be looking for people selling their RX 5700, to replace my RX 480 ...

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by bipson on Monday October 12, 2020 @06:00AM (#24752903)
Agree mostly, but the best option under Linux seems to be Intel graphics (or at least was until a few years ago) - arguably not beefy enough for some things, but regarding supported features, stability and power consumption the best supported mainstream gpu in the Linux kernel.

Intel simply has no closed source driver for Linux. New hardware is often supported/merged before it is even sold. AMD is trying the same, but not there yet.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by bavell on Monday October 12, 2020 @09:53AM (#24754339)
The Intel i915 driver STILL crashes my system regularly even on the latest kernels... I have a skylake i5-2600k and the iGPU is absolute dogshit. Not sure if it's a hardware or driver issue but it still hasn't been sorted out after all these years.

Typically the entire system will freeze (speakers will continue to play whatever was in the short audio buffer - pretty awful) for 10-15s, then the driver will detect the hang and reboot the iGPU. Happens much more frequently (every ~15m) when using more graphically intense programs. I can't use blender because sometimes when it hangs it won't reset and requires a full reboot.

There are dozens of issues about it and related problems in Intel's drm fork of the kernel [0]. I (finally) posted a bug report about it months ago since it seemed to have gotten worse after 5.4 but never heard back from them.

All this to say - be wary of Intel graphics on linux.

[0] https://gitlab.freedesktop.org/drm/intel/-/issues

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by billyjobob on Monday October 12, 2020 @04:09PM (#24758896)
Ever since kernel 5.7 was released my i7-5500 will not boot. (Well it will boot with “nomodeset” option but then X doesn’t work so not very useful.) It’s still not fixed in 5.9.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by tracker1 on Monday October 12, 2020 @07:12PM (#24760600)
Wouldn't even say that, I've experienced regressions/bugs on intel drivers for laptops a few times.

In general, it's kind of a crapshoot no matter which way you go, and expect pain if the gpu chipset is less than a year old.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Sunday October 11, 2020 @11:21PM (#24751113)
> The 3D accel is not bad (but not as good as nvidia).

How is that? I think Mesa provides state of the art OpenGL and Vulkan support, especially with work on ACO. Nvidia doesn't have any edge in that anymore. They did a few years ago still, but not today.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Sunday October 11, 2020 @11:29PM (#24751144)
Last time i checked (which was about a couple of months ago), Mesa had very primitive support for display lists (most of the time you get a command playback though if you only submit vertex commands it gets converted to VBO - and i think that was added recently-ish) whereas Nvidia's perform optimizations in background threads to convert in the best GPU format, split as necessary to minimum calls and when rendering it performs culling before processing the full list. AMD's Windows drivers also do some of that stuff (though not all).

Mesa does implement a lot of stuff but they do not take much advantage of what the higher level parts of the API allow to optimize rendering. From what i remember until AMD pushed some devs on it, they didn't care about supporting the entire API at all.

Vulkan support is most likely good though.

(EDIT: yes, "display lists are deprecated", but this is irrelevant, the API is there, available and works and works great on Nvidia and still very good on AMD Windows driver and a lot of applications use it - Khronos splitting the API to core/compatibility was a mistake that made everything more complicated than necessary when what they should have done if they wanted a clean API would be to make something new like they eventually did with Vulkan and avoid messing up OpenGL )

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by account42 on Monday October 12, 2020 @07:06AM (#24753226)
> Mesa does implement a lot of stuff but they do not take much advantage of what the higher level parts of the API allow to optimize rendering.

There is always more that could be optimized, especially when it comes to niche use cases, but generally Mesa/radeonsi do a decent job of making things fast.

> yes, "display lists are deprecated", but this is irrelevant, the API is there, available and works and works great on Nvidia and still very good on AMD Windows driver and a lot of applications use it

By "lot of applications" you mean some workstation applications that refuse to upgrade their code. You can still use AMD's closed source driver on Linux if you need optimizations for those. If you don't (and most people won't) then Mesa works extremely well.

> Khronos splitting the API to core/compatibility was a mistake that made everything more complicated than necessary when what they should have done if they wanted a clean API would be to make something new like they eventually did with Vulkan and avoid messing up OpenGL

You could argue for drivers not providing newer features in the compatibility profile (and Mesa did that until recently) but as long as there are customers demanding support for newer features while refusing to move off the older APIs, this is what you will get. I don't think having OpenGL Core and OpenGL Compat sharing some of the API hurt anything here.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Tuesday October 13, 2020 @05:33AM (#24763820)
> There is always more that could be optimized, especially when it comes to niche use cases, but generally Mesa/radeonsi do a decent job of making things fast.

Sure, i didn't dispute that, what i wrote was that Nvidia's drivers are faster in some cases based on code i've actually seen. And they used to be slower until not too long ago in that case too, so it isn't like they aren't improving. But still Nvidia's implementation is faster.

> By "lot of applications" you mean some workstation applications that refuse to upgrade their code. You can still use AMD's closed source driver on Linux if you need optimizations for those. If you don't (and most people won't) then Mesa works extremely well.

I mean games, applications and tools, not workstation applications. Not every application uses the latest and -rarely- greatest version of everything out there nor all applications are always updated - or even under development (especially games). Those that are may have other priorities too.

But why an applications uses some API is irrelevant, the important part is that the API is being used and one implementation is faster than another, showing that that other implementation has room for improvement.

> You could argue for drivers not providing newer features in the compatibility profile (and Mesa did that until recently) but as long as there are customers demanding support for newer features while refusing to move off the older APIs, this is what you will get. I don't think having OpenGL Core and OpenGL Compat sharing some of the API hurt anything here.

My point was that the split itself was a mistake (it isn't like splitting OpenGL into Core and Compatibility was a mandate from heaven -or hell- it was something Khronos came up with) and the hurt was that it make things complicated for a lot of people (e.g. not everyone cares about having the best performance out there - some applications are, e.g., tools that wont even come close to using even a 1% of a GPU's power, but they'd still prefer to rely only on open APIs instead of some proprietary one or some library that may be abandoned next year - code written for OpenGL 1.x 25 years ago can still work fine in modern PCs after all) and split the OpenGL community into two "camps".

This created issues like libraries and tools only supporting one version or the other, tons of bugs and wasted time for "integrating" to Core (or supporting both Compatibility and Core), invalidating a ton of existing knowledge and books (OpenGL being backwards compatible down to 1.0 is very helpful since you can always start at the beginning with something proven and work your way towards more modern functionality in an as-needed basis) and at the end all of that was a huge waste of time since everyone outside Apple decided that Compatibility is necessary - and Apple decided that splitting OpenGL in two halves wasn't enough, so they made everyone's life even harder and came up with a proprietary API all on their own.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Sunday October 11, 2020 @11:30PM (#24751148)
ACO developers will work on OpenGL at some point too. OpenGL in general isn't the case I worry about, as long as it performs sufficiently well. All modern things should be using Vulkan anyway, especially if something requires focus on performance.

And deprecated features? I think there are better things to focus on first optimization wise.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Monday October 12, 2020 @04:57AM (#24752585)
Well, the original comparison was with Nvidia's driver and Nvidia has a much more optimized driver.

Also it is much more practical (and realistic) to have a few devs optimize a handful of API implementations than expect the thousands of devs who work on thousands of applications to do that (also why OpenGL etc isn't going anywhere).

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Monday October 12, 2020 @09:56AM (#24754363)
> Well, the original comparison was with Nvidia's driver and Nvidia has a much more optimized driver.

I wouldn't say that. In all common cases they don't. And as above, deprecated features is the last thing I'd start comparing that on. If you use something deprecated, worrying about performance shouldn't be the case, rather you should worry about rewriting your code.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Tuesday October 13, 2020 @05:23AM (#24763752)
That sounds just like sour grapes :-P "Mesa is as fast as Nvidia" "But they are slower in these cases" "That doesn't count".
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by microcolonel on Sunday October 11, 2020 @10:56PM (#24751014)
At least on the hardware that I've had, it's basically rock-solid in practice. I use it with high-refresh-rate monitors, I've tried FreeSync and that works, it works with all my displays, and recently the older of my GPUs (Radeon Pro WX 7100) finally got audio output over DisplayPort, as the newer of them (Radeon VII), though I never really had any use for that feature.

The acceleration, particularly with RadeonSI and RADV, and particularly as the RADV developers (independents, Valve, and some smaller companies I wish I remembered the names of) have been making massive improvements on the shader compiler side. RADV's own shader compiler (ACO) is noticeably better than the first-party AMD LLVM stack, and RADV is substantially faster than any of the first-party AMD Vulkan drivers for both graphics and compute workloads. I hope ACO in RadeonSI becomes a thing, I think it will be a major improvement.

Message to anyone listening from AMD: maybe look into making ACO your primary target rather than LLVM, it is clearly a better design for your GPUs, it has substantially less overhead, and there's no legal reason it can't be a part of all of your drivers.

As for kernel support, it is often same-day or at least it can access the displays on launch day, provided you have the latest stable kernel. ArchLinux is rarely that far behind a new stable kernel release, so on ArchLinux, same-day support of one form or another, and full support that day or some day soon, is the norm.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Sunday October 11, 2020 @11:19PM (#24751110)
Suspend / resume works fine with my Sapphire Pulse RX 5700 XT.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by m-p-3 on Sunday October 11, 2020 @10:31PM (#24750906)
Is it really crap? I have it and it feels stable and the Crimson UI seems well made. It feels way better than the Catalyst days.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Sunday October 11, 2020 @11:24PM (#24751124)
It is crap enough for me (RX 5700 XT user) to keep a backup of the few previous successful drivers so that when one inevitably breaks things i can roll back to a previous driver.

Some issues i had with a variety of AMD drivers on my current PC from the top of my head: turning on the monitor before the PC would cause the GPU to not realize there is a monitor attached, letting the monitor to go to power save mode would also cause the GPU to think the monitor was lost, settings for display scaling would be lost after every full reboot (full=real reboot, not the fast hibernate based one Win10 do most of the time, you get a full reboot after updates, some installs, etc), random full system hangs when trying to play GPU accelerated video (which is pretty much most videos on web as well as some applications like Microsoft's new XBox Games app), random reboots too, etc.

So i tend to be careful with updating the drivers. Last issue i had wasn't as bad the random hangs/reboots (which fortunately hasn't happened recently) but i simply couldn't launch the crimson UI at all. I had to do a full reset and reinstall of the drivers for it to appear again.

In comparison updating to the latest Nvidia driver when i had an Nvidia GPU (which was since early 2000s to ~2 years ago) was basically a non-issue: i wouldn't even think twice about it as i never had any issue.

And FWIW that was the same on Linux too: i never had issues with Nvidia's drivers there either and performance was more or less the same (at least for OpenGL stuff). But note that i avoid stuff like Wayland, hybrid GPUs, etc like the plague.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by Maken on Monday October 12, 2020 @12:22PM (#24756067)
turning on the monitor before the PC would cause the GPU to not realize there is a monitor attached

I have a similar issue with a Dell display attached to an AMD card. After suspending the PC, the monitor does not detect the PC at the other end of the DP cable, except for Amazon Basic cables which work for some reason. Digital standards are weird.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by thg on Monday October 12, 2020 @02:00PM (#24757327)
I've had all the same problems with my recently bought DisplayPort Monitor (previous ones were all HDMI and worked flawlessly).

The fix for me was switching from Xorg to Wayland. Haven't had a problem since, apart from Steam not liking it all that much.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by simooooo on Monday October 12, 2020 @12:12AM (#24751320)
Interesting you mention this standby issue. I just moved a monitor from an nvidia setup where it had zero issues.

Now when you turn the laptop (with Radeon gfx) on, it requires me to turn the monitor off and on before It is recognised.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by johnchristopher on Monday October 12, 2020 @03:13AM (#24752144)
This back and forth in this thread about nuisances like that is one of the reasons I am definitely sticking up to Intel integrated GPU when running Linux. It's 2020 and stuff like that should be much smoother :-(.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by badsectoracula on Monday October 12, 2020 @04:59AM (#24752602)
Note that in my comment above i was referring to the Windows AMD driver. I haven't used Linux much with this machine (though when i did it had a 50/50 chance to completely hang the system, but i think this was an issue with the kernel and the then-new Zen APUs that was quickly fixed).
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by bipson on Monday October 12, 2020 @06:23AM (#24753019)
I have Lexa PRO in my workstation (Fedora) - Suspend/Resume works so far.

I have an issue though where switching off the monitor for a few days might make the AMD card disabling the outputs and not recognizing the monitor afterwards (I think it is related to the order in which I try to "wake" the monitor) - which I cannot recover from without rebooting the machine.

But this is with a machine never going into suspend or any sleep state - and I can't say if this would be the same with the NVIDIA card. I do not use the NVIDIA card for video output because the proprietary driver would regularly stop showing my desktop - or suddenly any output at all after reboot.

The integrated Intel GPU on my laptop is mostly without issues whatsoever.

On laptops I would still recommend Intel GPUs anyway for power consumption reasons - although AMD APUs are quite interesting and I don't have recent knowledge about how well they compare. The CPU and its ability to lower power consumption under sleep is also relevant there, and this was way better under Intel so far. Unless you need the increase in performance an AMD GPU/APU would offer...

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by ErikBjare on Monday October 12, 2020 @02:54AM (#24752056)
I have a similar issue with Nvidia on Linux. My larger display is slow to start, so I have to rerun xrandr after suspend in order to get it working.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by Agentlien on Sunday October 11, 2020 @11:39PM (#24751176)
I remember the Catalyst days. I used to work for a company which included a pc in the price when selling its software. We unofficially supported people who would run it on their own PC but eventually had to put our foot down and explicitly state that we wouldn't support AMD cards.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by StavrosK on Sunday October 11, 2020 @08:00PM (#24750181)
Hmm, that's a low bar, huh. Is AMD on Linux anywhere close to Nvidia on Windows?
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by megameter on Sunday October 11, 2020 @08:29PM (#24750358)
The thing is, Nvidia also has issues, but their PR game is historically better. Many graphics developers have had experiences with Nvidia support where they run into a strange bug and are instructed to set a magic value to enable a driver hack. AMD drivers have had good and bad periods and hacks of their own, but are usually better behaved in this respect. But it's actually Intel that gets the most praise for adhering to spec, and therefore being a useful baseline. So user perceptions and dev perceptions diverge on what makes the drivers good, actually, and this has shifted with the different generations of APIs too; as we've gone towards a lower level access model, the basic driver functionality has become less focused on performance hacks, but there is a lot of legacy support there to support old games.

We're long past the worst period for Radeon on Linux which was back in the 2000's with "fglrx" - a driver that I never managed to get working. The new stuff will run with some competence.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by DoofusOfDeath on Sunday October 11, 2020 @08:17PM (#24750280)
I recently bought a RX 5700 XT, and installed it on a computer that first ran Linux and then Windows 10.

In Linux, the driver (including audio) seemed very robust, but I didn't find anything like a detailed control panel for the card's graphics features.

On Windows, the AMD-supplied control panel has plenty of knobs and buttons, but the driver itself seems less robust, particularly w.r.t. audio-over-HDMI.

Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by StavrosK on Sunday October 11, 2020 @08:19PM (#24750294)
That's very informative, thanks. I wonder if there's a cli utility on Linux instead...
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Sunday October 11, 2020 @08:32PM (#24750374)
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by ivolimmen on Monday October 12, 2020 @03:10AM (#24752128)
Thanks for the links; I will definitly test those out
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by shmerl on Monday October 12, 2020 @03:24AM (#24752187)
Sure. For some reason they aren't packaged yet in common distros, so that makes them not well known.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by RealStickman_ on Monday October 12, 2020 @12:17AM (#24751336)
Maybe have a look at corectrl, which aims to create a beautiful control panel for graphics cards.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by aorth on Monday October 12, 2020 @01:42AM (#24751714)
What about: is AMD on Linux anywhere close to Intel on Linux? No games, just 3D acceleration for the desktop, bug-free suspend and resume, etc.
Re:The AMD Radeon Graphics Driver Makes Up Roughly 10.5% of ... by KozmoNau7 on Monday October 12, 2020 @05:09AM (#24752657)
Maybe I'm just lucky, but I have not had a single issue on Windows with my RX560. I know AMD/ATI drivers used to be horrible on Windows back in the day, but I really think they've gotten a lot better, I'd say on par with Nvidia's.