[roll] Roll fuchsia [ffx-emu] Support screenshots in headless mode for QEMU

Enable the virtual GPU and use '-display none' instead of '-nographic'
for QEMU in headless mode. This keeps the virtual framebuffer active,
allowing screenshots to work in remote and CI/CQ environments.

Also align emulator resolution with device configuration by explicitly
passing window size and GPU resolution parameters. This overrides
AEMU's default 1280x720 fallback for non-AVD (Fuchsia) launches, which
otherwise occurs when running in headless mode.

Original-Original-Bug: 515058742

Test: fx test ffx_emulator_engines_lib_test
Test: fx test src/developer/ffx/plugins/emulator/commands/screenshot
Test: Manual verification matrix on ffx target ssh display-tool squares:
  - QEMU +      Desktop + Non-Headless: display-tool info/squares (OK)
  - QEMU +      Desktop +     Headless: display-tool info/squares (OK)
  - QEMU + SSH (No GUI) + Non-Headless: display-tool info/squares (OK)
  - QEMU + SSH (No GUI) +     Headless: display-tool info/squares (OK)
  - FEMU +      Desktop + Non-Headless: display-tool info/squares (OK)
  - FEMU +      Desktop +     Headless: display-tool info/squares (OK)
  - FEMU + SSH (No GUI) + Non-Headless: Expected failure (no window system)
  - FEMU + SSH (No GUI) +     Headless: display-tool info/squares (OK)

Original-Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1622254
Original-Original-Revision: f881afb90116029c9a4254a10304b571226f8bef
GitOrigin-RevId: fd15e899ed9270e646d631fd4babdd212a796ae0
Change-Id: I0e7e4aee329d539f67c1cb892f7a96e6628a0727
Reviewed-on: https://fuchsia-review.googlesource.com/c/integration/+/1628095
Cr-Commit-Position: refs/heads/main@{#193506}
1 file changed
tree: 20dc103623170b679e4e617061a6c040226c63a5
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.