Mesa i965 Scenes from a Quiet Revolution

Similar documents
Sony s Open Devices Project. Goals Achievements. What went right? What went wrong? Lessons learned

Official GMS Certification

Java SE 11 Certification Questions Answered

CLOSE ENCOUNTERS OF THE UPSTREAM RESOURCE

Copyright Khronos Group Page 1. Vulkan Overview. June 2015

Releasing and Testing Free Opensource Graphics Drivers: the case of Mesa3D

The Business Value of Open Standards. Michael(tm) Smith

Upstreaming Hardware Enablement

Case study on PhoneGap / Apache Cordova

Building downloadable Sailfish OS and next steps of Jolla with Sailfish 3

We turn hard problems into great software.

Understanding the Open Source Development Model. » The Linux Foundation. November 2011

The More We Get Together... The Islandora Community

Not Your Grandma s

Running Android on the Mainline Graphics Stack. Robert

Hello, my name is Cara Daly, I am the Product Marketing Manager for Polycom Video Content Management Solutions. Today we will be going over the

Speech 2 Part 2 Transcript: The role of DB2 in Web 2.0 and in the IOD World

CASE STUDY REPORT. Jobbio partner with Xtremepush to deliver a highly-intelligent, personalised multi-channel engagement

Vulkan 1.1 March Copyright Khronos Group Page 1

LINUX KERNEL UPDATES FOR AUTOMOTIVE: LESSONS LEARNED

The 21 WORD . That Can Get You More Clients. Ian Brodie

Subject: Top-Paying IT Certificates for 2015 (And Our New Courses)

W3C CASE STUDY. Teamwork on Open Standards Development Speeds Industry Adoption

DEVELOPER DAY MONTRÉAL APRIL Copyright Khronos Group Page 1

The Evolution of Mobile Technology Part 4: Breaking Down Challenges in Open Source Tricks of the Trade

Head-to-head: Which will win for your business?

50 Must-Have Content Ideas for Your Newsletter

Yammer Product Manager Homework: LinkedІn Endorsements

How DocuSign brought product planning to the cloud

3,500. The Developer Division at Microsoft

GET CLOUD EMPOWERED. SEE HOW THE CLOUD CAN TRANSFORM YOUR BUSINESS.

Are you Really Helped by Upstream Kernel Code?

How to Evaluate a Next Generation Mobile Platform

The SD-WAN implementation handbook

Making the case for SD-WAN

W E B S I T E R E - D E S I G N. Case Study. S p a n F l o o r s P v t. L t d. bycentronics Support Website Re-design & Marketing specialists

Bringing Vulkan to VR. Cass Everitt, Oculus

Five Reasons It s Time For Secure Single Sign-On

WebGL Meetup GDC Copyright Khronos Group, Page 1

THOMAS LATOZA SWE 621 FALL 2018 DESIGN ECOSYSTEMS

EMC ACADEMIC ALLIANCE

OPERATIONS CERTIFICATE ENTRANCE EXAM

How To Present Progressive Web Apps To Your Clients

Move Up to an OpenStack Private Cloud and Lose the Vendor Lock-in

Sencha Paris Meetup Switching from Titanium to Sencha Touch: a real life example

KIVY - A Framework for Natural User Interfaces

JANUARY 2018 TABLE OF CONTENTS

Head-to-head: Which will win for your business?

STREAMLINING THE DELIVERY, PROTECTION AND MANAGEMENT OF VIRTUAL DESKTOPS. VMware Workstation and Fusion. A White Paper for IT Professionals

Quick Base Certification Overview

Embedded in 2010: An End to the Entropy? Matt Asay COO, Canonical

A Big Little Hypervisor for IoT Development February 2018

Going to cover; - Why we have SPIR-V - Brief history of SPIR-V - Some of the core required features we wanted - How OpenCL will use SPIR-V - How

A Tale of Continuous Testing

One of the most challenging tasks for today s app developers is to ensure that users are actively engaging with their app.

Duplicate and customize an existing kahoot to fit your needs. Launch and host a kahoot game in your class

Best Practices and Lessons Learned using GitHub for Corporate Open Source Charles Eckel / Cisco DevNet

5 Things to Know About Certification

IT Enterprise Services. Capita Private Cloud. Cloud potential unleashed

Enabling a Richer Multimedia Experience with GPU Compute. Roberto Mijat Visual Computing Marketing Manager

Produced by. Mobile Application Development. Eamonn de Leastar

Introduction to the Direct Rendering Infrastructure

A CONFUSED TESTER IN AGILE WORLD

Open Enterprise & Open Community opensuse & SLE Empowering Each Other. Richard Brown opensuse Chairman

BGP Case Studies. ISP Workshops

REPORT MICROSOFT PATTERNS AND PRACTICES

Media-Ready Network Transcript

Digital Marketing Manager, Marketing Manager, Agency Owner. Bachelors in Marketing, Advertising, Communications, or equivalent experience

Shri Vaishnav Vidyapeeth Vishwavidyalaya, Indore Shri Vaishnav Institute of Information Technology

What Are the 7 Most- Often-Missed Items During a Website Launch?

Version June 2016

SD-WAN. Enabling the Enterprise to Overcome Barriers to Digital Transformation. An IDC InfoBrief Sponsored by Comcast

IOTIVITY AND EMBEDDED LINUX SUPPORT. Kishen Maloor Intel Open Source Technology Center

MOBILE OPERATING SYSTEM TRANSITION Insights and Considerations

<Insert Picture Here> JavaFX 2.0

Keeping up with LTS Linux Kernel Functional Testing on Devices

CASE STUDY IT. Albumprinter Adopting Redgate DLM

Workshop on the IPv6 development in Saudi Arabia 8 February 2009; Riyadh - KSA

Accelerate Your Enterprise Private Cloud Initiative

Build confidence in the cloud Best practice frameworks for cloud security

Khronos Connects Software to Silicon

Mistakes to Avoid when Open Sourcing Proprietary Tech

Russell Doty Red Hat

Gridspace Memo: Conversationally-Aware Conferencing. Datasheet

How To Manually Update Android Apps On Kindle Fire Hd Without Rooting

MILLIONS OF VODAFONE CUSTOMERS ACROSS THE UK NOW ELIGIBLE FOR VODAFONE BROADBAND AND HOME PHONE SERVICES

Quantum, a Data Storage Solutions Leader, Delivers Responsive HTML5-Based Documentation Centers Using MadCap Flare

CLU: Open Source API for OpenCL Prototyping

QMS ISO 9001:2015 CERTIFIED COMPANY Software Testing TRAINING.

webdriver selenium 08FE064A22BF82F5A04B63153DCF68BB Webdriver Selenium 1 / 6

MSI Sakib - Blogger, SEO Researcher and Internet Marketer

SECURITY AUTOMATION BEST PRACTICES. A Guide on Making Your Security Team Successful with Automation SECURITY AUTOMATION BEST PRACTICES - 1

UKEF UK Export Finance. Transformation with the Microsoft Cloud

Service Delivery Platform

AN ISO 9001:2008 CERTIFIED COMPANY. Software Testing TRAINING.

INFER ACCELERATES GROWTH WITH NITRO CLOUD

An Introduction to Android. Jason Chen Developer Advocate Google I/O 2008

Cypress Adopts Questa Formal Apps to Create Pristine IP

COMPUTING FUNDAMENTALS I

SaaS Providers. ThousandEyes for. Summary

Transcription:

Mesa i965 Scenes from a Quiet Revolution Kaveh Nasri Director of 3D User Space Graphics Open Source Technology Center Intel Corporation Sep 21, 2017 X.Org Developer's Conference 2017 https://www.x.org/wiki/events/xdc2017/ https://kavehnasri.com/

Welcome to the Your Revolution! My Role: Manager of Intel s Mesa i965 team since 2011 My Talk today: Overview of the past State of the present driver Challenges of the future https://01.org/linuxgraphics 2

A Little History 1993: Mesa created by Brian Paul 2006: Intel started contributing to the Kernel i915 and Mesa projects aiming to support for OpenGL on Intel graphics for all Linux distributions 2011: Chrome OS launched with Mesa 2013: Steam OS launched with Mesa i965 on Intel graphics 2013: Day-1 Khronos certification on OpenGL ES 3.0 2015: Day-1 Khronos certification on Vulkan 1.0 2017: Yun OS 6 shipped with Mesa i965 2017: RadeonSI certified for OpenGL 4.5, picked up by Steam OS Feb 2017: Khronos certification of Mesa i965 for OpenGL 4.5, rounding out the Triple Crown of 3D computing with OpenGL ES 3.2 & Vulkan 1.0 3

Secret Revealed: Real Reason To Capture The Triple Crown of 3D computing We really like playing games Advanced Games The more advanced the better Play it on your phone, but it s not an app New Game Called: Just Like Mesa! 4

The Rules for playing Just Like Mesa 1. 2. 3. Need: Your favorite GPU vendor who only supplies closed source drivers Get them on the phone for a conference call Ask questions, appended with Just Like Mesa. 5

Question #1 Dear GPU Vendor: Could you please provide your entire source code in a living project in an open repo.. Just like Mesa? 6

Question #2 Dear GPU Vendor: Could you please license your code in a way that I can modify it in any way I wish, and have the choice of upstreaming or not upstreaming my patches.. Just like Mesa? 7

Question #3 Dear GPU Vendor: Could you please provide over 10 years of backward compatibility with any platform I d like to use, on the latest source code base.. Just like Mesa? 8

Question #4 Dear GPU Vendor: Could you please provide a regression-free master branch that I can use for releases at my own schedule, instead of waiting for you to make official releases.. Just like Mesa? 9

Question #5 Dear GPU Vendor: Could you please give me a complete transcript of discussions among all your developers on new features, improvements, and bug fixes in a fully searchable archive.. Just like Mesa? 10

Question #6 Dear GPU Vendor: Could you please provide drivers certified for the latest versions of all three 3D APIs from Khronos, and not just 1 or 2.. Just like Mesa? 11

Question #7 - My Favorite Dear GPU Vendor: Could you please provide a user mode source code base that can work on any version of the kernel and can be integrated into any Linux-based OS without modification.. Just like Mesa? 12

Thank you for Playing and Remember Everybody s a winner when you play... Just like Mesa! 13

Success Factors Years of community support from contributors to early users to OS vendors Perseverance and maniacal focus to make Mesa the best driver it could be Major productivity boost through Continuous Integration The Positive Feedback Loop: Better master branch quality speeded up delivery of features to users Latest improvements allowed advanced apps to run on more platforms More people gained confidence in using a fully open stack Stacks using Mesa advanced rapidly Demand for the use of Mesa kept mushrooming, letting us increase our investment in more features and better quality Quote: Gerard Abrams 14

Inside the Revolution: Lessons Learned 1. 2. 3. 4. 5. 6. Clarity of goals: Baseline of productivity Alignment of upstream and business objective: Essential to investment Open source methodology: Eliminating collaboration barriers Backward compatibility: Big net positive Continuous integration: Secret efficiency weapon Cohesive team: Overcomes all obstacles 15 Image credit: https://myprobetothink.wordpress.com/tag/think/

Clarity of Goals: Standard APIs Great for app developers Also very helpful to driver writers Avoids spec confusion presenting extra challenges for similarly large software projects without an industry spec Image Credit: http://i.huffpost.com/gen/1107790/images/o-clarity-facebook.jpg 16

Alignment of Upstream and Internal Business Goals Open source processes allow multiple companies to share the cost of development and productization, delivering great ROI for each Critical mass of commercial investment is required to be successful Efficiency is not enough, business goals needs to be met to justify corporate investment Without substantial corporate investment, Mesa would lack critical mass and would be back to the low development speeds of the past. Our pragmatic and business-savvy developers understand this, and have helped ensure continual alignment 17 Image credit: http://duiops.net/seresvivos/

Open Collaboration w/ partners and customers GPU-agnostic code is shared among all drivers Everyone knows exactly what driver developers know Progress on features Bugs Anyone can contribute features The wheel is invented once, used by everyone Or make their own private branch if they wish Option of zero-turnaround-time for bugs Customers can fix the bugs they care about themselves Without bug tickets, phone calls, NDAs, etc. 18

Backward Compatibility: Big Net Positive Carries some extra cost Subcomponents need to consider multiple GPU generations Regressions on old platforms might delay patches that work on new platforms Benefits far outweigh the costs Some features and bug fixes automatically ripple back to the old generations, Makes existing platforms more robust and performant at no extra cost Eliminates need for separate sustaining teams for old releases Developers focused mostly on new features and optimizations Driver for new platform is 90%+ done before the platform is available 19 Image credit: https://www.youtube.com/watch?time_continue=201&v=_swyensj3o4

Continuous Integration: Productivity Turbocharger Confluence of Benefits, resulting in a big win Regression-free master branch Unlimited releases for optimal time-to-market for OS vendors and stack integrators Regression bug fixing time dramatically reduced (usually to negative!) Lifting a major context-switch psychological burden off developers Ensuring that Mesa just works 20 Image credit: https://www.shippable.com/continuous-integration.html

Cohesive Team: Best Antidote for Obstacles Individuals care personally about Mesa s features and quality Closely collaborate with each other and the community Optimal mix of email/irc and in-person collaboration Understand the entire graphics stack, not just Mesa Lightweight and pragmatic management practices Developers drive the project s technical direction Management team provides priorities to align with business goals Oversight and reporting is light, and at high level Clear distinction between upstream and downstream activities Never hired people just to hire people (and yes, we re hiring!) 21 Image credit: https://www.asme.org/career-education/articles/team-building/teaching-teamwork-to-engineers

Now What? Tens of Millions of installed base devices with Mesa Going forward, where can we make the most impact? Here s an idea: What OS out-ships every other OS in the industry? What Linux-based OS has almost no device shipping with an open source graphics stack? 22 Image credit: http://www.kreatit.dk/dk/info/hjaelp

You Are Correct: Android Is the Next Frontier 1.2 Billion devices in 2016* Just getting started Primarily Phones and tablets Android Things Android Automotive Huge opportunity to prove value of open source graphics Faster time to market Flexibility to innovate Lower cost to develop and maintain a full stack Mesa i965 already enabling Google Play Store and Android apps on Chromebooks *Source: Image credit: https://plus.google.com/u/0/+louisgray/posts/aq5mmamcjxe 23 Image credit: https://plus.google.com/u/0/+louisgray/posts/aq5mmamcjxe

Areas of Focus For Success in Android Developers, Lots of Developers! Tools Encourage new developers; Be the project that emerging developers want to join: Blog overviews of the stack for newbies List simple projects to help them get started Take time to answer basic questions on the mailing list and IRC Did I mention we are hiring? Make sure your tools work on Android Develop new tools to speed up stack debugging Especially for performance Android OEMs really care about synthetic benchmark performance Experiment with platforms with open source graphics drivers Experimental stack for all recent Intel platforms: https://01.org/android-ia 24 Image credit: http://www.oftalmologiatrestorres.com/las-dioptrias-que-son-y-como-se-miden/

Thank You For Getting Us Here! Volunteers who contribute time and talent because they believe in Mesa OS Vendors who have invested and supported open source graphics Consulting companies who invest in open source graphics Without which no user mode driver could run Intel & other GPU vendors for investments Even when it seemed hopelessly behind Kernel and kernel graphics community Even when they don t have a paying client Developers who have chosen to devote their careers to Mesa Even when it wasn t as good as is it today And publishing HW specs openly Personal Thanks to the Mesa i965 team My team at Intel Teams at Igalia and Collabora 25 Image credit: http://blog.oxforddictionaries.com/2015/11/thank-you-in-other-languages/

Call To Action Get started page for new Mesa developers: https://01.org/3dcollab If I didn t mention before, we are hiring! My blog on my experiences: https://kavehnasri.com Mesa s Best is Yet to Come! 26 Image credit: http://www.lawyersmutualnc.com/blog/now-is-a-good-time-for-a-malpractice-policy-review

Thank You! 27