Ubuntu 18.04 for ODROID-C2

We’ve released a new 64bit Ubuntu 18.04 image for C2 with many useful features. This LTS version will be supported until April of 2023.

Ubuntu 18.04 LTS AARCH64 Bionic Beaver with Mate Desktop
Linux Kernel 3.16.57 LTS updated from discontinued 3.14 (this 3.16 LTS Kernel was ported by user scpcom and other forum members)
OpenGL ES 2.0 driver for Mali 450MP3 GPU
Kernel header package is improved to support the DKMS driver build
OpenGL ES enabled Qt5 library
OpenGL ES enabled SDL library
GPU accelerated Chromium WebGL browser
Kodi 17.6 playback 4K/60fps H.265 files
c2play command line video player compatible
WiringPi GPIO/SPI/I2C/ADC/IRQ library
And many other features

Click this image to see the OS information in detail.

In fact, we released this image a couple of weeks ago. But there was a critical issue with OpenGL-ES applications due to the malfunction of mmap driver.
Recently, a developer tobetter made a nice workaround and patched the kernel source.
So you must update the kernel after installing the OS image with “sudo apt update && sudo apt dist-upgrade” command.

You can find the OS image link from this WiKi page.
https://wiki.odroid.com/odroid-c2/os_images/ubuntu/v3.0

Ubuntu Minimal image is available in this link too.
https://wiki.odroid.com/odroid-c2/os_images/ubuntu/minimal_image

If you are interested in running the mainline Kernel 4.17 or higher, visit this forum thread.
https://forum.odroid.com/viewtopic.php?f=135&t=22717&start=850#p226092
As far as I heard, most of key features are working well including the Mali OpenGL acceleration.
But the video decoding HW acceleration still has some issues.
I hope we can run the mainline kernel officially before Christmas.

BTW, we couldn’t find any way to upgrade to 18.04 from 16.04 due to very complicated dependencies.
So you have to backup your important data and freshly flash the OS image.

C1/C1+/C0 compatible Ubuntu 18.04 image will be ready in a few weeks.
Stay tuned.

Newer LTS Kernel for ODROID-C2

We’ve used Kernel 3.14 for ODROID-C2 almost two years.
Originally, version 3.14 was an LTS(Long Term Support) Kernel.
But it reached End of Life in late ‘2016.

From late last year, we’ve internally tested 4.14 LTS and 4.16 mainline Kernel on the ODROID-C2 platform.
Basic functionality was acceptable including the GPU 3D acceleration.
But there was no hardware video acceleration(VPU) driver in the mainline kernel yet.
Therefore, we couldn’t enjoy 2K/4K videos and we have to wait until the VPU driver is implemented in Kernel 4.18 or 4.19.
You can monitor the mainline kernel development status in this forum thread.
https://forum.odroid.com/viewtopic.php?f=135&t=22717

In late January ‘2018, a forum member ‘scpcom’ posted an amazing news about very promising LTS Kernel port.
He made a tons of great patches against vanilla Kernel 3.16. Almost everything worked out of the box including GPU and VPU on ODROID-C2.
You might be disappointed with such Kernel version number.
But this 3.16 LTS will be updated until April 2020 by official Linux maintainers.
Yes! Its life cycle is longer than 4.9 as well as 4.14.

Our members also joined the Kernel 3.16 Dev party and we’ve implemented many missing drivers and fixed a lot of issues.
Finally, we uploaded the source code into our official GitHub after re-base the latest 3.16.55 .
You can download the Kernel 3.16 LTS source from this branch.
https://github.com/hardkernel/linux/tree/odroidc2-v3.16.y

There was a critical issue with mmap/ump drivers which crashed OpenGL-ES applications from time to time.
Yesterday, the great user “scpcom” has fixed the very complicated problem again.
If you want to see this amazing story, please visit this forum thread.
https://forum.odroid.com/viewtopic.php?f=140&t=29735

We have a plan to update Kernel to 3.16.56 with other minor bug fixes within a week.
If you are willing to test the newer LTS Kernel, please join the development thread.

I hope we can see Ubuntu 18.04 image in May or June with the actively managed 3.16 LTS Kernel.
Really appreciate scpcom‘s hard work. His Kernel development skill has been very impressive.

How to install ExaGear Desktop Trial on Odroid

Thank to Eltechs for the great instruction and giving ODROID users a trail. This article is written by Eltechs team.
Please share your experience on ODROID forum.

ExaGear Desktop is a powerful emulator for porting almost any x86 applications to ARM-based devices. In a nutshell, if you need some Windows apps or on your Odroid for any specific purpose (e.g. Notepad++ or even MS Word), ExaGear is the best solution to make it happen. Not mentioning the fact, that some native Linux applications, such as Skype and TeamViewer, when launched within ExaGear run even faster than launched via Wine on Linux. If you need more information visit our product page!

Install ExaGear Desktop Trial on Odroid
Our ExaGear Odroid Trial is kept on Odroid repos and is available for the following ODROID models:

ODROID-XU4 / XU3
ODROID-C2
ODROID-C1+ / C1
ODROID-U3 / U2 / X2 / X

Within the following OS images on:

Ubuntu 16.04
Debian Jessie
ODROID GameStation Turbo
DietPi

 

Within the following OS images on:
1. Connect a keyboard and a mouse to your Odroid device, or connect to it remotely – whatever you got used to.
2. Call for the command line and input the following commands to update the system.
 $ apt-get update
3. After a few minutes of auto-updating, you need to proceed with the following command:
 $ apt-get install exagear-desktop
4. As soon as the installation is finished, simply switch on the ExaGear software:
 $ exagear
5. The pop-up window will appear for you to provide your name and e-mail address. After you are done with that your ExaGear Odroid Trial will be activated and will last for 3 days from the moment of activation.

You might want to check if ExaGear is properly installed on you Odroid device. You can do it the following way:

 $ uname -a
You should get the output like:
Linux odroid 4.9.51-64 #1 SMP PREEMPT Sat Sep 23 03:28:28 UTC 2017 i686 i686 i686 GNU/Linux
6. Finally, we recommend to check that everything is OK by running the “arch” command (it should result in “i686” output):

$ arch
i686
Playing Windows Games on Odroid
Well, you are done with the installation and activation of your trial, so it’s the very time to enjoy the full power of ExaGear Desktop emulator by playing different famous Windows games on your Odroid device. Of course, gaming on Odroid is just a very small part of what ExaGear software can really do, but this user case is very representative and after all simply cool!
Tobias Schaaf from Odroid Magazine has prepared an outstanding article, covering some of the most popular PC games to be installed and played on Odroid, using ExaGear Desktop as an emulation machine and PlayOnLinux app. Read the ultimate tutorial here or watch a detailed video-guide below!
Moreover, as a bonus, he has prepared a list of games compatibility for Odroid, tested by him personally on Odroid XU4 model. See the table bellow:

 

Linux x86 Compatibility list for ODROID XU3/XU4 running ExaGear 2.1 Desktop 

Game Rating Notes
Airline Tycoon Deluxe Perfect Uses Desktop resolution, up to 720p should run fine

Windows x86 Compatibility list for ODROID XU3/XU4 running ExaGear 2.1 Desktop

Game Rating Notes
7th Legion Perfect 640×480 only
8th Wonder of the World Very Good no music, long loading times, many resolutions, very demanding
Age of Empires 1 + The Rise of Rome Very Good No Music (no MIDI support in ExaGear)
Age of Wonders Perfect Requires IndeoVideo, offers many in game resolutions
Airline Tycoon Deluxe Broken Fonts don’t work can’t be played that way (else perfect)
Alien Nations Perfect requires: amstream, quartz, icodecs/iv5setup
Alpha Centaruri + Alien Crossfire Perfect use PlayOnLinux installer
Anno 1602 Perfect Requires NoCD patch
Arcanum: Of Steamworks and Magick Obscura Perfect 800×600 only
Atrox Very Good Very similar to Starcraft, supports 800×600 and 640×480 resolution, Videos are not working
Balls of Steel Perfect 800×600 max resolution
Caesar III Perfect runs in 640×480, 800×600, or 1024×768 resolution
Call to Power 2 Good Videos are not working, game supports many resolutions.
Capitalism II Fair Graphical glitches in game (known issue with the game)
Civilization III Very Good 1024×768 only, has some known sound issues.
Dark Colony Very Good requires Linux PC to install, 640×480 only, minor sound issues
Diablo 1 Very Good 640×480 only, requires ddraw patch
Diablo II Complete Edition 1.13d Very Good Videos don’t work, runs in 640×480 or 800×600
Dune 2000 Perfect use high resolution patcher for all kind of resolutions
Earth 2140 Perfect GoG classic Windows versions is only 800×600, reduce sound volume.
Emperor – Rise of the Middle Kingdom Good runs in window mode, annoying sound issues.
Gangsters: Organized Crime Good graphical issues in menu, game is fine, requires gdi rendering
Homeworld: Cataclysm Perfect 3D rendering in software mode, complicated resolution switch
Jack Orlando: A Cinematic Adventure (Director’s Cut) Good 640×480 only, often keyboard input issues
KKND: Krush Kill ‘n Destroy Xtreme Poor 640×480 only, Everything except New Game will crash the game (would be “perfect” otherwise)
KKND2 Krossfire Perfect supports 640×480, 800×600 and 1024×768 as resolution.
Larry 7: Love for Sail Perfect runs in ALL resolutions, you can NOT use “System” wine version
Lionheart: Legacy of the Crusader Very Good 800×600 only, can slow down at times, especially with special effects
Mech Commander Gold Perfect Must be installed on another PC, supports 640×480, 800×600, 1024×768, and 1280×1024 resolution.
Microsoft Office 2007 Perfect Runs directly on your Desktop
Pharaoh and Cleopatra Good runs in 640×480, 800×600 or 1024×768 resolution, suffers from sound issues (echoing)
Rollercoaster Tycoon Deluxe Very Good only minor sound issue, offers window mode which allows to start it on any desktop resolution (without virtual desktop)
Rollercoaster Tycoon 2: Triple Thrill Pack Very Good 800×600 only
Starcraft Very Good 640×480 only, can have slowdowns
Stronghold Crusader HD + Stronghold Crusader Extreme HD Very Good Some sound issues similar to Pharaoh and other games where sounds are played twice, many different resolutions supported including 1080p and 720p
The Tone Rebellion Perfect only runs in 640×480, needs to be installed on another PC
Tropico Gold Perfect offers different resolutions from 640×480 to 1600×1200
Unreal Very Good runs in software mode only, supports many different resolutions

Benchmark results for Raspberry Pi 3 Model B, ODROID-C1+, ODROID…

We ran several benchmark tests to measure the computing power of the XU4. The same tests were performed on the Raspberry Pi 3 Model B, ODROID-C1+, ODROID-C2 and ODROID-XU4. The values of the test results were scaled uniformly for comparison purposes. The computing power of the XU4 was measured to be ~7 times faster than the latest Raspberry Pi 3 thanks to the 2Ghz Cortex-A15 octa-core and much higher 64bit memory bandwidth. Using the XU4 as a computer provides a “desktop like” experience, unlike the industry wide sluggish performance of most single-board computers! Particularly for developers, compiling code on the XU4 is super fast. The coveted high-performance 2GB DDR3 RAM is an additional advantage allowing most programs to be compiled directly on the XU4.

Benchmarks (Index Score) Raspberry Pi 3 ODROID-C1+ ODROID-C2 ODROID-XU4
Unixbench: Dhrystone-2 865.4 1571.6 2768.2 5941.4
Unixbench: Double-Precision Whetstone (x3) 1113 1887.3 3076.8 6186.3
Nbench 2.2.3: Integer (x40) 619.92 1173.6 1808.92 2430.52
Nbench 2.2.3: Floating-Point (x100) 781.8 1245.3 2300.3 3787.3
mbw100: Memory Bandwidth (MiB/s) 542.912 616.339 1472.856 2591.461