Skip to content

Dasharo Compatibility: NVIDIA Graphics support

Test cases

Common

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.

NVI001.001 NVIDIA Graphics detect (Ubuntu 20.04)

Test description

This test aims to verify that the NVIDIA graphics card is correctly initialized and can be detected by the operating system.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.

Test steps

  1. Open a terminal window and execute the following command:

    lspci | grep -i nvidia
    

Expected result

  1. The command should return one line containing the name of the graphics card, e.g:

    2d:00.0 3D controller: NVIDIA Corporation TU117M (rev a1)
    

NVI001.002 NVIDIA Graphics detect (Windows 11)

Test description

This test aims to verify that the NVIDIA graphics card is correctly initialized and can be detected by the operating system

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.
  2. Install the driver for the graphics card (GTX 1650) from the official page.

Test steps

  1. Open the Start menu.
  2. Type in Device Manager.
  3. Click on the Device Manager icon to open the Device Manager.
  4. Open the Display adapters section to wiew the GPUs present in the system.

Expected result

  1. The list should contain the NVIDIA graphics card present in the system:

Device Manager

NVI002.001 NVIDIA Graphics power management (Ubuntu 20.04)

Test description

This test aims to verify that the NVIDIA graphics power management is functional and the card powers on only while it's used.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Ubuntu 20.04

Test setup

  1. Proceed with the Common section.
  2. Install the package mesa-utils with the following command:

    sudo apt install mesa-utils
    

Test steps

  1. Open a terminal window.
  2. Run the following command to see whether the card is off:

    cat /sys/class/drm/card1/device/power/runtime_status
    
  3. Launch a test application on the discrete graphics card using the following command:

    __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia glxgears
    
  4. Run the following command to see whether the card has turned on:

    cat /sys/class/drm/card1/device/power/runtime_status
    
  5. Close the test application and wait ~20 seconds to let the graphics card shut itself down.

  6. Run the following command to see whether the card has turned off again:

    cat /sys/class/drm/card1/device/power/runtime_status
    

Expected result

  1. The output from the first command should be the word suspended.
  2. The output from the second command should be the word active.
  3. The output from the third command should be the word suspended.

NVI002.002 NVIDIA Graphics power management (Windows 11)

Test description

This test aims to verify that the NVIDIA graphics power management is functional and the card powers on only while it's used.

Test configuration data

  1. FIRMWARE = coreboot
  2. OPERATING_SYSTEM = Windows 11

Test setup

  1. Proceed with the Common section.
  2. Install the driver for the graphics card (GTX 1650) from the official page.
  3. Download and extract gputest from Geeks3D.

Test steps

  1. Open the NVIDIA Control Panel window.
  2. In the menu bar, open the Desktop menu.
  3. Enable the Display GPU Activity Icon in Notification Area option.
  4. Open the system tray located in the bottom right corner of the screen and locate the GPU activity icon:

GPU activity icon

  1. Open the previously extracted gputest directory and open the GPUTest_GUI application.
  2. Click on the Run stress test button to start the test application.
  3. Locate the GPU activity icon and check that it indicates that the GPU has powered on.
  4. Close the test application.
  5. Locate the GPU activity icon and check that it indicates that the GPU has powered off again.

Expected result

  1. The GPU activity icon should indicate that the GPU is OFF when no application is using the GPU.
  2. The GPU activity icon should indicate that the GPU is ON when an application is using the GPU.
  3. The GPU activity icon should indicate that the GPU is OFF again after the test application is closed.