SPURV Runs Android Apps in Linux over Wayland

SPURV Architecture

We’ve previously seen it was possible to run Android apps natively inside Linux thanks to Anbox that leverages the Linux kernel in Ubuntu for better integration and performance, and uses an LXC container to run Android operating system. Collabora now offers a different solution with SPURV that runs the full Android OS, including a separate Linux kernel, in its own container and works over Wayland thanks to a graphics bridge from Android to Wayland. Four main components are part of the implementation: Android target device – This component integrates SPURV into Android by using the device infrastructure that the Android codebase provides, and the company specifically the target runs inside of a systemd-nspawn container. SPURV Audio – Bridges the Android Audio Hardware Abtraction Layer (HAL) to the host PulseAudio stack. SPURV HWComposer – Integrates Android windows into Wayland by implementing a HWC-to-Wayland bridge, where HWC is the Android API for implementing display & buffer management. The composer also manages user …

ODROID-N2 GPU Drivers, Linux 5.0, and Impressive glmarks-es2 Score

Ubuntu 18.04 Gnome Wayland ODROID-N2

ODROID-N2 was announced last February for $63 (2GB RAM), and $79 (4GB RAM), but Hardkernel was not quite ready to take orders at the time. One of the good news is that the 4GB RAM is now available for pre-order with shipping scheduled to start on April 3. Another good news is on the software side with Hardkernel having released the userland Mali-G52 Wayland driver. It does not work well with Linux 4.9 due to incomplete DRM implementation, but it goes work with Linux 5.0 plus some modifications as further discussed in the aforelinked forum thread. The screenshot above, courtesy of odroid forum member memeka , shows ODROID-N2 running Ubuntu 18.04 + Gnome3 + Linux 5.0 on top of Wayland with GPU drivers providing acceleration as shown by glmark2-es2-wayland test program. The benchmark results are pretty impressive: I’ve never seen such as high score (1,119 points) on Arm hardware. But at the same time, I’ve never run the wayland version …

Self-hosted GLES on ChromeOS, part two

This is a follow-up post from an earlier guest post by Blu about OpenGL ES development on Chrome OS. One can’t practice real-time rendering to disk files for long ‒ it’s just unnatural. So after checking that my habitual GLES tests work as intended on ChromeOS when rendering to an off-screen-buffer-subsequently-saved-to-a-PNG, the next step was to figure out a way how to show frames on screen at a palpable framerate, if possible. Being as new to Chrome OS as the next guy, I had to start from scratch with ‘How to show EGL surfaces on screen fast’. In the comments section to the first article William Barath kindly mentioned that there was a wayland client library on Chromebrew, so I decided to pursue that as I had had (positive) prior experience with wayland. Long story short, the established way on most platforms for connecting wayland to EGL (or vice versa) is to ask wayland/weston for an EGL-compatible window surface, and …

Forlinx OK5718-C Development Board is Powered by TI AM5718 Cortex-A15/M4 processor

TI AM5718 Development Board

Forlinx Embedded Technology (Forlinx) has just launched a new development board for indsutrial applications with audio and video processing requirements.  OK5718-C development board features Texas Instruments AM5718 Sitara SoC with a single Arm Cortex-A15 core, two real-time Cortex-M4 cores, a dual PRU, and a TI C66x DSP core. OK5718-C development board consists of a carrier board and FET5718-C SoM with the following specifications: FET5718-C System-on-Module SoC – TI AM5718 Sitara Arm Cortex-A15 processor @ up to 1.5GHz, C66x DSP @  750MHz, dual-core Arm Cortex-M4 @ 213MHz, dual core PRU @ 200MHz, PowerVR SGX544 3D GPU,  Vivante GC320 2D GPU, IVA-HD video accelerator subsystem (H.264, MPEG4, MPEG2, VC1) System Memory – 1GB DDR3L Storage – 8GB eMMC flash Board-to-board connectors for interface with baseboard – 320–pin exposing USB 3.0, PCIe 3.0, HDMI 1.4a, LCD RGB, 10x UART, 1x QSPI, 2x CAN, 2x Gigabit Ethernet, etc… PMU – TI TPS659162RGZR Supply Voltage – 5V Dimensions – 70 x 50 mm (12-layer PCB) Carrier …

Hardkernel & Libre Computer Release Ubuntu 18.04 Images for ODROID-XU4/3 & AML-S905X-CC Boards

Ubuntu 18.04 “Bionic Beaver” LTS operating system was released just last week, and at least two Arm board companies have independently released Ubuntu 18.04 images for their boards. First, Hardkernel has released an Ubuntu 18.04 MATE image for their Exynos 5422 powered ODROID-XU4(Q), ODROID-XU3 (Lite), ODROID-HC1, and ODROID-MC1 boards/kits. The ODROID Ubuntu image comes with the following key features: Linux 4.14.37 LTS GPU hardware acceleration via OpenGL ES 3.1 and OpenCL 1.2 drivers for Mali T628MP6 GPU FFMPEG/ffplay with hardware accelerated H.264 decoder X11 armsoc display driver with 2D acceleration GPU accelerated Chromium browser (WebGL contents and YouTube 720p plays well) Kodi 17.6 can play H.264 1080p/60fps BigBuckBunny sample video. (Note: no h.265, no 4K in Exynos-5422 processor) WiringPi and other GPIO/SPI/I2C/ADC/I2S tinkering libraries are available. KVM & Docker More stable and performant USB 3.0 and Gbit Ethernet drivers The company sent me a kit based on ODROID-XU4Q board to review Ubuntu 18.04 on the platform, so I’ll write a …

Linaro Connect Hong Kong 2015 Schedule and Demos

Linaro Connect Hong Kong 2015 will take place on February 9 – 13,2015 in Hong Kong, and the organization has released the schedule for the five days events with keynotes, sessions, and demos. Each day will start with the keynote including speakers such as: George Grey, Linaro CEO, who will welcome attendees to Linaro Connect, and provide an update on the latest Linaro developments Jon Masters, Chief ARM Architect, Redhat, who will present Red Hat update and latest ARMv8-A demonstrations Dejan Milojicic, Senior Researcher & Manager, HP Labs Bob Monkman, Enterprise Segment Marketing Manager, ARM, will discuss about  the impact of ARM in next generation cloud and communication network infrastructure Greg Kroah-Hartman, Linux Foundation Fellow, will introduce the Greybus Project (Linux for Project Ara modular phones) Warren Rehman,  Android Partner Engineering Manager, Google The agenda also features sessions covering Android, ARMv8-A, Automation & Validation, Digital Home, Enterprise Servers, LAVA, Linux Kernel, Networking, Power Management, Security, Toolchain, Virtualization and multiple training …

Maynard is a Wayland based Lightweight Desktop Environment Designed for the Raspberry Pi and Lower-end Hardware

With 3 millions board already sold, the Raspberry Pi board is clearly the most popular ARM Linux development board, and must be one of the most successful Linux device that’s designed to run a Desktop environment. However, the Broadcom BCM2835 processor and lowly 512MB makes it hard to run fully fledge desktop environment such as KDE and Gnome, so most people run LXDE via Raspbian operating systems, and it is much more manageable. However LXDE does not support Wayland, which is supposed to replace the X windows system, and it may not look as nice as it could. So the Raspberry Pi foundation and Collaborra have worked together on a new desktop environment called Maynard that leverages Wayland, and is supposed to be “functional, light and pretty”. This Wayland implementation is based on Weston + GTK, and is using the hardware video scaler (HVS) found in Broadcom BCM2835 to make everything nice and smooth. Although this is still work in …

Tizen 3.0 Features & Tizen Lite Unveiled

We have just learned about NX300M camera, the first Tizen device, based on Tizen 1.0, but development of the new mobile operating systems is still going on, and the key features of Tizen 3.0, as well as Tizen Lite, Tizen for low-end hardware, have been unveiled at the Tizen Developer Summit on 11th of November 2013. Tizen 3.0 features: Update core OS and toolchain Multiple user support 64-bit Intel and ARM architecture support (New) 3D UI Framework with 3D rendering for 2D and 3D objects in 3D, and a dynamic animation library WayLand based compositor replacing X Crosswalk – HTML5 based application runtime based on Chromium/Blink Tizen 3.0 release is scheduled for Q3 2014, so the first Tizen smartphones and tablets which are expected for Q1 2014 will probably ship with Tizen 2.2.1, or even possibly with an earlier version. Android KitKat 4.4 has been optimized to run smoothly on device with just 512 MB, but the newly announced Tizen …