VIDEO
The VIDEO test checks for removable or integrated video hardware. You can run this test to verify active displays and run performance subtests.
- What the test covers
- For RHEL 8, the VIDEO test checks for all removable or integrated video hardware on the motherboard. Devices are selected for testing by their PCI class ID. Specifically, the test checks for a device with a PCI class as Display Controller in the udev command output.
For RHEL 9, the VIDEO test remains the same. However, for framebuffer graphic solutions, the test plan depends on the display kernel driver. The test is planned only if the driver is used as a framebuffer and direct rendering is unsupported by the glxinfo command.
For RHEL 10, the VIDEO test checks for all the removable or integrated video hardware on the motherboard. You don’t need to run the test from a terminal within the GUI. As long as the GNOME Display Manager (GDM) is running in the background, the test automatically detects the active display sockets.
The test then runs the subtests, whether initiated from a GUI terminal or an SSH session.
- RHEL version supported
-
- RHEL 8
- RHEL 9
- RHEL 10
- What the test does
-
The test runs multiple subtests:
For RHEL 8 and 9:
- Check Connections - Logs the
xrandrcommand output. This subtest is optional, and its failure does not affect the overall test result. - Set Configuration - Checks the necessary configuration prerequisites like setting the display depth, flags, and configurations for the next subtest.
- The X Server Test - Starts another display server using the new configuration file. It runs
glxgears, a lightweight MESA OpenGL demonstration program, to check the performance. - Log Module and Drivers - Runs
xdpyinfoto determine the screen resolution and color depth. Additionally, the configuration file created at the start of the test should allow the system to run at the maximum resolution capability. Finally, the test uses grep to search through the/var/log/Xorg.0.loglogfile to determine in-use modules and drivers.For RHEL 10:
- Check Connections: Logs the
wayland-infocommand output and is a replacement forxrandrcommand available for RHEL 8 and RHEL 9 systems. It shows information about the connected displays. - Log resolution and display size: Parses the
wayland-infocommand output and prints the resolution and display size. It raises a REVIEW status if the connected display type is virtual. It also raises this status if the display does not meet a minimum resolution of 1024x768. - The XWayland test: This test replaces the X server test. It checks the functioning of the XWayland compatibility layer by running the
glxgearsdemo. It also checks the command output. - Check and log driver info: Checks the display drivers loaded by GDM to see if they are built by Red Hat.
- Check Connections - Logs the
- Preparing for the test
-
- Ensure GUI is installed and running on your test system.
- Ensure that the monitor and video card in the system can run at a minimum resolution of 1024x768. The color depth must be at least 24 bits per pixel (bpp). Higher resolutions or color depths are also acceptable.
- For RHEL 8 and 9, check the
xrandrcommand output for 1024x768 at 24 bpp or higher to confirm. - For RHEL 10, check the
wayland-infocommand output for 1024x768 at 24 bpp or higher to confirm.
- For RHEL 8 and 9, check the
- If you do not see all the resolutions that the card or monitor combination can generate, check for KVM switches. Remove any KVM switches between the monitor and video card.
- Running the test
-
The test is non-interactive. Run the following command and then select the appropriate
VIDEOtest name from the list that displays.rhcert-runFirst, the test system screen goes blank, and then a series of test patterns from the x11perf test program appears. When the test finishes, it returns to the desktop or the virtual terminal screen.
- Run time
- The test takes about 1 minute to complete. Any other mandatory or selected tests add to the overall run time.