Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mesa mesa
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2,876
    • Issues 2,876
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 902
    • Merge requests 902
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Mesa
  • mesamesa
  • Issues
  • #1658

Closed
Open
Created Sep 25, 2019 by Bugzilla Migration User@bugzilla-migration

4% performance drop in GLB 2.7 Egypt from "Use a 565 format for GL_RGB and GL_UNSIGNED_SHORT_5_6_5 textures"

Submitted by Eero Tamminen

Assigned to Intel 3D Bugs Mailing List

Link to original bug (#103939)

Description

Following commit was bisected (on SKL GT2) to be cause for a performance drop in GLB 2.7 Egypt onscreen and offscreen tests:

commit 18bdf735 Author: Kenneth Graunke kenneth@whitecape.org AuthorDate: Wed Oct 4 01:08:37 2017 -0700 Commit: Kenneth Graunke kenneth@whitecape.org CommitDate: Thu Oct 5 14:30:47 2017 -0700

mesa: Use a 565 format for GL_RGB and GL_UNSIGNED_SHORT_5_6_5 textures.

Found while trying to optimize an application.

Not observed to help performance on i965, but should at least reduce
the memory usage of such textures a bit.

Reviewed-by: Eric Anholt <eric@anholt.net>
Tested-by: Eero Tamminen <eero.t.tamminen@intel.com>

Egypt performance drop is clearly visible on following platforms:

  • 4% on BSW N3050 & SKL GT2 & KBL GT2
  • 2% on BXT J4205 & HSW GT2 & SKL GT4e
  • 2% on BYT N2820 (only offscreen version)

(BSW & BYT have 1-channel memory, others 2-channel.)

On some other platforms the performance also increases, as was expected:

  • 3% on BDW GT3
  • 1% on BDW GT2 & SNB GT2 (only offscreen version)

(Sorry for filing this so late. I had been waiting to see whether blorp rework / texture RBC would affect this, but forgot it. That didn't affect Egypt.)

Version: git

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking