Skip to content

Dasharo Compatibility: Fan speed measure

Test cases common documentation

Test setup

  1. Proceed with the Generic test setup: firmware.
  2. Proceed with the Generic test setup: OS installer.
  3. Proceed with the Generic test setup: OS installation.
  4. Proceed with the Generic test setup: OS boot from disk.

FAN001.001 CPU fan speed measure

Test description

This test aims to verify that the CPU fan works correctly.

Test configuration data

  1. FIRMWARE = Dasharo

Test setup

  1. Proceed with the Test cases common documentation section.
  2. Install lm-sensors on the DUT.
  3. If the command in the 4th step fails, make sure the system76_acpi driver is available on your system. An appropriate kernel version could be installed with the command sudo apt install linux-oem-22.04a, which version definitely supports this driver.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. In the terminal window run the following command to get the RPM value of the CPU fan:

    sensors | grep "CPU fan"
    
  5. Note the results.

Expected result

The CPU fan RPM value is displayed and isn't zero.

Example output:

CPU fan:     4347 RPM

FAN002.001 GPU fan speed measure

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 section.
  2. Install nvidia-smi and mesa-utils on the DUT.

Test steps

  1. Power on the DUT.
  2. Boot into the system.
  3. Log into the system by using the proper login and password.
  4. Open the terminal window and execute the following command:

    watch -n1 nvidia-smi
    
  5. Verify using that the temperature is below 40°C.

  6. If the temperature is above 40, enable the fan turbo mode (Fn + 1) until it cools down.
  7. Flip the laptop over and check if the GPU fan (located under the Escape key) is spinning.
  8. In another terminal window, run the following command:

    _NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia __GL_SYNC_TO_VBLANK=0 glxgears
    
  9. Verify that the temperature increases above 40.

  10. 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.
  2. The fan should be spinning while the temperature is above 40 degrees.