1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

NVIDIA Still Working On PRIME/DMA-BUF Contribution

NVIDIA

Published on 15 January 2013 05:04 PM EST
Written by Michael Larabel in NVIDIA
10 Comments

Aaron Plattner at NVIDIA is still working on the open-source "PRIME Helpers" patches for the Linux kernel. This is work towards ultimately better handling PRIME/DMA-BUF for NVIDIA Optimus Technology on Linux.

In early December I wrote about the original PRIME Helper patches courtesy of Plattner at NVIDIA. As written in that earlier article:
NVIDIA still isn't permitted to properly use DMA-BUF for buffer sharing between their binary driver and the open-source graphics drivers for being able to properly support the NVIDIA Optimus technology. GPL-only kernel symbols are blocking NVIDIA from tapping DMA-BUF and there's a few kernel developers who don't want these symbols to be used by NVIDIA's blob.

As the latest on this front concerning proper multi-GPU support under Linux and the drivers being able to cooperate with each other, NVIDIA's Aaron Plattner has put out a set of four patches for PRIME helpers. The patches courtesy of the veteran Linux developer at NVIDIA provide helper functions to abstract core parts of the GEM PRIME import and export functions for video memory management.
Basically these patches allow for replacing GEM PRIME import/export functions -- the functions are common and shared amongst the Nouveau and Radeon DRM drivers -- with a driver's own custom functionality. For now this just leads to eliminating duplicated code between Radeon/Nouveau, but could theoretically allow for NVIDIA's binary driver to implement its own import/export hooks that don't directly rely upon the GPL-only DMA-BUF.

These PRIME Helper patches are currently dependent upon new DMA-BUF code landing for the Linux 3.9 kernel. This latest revision to the patches address some technical comments and concerns that Aaron received from the open-source graphics driver developers. The v3 helper patches can be found on the dri-devel list.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance
  2. More File-System Tests Of The Linux 3.18 Kernel
  3. Using NVIDIA's NVENC On Linux With FFmpeg
  4. There's Talk Again About An "Open To The Core" Ubuntu Laptop
  5. PowerVR SGX Driver Code Gets Leaked
  6. V2 Of KDBUS Published For Linux Kernel Review
  7. VirtualBox 4.3.20 Arrives, Still No Sign Of VirtualBox 4.4
  8. Scientific Linux 6.6 vs. Scientific Linux 7.0 Benchmarks
  9. Qualcomm Looks To Get Into The ARM Server Business
  10. HHVM 3.4 Adds New Features, Support
Latest Forum Discussions
  1. Roadmap to Catalyst 14.10 ?
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Cant get working Kaveri APU - A10-7850k
  4. Debian Developer Resigns From The Systemd Maintainership Team
  5. Script for Fan Speed Control
  6. Debian Init System Coupling Vote Results
  7. The Slides Announcing The New "AMDGPU" Kernel Driver
  8. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support