Jump to content

Trying The New AMD GPU-PRO Linux Driver On Ubuntu With Vulkan, OpenCL & OpenGL


steven36

Recommended Posts

On Friday night to much surprise, AMD published the beta version of their new hybrid Linux driver stack with Vulkan support alongside OpenCL, OpenGL, and VDPAU support. Here's some more details from my initial testing of this new driver that AMD is currently calling the Radeon Software AMD GPU-PRO Beta Driver for Linux.

 

9fvKk6C.jpg

 

First of all, apologies for the short article yesterday announcing the launch and this piece too will be shorter than normal while I hope to have out the results in the next day or two. With my luck, less than an hour before this new AMD GPU-PRO driver was announced on Friday, my pointer finger crossed paths with a running 6-inch hole saw bit on a drill (as part of working on the server room modifications)... Not fun and while finger is recovering, bit hard to type, etc. Anyhow, for those not following all of our past stories on AMD's new Linux driver model and confused by this "hybrid" driver, AMD's John Bridgman explains it as, "three closed-source components running on top of slightly tweaked copies of open source kernel driver, X driver, libdrm and multimedia drivers." It's the mix of open and closed-source AMD Linux driver components while at the center of it is the open-source AMDGPU kernel DRM driver and the main binary blobs are the OpenGL and Vulkan implementations in user-space.

 

This initial AMD GPU-PRO beta driver is very centric towards Ubuntu and the 64-bit packages are all in the form of Debian packages. The installer script also specifically checks for the presence of Ubuntu. In time, the AMD GPU-PRO driver is expected to be more distribution agnostic. Installing this new driver basically comes down to extracting the archive and then as root running the amdgpu-pro-install script found within the directory. It's that easy -- assuming you are on Ubuntu! At first I was trying an Ubuntu 16.04 daily system with its packaged Xenial kernel. However, even though this packaged AMDGPU binary driver uses DKMS, there is broken compatibility with this kernel driver's code against Linux 4.4. Due to some changes in the DRM kernel interface of Linux 4.4, building the DKMS module failed. This should be fixed by AMD soon as Bridgman noted in the forums, but for now the easy fix was just installing Linux 4.2 on the Ubuntu 16.04 box -- AMD primarily has been testing against Ubuntu 14.04 LTS while Ubuntu 16.04 support is forthcoming. With Ubuntu 15.10 and Ubuntu 14.04.4 LTS using Linux 4.2, I just installed the generic mainline 4.2 kernel from the Ubuntu PPA and this AMD GPU-PRO beta driver installed then without any further problems.

 

After a reboot, sure enough it was working! The binary blob allowed for OpenGL 4.5 over the AMDGPU DRM driver compared to RadeonSI Gallium3D in Mesa currently yielding just OpenGL 4.1. Be forewarned though that AMD has mostly been focusing upon the Vulkan Linux upbringing and haven't done too much yet on the OpenGL optimization side for this new "PRO" driver. That will come in due time but for now don't expect any performance miracles out of this OpenGL implementation in AMD GPU-PRO. OpenGL 4.5 is exposed both for core and compatibility profile contexts.

 

There's also OpenCL 2.0 support that works atop AMDGPU! Much better than the incomplete OpenCL ~1.1 support found with OpenCL (Clover) Gallium3D on RadeonSI. AMD has enabled GCN 1.1 support in their DKMS version of the AMDGPU kernel driver rather than only GCN 1.2 support as currently found in the upstream AMDGPU driver.

 

Similar to the VDPAU (Video Decode and Presentation API for Unix) support offered by RadeonSI Gallium3D with the VDPAU state tracker, there is native VDPAU support too with this driver stack. No more messing around with AMD's poor Linux video acceleration attempt with XvBA.

 

And what many Radeon Linux customers have been waiting weeks to see... Vulkan 1.0 support! It's there and working!

 

The AMD-GPU PRO stack works with The Talos Principle on Steam when switching to the Vulkan renderer, but the very simple "vkcube" Vulkan demo was seg faulting right away...

Well, that's all the basic information on this new Radeon Software AMD GPU-PRO Linux beta release. I'm working on some benchmarks for publishing in the next day or two; while AMD makes it clear they haven't done any OpenGL optimizations yet on this new stack, will run some tests there for reference purposes and with having a surplus of OpenGL benchmarks. Stay tuned for more information soon and join in on the conversation about the new driver stack via this lengthy forum thread.

 

The Source

Link to comment
Share on other sites


  • Views 928
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...