History log of /external/autotest/client/cros/graphics/graphics_utils.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
557946d18d625f8c14e0a1bf6a23d91b17d70f1d 16-Jun-2017 Joe Kniss <djmk@google.com> Implement python screenshots using GBM library.

... so that untiling is no longer handled in python code.

BUG=chromium:653283, b:38152101
TEST=Ran tests that use screenshot.py or crtcScreenShot()

Change-Id: Idb4d4933015d70c35a404a6ef0cbc3fbb664f65c
Reviewed-on: https://chromium-review.googlesource.com/550737
Commit-Ready: Joe Kniss <djmk@google.com>
Tested-by: Joe Kniss <djmk@google.com>
Reviewed-by: Joe Kniss <djmk@google.com>
/external/autotest/client/cros/graphics/graphics_utils.py
94b993e4b76c2498669fc8cec9ef8f3043dc3699 30-Jun-2017 Po-Hsien Wang <pwang@chromium.org> call_xrandr: Delete x11 remnats

Delete call_xrandr from the autotest repo as X11 is no longer support in ChromeOS.

BUG=chromium:655820
TEST=None

Change-Id: I38dad444811a3c3453731e395906e01472d9f3f0
Reviewed-on: https://chromium-review.googlesource.com/557917
Commit-Ready: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Po-Hsien Wang <pwang@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
b6aed51feee1d07fa2465fa3b2fe53cd3f247def 08-Jun-2017 Po-Hsien Wang <pwang@chromium.org> Report failure for most of the graphics_test

Report failures for most of the graphics_test to chrome
perf dashboard for regression detection.

1) Add docstring to graphics_utils.GraphicsTest
2) Add helper function failure_report and failure_report_decorator to GraphicsTest class
to help report failures to chrome perf dashboard if function does not finish executation
normally.
3) Add failure report for following tests
graphics_WebGLAquarium
graphics_GLMark2
graphics_Gbm
graphics_SanAngeles
graphics_WebGLManyPlanetsDeep
graphics_GLAPICheck
graphics_WebGLPerformance
4) Remaining tests to report failures
graphics_GLBench
graphics_WebGLClear
graphics_KernelMemory
graphics_dEQP
graphics_GpuReset
graphics_PerfControl
graphics_VTSwitch
5) Modified tko/perf_upload/perf_dashboard_config.json

BUG=chromium:717664

TEST=[1] test_that graphics_WebGLAquarium
/tmp/test_that_results_YvUmYu/results-1-graphics_WebGLAquarium [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST=[2] test_that graphics_GLMark2
/tmp/test_that_results_IaISZ2/results-1-graphics_GLMark2 [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST=[3] test_that graphics_Gbm
/tmp/test_that_results_Lz1rvI/results-1-graphics_Gbm [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST=[4] test_that graphics_SanAngeles
/tmp/test_that_results_4600Gs/results-1-graphics_SanAngeles [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST=[5] test_that graphics_WebGLManyPlanetsDeep
/tmp/test_that_results_Yw8aAt/results-1-graphics_WebG... [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST=[6] test_that graphics_GLAPICheck
/tmp/test_that_results_lq1ryW/results-1-graphics_GLAP... [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%

TEST=[7] test_that graphics_WebGLPerformance
/tmp/test_that_results_9xQJ3_/results-1-graphics_WebG... [ PASSED ]
---------------------------------------------------------------------------
Total PASS: 2/2 (100%)

TEST= http://jsonlint.com --- Valid JSON

Change-Id: Ic3d33373f7d1903472c3951e7e915c1f1afc5fa6
Reviewed-on: https://chromium-review.googlesource.com/528366
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
461336c81d6c6f16f248d55cdf45c7958a359f60 22-May-2017 Po-Hsien Wang <pwang@chromium.org> Add GraphicsTest base class for graphic tests

1) Wrapper class for graphic_* tests
2) Help tests to instantiate GraphicsStateChecker in
initialize step
3) Help tests to finalize GraphicsStateChecker in cleanup
step
4) Report the Timeout_Reboot status to chrome perf dashboard
5) Report Failures count to chrome perf dashboard

BUG=chromium:717664
TEST=test_that glimmer graphics_Idle
test_that glimmer graphics_Idle.arc
test_that glimmer graphics_LibDRM
test_that glimmer graphics_Sanity
test_that glimmer graphics_Stress
test_that glimmer graphics_Gralloc
reboot while test_that glimmer graphics_Sanity

Change-Id: I992838ea7db87609dd7ea1a69407097054610bf8
Reviewed-on: https://chromium-review.googlesource.com/511223
Commit-Ready: Po-Hsien Wang <pwang@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
71658fcf4c16971e43d51529d9771ada0b7bcc80 03-May-2017 Po-Hsien Wang <pwang@chromium.org> graphics_utils.py: Remove X11 remnants

Remove the X support from there.

BUG=chromium:655820
TEST=test_that

Change-Id: If68944865db9ca4df1973f86279f657029604269
Reviewed-on: https://chromium-review.googlesource.com/493899
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
37f61217c3df4e5ef7688f724fa239598786033f 24-Apr-2017 Po-Hsien Wang <pwang@chromium.org> graphics_dEQP: Fix not exist error for vk-master

1) Check test_names_file to see if the API is supported
2) Delete existing error.TestWarn as they might cause trouble in different system
3) Add a GraphicsApiHelper in graphics_utils.py
4) Change vk-master run frequency

BUG=None
TEST=test_that on veyron_minnie

Change-Id: Ied15ad9ab362e8029e085585d66342d0293889ef
Reviewed-on: https://chromium-review.googlesource.com/486161
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
0b1d88ba975bf1dd60a41a9ef0e9c9dd40d41841 20-Apr-2017 Po-Hsien Wang <pwang@chromium.org> Graphics_WebGLAquarium: relative memory usage

1) Add function get_memory_difference_keyvals to autotest graphics_utils.py.
2) graphics_WebGLAquarium.py report the memory difference instead of the final memory usage.

BUG=chromium:713534
TEST=test_that

Change-Id: Ie2966226809c4c67fb9c1ca93b93fb21e89a9a02
Reviewed-on: https://chromium-review.googlesource.com/483147
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
8a25e3fbab199b040beb5e44876aaf69a8510b3d 11-Nov-2016 Satyajit Sahu <satyajit.sahu@amd.com> [autotest] Add AMD support in get_cpu_soc_family

Add new cpu soc family in "amd" in get_cpu_soc_family.

BUG=None
TEST=Autotest on AMD development board

Change-Id: I45c2dacfe127fdb95b7846c62ace113fe7fd258c
Signed-off-by: Pratik Vishwakarma <Pratik.Vishwakarma@amd.com>
Reviewed-on: https://chromium-review.googlesource.com/401087
Commit-Ready: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
cdffd8d40591d5d9af043368a594282ebef5f7a1 04-Oct-2016 Mao Huang <littlecvr@chromium.org> graphics_utils: add support to 'mediatek' arch

After CL:390317 the platform is now returning 'mediatek' instead of just
'arm'.

BUG=chrome-os-partner:58163
TEST=test_that --board=elm "${DUT_IP}" graphics_KernelMemory

Change-Id: I33ffb66a4b2758411b1ca310cd823a9866185594
Reviewed-on: https://chromium-review.googlesource.com/393546
Commit-Ready: Mao Huang <littlecvr@chromium.org>
Tested-by: Mao Huang <littlecvr@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
f0280df2cd2d90b7f2ae3635e6571afd966904d9 30-Jun-2016 Tom Wai-Hong Tam <waihong@chromium.org> Chameleon: Stabilize the screen before starting measurement

Before starting measurement, it does:
* hide the typing cursor in the url bar;
* wait the pop-up window faded-out.

BUG=b:28885370
TEST=Ran the existing cheets_HBOGOFpsTest.

Change-Id: I66554ce9607dd44830105f5f0158138a27d5f52e
Reviewed-on: https://chromium-review.googlesource.com/357964
Commit-Ready: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-by: Kalin Stoyanov <kalin@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
8cef50ff138ce3679c514fa8a0323acfbb3ea40d 11-May-2016 Ilja H. Friedel <ihf@chromium.org> graphics_utils: disable spew.

This will be needed once nyan becomes freon.

BUG=None.
TEST=None.

Change-Id: I2165ad2ecb252edc0d57fadd14bea765d39beb70
Reviewed-on: https://chromium-review.googlesource.com/344007
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
e7c97f899c73c271abcd7eafa73120864e5da604 25-Mar-2016 Ilja H. Friedel <ihf@chromium.org> graphics_dEQP: add generic way to skip tests.

Use wflinfo to query gles version before running tests.
Refactor graphics_GLAPICheck.

BUG=None.
TEST=Ran graphics_dEQP.gles{2|3|31}.info on alex, daisy and lars.
Ran graphics_GLAPICheck on alex.

Change-Id: Ifaf1e20240152338439c050a4481d2933def9422
Reviewed-on: https://chromium-review.googlesource.com/334872
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5f6574479479892e960f8a4332f6fae375cb66bf 08-Mar-2016 Ilja H. Friedel <ihf@chromium.org> autotest: refactor ARM/mali utils.

1) Distinguish between different mali -> mali-t604.
2) Remove temperature TODO, it is long fixed.

BUG=None.
TEST=test_that <daisy> graphics_dEQP.gles2.performance graphics_GLBench.bvt-cq graphics_Idle

Change-Id: I47568cb3369ab213592855430a647fe6366374c1
Reviewed-on: https://chromium-review.googlesource.com/331334
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
7681de382579f499d3f4acebf18742ed64c0b0df 03-Mar-2016 Chung-yih Wang <cywang@google.com> graphics_utils.py: Fix the hard-coded card index of exynos_gem_objects

This is a workaround for locating correct exynos_gem_objects file.

BUG=chromium:591639
TEST=None

Change-Id: I3951a0cc10941dbea06df33ead0af897239d4144
Signed-off-by: Chung-yih Wang <cywang@google.com>
Reviewed-on: https://chromium-review.googlesource.com/330105
/external/autotest/client/cros/graphics/graphics_utils.py
589baf3ea21617b53ed8fdae6c007f560e1aa2cc 16-Jan-2016 Ilja H. Friedel <ihf@chromium.org> graphics_utils: classify GPU hangs by severity.

This change attempts to classify GPU hangs a bit better.

BUG=chrome-os-partner:48555
TEST=ran glbench on kunimitsu.

Change-Id: I7269742b7e47f841b14eb7b548e698fcc7e646d1
Reviewed-on: https://chromium-review.googlesource.com/322412
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
221346086523e2268dce479d03b22f159a248f2c 07-Jan-2016 Ilja H. Friedel <ihf@chromium.org> graphics_utils: clean up xcommand usage.

BUG=None.
TEST=Ran graphics_GpuReset on kunimitsu.

Change-Id: Id576c40868eac5a28a011e0c15b402d2b23a3539
Reviewed-on: https://chromium-review.googlesource.com/320415
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
a29f1de734e9a2d8ef0dbe555b12fd7d0c76d800 10-Dec-2015 Ilja H. Friedel <ihf@chromium.org> graphics_utils.py: fix get_modetest_crtcs.

When a CRTC gets disabled the fb, and width/height are set to 0.
Lets skip over these.

BUG=chromium:544257
TEST=None.

Change-Id: Ida788b98eafa865e6d5a844641d1efdf0b319c3e
Reviewed-on: https://chromium-review.googlesource.com/317317
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
acc7445181a359079e58978b84edae4f077c3191 30-Oct-2015 Ilja H. Friedel <ihf@chromium.org> graphics_utils: Print stacktrace in xcommand.

To aid killing X usage.

BUG=None.
TEST=None.

Change-Id: I3ba77364976231774a175542ee825e55fc43d3c8
Reviewed-on: https://chromium-review.googlesource.com/309884
Commit-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
262068581a47076817533fa3cd60fdc7b9110b0e 05-Sep-2015 Chin-Huang Lin <chinlin@google.com> Remove two obsolete TODO.

I ran display_Resolution.mirrored test on freon devices (peppy and link)
and non-freon devices (nyan_big and nyan_blaze). I have verified both
screen_toggle_fullscreen() and screen_toggle_mirrored() work correctly.

BUG=None
TEST=Ran display_Resolution.mirrored on peppy, link, nyan_big and
nyan_blaze, and they all passed.

Change-Id: I5cc3e2d762bfd979ea1a6c9199726c0258202858
Reviewed-on: https://chromium-review.googlesource.com/297227
Commit-Ready: Chin-Huang Lin <chinlin@google.com>
Tested-by: Chin-Huang Lin <chinlin@google.com>
Reviewed-by: Yuli Huang <yuli@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
d24bc85e876a2bbd009c5079ac7b1c1386ea2c5a 15-Jul-2015 HS Liao <hs.liao@mediatek.com> autotest (graphics): fix cpuinfo parsing for arm64 kernels

Modifications:
(1) Update the method to get arm arch at get_cpu_arch function.
arm64 kernels do not include a "Hardware" line, nor "model_name" string in their /proc/cpuinfo (see kernel patch [0]). Thus, the string "ARM" does not appear in their cpuinfo.
Instead, the recommended way of identifying an ARM cpu from cpuinfo is to look for "CPU implementer" "0x41".
This works for all ARM platforms: both tradition 32-bit ARMv7-A as well as any future armvX.
(2) Add arm_fields to handle the case of arm arch.

Note, this patch fixes broken identification of arm64 machine as "x86". However, it does not actually fix GPU memory reading for arm64 systems.
Each arm64 system further needs a way of identifying which GPU driver they are using, along with a sysfs entry for reading the consumed GPU memory.
So, the following TODO are left for a later patch:
(1) Add method for identifying Imagination GPU driver
(2) Add method for reading GPU memory for IMG GPU driver

BUG=chrome-os-partner:42628
TEST=test_that -b oak <IP> graphics_GLMark2
TEST=test_that -b oak <IP> graphics_GpuReset
TEST=test_that -b oak <IP> graphics_SanAngeles

Change-Id: I0de05aa0931b0ef3c71d878f199a178d4565e481
Signed-off-by: HS Liao <hs.liao@mediatek.com>
Reviewed-on: https://chromium-review.googlesource.com/285783
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
a39b0548db094d93e141f4283686f405ef8dd6e6 30-Jun-2015 Hung-ying Tyan <tyanh@chromium.org> cros_host: add new 'internal_display' label

for hosts with an internal display. This prevents mirrored display
tests from running against devices without one.

BUG=chromium:429932
TEST=Manual
To test that the label is assigned correctly, modified the contol file
of display_SwitchMode:

def run(machine):
host = hosts.create_host(machine, chameleon_args=chameleon_args)
labels = host.get_labels()
print '\n\n\n'
print labels
Ran the test against both veyron_mickey and link.

Change-Id: Ie3cbc90556c656f15f8cc61d8f583e470e4139c5
Reviewed-on: https://chromium-review.googlesource.com/282690
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Tom Tam <waihong@google.com>
Commit-Queue: Hung-ying Tyan <tyanh@google.com>
/external/autotest/client/cros/graphics/graphics_utils.py
12ece9fd9fb6cde0dea40edc82d4d59427a9e161 22-Jun-2015 Hung-ying Tyan <tyanh@chromium.org> graphics_utils: fix get_external_resolution and get_external_crtc()

The original implementation assumes the existence of internal display
and its CRTC at index 0 of the CRTC array so the CRTC of external
display starts at index 1. This commit relaxes the assumption and
treats the CRTC at index 0 as an external one if the internal display
is not present.

BUG=chromium:429932
TEST=ran suite:chameleon_hdmi on veyron_mickey and link.

Change-Id: I1f8b9f120bbc8bc48a4aeea904889967c7206deb
Reviewed-on: https://chromium-review.googlesource.com/280959
Reviewed-by: Yuli Huang <yuli@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5608e8b2b464bce6683e47fc63829dd333b5b7bb 24-Mar-2015 Hung-ying Tyan <tyanh@chromium.org> Chameleon: fix get_external_resolution on freon

Make it return None when crtc is of size (0, 0)

BUG=chromium:429928
TEST=ran display_Resolution.extended on link over DP and saw correct
test image loaded on external monitor.

Change-Id: I81c8d1e6b3756e2a2afc09eed24b939a2df6bdbc
Reviewed-on: https://chromium-review.googlesource.com/262132
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
585e76585e4a0c45c925dbc85fe527b36a1eb6bb 18-Mar-2015 Frank Henigman <fjhenigman@chromium.org> graphics_SanAngeles: support null platform

Freon boards now support only EGL_PLATFORM_NULL and minigbm so use
WAFFLE_PLATFORM_NULL.

Platform arg parsing is moved to the SanAngeles executable, since that
is where we ultimately want it, and the attempt to factor it out to
graphics_utils.py was cumbersome and not used by anything else.

The waffle_window_show() call was moved because in WAFFLE_PLATFORM_NULL
it must happen before waffle_make_current().

Restored the depth buffer configuration that was accidentally removed
during porting to waffle.

On freon, stop ui in order to mode set.

BUG=chromium:468328
TEST=test_that -b samus -i trybot-samus-paladin/... :lab: graphics_SanAngeles
TEST=test_that -b lumpy -i trybot-lumpy-paladin/... :lab: graphics_SanAngeles
TEST=test_that -b daisy -i trybot-daisy-paladin/... :lab: graphics_SanAngeles
CQ-DEPEND=CL:260993

Change-Id: Idb3aa5a8024f920beec2364a9701bc5455acb602
Reviewed-on: https://chromium-review.googlesource.com/260995
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5b4992ca79c132fb664800c3dbfb3e4d3f277ba3 19-Mar-2015 Frank Henigman <fjhenigman@chromium.org> graphics_utils: re-enable wflinfo for freon

Once waffle supports the null platform, wflinfo will work again.

BUG=chromium:468531
TEST="test_that -b link $HOST graphics_SanAngeles" and look for wflinfo in log
CQ-DEPEND=CL:260686

Change-Id: I7eae2ae9120278b6593001e45124fab2086e1ac6
Reviewed-on: https://chromium-review.googlesource.com/260993
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
031a087034d8f02440fed9676aede68e122e5469 03-Mar-2015 Hung-ying Tyan <tyanh@chromium.org> Chameleon: more time to get correct size for test image

DUT needs more time to respond to changes such as plug event. Without
this change, display tests may sometimes show blank screen (i.e.,
test image of size 0).

BUG=chromium:429928
TEST=Ran display_Resolution.extended and observed test images of correct
size being loaded.

Change-Id: I265a7e14b1f1ed3056be2adcf31c1113a3554faa
Reviewed-on: https://chromium-review.googlesource.com/257985
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
0805cd673eb534b01c4f1c14de1197693889f12e 14-Mar-2015 David Haddock <dhaddock@chromium.org> Need to add back an older get_display_resolution() implementation.

Daisy doesn't work correctly with modetest at the moment.
The take_screenshot_crop_x code that was recently reverted changed the
ordering of the box inputs.

BUG=None
TEST=test_that -b daisy <ip> ui_AppLauncher

Change-Id: I59c87172d838af70382cc31d96af8dd2fface85e
Reviewed-on: https://chromium-review.googlesource.com/259881
Tested-by: David Haddock <dhaddock@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: David Haddock <dhaddock@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
8957ec818a3fe50e93e56357a15b58b22a54614d 13-Mar-2015 Ilja H. Friedel <ihf@chromium.org> Don't switch off screen before capture.

Currently the screenshot utility is unable to capture screenshots when
the screen switches off. Prevent this.

Also get_display_resolution() should be public as it is used here.

BUG=chromium:465590
TEST=test_that <ip> ui_SystemTray video_GlitchDetection.webm.480p passes

Change-Id: I009901a9e3a6eccb504feaf862128bd7db5210ca
Reviewed-on: https://chromium-review.googlesource.com/260052
Trybot-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
9c3d4451a587808466b299c01f1584ae46111940 13-Mar-2015 Ilja H. Friedel <ihf@chromium.org> Work around wflinfo breaking tests on freon.

This was broken due to using platform_null.
https://chromium-review.googlesource.com/#/c/243785/

BUG=chromium:463178
TEST=Ran on Pixel.

Change-Id: Ice993c44390cf5ff903f97af4551e917dba2ce69
Reviewed-on: https://chromium-review.googlesource.com/259940
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Trybot-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
54cdcdfb4c1d82b8648dee554d74370a1b73f7e1 04-Mar-2015 Hung-ying Tyan <tyanh@chromium.org> Chameleon: add back xrandr implementation

http://crosreview.com/250674 converts chameleon tests to Freon but the tests
fail to run on other platforms that have not enabled Freon. This change brings
the xrandr implementation back in order for those platforms to run chameleon
tests.

BUG=chromium:423527
TEST=Successfully ran suite:chameleon_hdmi on peppy (freon), big (X) and pi (X).
CQ-DEPEND=CL:250674

Change-Id: Ia473690e4d754ba39d7de91cfdd90b6f40089518
Reviewed-on: https://chromium-review.googlesource.com/257984
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Trybot-Ready: Hung-ying Tyan <tyanh@chromium.org>
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
d94feb65407b07bd2c17ffd94cfcace57f9d0650 17-Feb-2015 Ilja H. Friedel <ihf@chromium.org> Convert chameleon tests to Freon.

TEST=Ran on X and Freon variant of parrot
test_that --args "chameleon_host=$CHAMELEON_IP" $DUT_IP suite:chameleon_hdmi
BUG=chromium:423527, chromium:451787, chromium:451800
CQ-DEPEND=CL:242131

Change-Id: I9f145c387a22529b369e6017894ae20c5f6f429f
Reviewed-on: https://chromium-review.googlesource.com/250674
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
9c30bcd0cbbd95f3861499d453c705a6ea1f8cba 04-Mar-2015 Eric Caruso <ejcaruso@chromium.org> power_Consumption: modify graphics_utils to play nice with freon

Instead of using xset to force DPMS on when we want to disable
screen powersave features, we can just rely on asking Chrome to turn on
the displays. powerd is dead during this test so we don't need to worry
about changing the DPMS levels or disabling screen savers.

BUG=chromium:449565
TEST=run power_Consumption on freon, verify the test runs

Change-Id: Ia229f253bdecff47bf2bf7dc4945cb32d3ba042c
Reviewed-on: https://chromium-review.googlesource.com/256101
Trybot-Ready: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Eric Caruso <ejcaruso@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
b884f523fb51e90ae2019a66a91e4ec28ca12210 04-Mar-2015 Eric Caruso <ejcaruso@chromium.org> power_Backlight: get rid of erroneous error on freon

Since we don't have to worry about X randomly giving us a screensaver
or turning the screen off without us knowing, much of what we do in
these tests is no longer applicable. We were raising a test failure here
for no reason, since nothing in this function needs to be performed
under freon.

BUG=chromium:413136
TEST=run power_Backlight

Change-Id: I6641b78162b8eec6460b4731a4af25e8c297e00f
Reviewed-on: https://chromium-review.googlesource.com/256110
Reviewed-by: David Sodman <dsodman@chromium.org>
Commit-Queue: Eric Caruso <ejcaruso@chromium.org>
Tested-by: Eric Caruso <ejcaruso@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
8f0e6e9269f0610059daa9ecf9061eab1f94e2e1 27-Dec-2014 Hung-ying Tyan <tyanh@chromium.org> Fix graphics_utils.get_external_connector_name()

Originally the method may return the name of a connector that is still
in the transient state of being connected, which may cause errors in
subsequent operations; e.g., get_external_resolution() returning (0, 0).

This change fixes it by making sure that the returned connector is in
final connected state.

BUG=chromium:441468
TEST=Ran display_HotPlugNoisy.extended on nyan_big and peach_pit and
saw correct calibration image shown on the screen instead of a zero-sized
one which would result in a blank screen.

Change-Id: Ia77d02a1e5d2c23e0636ba253828a0e562960ef2
Reviewed-on: https://chromium-review.googlesource.com/237921
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Hung-ying Tyan <tyanh@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
da4a85a8fefbfe3ee7bbf09629eef2522fa3d178 19-Dec-2014 Tom Wai-Hong Tam <waihong@chromium.org> Chameleon: Implement the display_HDCPScreen test

This new test display_HDCPScreen remotely forces CrOS to enable HDCP and
compares screens between CrOS and Chameleon.

BUG=chromium:418253
TEST=Ran display_HDCPScreen on Pit, Big, and Peppy (TestNAError).

Change-Id: Ib224e9aac2ac41debc2cf5218c111322caf45a2c
Reviewed-on: https://chromium-review.googlesource.com/236760
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
c74e63130a6997abd4d22f0d779d88a60fb02908 20-Dec-2014 Ilja H. Friedel <ihf@chromium.org> graphics_utils: fix errors and style.

BUG=None.
TEST=pylint.

Change-Id: I0a5b4de5ca4ff0b0e61d47bb6122ca117d06219e
Reviewed-on: https://chromium-review.googlesource.com/237041
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Trybot-Ready: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
591e2c249ea3291b844210606dcbf19ada6fe380 02-Nov-2014 Frank Henigman <fjhenigman@chromium.org> autotest/graphics_SanAngeles: port to waffle

Instead of using egl or glx directly, use the waffle library to open
windows, choose configs, create/use contexts, and swap buffers.
Add a command line parameters for specifying the platform:
e.g. gbm, glx or x11_egl.
Remove command line parameters for specifying libraries to load at run time
(they weren't used, and selecting libraries at run time is waffle's job).
Remove X event handling because we don't need it and we do need to run
without X.
Note that waffle gbm currently renders to an off-screen buffer, so you
won't see anything on screen when running in gbm mode.

BUG=chromium:413083
TEST=on link_freon, lumpy, daisy: test_that <host> graphics_SanAngeles

Change-Id: I2797d88b71bb87146eb62f360cba8c899b098e9b
Reviewed-on: https://chromium-review.googlesource.com/229663
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
fd07073966185d0f1655ebc6a01422edd98a7f33 02-Nov-2014 Frank Henigman <fjhenigman@chromium.org> autotest/graphics: use wflinfo instead of glxinfo

wflinfo (from the waffle package) returns information about the graphics
system similar to glxinfo, but it runs on a variety of platforms:
x11/glx, egl/x11, egl/gbm. This way we don't need special cases for
different platforms and can support X-less (freon) platforms.

BUG=chromium:422167
TEST=test_that -b lumpy -i trybot-lumpy-paladin/R41-6438.0.0-b1880 :lab: graphics_SanAngeles

Change-Id: I895910441e84e2ef3d46a06449847edd7623de63
Reviewed-on: https://chromium-review.googlesource.com/226962
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Tested-by: Frank Henigman <fjhenigman@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
a30803ab1aba34113b20a5420ad47f25811222e0 11-Nov-2014 Hung-ying Tyan <tyanh@chromium.org> Fix display_facade_native.hide_cursor()

as graphics_utils API changed in f8e316281a8793462e435ce14bceaa22c350a2a6.

BUG=chromium:413085
TEST=run display_Resolution.extended with chameleon and see it passed.

Change-Id: I5cf4dbf28ecc3f05bb3d7b5cb8e84cf5094a08a0
Reviewed-on: https://chromium-review.googlesource.com/228971
Tested-by: Hung-ying Tyan <tyanh@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5780546bf60fa1b8e49528f3f4abac4796f3af6a 08-Nov-2014 Ilja Friedel <ihf@chromium.org> Revert "Revert "autotest: freonize input via uinput.""

As change
https://chromium-review.googlesource.com/228609
has landed we should be able to go back to having the test.

This reverts commit f60483797ceccfe7d7b849c0075028af267bbb50.

BUG=chromium:431429

Change-Id: I7ed770a701f713bb6bda1fc96b66c048fa9f1490
Reviewed-on: https://chromium-review.googlesource.com/228656
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
f60483797ceccfe7d7b849c0075028af267bbb50 08-Nov-2014 Dan Shi <dshi@chromium.org> Revert "autotest: freonize input via uinput."

This reverts commit f8e316281a8793462e435ce14bceaa22c350a2a6.

BUG=chromium:431429

Change-Id: I4bd92cda6f666f4c4aac1d21cf3c04aa2e49c89a
Reviewed-on: https://chromium-review.googlesource.com/228621
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
f8e316281a8793462e435ce14bceaa22c350a2a6 06-Nov-2014 Ilja H. Friedel <ihf@chromium.org> autotest: freonize input via uinput.

BUG=chromium:413085
TEST=test_that <link_freon> graphics_Stress.gmaps

Change-Id: I0f925188ffa3be1ac6d04a4804d45bfb5bfa1378
Reviewed-on: https://chromium-review.googlesource.com/224885
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Dominik Behr <dbehr@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
d5b692b3060e005ccb3f08c47f5da9327933ef03 05-Nov-2014 Tom Wai-Hong Tam <waihong@chromium.org> Add VGA as a candidate of an external output connector

Add it to make the method work on devices with VGA.

BUG=chromium:429931
TEST=Ran a Chameleon test on Parrot with VGA. Got the connector name.

Change-Id: I0520107ba9bc60ee5effc9daa0ff934239e1095d
Reviewed-on: https://chromium-review.googlesource.com/227787
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Hung-ying Tyan <tyanh@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
d38b14b4a9db856e81776185b7fc3378ad3d659c 06-Nov-2014 David Sodman <dsodman@chromium.org> Update powerBacklightControl to support freon

Modify get_num_outputs_on() to support a freon and x
version.

BUG=chromium:413137
TEST=run power_BacklightControl on freon

Change-Id: I116408e7c4429f3713e6d9c5443cd6d71f7df13a
Reviewed-on: https://chromium-review.googlesource.com/227960
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
aec3bf5a657ad9e111e2c337446fbac49707c65d 24-Sep-2014 ZhengShunQian <zhengsq@rock-chips.com> Veyron: Add rockchip to SoC family

Some tests such as graphics_KernelMemory read SoC name and Gpu family from
/proc/cpuinfo.

BUG=chrome-os-partner:32298
TEST=graphics_KernelMemory pass on pinky board

Change-Id: If2a71661819b7e13170678537f3d62d150481a5c
Signed-off-by: ZhengShunQian <zhengsq@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/219678
Reviewed-by: Xu Jianqun <jay.xu@rock-chips.com>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5ff4624633a375231c052b38510f279c9f2bbc28 14-Oct-2014 Corbin Simpson <simpsoco@chromium.org> client/cros/graphics: Introduce DRM-based screenshotting.

Directly take screenshots by mapping the framebuffers without using X11. This
effectively permits Freon-based screenshots during testing.

To test: Try to run something that uses screenshots. ui_SystemTray for
example. The test fails, but the screenshot succeeds.

BUG=chromium:412530
TEST=See above

Change-Id: If9160d3a2781f30be1edd0af5f9ce07ac115bd4a
Signed-off-by: Corbin Simpson <simpsoco@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/222973
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
2856f36a82d723defbe3569f01d05fab92e7cbe7 17-Oct-2014 Tom Wai-Hong Tam <waihong@chromium.org> Add get_external_connector_name back for RPC and fix some issues

The method get_external_connector_name is used for RPC. Add it back.
And fix some alignment mistake and remove duplicated code.

BUG=chromium:423527
TEST=Ran some Chameleon tests and passed.

Change-Id: I1e0267e33210e85621c7dfe4d148c8acb9f986f7
Reviewed-on: https://chromium-review.googlesource.com/224011
Tested-by: Wai-Hong Tam <waihong@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Wai-Hong Tam <waihong@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
a5ab166f36554278718e4b0c1412c49276ce1e25 16-Oct-2014 Ilja H. Friedel <ihf@chromium.org> autotest: move more X code to graphics_utils.

Move xrandr to graphics_utils.
Also add assert to functions that are still setting DISPLAY etc.

BUG=chromium:413127, chromium:422414
TEST=Check that output from command below looks reasonable.
test_that link_freon|nyan_big hardware_Resolution hardware_Xrandr
hardware_ch7036 power_BacklightControl platform_EvdevSynDropTest
hardware_TouchScreenPowerCycles hardware_VideoDecodeCapable
hardware_Trackpad

Change-Id: I029b706bec7d4e7a1d9f904e5f2b0f9e8d7fb193
Reviewed-on: https://chromium-review.googlesource.com/223632
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Haixia Shi <hshi@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
5ffcf42d9c7a6ca82f3d8b4b275a5dbb49abe4db 16-Oct-2014 Puthikorn Voravootivat <puthik@chromium.org> Don't raise screenshot exception while processing another

On freon system, when encounter test error, autotest result will
always be the screenshot error not the original error.

This patch makes take_screenshort() stop raising exception while
precessing another exception.

Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>

BUG=chrome-os-partner:33015
TEST=Tested on rush_ryu

Change-Id: I22fcb3d5a492d3274d2ae543d4c9a8918b9d355b
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/223572
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
7249e2f331523acd62003210dbcfff36cb41dca3 15-Oct-2014 Haixia Shi <hshi@chromium.org> autotest: implement get_display_resolution for freon.

BUG=chromium:413144
TEST=verify that get_display_resolution returns 2560, 1700 on link_freon

Change-Id: I34870a1504c78a97f46ab5a4d7b10f67efc85151
Reviewed-on: https://chromium-review.googlesource.com/223384
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Haixia Shi <hshi@chromium.org>
Tested-by: Haixia Shi <hshi@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
8753d83937751e6d2eb2646ea5af68979bb76312 08-Oct-2014 Ilja H. Friedel <ihf@chromium.org> autotest: refactor graphics_utils.

Move screenshot code to graphics_utils.
Move xsystem et al to cros_ui.py.
Fail if X is used under freon.
Make pylint happy.

TODO: write a (unit/auto)test for graphics_utils.

BUG=chromium:422414
TEST=Ran graphics_GLMark2 power_Consumption power_Backlight ui_SystemTray
on nyan_big, verified that code got exercised and is not broken.
Ran camera_V4L2 desktopui_GmailLatency graphics_GLAPICheck graphics_Gbm
graphics_Piglit graphics_SanAngeles hardware_VideoOutSemiAuto on
link_freon and nyan_big and made sure we got reasonable pass/fail.

Change-Id: I31f49d8c7b7a4e899bf47ba0b3543fc8755eecb8
Reviewed-on: https://chromium-review.googlesource.com/222990
Reviewed-by: Haixia Shi <hshi@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
04b78f07b28e5fc0832e1e6448c5650fc3051781 08-Oct-2014 Ilja H. Friedel <ihf@chromium.org> Freonize GraphicsStateChecker.

BUG=chromium:422414
TEST=Ran on link.

Change-Id: I8e6bc0c971773f82c306c90a4289ca1f4275de52
Reviewed-on: https://chromium-review.googlesource.com/222858
Reviewed-by: Haixia Shi <hshi@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
67eac4d97a9e69f3fbe52c78b4d7f7fa35cfe562 28-Aug-2014 Ilja H. Friedel <ihf@chromium.org> graphics_*: monitor memory state after tests.

Move basic functionality from graphics_KernelMemory to graphics_utils.
Instrument all interesting tests with a GSC.
Forward memory statistics to dashboard.

BUG=chromium:408428
TEST=test_that 100.96.58.132 graphics_GLMark2 graphics_GLBench graphics_GpuReset graphics_KernelMemory graphics_SanAngeles graphics_WebGLAquarium graphics_WebGLClear graphics_WebGLManyPlanetsDeep graphics_WebGLPerformance

-----------------------------------------------------------------------------------------------------------------
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2 [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 buffer.columns_200.interleave_false.update-dispersion_0.9.update-fraction_0.5.update-method_map 1.575
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 buffer.columns_200.interleave_false.update-dispersion_0.9.update-fraction_0.5.update-method_subdata 1.404
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 buffer.columns_200.interleave_true.update-dispersion_0.9.update-fraction_0.5.update-method_map 1.414
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 build.use-vbo_false 0.618
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 build.use-vbo_true 0.536
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 bump.bump-render_height 0.475
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 bump.bump-render_high-poly 1.370
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 bump.bump-render_normals 0.465
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 conditionals.fragment-steps_0.vertex-steps_0 0.551
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 conditionals.fragment-steps_0.vertex-steps_5 0.552
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 conditionals.fragment-steps_5.vertex-steps_0 0.537
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 desktop.blur-radius_5.effect_blur.passes_1.separable_true.windows_4 1.626
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 desktop.effect_shadow.windows_4 0.972
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 effect2d.kernel_0-1-0_1--4-1_0-1-0_ 0.688
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 effect2d.kernel_1-1-1-1-1_1-1-1-1-1_1-1-1-1-1_ 1.458
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 function.fragment-complexity_low.fragment-steps_5 0.550
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 function.fragment-complexity_medium.fragment-steps_5 0.541
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 gem_objects_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 gem_objects_objects 10
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 glmark2_score 1398
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 ideas.speed_duration 0.634
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 jellyfish.default 0.982
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 loop.fragment-loop_false.fragment-steps_5.vertex-steps_5 0.550
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 loop.fragment-steps_5.fragment-uniform_false.vertex-steps_5 0.550
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 loop.fragment-steps_5.fragment-uniform_true.vertex-steps_5 0.542
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 meminfo_MemUsed 1631664
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 memory_objects 10
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 pulsar.light_false.quads_5.texture_false 0.571
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 refract.default 4.808
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 shading.shading_blinn-phong-inf 0.691
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 shading.shading_cel 0.702
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 shading.shading_gouraud 0.690
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 shading.shading_phong 0.699
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 shadow.default 1.555
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 terrain.default 7.194
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 texture.texture-filter_linear 0.497
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 texture.texture-filter_mipmap 0.481
/tmp/test_that_results_bdIjAZ/results-01-graphics_GLMark2/graphics_GLMark2 texture.texture-filter_nearest 0.496
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench [ FAILED ]
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench ERROR: Could not get cold machine.
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench [ FAILED ]
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench ERROR: Could not get cold machine.
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench gem_objects_bytes 17891328
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench gem_objects_objects 13
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench meminfo_MemUsed 1631792
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-02-graphics_GLBench/graphics_GLBench memory_objects 10
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench gem_objects_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench gem_objects_objects 10
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench meminfo_MemUsed 1634936
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-03-graphics_GLBench/graphics_GLBench memory_objects 10
/tmp/test_that_results_bdIjAZ/results-04-graphics_GpuReset [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-04-graphics_GpuReset/graphics_GpuReset [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory gem_objects_bytes 213901312
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory gem_objects_objects 412
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory meminfo_MemUsed 2068820
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory memory_bytes 208019456
/tmp/test_that_results_bdIjAZ/results-05-graphics_KernelMemory/graphics_KernelMemory memory_objects 315
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles frames_per_sec_rate_san_angeles 134.7
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles gem_objects_bytes 221818880
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles gem_objects_objects 432
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles meminfo_MemUsed 2076480
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles memory_bytes 215937024
/tmp/test_that_results_bdIjAZ/results-06-graphics_SanAngeles/graphics_SanAngeles memory_objects 335
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium avg_fps_0050_fishes 59.4736317249
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium avg_fps_1000_fishes 58.9920386175
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium avg_render_time_0050_fishes 0.00307254785938
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium avg_render_time_1000_fishes 0.0063975173696
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium gem_objects_bytes 17891328
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium gem_objects_objects 13
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium meminfo_MemUsed 1658712
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-07-graphics_WebGLAquarium/graphics_WebGLAquarium memory_objects 10
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear avg_fps 60
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear gem_objects_bytes 17891328
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear gem_objects_objects 13
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear meminfo_MemUsed 1650676
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-08-graphics_WebGLClear/graphics_WebGLClear memory_objects 10
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep average_fps 59.8214285714
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep gem_objects_bytes 17891328
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep gem_objects_objects 13
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep js_render_time_ms_mean 1.36681974742
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep js_render_time_ms_std 0.489031342632
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep meminfo_MemUsed 1661920
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep memory_objects 10
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep per_frame_dt_ms_mean 16.7164179104
/tmp/test_that_results_bdIjAZ/results-09-graphics_WebGLManyPlanetsDeep/graphics_WebGLManyPlanetsDeep per_frame_dt_ms_std 0.61548635141
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance [ PASSED ]
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance gem_objects_bytes 17891328
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance gem_objects_objects 13
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance meminfo_MemUsed 1652664
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance meminfo_SwapUsed 15576
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance memory_bytes 17842176
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance memory_objects 10
/tmp/test_that_results_bdIjAZ/results-10-graphics_WebGLPerformance/graphics_WebGLPerformance time_ms_geom_mean 11.48
-----------------------------------------------------------------------------------------------------------------
Total PASS: 18/20 (90%)


Change-Id: I2866e4fb9bbee1dd819d36b5b1c8e4883c502c12
Reviewed-on: https://chromium-review.googlesource.com/214634
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
471f49cc946ff09cfa5def2868daecb452b37fd2 30-May-2014 Ilja Friedel <ihf@chromium.org> Flush system logs with short delay for graphics tests.

The ChromeOS default right now is 10 minutes and we lower it to 1 second.
For this we save and change /proc/sys/vm/dirty_writeback_centisecs

TEST=Watched dirty_writeback_centisecs while running SanAngeles on link.
BUG=chromium:378979

Change-Id: I7dd5e0c92bbacf13d1cb3aa5d610be223222632d
Reviewed-on: https://chromium-review.googlesource.com/202204
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
745ece7c5de32aaccb2ad74af2c7b5748f5976e1 08-May-2014 Ilja Friedel <ihf@chromium.org> Change GraphicsStateChecker to raise error on GPU hang.

This is mostly to early detect flakes and graphics endurance testing.

TEST=Ran GpuReset with raise_error_on hang both True and False on link.
BUG=chromium:338930

Change-Id: I202101081f7202f04756496ac0378a64b358a475
Reviewed-on: https://chromium-review.googlesource.com/198792
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
04be2bd5e4666a5c253e9c30ab20555e04286032 08-May-2014 Ilja H. Friedel <ihf@chromium.org> Autotest: Change logging.warn() to logging.warning().

logging.warn() is deprecated. See
http://bugs.python.org/issue13235

Substitution was performed via
~/cros/src/third_party/autotest/files$ find ./ -type f | xargs sed -i 's/logging.warn(/logging.warning(/'

BUG=None.
TEST=There should be one-- and preferably only one --obvious way to do it.

Change-Id: Ie5665743121a49f7fbd5d1f47896a7c65e87e489
Reviewed-on: https://chromium-review.googlesource.com/198793
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
Reviewed-by: Alex Miller <milleral@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
6342615296ddf095b76375d22aa587bc5ee0168f 07-Jan-2014 Ilja H. Friedel <ihf@chromium.org> Autotest GpuReset: Add pci ids.

Noticed missing ids from wmatrix. Also adjust hang detection/warnings
for wmatrix.

BUG=None.
TEST=Ran on link and falco, checked logs for hangs.

Change-Id: I06d3672b20773f7c6005a45df3def936007a27d0
Reviewed-on: https://chromium-review.googlesource.com/181758
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Ilja Friedel <ihf@chromium.org>
Commit-Queue: Ilja Friedel <ihf@chromium.org>
Tested-by: Ilja Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
53e5f60673712db6ab04b8f0b80127918495ac4e 23-Aug-2013 Ilja Friedel <ihf@chromium.org> Fix Piglit.

crash_blacklist is a member of cros_ui_test and Piglit now is a simple test.
We move the blacklist to graphics_utils until we find a permanent place for
it. (But right now graphics tests are the only user of this functionality.)

BUG=chromium:271828
TEST=Ran on Alex and Link.

Change-Id: I9ae6e17d2519daa8738e0fab65941f1ac7019690
Reviewed-on: https://gerrit.chromium.org/gerrit/66862
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py
3dab8e583cce64f14f728e656798c48ed2ea4143 16-Aug-2013 Ilja Friedel <ihf@chromium.org> Convert most graphics_ui_test to test.test.

This gets rid of dependencies on Chrome and in particular pyauto. We introduce
graphics_utils.py to keep GPU state checking functionality.

BUG=chromium:271828
TEST=Ran all affected graphics_* tests.

Change-Id: Iee9971d292bd6405a92f0ee5d13d5c032f657998
Reviewed-on: https://gerrit.chromium.org/gerrit/66133
Commit-Queue: Ilja H. Friedel <ihf@chromium.org>
Reviewed-by: Ilja H. Friedel <ihf@chromium.org>
Tested-by: Ilja H. Friedel <ihf@chromium.org>
/external/autotest/client/cros/graphics/graphics_utils.py