diff --git a/docs/unified-test-documentation/dasharo-compatibility/S30-fan-control.md b/docs/unified-test-documentation/dasharo-compatibility/S30-fan-control.md deleted file mode 100644 index 45937d2f..00000000 --- a/docs/unified-test-documentation/dasharo-compatibility/S30-fan-control.md +++ /dev/null @@ -1,110 +0,0 @@ -# Dasharo Compatibility: custom fan curve - -## FAN001.001 Custom fan curve: CPU fan - -**Test description** - -The fan has been configured to follow a custom curve. This test aims to verify -that the fan curve is configured correctly and the fan spins up and down -according to the defined values. - -**Test configuration data** - -1. `FIRMWARE` = Dasharo - -**Test setup** - -1. Proceed with the - [Generic test setup: firmware](../../generic-test-setup/#firmware). -1. Proceed with the - [Generic test setup: OS installer](../../generic-test-setup/#os-installer). -1. Proceed with the - [Generic test setup: OS installation](../../generic-test-setup/#os-installation). -1. Proceed with the - [Generic test setup: OS boot from disk](../../generic-test-setup/#os-boot-from-disk). -1. Install `lm-sensors` and `stress-ng` on the DUT. - -**Test steps** - -1. Power on the DUT. -1. Boot into the system. -1. Log into the system by using the proper login and password. -1. Open the terminal window and execute the following command: - -```bash -sensors | grep 'Package id 0' -``` - -1. Verify using `sensors` that the temperature is below 40°C -1. If the temperature is above 40, enable fan turbo mode (Fn + 1) until it cools - down -1. Flip the laptop over and check if the CPU fan (located under the Backspace - key) is spinning -1. In the terminal window, run following command: - -```bash -stress-ng -c 8 -``` - -1. Verify using `sensors` that the temperature increases above 40 -1. Flip the laptop over and check if the CPU fan is spinning - -**Expected result** - -1. The fan should not be spinning while the temperature is below 40 degrees -1. The fan should be spinning while the temperature is above 40 degrees - -## FAN002.001 Custom fan curve: GPU fan (NV41MB) - -**Test description** - -The fan has been configured to follow a custom curve. This test aims to verify -that the fan curve is configured correctly and the fan spins up and down -according to the defined values. - -**Test configuration data** - -1. `FIRMWARE` = Dasharo -1. `BOOT_MENU_KEY` = `F7` - -**Test setup** - -1. Proceed with the - [Generic test setup: firmware](../../generic-test-setup/#firmware). -1. Proceed with the - [Generic test setup: OS installer](../../generic-test-setup/#os-installer). -1. Proceed with the - [Generic test setup: OS installation](../../generic-test-setup/#os-installation). -1. Proceed with the - [Generic test setup: OS boot from disk](../../generic-test-setup/#os-boot-from-disk). -1. Install `nvidia-smi` and `mesa-utils` on the DUT. - -**Test steps** - -1. Power on the DUT. -1. Boot into the system. -1. Log into the system by using the proper login and password. -1. Open the terminal window and execute the following command: - -```bash -watch -n1 nvidia-smi -``` - -1. Verify using that the temperature is below 40°C -1. If the temperature is above 40, enable fan turbo mode (Fn + 1) until it cools - down -1. Flip the laptop over and check if the GPU fan (located under the Escape - key) is spinning -1. In another terminal window, run following command: - -```bash -_NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears -``` - -1. Verify that the temperature increases above 40 -1. Flip the laptop over and check if the GPU fan is spinning - -**Expected result** - -1. The fan should not be spinning while the temperature is below 40 degrees -1. The fan should be spinning while the temperature is above 40 degrees diff --git a/docs/unified-test-documentation/dasharo-compatibility/S30-fan-speed.md b/docs/unified-test-documentation/dasharo-compatibility/S30-fan-speed.md new file mode 100644 index 00000000..7781d3cc --- /dev/null +++ b/docs/unified-test-documentation/dasharo-compatibility/S30-fan-speed.md @@ -0,0 +1,102 @@ +# Dasharo Compatibility: Fan speed + +## Test cases common documentation + +**Test setup** + +1. Proceed with the + [Generic test setup: firmware](../../generic-test-setup/#firmware). +1. Proceed with the + [Generic test setup: OS installer](../../generic-test-setup/#os-installer). +1. Proceed with the + [Generic test setup: OS installation](../../generic-test-setup/#os-installation). +1. Proceed with the + [Generic test setup: OS boot from disk](../../generic-test-setup/#os-boot-from-disk). + +## FAN001.001 CPU fan + +**Test description** + +This test aims to verify that the CPU fan RPM value is available to read. + +**Test configuration data** + +1. `FIRMWARE` = Dasharo + +**Test setup** + +1. Proceed with the + [Test cases common documentation](#test-cases-common-documentation) section. +1. Install `lm-sensors` on the DUT. + +**Test steps** + +1. Power on the DUT. +1. Boot into the system. +1. Log into the system by using the proper login and password. +1. In the terminal window run the following command to get the RPM value of the + CPU fan: + + ```bash + sensors | grep "CPU fan" + ``` + +1. Note the results. + +**Expected result** + +The CPU fan RPM value is displayed and isn't zero. + +Example output: + +```bash +CPU fan: 4347 RPM +``` + +## FAN002.001 GPU fan + +**Test description** + +The fan has been configured to follow a custom curve. This test aims to verify +that the fan curve is configured correctly and the fan spins up and down +according to the defined values. + +**Test configuration data** + +1. `FIRMWARE` = Dasharo + +**Test setup** + +1. Proceed with the + [Test cases common documentation](#test-cases-common-documentation) section. +1. Install `nvidia-smi` and `mesa-utils` on the DUT. + +**Test steps** + +1. Power on the DUT. +1. Boot into the system. +1. Log into the system by using the proper login and password. +1. Open the terminal window and execute the following command: + + ```bash + watch -n1 nvidia-smi + ``` + +1. Verify using that the temperature is below 40°C. +1. If the temperature is above 40, enable the fan turbo mode (Fn + 1) until it + cools down. +1. Flip the laptop over and check if the GPU fan (located under the Escape + key) is spinning. +1. In another terminal window, run the following command: + + ```bash + _NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears + ``` + +1. Verify that the temperature increases above 40. +1. Flip the laptop over and check if the GPU fan is spinning. + +**Expected result** + +1. The fan should not be spinning while the temperature is below 40 degrees. +1. The fan should be spinning while the temperature is above 40 degrees. diff --git a/mkdocs.yml b/mkdocs.yml index 6ddc648b..66524b4a 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -281,7 +281,7 @@ nav: - 'USB detection': unified-test-documentation/dasharo-compatibility/31O-usb-detect.md - 'USB booting': unified-test-documentation/dasharo-compatibility/31N-usb-boot.md - 'coreboot Fan control': unified-test-documentation/dasharo-compatibility/S31-coreboot-fan-control.md - - 'Custom Fan Curve': unified-test-documentation/dasharo-compatibility/S30-fan-control.md + - 'Fan speed': unified-test-documentation/dasharo-compatibility/S30-fan-speed.md - 'Embedded Controller and Super I/O initialization ': unified-test-documentation/dasharo-compatibility/31G-ec-and-superio.md - 'Nvidia Graphics support': unified-test-documentation/dasharo-compatibility/319-nvidia-graphics.md - 'Flash write protection': unified-test-documentation/dasharo-compatibility/31P-flash-write-protection.md @@ -315,6 +315,7 @@ nav: - 'CPU frequency measure': unified-test-documentation/dasharo-performance/402-cpu-frequency.md - 'Platform stability': unified-test-documentation/dasharo-performance/404-platform-stability.md - 'Fan control measure': unified-test-documentation/dasharo-performance/405-fan-control-measure.md + - 'Custom fan curve': unified-test-documentation/dasharo-performance/406-custom-fan-curve.md - 'Roadmap': ecosystem/roadmap.md - 'Quality Principles': quality-principles/introduction.md # - 'Introduction':