need a way to switch back to default mode after graphics/1_auto_switch_card_* or graphics/2_auto_switch_card_*
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/
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:/
[2] https:/
[3] https:/
Changed in oem-priority: | |
importance: | Undecided → High |
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_* |
tags: | added: oem-priority |
Changed in plainbox-provider-checkbox: | |
importance: | Undecided → High |
@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?