Skip to content

Test cases and test plan for PR 1245 (New)#1550

Merged
pieqq merged 2 commits intocanonical:mainfrom
hanhsuan:test_cases_for_pr_1245
Oct 29, 2024
Merged

Test cases and test plan for PR 1245 (New)#1550
pieqq merged 2 commits intocanonical:mainfrom
hanhsuan:test_cases_for_pr_1245

Conversation

@hanhsuan
Copy link
Copy Markdown
Contributor

@hanhsuan hanhsuan commented Oct 18, 2024

Description

This is part of #1245 to add test cases and test plan to utilize the python script to find which GPU is the renderer.

Resolved issues

Documentation

Tests

submission:

@hanhsuan hanhsuan marked this pull request as ready for review October 21, 2024 03:54
@pieqq
Copy link
Copy Markdown
Collaborator

pieqq commented Oct 29, 2024

I checked the submission logs, and I have a question:

For the desktop auto, I can see the following tests have passed:

However, it looks like the FPS is 1 frame per second. Is that normal? For the record, the output looks like:

running command:[['glxgears']]
Process is running on:
  process:[['glxgears']]
  Card ID:[0000:47:00.0]
  Device Name:[AD107GL [RTX 2000 Ada Generation] [10DE:28B0]]
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
7 frames in 5.0 seconds =  1.399 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
Test finished

@hanhsuan
Copy link
Copy Markdown
Contributor Author

I checked the submission logs, and I have a question:

For the desktop auto, I can see the following tests have passed:

* [after-suspend-graphics/auto_glxgears](https://certification.canonical.com/hardware/202406-34161/submission/400472/test/219921/result/45088343/)

* [after-suspend-graphics/auto_glxgears_fullscreen](https://certification.canonical.com/hardware/202406-34161/submission/400472/test/219922/result/45088344/)

* [graphics/auto_glxgears](https://certification.canonical.com/hardware/202406-34161/submission/400472/test/210940/result/45088351/)

* [graphics/auto_glxgears_fullscreen](https://certification.canonical.com/hardware/202406-34161/submission/400472/test/210941/result/45088352/)

However, it looks like the FPS is 1 frame per second. Is that normal? For the record, the output looks like:

running command:[['glxgears']]
Process is running on:
  process:[['glxgears']]
  Card ID:[0000:47:00.0]
  Device Name:[AD107GL [RTX 2000 Ada Generation] [10DE:28B0]]
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
7 frames in 5.0 seconds =  1.399 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
6 frames in 6.0 seconds =  1.000 FPS
5 frames in 5.0 seconds =  1.000 FPS
Test finished

@pieqq The low FPS comes from the bad edid emulator and these auto test cases are used to validate the renderer.

@pieqq
Copy link
Copy Markdown
Collaborator

pieqq commented Oct 29, 2024

@hanhsuan thanks for the explanation.

Another question: This modifies the graphics-gpu-cert-automated and after-suspend-graphics-gpu-cert-automated test plans. Was it tested with a 22.04 test plan? (apologies if this was discussed already!)

@hanhsuan
Copy link
Copy Markdown
Contributor Author

@hanhsuan thanks for the explanation.

Another question: This modifies the graphics-gpu-cert-automated and after-suspend-graphics-gpu-cert-automated test plans. Was it tested with a 22.04 test plan? (apologies if this was discussed already!)

@pieqq These two test plans are included in 24.04 only. 22.04 are using graphics-integrated-gpu-cert-full and graphics-discrete-gpu-cert-full.

Copy link
Copy Markdown
Collaborator

@pieqq pieqq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this follow up and for the explanation in the comments!

@pieqq pieqq merged commit eb30482 into canonical:main Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants