Ubuntu Linaro 12.11 for ODROID-X (with 3D)

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

Update : 25-Jan-2013

What's new !
* System
- Ubuntu Software Center is working
- boot partition size increased to 128MB(you must write the full image for this update)

* Kernel features
- Based on Linux kernel 3.0.60
- Add ZEN I/O scheduler
- modules of REISERFS
- modules of F2FS (backported from linux 3.8 by zehome)
- modules of AFS
- module of Crypto stuff
- module of Joystic stuff
- module of UHID
- Tweaked kernel/timer
- support Ralink's RT5370 Wireless USB dongle (which was sold with ODROID-X)

how to overclock :
- max frequency that can be set
2000000 1920000 1800000 1704000(default)
echo 1920000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
You may need a cooling fan for this overclocking.


- The latest Kernel source code can be found in this link.
https://github.com/hardkernel/linux/tree/odroid-3.0.y
- You can compile it with the GCC 4.6.x on board.
Kernel Configuration file is "odroidx_ubuntu_defconfig".


Here are the full SD & eMMC images for new installation.
http://dn.odroid.com/Ubuntu_X/20130128/
If you use the HDMI display, download this file.
odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz
If you use the LCD module kit, download this file.
odroidx_20130128-linaro-ubuntu-desktop_SD_with_LCD.img.xz


Update : 15-Feb-2013

What's new !
* Kernel is updated to 3.0.63
* Thermal Management Unit driver is enabled
* Supports Ralink RT5370 WiFi module
* Mali-driver udev-rule issue is fixed

- The latest Kernel source code can be found in this link.
https://github.com/hardkernel/linux/tree/odroid-3.0.y
- You can compile it with the GCC 4.6.x on board.
Kernel Configuration file is "odroidx_ubuntu_mali_defconfig".


How to update.
You must install 25-Jan-2013 version first. (Other updates can be skipped)
Run terminal and follow below steps.

Code: Select all

wget http://dn.odroid.com/Ubuntu_X/20130215/linux-3.0.63-odroidx_20130215.tar.gz
tar xvfz linux-3.0.63-odroidx_20130215.tar.gz
cd linux-3.0.63-odroidx_20130215
sudo ./install.sh 
sync
sudo reboot
After rebooting, run terminal and follow command.
* Please note that you must unplug the RT5370 Wifi module while doing this.

Code: Select all

sudo depmod -a
sudo reboot

The OpenGL-ES Mali400 3D drivers for X11 MUST be downloaded.
Follow this instruction to install X11 GPU driver. Order is important!

Code: Select all

wget http://dn.odroid.com/MALI400_R3P2/20130215/mali_packages.tar.gz
tar xvfz mali_packages.tar.gz
cd mali_packages
sudo dpkg -i mali400_2.1-13_armhf.deb
sudo dpkg -i mali400-dev_2.1-13_armhf.deb 
sudo dpkg -i xf86-video-mali_1.0.1-7_armhf.deb
sudo rm -fr /usr/lib/arm-linux-gnueabihf/mesa-egl 
sync

Note that you will meet an End-User-License-Agreement process in the dpkg stage.
Read the document and select "Yes" to complete the installation. You need a keyboard.

And reboot once again.


To use this Mali driver with the LCD Kit, you need to modify the Device and Screen Sections in /usr/share/X11/xorg.conf.d/99-hkl_mali.conf over ssh or serial. If you use the HDMI display, skip this modification.

from

Code: Select all

Option   "fbdev"           "/dev/fb6"
...................................
DefaultDepth   16
to

Code: Select all

Option   "fbdev"           "/dev/fb0"
...................................
DefaultDepth   24

To enjoy the GPU accelerated OpenGL-ES development, refer this link.
http://dev.odroid.com/projects/opengles-linux/

Please
note this release with OpenGL-ES is very early version(WIP) and there are many known/unknown issues. We will improve it gradually.

Paladine
Posts: 11
Joined: Thu Feb 28, 2013 12:01 pm
languages_spoken: english, Latin
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Paladine »

I followed the directions, but when I check the Xorg log file, this is what I see

Code: Select all

AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so: cannot open shared object file: No such file or directory)
I don't appear to have DRI2_dri.so in the directory, even though I installed the packages properly.

m4cios
Posts: 89
Joined: Sat Feb 23, 2013 8:07 pm
languages_spoken: english,polish
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by m4cios »

when i was trying to run xbmc on xfce od lxde i found exactly same error.

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

m4cios wrote:when i was trying to run xbmc on xfce od lxde i found exactly same error.
Can you run the glmark2-es2 OpenGL ES2 benchmarking program?

m4cios
Posts: 89
Joined: Sat Feb 23, 2013 8:07 pm
languages_spoken: english,polish
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by m4cios »

yes i can, xfce4 ~114fps, lxde ~142fps ... but with xbmc i get only black screen, switching to unity-2d solves black screen problem, but there is still xorg error present in xorg.0.log:

Code: Select all

linaro@serwinski:~$ cat /var/log/Xorg.0.log |grep error
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    14.208] (EE) AIGLX error: dlopen of /usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so failed (/usr/lib/arm-linux-gnueabihf/dri/Mali DRI2_dri.so: cannot open shared object file: No such file or directory)
linaro@serwinski:~$

Paladine
Posts: 11
Joined: Thu Feb 28, 2013 12:01 pm
languages_spoken: english, Latin
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Paladine »

Code: Select all

=======================================================
    glmark2 2012.08
=======================================================
    OpenGL Information
    GL_VENDOR:     ARM
    GL_RENDERER:   Mali-400 MP
    GL_VERSION:    OpenGL ES 2.0
=======================================================
[build] use-vbo=false: FPS: 77 FrameTime: 12.987 ms
[build] use-vbo=true: FPS: 81 FrameTime: 12.346 ms
[texture] texture-filter=nearest: FPS: 84 FrameTime: 11.905 ms
[texture] texture-filter=linear: FPS: 84 FrameTime: 11.905 ms
[texture] texture-filter=mipmap: FPS: 84 FrameTime: 11.905 ms
[shading] shading=gouraud: FPS: 80 FrameTime: 12.500 ms
[shading] shading=blinn-phong-inf: FPS: 79 FrameTime: 12.658 ms
[shading] shading=phong: FPS: 78 FrameTime: 12.821 ms
[bump] bump-render=high-poly: FPS: 71 FrameTime: 14.085 ms
[bump] bump-render=normals: FPS: 84 FrameTime: 11.905 ms
[bump] bump-render=height: FPS: 83 FrameTime: 12.048 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 45 FrameTime: 22.222 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 27 FrameTime: 37.037 ms
[pulsar] light=false:quads=5:texture=false: FPS: 84 FrameTime: 11.905 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 54 FrameTime: 18.519 ms
[desktop] effect=shadow:windows=4: FPS: 75 FrameTime: 13.333 ms
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 46 FrameTime: 21.739 ms
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported
[ideas] speed=duration: FPS: 76 FrameTime: 13.158 ms
[jellyfish] <default>: FPS: 59 FrameTime: 16.949 ms
Error: SceneTerrain requires Vertex Texture Fetch support, but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0
[terrain] <default>: Unsupported
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 86 FrameTime: 11.628 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 87 FrameTime: 11.494 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 84 FrameTime: 11.905 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 86 FrameTime: 11.628 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 64 FrameTime: 15.625 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 85 FrameTime: 11.765 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 84 FrameTime: 11.905 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 86 FrameTime: 11.628 ms
Is this the expected output? Running 1080p with ondemand governor @ 1.6 ghz max.

glxinfo shows Mesa software renderer

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

es2info == OpenGL ES 2 info

glxinfo = OpenGL info (ODROID's doesn't support OpenGL, so it will render on the CPU).

And yes the result is what should be expected.

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

Note that the 3D rendering performance is significantly affected by desktop of Linux.
These are the score of glmark2-es2 on my U2.

Unity : 70 pts
xfce : 110 pts
lxde : 140 pts

seppfett
Posts: 11
Joined: Sun Mar 03, 2013 11:03 pm
languages_spoken: english
ODROIDs: odroid-x
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by seppfett »

Hello,

I have installed version "odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz" on a SD-Card (16GB (10)). It actually seems to boot as the blue LEDs behave as normal (one lit up constantly and the other blinking), however, I do not get the graphical interface and the screen stays dark.
I have the odroidx version 3 (August 2012)

On the other hand I can boot openSuse and an older version "odroidx_20121108-linaro-quantal-ubuntu-desktop_with_HDMI.img.gz" without problem.

I tried two different screens (Samsung Tele and LG Flatron E2260) and I download the file several times and installed it using Linux Ubuntu and Windows 7.

Any trick I need to consider?
Thank you for your support

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

seppfett wrote:Hello,

I have installed version "odroidx_20130128-linaro-ubuntu-desktop_SD_with_HDMI.img.xz" on a SD-Card (16GB (10)). It actually seems to boot as the blue LEDs behave as normal (one lit up constantly and the other blinking), however, I do not get the graphical interface and the screen stays dark.
I have the odroidx version 3 (August 2012)

On the other hand I can boot openSuse and an older version "odroidx_20121108-linaro-quantal-ubuntu-desktop_with_HDMI.img.gz" without problem.

I tried two different screens (Samsung Tele and LG Flatron E2260) and I download the file several times and installed it using Linux Ubuntu and Windows 7.

Any trick I need to consider?
Thank you for your support
Ignore the PCB revision. There is no change of hardware can cause any software compatibility issue.

Did you check the md5sum value of xz file?
Can you try this utility for reliable flashing?
http://www.hardkernel.com/?b144

seppfett
Posts: 11
Joined: Sun Mar 03, 2013 11:03 pm
languages_spoken: english
ODROIDs: odroid-x
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by seppfett »

odroid wrote:
Ignore the PCB revision. There is no change of hardware can cause any software compatibility issue.

Did you check the md5sum value of xz file?
Can you try this utility for reliable flashing?
http://www.hardkernel.com/?b144
Thank you odroid for your feedback.

I actually used the flashing utility you are referring to. The checksum is ok as well. And it works with the other distributions.
Is there anything in the boot partition I could edit to check?

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

Well.. Blinking LED == board booted.

Either the HDMI cable or the Screen.

I would recommend you to test with Android image on the SDCard as well.. Why? Drivers for HDMI aren't the same for ubuntu and Android.

seppfett
Posts: 11
Joined: Sun Mar 03, 2013 11:03 pm
languages_spoken: english
ODROIDs: odroid-x
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by seppfett »

mdrjr wrote:Well.. Blinking LED == board booted.

Either the HDMI cable or the Screen.

I would recommend you to test with Android image on the SDCard as well.. Why? Drivers for HDMI aren't the same for ubuntu and Android.

It works with openSuse, Android and "odroidx_20121108-linaro-quantal-ubuntu-desktop_with_HDMI.img.gz" without any problem on SD-Card (the same) with the same monitor and the same HDMI cable... This is why I am so puzzled! :(

irrelevant
Posts: 24
Joined: Sun Mar 03, 2013 12:17 pm
languages_spoken: english
ODROIDs: X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by irrelevant »

Just wanted to let you know that you too ran into the "missing memory.h" error.
Solution is suggested here: http://www.powerdeveloper.org/forums/vi ... php?t=1982
but I need help implementating it as I want to compile some wifi drivers, please.

seppfett
Posts: 11
Joined: Sun Mar 03, 2013 11:03 pm
languages_spoken: english
ODROIDs: odroid-x
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by seppfett »

irrelevant wrote:Just wanted to let you know that you too ran into the "missing memory.h" error.
Solution is suggested here: http://www.powerdeveloper.org/forums/vi ... php?t=1982
but I need help implementating it as I want to compile some wifi drivers, please.
If your reply was for my boot/graphics problem, I must admit that I do not understand - I'd need more info about the "missing memory.h" issue.

irrelevant
Posts: 24
Joined: Sun Mar 03, 2013 12:17 pm
languages_spoken: english
ODROIDs: X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by irrelevant »

Oh no, sorry my bad :/ This was more like a general hint and had nothing to do with your issues. Sorry!

Paladine
Posts: 11
Joined: Thu Feb 28, 2013 12:01 pm
languages_spoken: english, Latin
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Paladine »

OK, I was unaware that the regular OpenGL stack would be software based. I can go forth and modify the emulator to implement OpenGLES with the dev stuff.

Where can I look for development docs? I saw the dev package, though I'm not sure exactly where the documentation/headers are.

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »


stefvienna
Posts: 4
Joined: Sun Mar 03, 2013 12:50 am
languages_spoken: english, german
ODROIDs: Odroid-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by stefvienna »

seppfett wrote:...... It actually seems to boot as the blue LEDs behave as normal (one lit up constantly and the other blinking), however, I do not get the graphical interface and the screen stays dark ....
Hi seppfett,
I had exactly the same problem after a failed eMMC flasing attempt, the board booted up, I could see that as I usually have the console cable connected to my notebook running Putty and I could run any command on the shell, but the screen connected via HDMI stayed dark.
Then I remembered, that I read somewhere that you must install Android first before you switch to Linux (which I had before).
So I flashed Android again and then switched back to Linux and the screen was back .. really wired, but it solved the issue for me at least. I still don't get it though ... :-/

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

Try using the 1080p boot.scr file see if it works

gentoosapien
Posts: 5
Joined: Fri Mar 01, 2013 7:52 am
languages_spoken: english, german
ODROIDs: X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by gentoosapien »

Is there a mirror for the 25-Jan-2013 Version?

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

gentoosapien wrote:Is there a mirror for the 25-Jan-2013 Version?
My mirror should be updated :)

User avatar
seventh
Posts: 84
Joined: Sun Mar 03, 2013 4:41 pm
languages_spoken: russian, english
ODROIDs: ODROID-X
Location: Russia, Belgorod
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by seventh »

I must write on SD file ...img.xz? Or I must unzip it before use?
My board don't boot with odroidx_20130128-linaro-ubuntu-desktop_SD_with_LCD.img.xz - only red LED light. What am I doing wrong?
MD5 is ok, writing to SD with http://www.hardkernel.com/?b144
Sorry for my English

kibergus
Posts: 401
Joined: Sat Feb 23, 2013 11:23 pm
languages_spoken: english, russian
ODROIDs: U2 X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by kibergus »

You must unzip it first.

Froggy
Posts: 4
Joined: Wed Mar 13, 2013 6:19 pm
languages_spoken: english
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Froggy »

Hi, I have bought ODROID-X specifically to do development with an ARM machine under Ubuntu.
I have followed the instructions to install Ubuntu, the updated kernel, and the mali drivers and it seems to work fine .... until it freezes after usually 1-2 minutes of usage.
I use the 8GB SD, WIFI and power-supply all purchased from you because I wanted to avoid any possible problem, but it seems i am out of luck :-(

Well, you seem to say the default clock is 1.7 GHz, could it be that my board CPU does not like such high frequencies ? how can I set it to 1.4 GHZ for example ?

kibergus
Posts: 401
Joined: Sat Feb 23, 2013 11:23 pm
languages_spoken: english, russian
ODROIDs: U2 X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by kibergus »

What desktop environment do yo use?

Froggy
Posts: 4
Joined: Wed Mar 13, 2013 6:19 pm
languages_spoken: english
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Froggy »

I use the default one (GNOME 3.4.2 / Kernel 3.0.63-odroidx), actually even just using the 25-Jan-2013 Ubuntu Version I experienced the same issue ... I thought upgrading would fix the freeze issue, but it did not.
I have not installed anything yet...

I must add that I use HDMI 1080p, the WIFI dongle is connected together with a USB mouse + keyboard.

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

Froggy wrote:I use the default one (GNOME 3.4.2 / Kernel 3.0.63-odroidx), actually even just using the 25-Jan-2013 Ubuntu Version I experienced the same issue ... I thought upgrading would fix the freeze issue, but it did not.
I have not installed anything yet...

I must add that I use HDMI 1080p, the WIFI dongle is connected together with a USB mouse + keyboard.
Do you use our power supply?

Froggy
Posts: 4
Joined: Wed Mar 13, 2013 6:19 pm
languages_spoken: english
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Froggy »

Yes I do, I forgot to mention that I bought that too. I thought it could have been the problem if it was not powerful enough ?
Also, at the default speed of 1.7GHz, the heat-sink is a little bit warm, but not that much.

If I don't touch to the mouse and keyboard, it seems it will never freeze, but if I do something on it, especially run Firefox, it will freeze randomly within a minute or so.
When it freezes, sometimes the top blue LED will continue blinking, sometimes not.

I thought it could have been a problem from the wifi dongle, so I unplugged it and used Ethernet instead, but it did not solve the problem.

I also notice that sometimes (especially with firefox) the mouse/keyboard can get unresponsive for a few seconds (like 4-5) then it continues, I wonder if others also experience this.

sboyce
Posts: 167
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by sboyce »

Something that went unnoticed until I did "cat /proc/cpuinfo" last night with 3.0.68 and I have been running from 3.0.63 onwards with the mali400 support.
There was only CPU0.
Checking through dmesg I saw that CPU's 1-3 were powered down during boot as there is only EXYNOS but no HDK support in 3.0.6x.

One pleasing result is that 3.0.6x with mali400 support running a Software Defined Radio (SDR) GUI application called quisk, sound from the radio is perfectly readable whereas with 3.6.x, 4 CPU's and no mali400 support the sound is totally unintelligible - like 1 second bursts so that not one word could be made out.
The author of quisk had put forward the proposition that handling video was probably causing a bottle neck.

I tried backporting HDK support from 3.6.11 but that's a difficult task with recurring build failures after fixing one issue after another.

3.8/3.9-rc1 I noticed are vanilla Linux kernels with no HDK support.

I wonder if there is a thought of longer term merging HDK support into the mainline kernel along with the other 60 or so ARM platforms that are supported from 3.8 onwards.

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

Hello sboyce,

We are in process of porting kernel 3.8 to ODROID, when we are done and have a DT based kernel we'll try to push that support.

You can see our Kernel 3.0 with ODROID support on our github as well the progress on the 3.8 kernel.

https://github.com/hardkernel/linux

sboyce
Posts: 167
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by sboyce »

Thanks for the quick reply.
I checked 3.8.2 last night and I'll have a look again.

Often requested in the SDR forums is support for more WiFi cards and the latest max98090 support which is quite improved and looks like it provides additional mixer controls.
We also need USB Sound support for SDR, we use 1 sound card (usually USB) that's connected to the radio in addition to the internal sound card which provides microphone and speaker functions.

I now see mach-odroid-u and mach-odroid-x in 3.8.2, I obviously overlooked them possibly by searching for mach-hkdk4412.c.

I get this failure in 3.8.2
=====================
CC net/core/sock.o
sound/soc/samsung/hkdk_max98090.c:217:18: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’
sound/soc/samsung/hkdk_max98090.c:234:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hkdk_max98090_driver_remove’
sound/soc/samsung/hkdk_max98090.c:249:12: error: ‘hkdk_max98090_driver_probe’ undeclared here (not in a function)
sound/soc/samsung/hkdk_max98090.c:250:2: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
sound/soc/samsung/hkdk_max98090.c:250:25: error: ‘hkdk_max98090_driver_remove’ undeclared here (not in a function)
sound/soc/samsung/hkdk_max98090.c:29:32: warning: ‘odroid_snd_device’ defined but not used [-Wunused-variable]
sound/soc/samsung/hkdk_max98090.c:170:34: warning: ‘voice_dai’ defined but not used [-Wunused-variable]
sound/soc/samsung/hkdk_max98090.c:210:28: warning: ‘snd_soc_hkdk_max98090’ defined but not used [-Wunused-variable]
cc1: some warnings being treated as errors
make[4]: *** [sound/soc/samsung/hkdk_max98090.o] Error 1
make[3]: *** [sound/soc/samsung] Error 2
make[2]: *** [sound/soc] Error 2
make[1]: *** [sound] Error 2
make[1]: *** Waiting for unfinished jobs....

Froggy
Posts: 4
Joined: Wed Mar 13, 2013 6:19 pm
languages_spoken: english
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by Froggy »

Do you use our power supply?[/quote]

Do you know what could be the problem ?
Is my freezing issue similar to what happens when you overclock the CPU too much (let's say 2GHz) ?

I am still happy if i can run it at 1.4 GHz, but is there an easy way to do ?
Right now I need to reboot every 2-3 minutes and I am really tired of it :-(

User avatar
odroid
Site Admin
Posts: 40074
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2841 times
Been thanked: 1602 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by odroid »

Froggy wrote:
Froggy wrote:Do you use our power supply?
Do you know what could be the problem ?
Is my freezing issue similar to what happens when you overclock the CPU too much (let's say 2GHz) ?

I am still happy if i can run it at 1.4 GHz, but is there an easy way to do ?
Right now I need to reboot every 2-3 minutes and I am really tired of it :-(
Open a terminal (Ctrl-Alt-T) and show me the "dmesg" capture.

Also try this image only for the stability test.
http://www.mdrjr.net/odroid/mirror/ODRO ... 04-3.6.10/

sboyce
Posts: 167
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by sboyce »

If it's freezing there is no way to capture anything.
The freezes I have had have either been due to overclocking or CPU overheating.

I built my ODROID-X into a U-shaped aluminium enclosure, so it has open sides.
I made a top with a cut out for a small 12V fan that I run a 5V to lessen the noise.

With the fan about 2 inches above the CPU heatsink, the CPU heatsink runs cool 24x7.

There is also the question of what provides power as an unstable power supply can cause crashes.

emolitor
Posts: 2
Joined: Sun Mar 17, 2013 6:49 pm
languages_spoken: english
ODROIDs: Odroid-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by emolitor »

Any plans to build the Mali400 drivers against the FB to allow GLES without X?

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

emolitor wrote:Any plans to build the Mali400 drivers against the FB to allow GLES without X?
Right now, no! It would only be helpful for X/X2 users with LCD Kit.

M4DM4NZ
Posts: 38
Joined: Mon Mar 18, 2013 1:33 pm
languages_spoken: english
ODROIDs: ODROID-X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by M4DM4NZ »

Hey Guys,

So now we have 3D support does this mean I can install steam and play games now?

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

M4DM4NZ wrote:Hey Guys,

So now we have 3D support does this mean I can install steam and play games now?
Does Steam support ARM ? And OpenGL ES?

scheich
Posts: 13
Joined: Tue Feb 26, 2013 3:36 am
languages_spoken: en de
ODROIDs: X
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by scheich »

mdrjr wrote: Does Steam support ARM ? And OpenGL ES?
I think not :-D

What about gnome-shell? I tried it, but I got the fallback mode.

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

scheich wrote:
mdrjr wrote: Does Steam support ARM ? And OpenGL ES?
I think not :-D

What about gnome-shell? I tried it, but I got the fallback mode.
I haven't test gnome-shell of Linaro's Ubuntu, not sure if its built for OpenGL ES, On Kali Linux it worked.

df5cl
Has thanked: 0
Been thanked: 0

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by df5cl »

Installing Mali did fail with an error message.
All steps were taken as instructed and also the image from January 29th has been used as starting point.
linaro@linaro-ubuntu-desktop:~/mali_packages$ sudo dpkg -i mali400-dev_2.1-13_armhf.deb
(Reading database ... 185686 files and directories currently installed.)
Unpacking mali400-dev (from mali400-dev_2.1-13_armhf.deb) ...
End User License Agreement has already been accepted
dpkg: error processing mali400-dev_2.1-13_armhf.deb (--install):
trying to overwrite '/usr/include/GLES2/gl2ext.h', which is also in package libgles2-mesa-dev 8.0.4-0ubuntu0.4
Errors were encountered while processing:
mali400-dev_2.1-13_armhf.deb
Does anyone have an idea how to get this fixed?

kibergus
Posts: 401
Joined: Sat Feb 23, 2013 11:23 pm
languages_spoken: english, russian
ODROIDs: U2 X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by kibergus »

Remove libgles2-mesa-dev and then install mali400-dev. Carefully read what apt-get remove libgles2-mesa-dev would print, because it may want to remove some application you need.

Looks like libgles2-mesa-dev's debian/control should contain Conflicts: libgles2-mesa-dev.
And if it has API compatible with libgles2-mesa-dev and there are applications depending in it, Replaces: libgles2-mesa-dev

df5cl
Has thanked: 0
Been thanked: 0

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by df5cl »

Thanks for quick reply!

There is still something blocking :
linaro@linaro-ubuntu-desktop:~/mali_packages$ sudo dpkg -i mali400-dev_2.1-13_armhf.deb
(Reading database ... 185035 files and directories currently installed.)
Unpacking mali400-dev (from mali400-dev_2.1-13_armhf.deb) ...
End User License Agreement has already been accepted
dpkg: error processing mali400-dev_2.1-13_armhf.deb (--install):
trying to overwrite '/usr/include/KHR/khrplatform.h', which is also in package libegl1-mesa-dev 8.0.4-0ubuntu0.4
Errors were encountered while processing:
mali400-dev_2.1-13_armhf.deb
linaro@linaro-ubuntu-desktop:~/mali_packages$

kibergus
Posts: 401
Joined: Sat Feb 23, 2013 11:23 pm
languages_spoken: english, russian
ODROIDs: U2 X2
Has thanked: 0
Been thanked: 0
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by kibergus »

As you can see, you have nearly the same problem, but now mali400-dev conflicts with another development package. You can take package name from error message, which is right after "which is also in package" and solve it the same way as previous one.

df5cl
Has thanked: 0
Been thanked: 0

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by df5cl »

I did rebuild the kernel and starting glmark2-es2 results in the following error message:
linaro@linaro-ubuntu-desktop:~$ glmark2-es2
UMP: ump_arch_open() failed to open UMP device driver
Error: eglInitialize() failed with error: 12291
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn't create X Window!
Error: main: Could not initialize canvas
linaro@linaro-ubuntu-desktop:~$
Any hint how I could trace this down and see where my Mali activation stops?

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

df5cl wrote:I did rebuild the kernel and starting glmark2-es2 results in the following error message:
linaro@linaro-ubuntu-desktop:~$ glmark2-es2
UMP: ump_arch_open() failed to open UMP device driver
Error: eglInitialize() failed with error: 12291
Error: Error: Could not get a valid XVisualInfo!
Error: Error: Couldn't create X Window!
Error: main: Could not initialize canvas
linaro@linaro-ubuntu-desktop:~$
Any hint how I could trace this down and see where my Mali activation stops?
check if you have /dev/ump

also
dmesg | grep -i ump

sboyce
Posts: 167
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by sboyce »

Getting close.
root@G3VBV:/media/1/linux-3.8.2# make
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/hardkernel/hardkernel_ump.o
drivers/hardkernel/hardkernel_ump.c:54:12: error: ‘disp_get_ump_secure_id’ redeclared as different kind of symbol
include/video/hardkernel_ump.h:24:14: note: previous declaration of ‘disp_get_ump_secure_id’ was here
drivers/hardkernel/hardkernel_ump.c: In function ‘disp_get_ump_secure_id’:
drivers/hardkernel/hardkernel_ump.c:63:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
make[2]: *** [drivers/hardkernel/hardkernel_ump.o] Error 1
make[1]: *** [drivers/hardkernel] Error 2
make: *** [drivers] Error 2

# grep UMP .config
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_ARCH_JUMP_LABEL=y
# CONFIG_CRASH_DUMP is not set
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
CONFIG_COREDUMP=y
CONFIG_JOYSTICK_JOYDUMP=m
CONFIG_MALI400_UMP=y
CONFIG_UMP=m
CONFIG_UMP_DEBUG=y
CONFIG_USB_STORAGE_JUMPSHOT=m
CONFIG_HARDKERNEL_UMP=y

mdrjr
Site Admin
Posts: 11821
Joined: Fri Feb 22, 2013 11:34 pm
languages_spoken: english, portuguese
ODROIDs: -
Location: Brazil
Has thanked: 1 time
Been thanked: 52 times
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by mdrjr »

Why don't you post on the correct thread?

sboyce
Posts: 167
Joined: Thu Feb 28, 2013 7:17 am
languages_spoken: english
ODROIDs: ODROID-C2
Location: Halesowen, West Midlands, UK
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Ubuntu Linaro 12.11 for ODROID-X (with 3D)

Post by sboyce »

Pardon me! Wrong topic.

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 2 guests