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 Benchmarking Platform
Phoromatic Test Orchestration

Libpciaccess Ported To Windows To Help Nouveau

Nouveau

Published on 28 January 2014 01:04 PM EST
Written by Michael Larabel in Nouveau
3 Comments

The generic PCI access library (libpciaccess) used on Linux and other POSIX platforms by the X.Org Server and other components has now been ported to Windows via Cygwin. This porting to Windows was done to help in the Nouveau open-source NVIDIA reverse-engineering process.

Samuel Pitoiset is the former Google Summer of Code developer on the Nouveau project that was working on basic compute support as part of his broader project for Nouveau to support performance counters and provide an open-source NVPerfKit for Linux.

NVIDIA's NVPerfKit performance tools are Windows-only so Samuel Pitoiset ended up having to do some reverse-engineering work on Windows for understanding the NVIDIA hardware counters. The tool used by Nouveau for reverse-engineer, EnvyTools, depends upon libpciaccess for interfacing with the graphics card. So in turn he ported libpciaccess to Windows/Cygwin to run the Nouveau EnvyTools reverse-engineering programs on Windows.

This work was successful in helping him understand the performance counters on the NVIDIA Tesla. The Windows/Cygwin support uses the WinIO library and has now been merged to master in upstream libpciaccess. More details on this work can be found via Samuel's blog post.

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 News
  1. Yet Another OpenGL 4.5 Extension Is Nearing Completion In Mesa
  2. Xfce's Power Manager Is Finally Ported To GTK3
  3. The CompuLab Fitlet Is A Neat Little Linux PC With AMD SoC
  4. AMD & Others Are Working On The LLVM SPIR-V Converter
  5. Linux 4.1-rc5 Kernel Released
  6. Mesa 10.5.6 Brings Fixes All Over The Place
  7. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  8. The Latest Linux Kernel Git Code Fixes The EXT4 RAID0 Corruption Problem
  9. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  10. Ubuntu's LXD vs. KVM For The Linux Cloud
Latest Articles & Reviews
  1. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  2. The Latest Features For Linux Performance Management + Benchmark Monitoring
  3. Noctua NH-U12DX i4 + NF-F12
  4. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. The Linux 4.0 EXT4 RAID Corruption Bug Has Been Uncovered
  3. Microsoft Open-Sources The Windows Communication Foundation
  4. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  5. Systemd 220 Has Finally Been Released
  6. Another HTTPS Vulnerability Rattles The Internet
  7. LibreOffice 5.0 Open-Source Office Suite Has Been Branched
  8. LibreOffice 5.0 Beta 1 Released