Giter Club home page Giter Club logo

fimage's Introduction

title permalink summary
Portable Fuchsia Emulator (FImage)
os/fimage.html
Explanation of the FImage tool, and its usage

Portable Fuchsia Emulator (FImage)

Note

FImage is provided for the convenience of developers and enthusiasts who don't want to compile Fuchsia. We are in no way connected to Google. For more information, see fimage/LICENSE.

TL;DR

  • The FImage emulator can be downloaded here.
  • For more information on the Fuchsia Emulator, see this document.

To quickly run FImage, use the commands below inside of it's folder:

./ffx-linux-x64 platform preflight
./network-config
./fimage-gui 4096

See Explore Fuchsia for tips on what you can do next. When you're done, you can clean up via dm shutdown.

Recommended Requirements

  • 8GiB of RAM or more
  • an Intel processor produced after 2010 (If you have a dedicated GPU)
  • A 4th generation Intel processor (If you do not have a dedicated GPU)
  • Ubuntu 20.04 or equivalent
  • curl, unzip,git
  • Up-to-date graphics drivers

Fimage Quick Start

First, download the latest Fimage tool at fimage/releases. Extract the file fimage-210525.zip and go into the fimage folder.

Begin by checking your hardware, using the provided ffx tool. FFX Documentation on fuchsia.dev

./ffx-linux-x64 platform preflight

This will print information about the hardware and software. If you are missing any dependencies or lacking hardware, it will let you know. The most common error is related to a lack of a supported GPU, to negate this, FImage uses software rendering by default, which may affect performance. If you have a supported GPU, use the fimage-gui-hostGPU script.

After following the instructions generated by the ffx preflight checks, you will need to configure networking, using the command below. This will configure the network interfaces for FEMU.

./network-config

Finally, the emulator is ready to run! Select one of the different launch options and use that to launch the emulator.

The command syntax is the same for each option. For example, to launch an FImage instance with 4GiB of RAM and a GUI, use:

./fimage-gui 4096

The launch options are as follows:

  • fimage-headless - Fuchsia emulator using only the command line
  • fimage-gui - Fuchsia emulator with the FEMU interface and the Ermine user shell
  • fimage-gui-hostGPU - Same as fimage-gui, using hostGPU; if supported

Known Issues

  • Performance when drawn with the software GPU is expectedly awful
  • Mouse input is laggy
  • Terminal application within ermine crashes (Fuchsia bug?); negated by pressing enter in the terminal FEMU was launched from.

fimage's People

Contributors

ignapk avatar larsb24 avatar nealmcb avatar nmcain avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.