compiz jobs only need to be run once when using amdgpu drivers

Bug #1636060 reported by Pierre Equoy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Fix Released
High
Pierre Equoy

Bug Description

amdgpu driver allows GPU offloading, which means a device can use the integrated GPU (iGPU) for most of the tasks (displaying the desktop…) while some applications can be run using the discrete GPU (dGPU).

This means that only a few jobs need to be run when using a device with amdgpu drivers:

 - graphics/2_glxgears_.*
 - graphics/2_video_.*
 - suspend/2_glxgears_after_suspend_.*_xenial
 - suspend/2_video_after_suspend_.*_xenial

Note: currently, amdgpu-pro drivers use a method similar to fglrx (on Trusty) or nVidia Settings, which means user has to manually switch between the GPUs and restart the session to take the modifications into account, so the above modification is only for amdgpu open source stack, not amdgpu-pro one.

In other words:
Tests to be run in any case:
    all tests related to integrated GPU (.*/1_.*)
    graphics/2_glxgears_.*
    graphics/2_video_.*
    suspend/2_glxgears_after_suspend_.*_xenial
    suspend/2_video_after_suspend_.*_xenial

Tests to be run only if dGPU is NOT amdgpu:
    graphics/2_switch_card_.*_xenial
    graphics/2_maximum_resolution_.*
    graphics/2_driver_version_.*
    graphics/2_compiz_check_.*
    graphics/2_rotation_.*
    graphics/2_minimum_resolution_.*
    graphics/2_cycle_resolution_.*
    monitor/2_powersaving_.*
    monitor/2_dim_brightness_.*
    monitor/2_displayport_.*
    monitor/2_type-c_displayport_.*
    audio/2_playback_displayport_.*
    audio/2_playback_type-c_displayport_.*
    monitor/2_dvi_.*
    monitor/2_hdmi_.*
    audio/2_playback_hdmi_.*
    monitor/2_thunderbolt_.*
    monitor/2_thunderbolt3_.*
    audio/2_playback_thunderbolt_.*
    audio/2_playback_thunderbolt3_.*
    monitor/2_rca_.*
    monitor/2_svideo_.*
    monitor/2_vga_.*
    monitor/2_multi-head_.*
    suspend/2_resolution_before_suspend_.*_xenial
    suspend/2_suspend_after_switch_to_card_.*_xenial
    suspend/2_suspend-time-check_.*_xenial
    suspend/2_suspend-single-log-attach_.*_xenial
    suspend/2_compiz_check_after_suspend_.*_xenial
    suspend/2_driver_version_after_suspend_.*_xenial
    suspend/2_resolution_after_suspend_.*_xenial
    suspend/2_display_after_suspend_.*_xenial
    suspend/2_cycle_resolutions_after_suspend_.*_xenial
    suspend/2_xrandr_screens_after_suspend_.*.tar.gz_xenial
    power-management/2_hibernate_advanced_.*
    power-management/2_hibernate-single-log-attach_.*

Related branches

Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
importance: Undecided → High
Pierre Equoy (pieq)
tags: added: ce-qa-concern
Pierre Equoy (pieq)
description: updated
Pierre Equoy (pieq)
description: updated
description: updated
description: updated
Pierre Equoy (pieq)
description: updated
Changed in plainbox-provider-checkbox:
assignee: nobody → Pierre Equoy (pierre-equoy)
milestone: none → 0.32
status: New → In Progress
Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Revision history for this message
Jerry Kao (jerry.kao) wrote :

I still can see "suspend/2_suspend_after_switch_to_card_.*_xenial" was run with somerville full whitelist.
test with checkbox v0.33 on testing ppa

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

suspend/2_compiz_check_after_suspend_.*_xenial
suspend/2_driver_version_after_suspend_.*_xenial
suspend/2_resolution_after_suspend_.*_xenial
suspend/2_display_after_suspend_.*_xenial

were also run

I will verify with cert whitelist later.

Pierre Equoy (pieq)
Changed in plainbox-provider-checkbox:
status: Fix Committed → In Progress
Revision history for this message
Pierre Equoy (pieq) wrote :

Two fixes have been provided in resource provider and checkbox provider to fix issues described in previous comments.

A new release candidate of plainbox-provider-resource-generic (v0.30.0rc2) and plainbox-provider-checkbox (v0.33.0rc2) have been uploaded in the Testing PPA.

Changed in plainbox-provider-checkbox:
status: In Progress → Fix Committed
Pierre Equoy (pieq)
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.

Other bug subscribers

Remote bug watches

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