Summary: | [DRI3 IVB/BYT/HSW/BDW Bisected]"sna: Add support for DRI3" causes SynMark2 v5.3.0 OglBatch5/OglDrvCtx performance reduced 20%~40% and WebGL does not work | ||
---|---|---|---|
Product: | xorg | Reporter: | zhoujian <jianx.zhou> |
Component: | Driver/intel | Assignee: | Chris Wilson <chris> |
Status: | VERIFIED FIXED | QA Contact: | Intel GFX Bugs mailing list <intel-gfx-bugs> |
Severity: | major | ||
Priority: | high | CC: | chris, eero.t.tamminen, gordon.jin, lilix.cheng, mengmeng.meng, wendy.wang |
Version: | git | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
zhoujian
2014-06-04 07:48:17 UTC
Found the Xserver also cause by Synmark2_OglBatch5/OglDrvCtx performance reduced,by bisected first bad commit is: 746be5a03ebbda4ab411ca3efb2ed95f99e9ea46 Author: Chris Wilson <chris@chris-wilson.co.uk> AuthorDate: Wed May 28 08:13:59 2014 +0100 Commit: Keith Packard <keithp@keithp.com> CommitDate: Mon Jun 2 13:11:15 2014 -0700 xfree86: Report DRI3 as a built-in module Please use Section "Device" Identifier "Intel" Option "DRI" "2" EndSection for regression testing. I begun looking at OglBatch5 on a hsw i5-4670T and have not seen a differential between dri2/dri3. (In reply to comment #3) I has been added Identifier "Intel"/Option "DRI" "2" in xorg.conf file,it can be fixed this bug. (In reply to comment #4) > I begun looking at OglBatch5 on a hsw i5-4670T and have not seen a > differential between dri2/dri3. Are you running test in fullscreen & native resolution, or not? This issue might show up only in fullscreen. Because Batch5 is partly CPU bound, you may need also same kernel version. Btw. How do you verify that 3D program uses DRI3? I'm currently using Gdb over ssh to do that checking [1], but it would be nice to have some more convenient way. [1] E.g. in Ubuntu 14.04 (Xorg 1.15.1 with present and dri3 extensions, kernel 3.13) with Mesa & xf86-video-intel from this week that are built with DRI3 support, aren't enough to get DRI3. With Gdb one can see that dri3_create_screen returns NULL and you get dri2 buffer swaps. There are many SynMark2_v5_3_0 cases reduced 20%~40% on HSW-GT3e. The bisected commits also blocked WebGL testing(disable WebGL in chrome). The issues still exists on 2014Q3 as below: Mesa: (10.3)9f67c26d1b424b8f3d86b5435c8f74d0a81eb86d Kernel: 3.16.2 Xf86_video_intel: (master)2.99.914 Libdrm: (master)libdrm-2.4.56 Libva: (master) 1.4.0.pre1 vaapi-intel-driver: (master) 1.4.0.pre1 Cairo: 1.12.16 Xserver: (server-1.16-branch)xorg-server-1.16.0 With Keith's patch:http://lists.freedesktop.org/archives/dri-devel/2014-July/062842.html can fixed performance issue. Test DRI3 on BDW GT2 configuration using latest GFX SW Stack(2014-11-05), which included Keith's quad buffer patch(which was merged into Mesa on 9-30 as commit f7a355556ef5fe23056299a77414f9ad8b5e5a1d) From the test result,SynMark2 v5.3.0 OglBatch5 performance values recover to good values, SynMarkDrvCtx show 30% worse than DRI2 environment, and keep this issue tracked another Bug ID: https://bugs.freedesktop.org/show_bug.cgi?id=79715 Close this bug as fixed. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.