Valve Finds Value In Open-Source Drivers; L4D2 Running On Mesa

Published on August 29, 2012
Written by Michael Larabel
Page 2 of 3
Discuss This Article

Valve has granted these Intel Linux developers complete access to the game's source-code, including the Source Engine. This has allowed Intel's Linux developers to better investigate possible optimizations and tweaks to their driver in order to enhance Source-powered games. Valve has even given them commit access to push back changes to the game company.

Intel developers are able to push changes into a Perforce tree that Valve uses. With the source code access, Intel developers fixed context creation, a texture sampling bug, and other issues for Valve's closed-source game. Having complete source access, Eric describes this Valve Linux experience as being the best video game debugging interation ever.

While these Intel developers are happy looking at the Source Engine code, Valve Linux developers have also been happy looking at an open-source graphics driver. Valve Linux developers found it equally thrilling that now when hitting a bottleneck in their game or looking for areas for performance optimizations, they are simply able to look into Intel's open-source Linux graphics driver to understand how an operation is handled by the hardware, tossing some extra debugging statements into the Intel driver to see what's happening, and making other driver tweaks.

As shared in the Valve L4D2 presentation slides from their OpenGL SIGGRAPH session in August, the Source Engine is using some abstraction with an API similar to Direct3D for ultimately targeting OpenGL. Eric added during the session that Valve is currently targeting OpenGL 3.2 with its core API and not the compatibility API.

Anholt admitted that Valve has reached performance parity on another driver (the NVIDIA Linux blob -- see How Valve Made L4D2 Faster On Linux Than Windows) but they haven't yet hit a performance parity with the Intel graphics driver on Linux. This though isn't exactly a surprise, since the Intel Linux graphics driver is generally much slower than the Intel Windows driver, as illustrated this morning in the OS X vs. Windows vs. Linux benchmarks.

Besides not yet being at a performance parity, there's also one rendering bug left with the Intel Mesa driver -- there's some blue textures in Left 4 Dead 2.

Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Hot Relocation HDD To SSD Support For Btrfs
  2. Phoronix Test Suite 4.6.0 "Utsira" Released
  3. New Intel X.Org Driver Supports All Of Haswell
  4. SQLite Now Faster With Memory Mapped I/O
  5. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  6. Qt For Tizen Launches, Based On Qt 5.1
  7. KTAP Released For Linux Kernel Dynamic Tracing
  8. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  9. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  10. Handbrake 0.9.9 Supports OpenCL Offloading
  11. Freedreno Gallium3D Now Banging The Adreno A3XX
Latest Forum Talk
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. Jolla Announces Their First Phone
  3. DragonFly 3.4 vs FreeBSD 9.1 on phoronix test...
  4. The Cost Of Ubuntu Disk Encryption
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Will Unreal Engine 4 Games Come To Linux?
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite