Display was not rotating while running graphics/rotation test

Bug #1561341 reported by Jerry Kao
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Maciej Kisielewski

Bug Description

Title: Display was not rotating while running graphics/rotation test

Summary:
When running graphics/rotation (ID: 2013.com.canonical.certification::graphics/1_rotation_PCI_ID_0x1912), display was not rotating. Display kept static for a while then asked input result. It works when using display setting to rotate.

ii checkbox-gui 0.34~ppa~ubuntu14.04.1 amd64 QML based interface for system testing based on PlainBox.
ii checkbox-hw-collection 0.17.6-0ubuntu6 all CLI tool for collecting HW information from a system
ii checkbox-ng 0.24~ppa~ubuntu14.04.1 all PlainBox based test runner
ii checkbox-ng-service 0.23~ppa~ubuntu14.04.1 all CheckBox D-Bus service (transitional package)
ii checkbox-oem-bug 1.9-1-ubuntu1 all Checkbox OEM bug
ii plainbox-provider-checkbox 0.26~ppa2~ubuntu14.04.1 amd64 CheckBox provider for PlainBox
ii python3-checkbox 0.17.6-0ubuntu6 all CheckBox python3 library
ii python3-checkbox-ng 0.24~ppa~ubuntu14.04.1 all PlainBox based test runner (Python 3 library)
ii python3-checkbox-support 0.24~ppa~ubuntu14.04.1 all collection of Python modules used by PlainBox providers

ii plainbox 0.26~ppa~ubuntu14.04.1 all toolkit for software and hardware integration testing
ii plainbox-glmark2-es2-meta 0.23-1 amd64 Meta-package to selectively install glmark2-es2
ii plainbox-insecure-policy 0.26~ppa~ubuntu14.04.1 all policykit policy required to use plainbox (insecure version)
ii plainbox-provider-certification-client 0.23-1 all Client Certification provider for Plainbox
ii plainbox-provider-checkbox 0.26~ppa2~ubuntu14.04.1 amd64 CheckBox provider for PlainBox
ii plainbox-provider-oem 0.27 all plainbox oem provider
ii plainbox-provider-oem-stella 0.27 all plainbox oem provider for stella
ii plainbox-provider-resource-generic 0.24~ppa~ubuntu14.04.1 amd64 CheckBox generic resource jobs provider
ii python3-plainbox 0.26~ppa~ubuntu14.04.1 all toolkit for software and hardware testing (python3 module)

Steps:
1. run test case graphics/rotation
2. check if display rotates (normal right inverted left)

Expected results: Display rotation take place

Actual results: Display did not rotate

Additional information:
test platform : Bachchan2
image : stella-kenting160411-trusty-amd64-20160314-1
This issue is not reporduced on another platform Pez

Image: stella-kenting160411-trusty-amd64-20160314-1

CPU: Intel(R) Core(TM) i3-6320 CPU @ 3.90GHz (4x)

GPU: 00:02.0 VGA compatible controller: Intel Corporation Skylake Integrated Graphics (rev 06)

ProductName:

BiosVersion: B.04

Related branches

Revision history for this message
Jerry Kao (jerry.kao) wrote :

Automatically attached

Changed in plainbox-provider-checkbox:
status: New → Confirmed
importance: Undecided → High
tags: added: ce-qa-concern
description: updated
Revision history for this message
Alex Wen (ronglu-wen) wrote :

This bug also reproduced on some NV cards, such as "NVIDIA Corporation Device [10de:13bb] (rev a2)".

Revision history for this message
Ara Pulido (ara) wrote :

Pierre, can we have a look to this one in our next batch of fixes, please?

Changed in plainbox-provider-checkbox:
assignee: nobody → Pierre Equoy (pierre-equoy)
Changed in plainbox-provider-checkbox:
milestone: none → 0.29
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Confirmed → Fix Released
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Fix Released → Confirmed
milestone: 0.29 → 0.30
Revision history for this message
Scott Hu (huntu207) wrote :

This issue still observed on Dell desktop-Farallon, please check below for the detail

Additional information:
1. SKU: FAR-MT-DVT2-C1, FAR-SFF-DVT2-C1
2. Manifest: dell-bto-xenial-farallon-kbl-X27-iso-20160826-1
3. Failed rate: 10/10

Image: somerville-xenial-amd64-20160624-2

CPU: Genuine Intel(R) CPU 0000 @ 2.70GHz (4x)

Manufacturer: Dell Inc.

ProductName: Precision Tower 3620

BiosVersion: 2.0.3

Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
milestone: 0.31 → 0.32
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
milestone: 0.32 → 0.33
Changed in plainbox-provider-checkbox:
milestone: 0.34.0 → none
Revision history for this message
Jerry Kao (jerry.kao) wrote :

This issue is still existing on Matira testing by Scott.

Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
assignee: Pierre Equoy (pierre-equoy) → Sylvain Pineau (sylvain-pineau)
Revision history for this message
Maciej Kisielewski (kissiel) wrote :

I was able to reproduce it on one VM and one physical system.

Calling xrandr dbus API yields no errors, and other methods (i.e. ApplyConfiguration, VideoModeSwitch) are working.

IDK why xrandr ignores the rotation ones.

My advice would be to use xrandr directly instead.
e.g. `xrandr -o 1`

Changed in plainbox-provider-checkbox:
assignee: Sylvain Pineau (sylvain-pineau) → nobody
assignee: nobody → Maciej Kisielewski (kissiel)
Revision history for this message
Jerry Kao (jerry.kao) wrote :

I hit this issue on Stella hardware 201712-25995. Rotate by display setting and 'xrandr -o 1' both work.

Changed in plainbox-provider-checkbox:
status: Confirmed → In Progress
Revision history for this message
Jerry Kao (jerry.kao) wrote :
Revision history for this message
Nara Huang (narahuang) wrote :

I manually change the /usr/share/plainbox-provider-checkbox/units/graphics/jobs.pxu and change the command from rotation_test_using_dbus to rotation_test, as
https://code.launchpad.net/~kissiel/plainbox-provider-checkbox/+git/plainbox-provider-checkbox/+merge/341008 .

The rotation test can be completed successfully.

Changed in plainbox-provider-checkbox:
milestone: none → 0.43.0
status: In Progress → Fix Committed
Changed in plainbox-provider-checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.