sdk-vb-fullscreen manual

critical

Image Types:
basesdk-amd64 / sdk-amd64
Image Deployment:
APT
Type:
compatibility

Description

Tests that the SDK VM can be fullscreened in VirtualBox. Development environment: ensuring that the VirtualBox SDK provides a seamless experience. Check that when fullscreened the output is not stretched, even for accelerated contents.


Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2026dev1 https://gitlab.apertis.org/tests/webkit2gtk.git
  3. Copy the test directory webkit2gtk to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r webkit2gtk user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP
  7. For SDK image: please read ~https://www.apertis.org/guides/virtualbox/#virtualbox-supported-version for information about which version to use.
  8. To update setup, please read:
  9. https://www.apertis.org/guides/virtualbox/#guest-additions-under-virtualbox-sdk-images

  10. Download the virtual machine image for the latest SDK release from:
  11. https://images.apertis.org/

  12. Install package: `sudo apt-get install xserver-xephyr`

Execution Steps

  1. Start the SDK virtual machine
  2. Click "Switch to Fullscreen" from the "View" menu
  3. Open a terminal
  4. Run below commands
  5. $ agl-compositor
    $ DISPLAY=:1 /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/MiniBrowser webkit2gtk/webgl-square.html

Expected

The screen is correctly resized when switching to fullscreen.

MiniBrowser shows a blue square on grey background inside the Xephyr window.

Check that the blue shape is a square and is not stretched in any way.