Announcement

Collapse
No announcement yet.

Why Canonical Is Using Android Drivers For Ubuntu Mir

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • droidhacker
    replied
    Originally posted by TheOne View Post
    I actually see Canonical's move as a smart one, look how many years it took for the linux kernel to have some decent video drivers shipped by mainstream hardware vendors.

    I think this will actually even help ubuntu and other distros that adopt Mir (if any) on the desktop side. Lets take for example the raspberry pi. It has a mali 400 quad core video chip, now imagine running the desktop environment with hardware accelerated graphics, everything would run faster.

    If things go well, we will have an era where replacing typical x86/x64 desktops with low power arm counterparts would be much easier. Take a look at the odroid-u2: http://www.hardkernel.com/renewal_20...=G135341370451 that piece of hardware runs ubuntu smoothly, consumes little power, small and powerful. Now imaging the possibilities if we could use existing android drivers, you could take any cellphone and convert it to a desktop pc with good performance running a full fledge linux software stack.

    We shouldn't be haters or fanboys but take a look at things with an open mind (even if the drivers source code isn't open).
    raspberry pi does not have mali. It has a BCM2835 broadcom videocore. And yes, it does work with accelerated UI, using evil "driver is entirely hidden in firmware" approach.

    And BTW: odroid u2 is on a totally different playing field from raspberry pi. Raspberry pi has a crappy single core 700. odroid u2 has a quad-core cortex A9, with a, yes, this one actually does have a Mali.
    Last edited by droidhacker; 09 April 2013, 11:18 AM.

    Leave a comment:


  • akincer
    replied
    It seems to me that regardless of whatever marketing speak Canonical paints over this, it makes quite a bit of sense if they REALLY plan on putting Mir in "production" as soon I think I remember was stated early on (i.e. in the next year). Even if they had started trying to negotiate their own drivers as soon as they decided to go with Mir, I just don't see them getting their own special drivers in time for rollout.

    I don't know if it is necessary or even possible for backport hacking to be done so that the drivers will work on cutting edge kernels, but I'm guessing that's their plan.

    Leave a comment:


  • GreatEmerald
    replied
    Originally posted by droidhacker View Post
    The four big mobile gpu's are Adreno, Mali, tegra, and powervr.... ordered from most functional open source to least. Keep left.
    Yeap. Right now it's most likely that Jolla's first phone will be using a Mali (due to their partnerships).
    If anyone was to ever fork or rewrite Lima at some point, they should totally call it "Armali"

    Leave a comment:


  • TheOne
    replied
    I actually see Canonical's move as a smart one, look how many years it took for the linux kernel to have some decent video drivers shipped by mainstream hardware vendors.

    I think this will actually even help ubuntu and other distros that adopt Mir (if any) on the desktop side. Lets take for example the raspberry pi. It has a mali 400 quad core video chip, now imagine running the desktop environment with hardware accelerated graphics, everything would run faster.

    If things go well, we will have an era where replacing typical x86/x64 desktops with low power arm counterparts would be much easier. Take a look at the odroid-u2: http://www.hardkernel.com/renewal_20...=G135341370451 that piece of hardware runs ubuntu smoothly, consumes little power, small and powerful. Now imaging the possibilities if we could use existing android drivers, you could take any cellphone and convert it to a desktop pc with good performance running a full fledge linux software stack.

    We shouldn't be haters or fanboys but take a look at things with an open mind (even if the drivers source code isn't open).

    Leave a comment:


  • droidhacker
    replied
    Originally posted by panda84 View Post
    There's a big downside on relying on binary driver: more often than not you'll be stuck with a fixed kernel version, and you'll not be able to upgrade. Android Jelly Bean, which is the latest public Android release and is installed in roughly 25% of the devices (http://developer.android.com/about/d...rds/index.html) is generally using kernel 3.0, 3.2, or at maximum 3.4. But 3.9 is just out of the door.
    And you have no guarantee that your device manufacturer will upgrade your phone software to the latest version.
    So, no Canonical, I'm not interested in another Poulsbo mess.
    Actually, the need for newer GPU drivers with each Android upgrade has more to do with Android's increasing utilization of the GPU than with the kernel version. Quite frankly, we are using the same GPU drivers across several different kernel versions with perfect compatibility, this is because the glue is open source.

    Also, the reference hardware for Android 4.2 is the LG Mako (nexus 4), running a qualcomm snapdragon, which is (as snapdragon's always are) paired up with an Adreno (aka RADEON -more or less) GPU. You may not be aware, but this is the ONLY mobile GPU that can run on *fully* open source drivers, although others are following. Other GPUs have a much steeper hill to climb, since they don't share nearly as much with any desktop chips running open source drivers -- except maybe tegra sharing a bit with desktop nvidia, maybe nouveau will be helpful? No documentation, unfortunately. Anyhow, my Samsung Relay sitting in my pocket right this moment, is running a 3.0 kernel, along with Adreno drivers pulled from LG Mako, which shipped running 3.4 kernel.

    Now for canonical... they're using Android drivers, because they're running Android, more or less. And nobody, of course, takes them at all seriously.

    As for poulsbo mess... unless you run a powervr GPU, you won't be running into that. The four big mobile gpu's are Adreno, Mali, tegra, and powervr.... ordered from most functional open source to least. Keep left.

    Leave a comment:


  • Wilfred
    replied
    Originally posted by pdffs View Post
    [...] but Ubuntu's NIH syndrome still disgusts me. [...]
    Why is it NIH if they reuse the android drivers? Isn't that like the antithesis of NIH?

    Leave a comment:


  • libv
    replied
    Thanks so very much, canonical, for your continued support of our cause, and for making this line in the sand for open ARM GPU drivers.

    Leave a comment:


  • Teho
    replied
    Originally posted by curaga View Post
    Given the quality of Android gpu drivers, they are definitely not building their house on rock.
    That was the first thing that came to my mind... everything that Canonical developers seem to put out is marketing, marketing and marketing. Android drivers are written for particular chip as fast as possible and then forgotten because the next chip is already in developement. Quality is not something I would associate with Android drivers. I have gotten the impression that most ARM drivers overall that have been open sourced have been pure garbage at first too.

    If Canonical, like Samsung with Tizen, Nokia with Maemo/MeeGo, Jolla with Sailfish... made hardware or had proper hardware partners they wouldn't need to rely on the Android stack. Ubuntu Touch seem like a mix of Android and GNU/Linux that have been duct taped together as fast as possible (by writing something as major as display server from scratch in matter of months, using libhybris and so on and so forth).

    Leave a comment:


  • Pallidus
    replied
    they are using android driver because if they didn't NO ONE

    NO FUCKING ONE

    would bother rooting nexus tablets or smartphones or whatever to put ubuntu on that shit


    are you still waiting for some vendor to sell ubuntu phones/tablets?? DONT MAKE ME LOL

    Leave a comment:


  • curaga
    replied
    Given the quality of Android gpu drivers, they are definitely not building their house on rock.

    It's more like building on glass. Sit down too hard and the entire thing collapses.

    Leave a comment:

Working...
X