need a way to switch back to default mode after graphics/1_auto_switch_card_* or graphics/2_auto_switch_card_*

Bug #1906216 reported by Alex Tu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
High
Unassigned
OEM Priority Project
New
High
Unassigned

Bug Description

We are counting on graphics/1_auto_switch_card_* switching to dGPU rendering and graphics/2_auto_switch_card_* to switch back to Intel gpu rendering [1].

But there's no way to switch back to default mode in the current design and we used to assume the default mode is powersaving(Intel rendering) mode so some existed plan[2]just switch back to powersaving(Intel gpu) mode in the end.

This operation cause problem on the following 2 exceptions:
1. Some platforms are asked to be shipped with default performance(Nvidia rendering) mode.
2. After Focal, some platform is asked to be shipped with default on-demand(runtime selecting rendering gpu[3]) mode.

In these 2 cases with current test plans, it will switch to intel in the end and it could impact the following tests.

We might need to redesign the graphic testing based on the current new dGPU using cases:

On Intel only(UMA):
 - default pwersaving(Intel rendering) mode.

On Intel + Nvidia:
 - default pwersaving(Intel rendering) mode by `prime-select intel`.
 - default performance(Nvidia rendering) mode by `prime-select nvidia`.
 - default pwersaving(runtime selecting rendering gpu [3]) mode by `prime-select on-demand`.

On Nvidia only:
 - default pwersaving(Intel rendering) mode by `prime-select nvidia`.
 - default pwersaving(runtime selecting rendering gpu [3]) mode by `prime-select on-demand`.

On Intel + AMD:
 - default pwersaving(runtime selecting rendering gpu by `DRI_PRIME=1`) mode.

On AMD only:
 - default pwersaving(runtime selecting rendering gpu by `DRI_PRIME=1`) mode.

[1] https://git.launchpad.net/plainbox-provider-checkbox/tree/units/graphics/test-plan.pxu
[2] https://git.launchpad.net/plainbox-provider-certification-client/tree/units/client-cert-auto.pxu
[3] https://docs.google.com/document/d/12zbZfGI_a4azR7a5UvVIib6gDyiK43ZFJOBlt0LPrEU/edit#

Tags: oem-priority
Alex Tu (alextu)
Changed in oem-priority:
importance: Undecided → High
Alex Tu (alextu)
summary: need a way to switch back to default mode after
- graphics/2_auto_switch_card_*
+ graphics/1_auto_switch_card_* or graphics/2_auto_switch_card_*
Rex Tsai (chihchun)
tags: added: oem-priority
Changed in plainbox-provider-checkbox:
importance: Undecided → High
Revision history for this message
StanleyHuang (stanley31) wrote :

@sylvain-pineau,

Just an idea that we could add a property to store default graphic mode in the "graphics_card_resource" job, and create a new job to switch to default mode.

So we could include the new job after testing. How do you think?

Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/78.
Bug is no more monitored here.

Changed in plainbox-provider-checkbox:
status: New → Expired
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.