7 ms·
Ubuntu may switch to Android technologies to keep the Linux desktop competitive
- Newky 14y agoIf this happened surely the benefits would be two-edged. Ubuntu/Linux would unlock all the potential of sharing applications of Android, while Google would suddenly gain the ability to run a desktop OS on the android stack. This is obviously purely theoretical, but would bring the ubiquity of Android to a whole host of new machines if used in a desktop context. That would make the whole experience quite interesting and exciting.
- markokocic 14y agoThat would actually not be a bad thing. After using Android for a while, I really how applications cooperate so seamlessly using intents. I find myself frequently wanting to use intents on my Linux desktop, both as a user and as a developer. It feels almost like shell pipelines for the whole OS.
- rlpb 14y agoIt may. But in general an article whose headline that says "X may Y" implies far more than reality. This article is pure speculation (apart from SurfaceFlinger). The article doesn't present itself as anything else. But appearing in the context of HN, the title is not appropriate.
- rwmj 14y agoAnd the proof that this is happening?
- illicium 14y agoThe RANDOM bolded words ARE extremely ANNOYING.
- dutchbrit 14y agoI only checked the comments for this article to see if I wasn't the only one... Indeed, very annoying!
- vacri 14y agoThey're subheadings, not 'random words'.
- ratherbefuddled 14y agoNot according to the html they're not.
- tzury 14y agoThe *Phone* and *Tablet* will be *Ubuntu*. The *Desktop* will be *Android*. That's a very risky prediction.
- edderly 14y agoHere's the original link that SurfaceFlinger (and other Android services) are running: http://www.phoronix.com/scan.php?page=news_item&px=MTMwODg http://www.phoronix.com/scan.php?page=news_item&px=MTMwO... It's a very pragmatic choice in the short term. Most if not all ARM SoC GPU stacks are very much Android first with proprietary implementations. There's not a lot of ARM based manufacturer backing for generic Linux implementations (DRM/GEM/TTM etc) . Maybe if Google sway towards something which works better in the generic Linux world the manufacturers might move.
- stuaxo 14y agoThis is insane. Surface Flinger is quite different from X apps. They'd need to port all their Gtk/Qt apps to it or abandon these. (Alternately wayland/X working on SurfaceFlinger). They could port Unity to SF if they wanted, but what apps are you actually going to launch then, ones for android ? I doubt they'll port all the apps they have to SF.
- anon1385 14y ago>They could port Unity to SF if they wanted, but what apps are you actually going to launch then What apps do people actually use on Ubuntu today? All the Ubuntu users I know just use it to run a web browser, and maybe a few other things that can be trivially moved into the browser (IRC, text editing, ssh). Native software is dead. Move to Open Web Standards and you won't have to worry about platforms changing core libraries and breaking all your apps ever again.
- qompiler 14y ago> OpenGL ES driver comes with the Android kernel, released by the hw manufacturer, so SurfaceFlinger works right-away. This doesn't make sense to me, a PC or laptop doesn't have a mobile phone GPU. Or am I missing something here?
- ldng 14y agoNo, you're not. A lot of stuff don't make too much sense. in the same vein : > acceleration sensor, camera and GPS services would > also become easy accessible for traditional Linux applications What good does it do if the hardware isn't available to a PC ? An accelerometer isn't very useful for a tower PC, is it ? Too much assumptions in this speculative article. Not that any of it is impossible to achieve but some would require a lot more work than it seem and some wouldn't make much sense for the PC. Integration between the different flavor of Ubuntu doesn't have to be so low level.
- egeozcan 14y ago> An accelerometer isn't very useful for a tower PC, is it ? It could help to detect if the kids thought it was a toy horse
- forgottenpaswrd 14y ago"An accelerometer isn't very useful for a tower PC, is it ?" It is. You could use the tower in a wheel table like the Valve guys are doing, or inside any machine like cars or trucks or robots(btw I do so every single day), and they become useful for protecting hard drives, or rough sensing the movement of the car, or someone trying to steal the thing in the laboratory and activating a sound alarm.' We use lots of accelerometers in the lab today connected to computers. I'd love to use a common API integrated in the OS for accessing them. I would be able to rotate the screens of my arm mounted imac without having to press complex key bindings like today.
- ldng 14y agoOk, true, you've got a point, having an accelerometer isn't completely useless. Granted. But I was talking standard PC, not appliance and in that sense, that reusability of drivers _today_ isn't very high. Makers don't put accelerometer on mobo. So to me the argument is kind of moot, IMHO.
- buster 14y agoI think he is missing the point that Ubuntu Phone apps are running QML based Qt apps that work on SurfaceFlinger, but that's about it. It's not like Evolution will run on Ubuntu Phone unless ported to QML.
- the_mitsuhiko 14y agoLast time ubuntu replaced something we ended up with upstart ...
- RobAley 14y agoWhich is good.
- Johnyma22 14y agoMoved to Linux Mint and away from Ubuntu, been pretty happy with Linux ever since.
- tribaal 14y agoI'm sorry, how is this relevant to the subject at hand?
- PommeDeTerre 14y agoI suspect it's referring to how many former Ubuntu users were driven away by Ubuntu's past UI changes. The switch to Unity was particularly disruptive, and alienated many staunch Ubuntu users very rapidly, for example. What's being discussed here sounds very much like the same kind of disruptive change, with the likely outcome of alienating yet more users. Many of these users who have been forced out of the Ubuntu camp have moved to Linux Mint, because it tends to offer what were the benefits of Ubuntu, but without the painful points. The fact that they're better off now than if they had still been using Ubuntu shows that these types of changes aren't really helping the Ubuntu experience.
- Shorel 14y agoI have installed Linux mint in this computer, in a Virtual Machine, and I never boot it, because it feels like when I used Mandrake a decade ago. It feels old. In contrast Unity looks even better than Windows7, and it runs faster. As far as I know, lots of new users got to use Linux precisely because of the switch to Unity. Also, another set of users got back to using Linux as the primary machine because of Unity, like me. So, some old guys leave Ubuntu, while another set of new users join Ubuntu. It is probable that the end result is a net gain, even with all the complaints. I would love to see real numbers (different to the old geezers complaints) to clarify this issue.
- angryamoeba 14y agoI can't help but feel that those people were using Ubuntu expecting it to be something that it was never intended to be. To be surprised at evolutionary changes which shed the aesthetic of competing distributions and introduce simpler, more consumer-oriented user experiences is to fundamentally misunderstand what Ubuntu Desktop has always been aiming for - Ubuntu hasn't stopped delivering on promises in recent days, it's started delivering on them.
- HNLogInShit 14y ago"Keep it competitive"? It's not competitive now. Ubuntu's UI is a buggy POS. Icons that don't even draw... and now they're dicking around with trying to support all kinds of disparate devices? Come on. The annual "this is the year Linux is taking over" sounds like the same shit we heard throughout the '90s with the Unix "unification" hype that was going to challenge Microsoft on the desktop. It will never happen. Linux is a pain in the ass. Ubuntu should be spending its time addressing that problem before trying to be a half-assed touch-based OS.
- andybak 14y agoI was expecting a few more positive comments. Forgetting all the caveats and difficulties - if this did happen wouldn't this be a huge win for the Linux desktop in general? Both in terms of improving hardware support and adding an existing large app ecosystem if Dalvik gets ported too.
- itsbits 14y agoI doubt that happening...
- zmanian 14y agoThis is a complicated cost benefit analysis for Canonical. All of the device manufacturers with the exception of samsung are at the mercy of Qualcomm/Intel/Nvidia for the core drivers for their SOC. If a device manufacturer wants to experiment with an alternative OS, they are unlikely to make the commitments to the SoC manufacturers needed to get debugged drivers for a non-Android stack. By running of the Android Kernel and using Android graphics drivers, Cannonical has lowered the barrier to experimentation for device manufactuers. The cost of this is it complicated their developer story considerably. The reality of this is the developer story needs to be considerably fleshed out before we can judge it. All we know is that it will be different from the current Desktop Ubuntu story.
- Symmetry 14y agoA critical factor allowing Wayland adoption on the desktop is that you can just run an X server as a Wayland client to use applications that are X only. For SF to work on the desktop they would need the same capability.
- mark_l_watson 14y agoSymmetry, I am not sure if this is true. In the 1980s I relied on being able to use remote X servers for a lot of my work. But, it has been many years since I have needed to do that. In modern times, SSH, tmux, emacs, Clojure/Ruby repls, etc. just do everything that I need. I like Android a lot, and it might be very good as a general OS for the public and perhaps even for developers.
- Symmetry 14y agoI was trying to refer to x servers in general, not just remote x servers. I can't remember the last time I used X over a network, but many of the programs I use very day don't use GTK or Qt, and so wouldn't work if I switched over to some windowing system that couldn't run X as a client.
- rquirk 14y agoThere seems to be little worry about the way Linux is going wrt Android - and to a lesser extent the Raspberry Pi - that pretty much tie folk down to one version of the kernel since all of the drivers are binary-only. Ubuntu phone will support the "Android kernel" (as one Canonical guy called it on a recent podcast), since only Android builds of the Linux kernel works with the binary-only drivers that the manufacturers supply. This is just another form of Tivoization. You have the source, but you can't really change anything. It seems to me that the infamous "Linux in a binary world" doomsday scenario is becoming more of a reality every day https://lwn.net/Articles/162686/ https://lwn.net/Articles/162686/ - but instead of servers vs consumer PCs, it is being played out on phones, tablets and laptops.
- sspiff 14y agoI'm looking for a tablet device where the graphics drivers are open source, or there are decent reverse engineered open source drivers. So far the list is very short: buy Intel HD graphics hardware. The problem you raise is exactly why I'm so picky for graphics accelerators: they are most often what is stopping me from upgrading the kernel on a system, and I want to upgrade the kernel/distribution. I'm not sure about the state of open-source AMD drivers, so if anyone can testify about their graphics drivers, I would appreciate it.
- asiekierka 14y agoThe radeon driver, I heard, works well on hardware that's not a few weeks old most of the time, with slightly better 2D performance and slightly worse 3D performance. I think there's also the Mali400 chip in the "detect reverse engineered" department, if we're talking about tablets.
- dmm 14y agoAMD has made serious commitments to their open-source drivers. They've released documentation for their chips and have several people working full-time on the OS drivers. As for supported chips, everything up to "Northern Islands", the last generation, works really well. The latest "Southern Islands" chips also work well but don't have all the features implemented yet. I use a HD7970 in my workstation. 2D works great and is very fast. 3D is pretty slow, b/c many things aren't accelerated yet. So, for example, minecraft runs about 20fps. The next generation of AMD gpus "Sea Islands" will use the same drivers as "Southern islands" so the former will be supported as soon as the latter. Probably the biggest issue is power management. dynpm dynamically changes the clock but doesn't work with multiple heads. The "profile" power management flickers when changing the clock speed. The reasons for the lack of support for "Southern islands" is that support required many changes that couldn't be release incrementally. Better support is expected when the "Sea islands" chips come out. Check out this post by an AMD developer for a little more detail: http://phoronix.com/forums/showthread.php?73824-Bridgman-Is-No-Longer-quot-The-AMD-Open-Source-Guy-quot&p=287839#post287839 http://phoronix.com/forums/showthread.php?73824-Bridgman-Is-... Check out http://www.x.org/wiki/RadeonFeature http://www.x.org/wiki/RadeonFeature for a table of chips and features and information about mapping engineering names to board marketing names. If you have never experienced kernel mode setting(KMS) and in-kernel drivers I would _highly_ recommend it. It is such a better experience. It's so smooth, switching from xorg to a VT doesn't flicker. And having to upgrade proprietary drivers is a huge pain. I could never go back to UMS and proprietary drivers. As for my recommendations, if the intel HD3000 or HD4000 meet your 3D needs, they work extremely well and have great in-kernel drivers. If you need faster OS 3D or a discrete card, go for a "northern islands" Radeon. bridgman recommends a mid-range card for the biggest band-for-the-buck with OS drivers. The high-end cards won't be slower but the drivers aren't as optimized to get the highest performance. If you are patient and like submitting bug reports you should get a HD7970 ;) EDIT: Oh and if you need OpenCL on gpu, intel doesn't support it yet. I believe its works on AMD "northern islands" and earlier. For more info check out: http://software.intel.com/en-us/articles/opencl-sdk-frequently-asked-questions/#14 http://software.intel.com/en-us/articles/opencl-sdk-frequent... http://www.phoronix.com/scan.php?page=news_item&px=MTI3MTU http://www.phoronix.com/scan.php?page=news_item&px=MTI3M... http://www.phoronix.com/scan.php?page=news_item&px=MTI1NzI http://www.phoronix.com/scan.php?page=news_item&px=MTI1N...
- jebblue 14y agoIf it meant I could add items to that panel at the top like I could in Gnome 2 then I'm for it.
- randallu 14y agoBut you don't need SurfaceFlinger to get multicontext GL out of Android GPU drivers... You only need to use the "gralloc" buffer allocator and give EGL an address from there and you can start rendering to the framebuffer or offscreen. SurfaceFlinger does handle some things like allowing windows to draw directly to the framebuffer when they're unoccluded, but the Linux guys don't care about that (or they would unredirect frontmost windows in their X compositors, which still nobody does, ugh!). SurfaceFlinger is also pretty immature and featureless for a desktop surface compositor: 1. Only handles 2x2 transforms (+translation) which it expands internally to 4x4 GL matrices. 2. Written entirely around GLESv1 -- no shaders, no complex geometry: no "genie effect" or anything like that. 3. Immature multi-display support. It was literally just added in Android 4.2. Try taking a screenshot of anything that's not display 0. 4. No IPC system, unless you count Binder which has it's own set of problems ("lets make every message be synchronous"). I haven't kept up with Wayland, but I imagine it has a lot of these problems addressed (except for allowing unoccluded windows direct framebuffer access -- almost nobody bothers with that one, even though it's a big win). Also, someone at Canonical wrote a library, "libhybris" which supposedly could load GL implementations compiled against bionic on a glibc system -- this seems a much more sensible approach to me...
- edderly 14y agoI'd agree that SurfaceFlinger is pretty minimal as a compositor. However, because of the power / performance limitations on mobile devices. you're losing if you're compositing with the GPU rather than say overlays, which SurfaceFlinger does facilitate with the HW Composer (as I'm sure you know). I wouldn't recommend this approach for the desktop but the reason I like this approach for mobile ubuntu initially is that you will get a more mature GPU integration with SurfaceFlinger/ANativeWindow than generic Linux. Edit: we also know the limitation of glesv1 is because of the problems for glesv2 support in some is emulator environments. So it s a trade off. Agree that the multiple display support is a big problem too
- jijji 14y agoIf anything, Ubuntu should be able to emulate Android apps. However, "switching" to Android would be a mistake.
- mnazim 14y agoI, personally, am very excited about the merging of phone, tablet, and desktop OS and the possibilities it creates. I am also looking forward to seeing how it would affect my life as a web application developer. Mainly I keep thinking if the phone hardware (which are mostly ARM processors and limited RAM) will be able to run a number of servers and services we web developers usually have running on our desktops.
- achiang 14y agoThis article, while entertaining, is not true. Canonical will not migrate to SurfaceFlinger. Speaking on behalf of myself here, and making an individual decision to prevent the spreading of FUD. EDIT: And here is the public announcement of what we are working on that I've been waiting for: https://wiki.ubuntu.com/MirSpec https://wiki.ubuntu.com/MirSpec http://www.olli-ries.com/mir-unity-qml-unity-apis-unity/ http://www.olli-ries.com/mir-unity-qml-unity-apis-unity/ https://lists.ubuntu.com/archives/ubuntu-devel/2013-March/036776.html https://lists.ubuntu.com/archives/ubuntu-devel/2013-March/03...
- chinpokomon 14y agoAh, well this at least confirms my guess. After I read about Mir this morning, I figured this was wrong.
- donniezazen 14y agoIt is hard to say if Google will abandon its own OS for Android. Completely opposite phenomenon might be happening where Chrome OS comes to phones.
- ezequiel-garzon 14y agoHere are a few questions for those in the know. What makes it so difficult to add, even as a non-default app, the GNU coreutils and bash to (non-rooted) Android? Even nice emulators such as BTEP use Busybox, which isba fine project for very limited devices. But, as Canonical wisely reminds us time and again, we have some pretty amazing computing devices in our pockets by 2013. Now a second question is whether Ubuntu Phone's default terminal will also use Busybox. If so, why? The user not interested in this won't launch it and hence not take up RAM, right? OK, it will mean a few extra MB of flash memory... Please somebody tell me that Ubuntu Phone will make the solution as simple as simple as apt-get install bash.
- chinpokomon 14y agoI bought into this at first; it seems plausible and a reasonable approach. Looking at this today, what with the MIR planing (detailed here: https://wiki.ubuntu.com/MirSpec https://wiki.ubuntu.com/MirSpec and here: https://lists.ubuntu.com/archives/ubuntu-devel/2013-March/036776.html https://lists.ubuntu.com/archives/ubuntu-devel/2013-March/03...), didn't Canonical just rebuff this analysis. I see that today they are using SurfaceFlinger, but it isn't listed after May 2013.