News for hackers. Stuff that matters.
Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Thursday July 11, 2013 @09:36PM (#6030349)
What is the point of Mir existing? I get that Mir added support for Android GPU drivers, but hasn't Wayland since added that in response? Are there any other advantages besides satiating their "not invented here" problem?
Re:Ubuntu 13.10 to ship with Mir instead of X by owaislone on Friday July 12, 2013 @07:03AM (#6031962)
Control over a critical part of the stack. Canonical can bend Mir whichever way they want without waiting for the upstream to implement something or accept patches or wait for releases that contain features Unity doesn't need.

They implement only what they want, how they want (full-blown automated testing) and get to dictate the direction of the display server which is critical for Ubuntu across devices.

Upstreams don't always share the vision and often do things that don't align well with the distro. Remember Nautilus changes a couple of cycles back. I'm not saying Gnome devs did anything wrong with Nautilus, but pointing out how it was a big pain for Ubuntu developers/users.

I believe you have to control all the critical parts of your product and not live on the mercy of upstreams.

Canonical is not here to donate resources to help make your linux ecosystem better. That is only a side-effect of it being a member of that ecosystem. Canonical's primary goal is to create a awesome product that can disrupt multiple markets so I would say it makes perfect sense for Mir to exist.

Re:Ubuntu 13.10 to ship with Mir instead of X by forgottenpaswrd on Friday July 12, 2013 @04:06AM (#6031482)
GPU acceleration.

The free drivers like Nouveau are way behind what they should be. The reason is that there is no commercial interest for companies to create good GPU drivers on desktop linux. Nvidia is not contributing to wayland and so on.

In Android, there is.

So the situation is this, iOS already has fantastic GPU support, Windows 8 and Android have too. Desktop Linux is behind the curve.

You can't make so many things in the desktop because you can't assert GPU accel.

So Mark wants to change that with with what already exist.

Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @04:17AM (#6031516)
How does Mir have better Nvidia support than Wayland?
Re:Ubuntu 13.10 to ship with Mir instead of X by forgottenpaswrd on Friday July 12, 2013 @04:28AM (#6031566)
Android devices already provide with drivers capable of real time zoom effects or any other capability of the device, measured in OpenGL extensions support.

They are not that well documented, but they work ok, because if not, the manufacturer does not sell the device.

Mir inherits Android graphic system on purpose.

In wayland you need Open drivers, like Nouveau which are very slow as the power management is not complete, or they are not sure enough to activate it(it could toast thousands of cards): http://nouveau.freedesktop.org/wiki/FeatureMatrix/

The life of those developers is hard, all day fixing bugs, and new bugs appear like it is never going to finish(you don't see the light at the end of the tunnel).

Re:Ubuntu 13.10 to ship with Mir instead of X by w0utert on Friday July 12, 2013 @05:53AM (#6031799)
I don't get it, why does Wayland require Nouveau? The closed-source NVidia drivers are feature-compatible with their closed-source Windows drivers, so why would Wayland (or MIR, for that matter) be limited by them? What more do Wayland or MIR need besides shaders and OpenCL?

Or is all of this just because the Wayland and MIR developers only want to use open-source drivers?

Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @06:29AM (#6031878)
Wayland requires KMS. The closed source drivers do not support that.
Re:Ubuntu 13.10 to ship with Mir instead of X by w0utert on Friday July 12, 2013 @07:29AM (#6032030)
@c0un7d0wn below (somehow I can't reply directly?)

I didn't know that, makes sense. That said, Mesa appears to provide EGL on top of GLX, which probably isn't as efficient as a driver that directly provides an EGL interface, but likely 'good enough' for basic desktop rendering. So I still don't really understand why I would need Nouveau to use Wayland or Mir.

For me, using Nouveau would be a definite showstopper for whatever new display server becomes the default in Linux distro's. Not to talk down the efforts of the Nouveau developers, but I only have bad experiences with the driver, ranging from crashes, screen corruption, unbootable installations, terrible performance and loss of indispensible features such as proper multi-monitor support and hardware video decoding. One of the first steps in installing a new Linux system on Nvidia hardware is usually to remove, purge and blacklist Nouveau, and install the closed driver, because that just works (tm). I'd even use software rendering over llvmpipe before I'd consider Nouveau.

If the future of the Linux desktop on Nvidia hardware requires a reverse-engineered GPU driver that lacks all the features provided by the closed-source driver, we can postpone the 'year of the Linux desktop' for at least another decade.

Re:Ubuntu 13.10 to ship with Mir instead of X by c0un7d0wn on Friday July 12, 2013 @07:10AM (#6031980)
Wayland doesn't require kms. It requires EGL
Re:Ubuntu 13.10 to ship with Mir instead of X by synchronise on Saturday July 13, 2013 @03:42AM (#6036986)
Weston requires KMS, Wayland does not. This is why Wayland isn't being actively pushed on non-Linux systems, since the reference compositor won't work with UMS drivers.
Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:04AM (#6031671)
Wayland had Android driver support before Mir. Mir actually uses the same thing as wayland (libhybris or something).
Re:Ubuntu 13.10 to ship with Mir instead of X by JoshTriplett on Thursday July 11, 2013 @10:08PM (#6030480)
Mir heavily emulates Android's SurfaceFlinger design, and Canonical claims it'll be a better fit for Ubuntu for smartphones. Highly debatable whether that'll actually hold true.

In any case, there's no fundamental design flaw in Wayland; this just seems like a common case of NIH.

Re:Ubuntu 13.10 to ship with Mir instead of X by colanderman on Thursday July 11, 2013 @11:28PM (#6030741)
there's no fundamental design flaw in Wayland

Except that window management is tightly coupled to display management.

The Mir developers seem to at least seem to care about software modularity.

Re:Ubuntu 13.10 to ship with Mir instead of X by JoshTriplett on Thursday July 11, 2013 @11:38PM (#6030772)
> window management is tightly coupled to display management.

Yes, it is, both in general and in Wayland.

Specifically, what would once have been called just a window manager now needs to be a compositing manager, managing window contents and compositing them onto the screen. That compositing manager also needs to handle input, since input depends on where, how, and if windows are rendered. And once you're handling all of that, there's nothing useful left that corresponds to an X server other than graphics memory buffer management, which is the kernel's job these days.

Wayland handles software modularity by providing a library for use by prospective compositing managers. Moving the compositing manager into a separate process from the thing actually doing the rendering does not add a useful form of modularity.

Re:Ubuntu 13.10 to ship with Mir instead of X by colanderman on Friday July 12, 2013 @08:34AM (#6032220)
Yes, it is, both in general

Citation? X11 window managers are decoupled from the rest of X and the OS by well-specified protocols.

That compositing manager also needs to handle input

Oh yes, I forgot how Wayland couples the WM to the OS as well.

Wayland handles software modularity by providing a library for use by prospective compositing managers. Moving the compositing manager into a separate process from the thing actually doing the rendering does not add a useful form of modularity.

1) Can you point me to an API specification for Wayland compositor libraries? If not, it's not decoupled.

2) Can one switch window managers without restarting the compositor (and thus losing window state) with Wayland? If not, it's missing a "useful form of modularity" provided by X11.

Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:26AM (#6031735)
The focus within Mir is Unity, not anything else. Wayland wants to work with every desktop environment. Further in Mir they did not give a stability agreement, Wayland has.

Software modularity is overrated, but in this case I think you got it wrong.

Re:Ubuntu 13.10 to ship with Mir instead of X by colanderman on Friday July 12, 2013 @08:36AM (#6032228)
Your last sentence makes no sense. Did you mean to say "and" instead of "but", or "underrated" instead of "overrated"?
Re:Ubuntu 13.10 to ship with Mir instead of X by jessaustin on Friday July 12, 2013 @09:50AM (#6032543)
It made sense to me. You praised Mir's modularity. bkor doesn't find Mir to be modular, but doesn't reckon modularity to be as important as many people think.
Re:Ubuntu 13.10 to ship with Mir instead of X by qznc on Friday July 12, 2013 @04:22AM (#6031544)
The issue of who owns the buffer (server in Mir, client in Wayland) seems to be central difference. Is there a good blog post or something about this?
Re:Ubuntu 13.10 to ship with Mir instead of X by RyanMcGreal on Friday July 12, 2013 @08:08AM (#6032150)
What is the point of Chrome existing? I get that Chrome added a JIT javascript compiler, but hasn't Firefox since added that in response? Are there any other advantages besides satiating their "not invented here" problem?
Re:Ubuntu 13.10 to ship with Mir instead of X by ergo14 on Friday July 12, 2013 @10:27AM (#6032745)
As I understand the situation: Mir borrowed code from wayland and this comparision does not make too much sense in light of that.

Most likely some patches to wayland would be enough to get what they wanted - instead now we have more fragmentation.

Re:Ubuntu 13.10 to ship with Mir instead of X by akmiller on Friday July 12, 2013 @10:36AM (#6032799)
But the same comparison could be made about Chrome and Chromium, no?
Re:Ubuntu 13.10 to ship with Mir instead of X by ergo14 on Friday July 12, 2013 @11:08AM (#6032965)
But chromium and chrome do not lead to duplication of efforts: Chrome is basicly Chromium + addons - and chrome devs contribute to chromium - they supplement eachother.
Re:Ubuntu 13.10 to ship with Mir instead of X by RyanMcGreal on Friday July 12, 2013 @12:15PM (#6033398)
Chromium/Chrome are based on Webkit (forked into Blink since Chrome 27), which in turn is based on KHTML/KJS. Chrome was built in large part by former Mozilla engineers, and Mozilla Firefox itself was built based on the browser engine open-sourced by Netscape as its swan-song gift to the open web.
Re:Ubuntu 13.10 to ship with Mir instead of X by nsmartt on Friday July 12, 2013 @10:47AM (#6032857)
No. Google supports Chromium, and Chrome has proprietary additions.

I do wish Chrome didn't exist, but I'm not convinced that this comparison works.

Re:Ubuntu 13.10 to ship with Mir instead of X by isaacaggrey on Friday July 12, 2013 @10:36AM (#6032800)
> I get that Chrome added a JIT javascript compiler, but hasn't Firefox since added that in response?

In addition to what @ergo14 said, Firefox had a JIT compiler called SpiderMonkey before Chrome was even released [1]. With that said, I'm sure there's cross-pollination both ways between OdinMonkey (Firefox's current JIT compiler) and Chrome's JIT compiler in V8.

[1]: http://ejohn.org/blog/tracemonkey/

Re:Ubuntu 13.10 to ship with Mir instead of X by lmm on Friday July 12, 2013 @10:45AM (#6032844)
Chrome performs a lot better, even now, which was its stated goal and what it was advertised as being about. The Ubuntu team has consistently failed to articulate what Mir is supposed to give us over Wayland.
Re:Ubuntu 13.10 to ship with Mir instead of X by edderly on Friday July 12, 2013 @01:35AM (#6031102)
Realpolitik. Although Wayland 'could' support Android based/styled graphics drivers Mir should be able to work easily with these drivers.

My understanding of the GPU vendor world is that generic Linux GPU support is way below the priority given to Android. This isn't to say that there couldn't be some alignment/commonality for a driver in Linux or Android, but Android will get a lot more testing and biz focus.

The Wayland and 'open software community' GPU advocates either have not considered this, don't care or hope that GPU stack implementations will move towards their world rather than Android's. Although ironically the licensing for Wayland and libdrm and whatnot are MIT rather than GPL like Mir.

Re:Ubuntu 13.10 to ship with Mir instead of X by timpattinson on Thursday July 11, 2013 @09:51PM (#6030404)
This blog seems to explain some of the reasoning (http://blog.cooperteam.net/), but IMO I don't think Mir is worth the fragmentation it will create.
Re:Ubuntu 13.10 to ship with Mir instead of X by synchronise on Thursday July 11, 2013 @11:37PM (#6030769)
Every FOSS project has the possibility of creating fragmentation, but it's not necessarily a bad thing. Greater software selection allows more choice and offers a better environment for competition. Some will win over others, some will find a niche market to cater, and others will be in continual completion with each other with an almost split marketshare.

And while you may feel as though Mir's only aim is to fragment the Linux community, keep in mind that Ubuntu will be using QML extensively and that will be compatible with Wayland, and through the use of libhybris both Mir and Wayland can target the same display driver.

Re:Ubuntu 13.10 to ship with Mir instead of X by ewzimm on Friday July 12, 2013 @02:10AM (#6031195)
Thank you. I am tired of people telling developers to stop making things, especially other developers. This is how evolution works. You have to try multiple approaches and see what works. If you have the money and developers to scratch an itch the way you want to, do it. If it works out, everyone benefits. If it doesn't work, everyone benefits by learning what went wrong. Those advocating that everyone pick one standard and stick to it are missing the point of distributed development.
Re:Ubuntu 13.10 to ship with Mir instead of X by pjmlp on Friday July 12, 2013 @03:28AM (#6031355)
The old guys here know how the UNIX wars ended up.

Supporting the idea of the jour has development costs.

Re:Ubuntu 13.10 to ship with Mir instead of X by jessaustin on Friday July 12, 2013 @09:56AM (#6032572)
...how the UNIX wars ended up.

I'm sorry, how was that? My recollection seems to be that they all got stale and overpriced, and then GNU/Linux ate their lunch.

Re:Ubuntu 13.10 to ship with Mir instead of X by pjmlp on Friday July 12, 2013 @11:15AM (#6033019)
It ended up with fragmentation everywhere, code full of #ifdef spaghetti to cater for all UNIX variants that one needs to support and increased development costs.
Re:Ubuntu 13.10 to ship with Mir instead of X by synchronise on Friday July 12, 2013 @08:35PM (#6036202)
The difference between the competition we have now and the 'UNIX wars' is all a matter of licensing. With the latter, proprietary licensing caused a large part of this fragmentation as there was no easy way of using code from one project in another to preserve compatibility.

Today, most of these projects are FOSS, so the risk of another '*nix war' has been negated to the point of being a non-issue.

Re:Ubuntu 13.10 to ship with Mir instead of X by pjmlp on Saturday July 13, 2013 @03:21AM (#6036956)
> Today, most of these projects are FOSS, so the risk of another '*nix war' has been negated to the point of being a non-issue.

Go tell that to the users that are not on the few chosen distributions for commercial vendors or without ready made packages on their repositories.

Or the BSD guys that are being left out with some desktop stuff being slowly tied to Linux systems.

All this happens because developers choose to leave out support for certain systems in order to minimize development efforts.

Re:Ubuntu 13.10 to ship with Mir instead of X by synchronise on Saturday July 13, 2013 @04:17AM (#6037027)
Nothing is stopping the users of those Linux distributions from grabbing the source code and dependencies and compiling any program not in their package repository, or from grabbing a different package manager like pkgsrc, and many proprietary Linux programs that are tied to a particular distro e.g. Steam have been shown to work on other distros with minimal effort.

And in regards to the BSDs, what exactly are you referring to? If it's Wayland, that's being ported. If it's KMS drivers, Intel has been ported and radeon is in the process. Nouveau probably won't be ported due to the fact that they already have a pretty stable binary Nvidia driver.

The only two things I can think of that aren't compatible with BSD have both been designed with exclusively Linux by the developers heading those projects, SystemD and ALSA, and even then the BSDs already have suitable substitutions with those, init and OSS.

So, since there's greater cross-compatibility than ever before, how would you suppose that another nix war would erupt?

Re:Ubuntu 13.10 to ship with Mir instead of X by pjmlp on Saturday July 13, 2013 @09:35AM (#6037502)
Oh yes, I have forgotten that user ==> developer.
Re:Ubuntu 13.10 to ship with Mir instead of X by sciurus on Friday July 12, 2013 @10:05AM (#6032610)
Interesting reference. I've submitted an article that expands on the idea at https://news.ycombinator.com/item?id=6032604
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @04:13PM (#6034913)

     Mir's only aim is to fragment the Linux community
This Linux community, is a fragment of the Unix community.

That Linux community is further fragmented within itself.

The BSD community is decidedly less fragmented than the Linux community.

At this point, who cares what Ubuntu does? If they come up with some better ideas, then those ideas may gain traction within the greater Unix community, and if not, I don't care.

Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:29AM (#6031742)
So how would the Gtk+ developers be able to ensure that it works under Mir? Mir is distribution specific. Same for an application running under Mir.

It creates lots of extra work for people who do not run Ubuntu. It will result in extra bugs as things cannot be tested. "choice", short-term benefit of trying to be first. Long term it seems really bad.

Re:Ubuntu 13.10 to ship with Mir instead of X by owaislone on Friday July 12, 2013 @07:07AM (#6031970)
Gtk works under X, Windows and OS X. It already has a system in place that can support multiple backends and I am sure Canonical will be more than happy to write the Mir backend for Gtk. All Gtk devs have to do is to accept the patch.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Thursday July 11, 2013 @10:09PM (#6030482)
That fragmentation is exactly why I chose FreeBSD nearly a year ago.

As the old adage goes: FreeBSD is what you get when Unix developers get together and create a Unix-like system for the PC platform.

Linux is what you get when PC developers get together and create a Unix-like system for PC.

Re:Ubuntu 13.10 to ship with Mir instead of X by zanny on Thursday July 11, 2013 @10:49PM (#6030636)
So don't take consideration for Dragonflybsd, OpenBSD, or the biggest elephant in the bsd fork room, OSX.

FOSS will fragment because people have different opinions and are passionate about the choices they make in the software to create and use. There is no alternative, because in free software the developer has last say. There is no school of "the one way" of how to do anything in foss, the only possible proxy being the popularity of the software created.

Re:Ubuntu 13.10 to ship with Mir instead of X by vidarh on Friday July 12, 2013 @05:46AM (#6031782)
Don't forget NetBSD.
Re:Ubuntu 13.10 to ship with Mir instead of X by gwu78 on Thursday July 11, 2013 @11:09PM (#6030690)
I like that old adage. I actually had never heard it.

I think BSD's success with i386 has brought the stark pragmatism of the "server" to the PC. The dream of BSDI. The reliability, robustness and the uniformity. Maybe BSD UNIX is not as "fun" as MS and Apple, but it _works_ the best. Relatively minimal bloat. And things can be removed relatively easily. Getting small is not frowned upon or ignored as a worthy objective. "The hero is the negative coder." (credit: Doug McIlroy, one of the original UNIX developers)

Linux OTOH (a horde of wannabe kernel hackers and a gazillion idiosyncratic GNU programs) has brought the chaos of the PC[1] to the idea of "UNIX". There is bloat and endless tweaking around every corner. The vigilance and skill it takes to make your Linux small and simple and actually keep it that way is, IME, quite the burden. The respect for the user also differs. Man pages? I guess the assumption is we'll just read the code when we have a question. But then there's also an expectation we'll use binary packages. Linux just makes my head spin. I'm just not smart enough to use it. I wish I was... because they have better hardware support.

Based on what I've seen, I doubt many a Linux developer would think "The hero is the negative coder." Linux just keeps growing and becoming more complex and unwieldy. And so by comparison, IMO, Linux less embodies the idea of UNIX than BSD.

1. The Windows experience of constantly searching for some non-MS program to do some task that base Windows itself can't even begin to handle... and you end up with an ad hoc mess of programs that barely do what you need, and most of them poorly written by who knows who.

Re:Ubuntu 13.10 to ship with Mir instead of X by Ologn on Friday July 12, 2013 @03:33AM (#6031368)
I had an appreciation for FreeBSD. They were smart about some things. Especially circa 1996 era. It was an easy install. Pop in a 3.5" disk and do a network install. It had drivers and automagic support for obscure ethernet cards which Linux did not support at that time. It even had an easy modem install. When I needed a small server quick I'd buy a PC from a store, pop a disk in it and network install FreeBSD. Get up a DNS, mail or web server in no time. Making the install process easy can help an OS get out there a lot. The servers were sturdy and good too. A nice ports system for applications - better than dpkg or rpm at the time. It just worked. The install itself was a thing of beauty - no hassles. FreeBSD 1996 beats Gentoo 2013 in that department.

As far as bloat, some BSDs are more elegant, but I do not think Linux is that bloated. It is small enough to succeed on embedded systems and Androids. The device driver section is bloated, but the core system is not as bad.

Yes, Ubuntu is not small and simple, but Debian is if you want it to be.

Re:Ubuntu 13.10 to ship with Mir instead of X by gwu78 on Friday July 12, 2013 @11:37AM (#6033131)
"It is small enough to succeed on embedded systems and Androids.'

Right. (In fact, it can succeed anywhere. And it does.) But my point is that it's not _presented to the user_ in a form that makes reducing it to embeddable size or porting it to ARM easy. I compile my BSD systems from source. And small modifications are (compared to Linux) easy.

Linux From Scratch (LFS) and Busybox were the closest I saw to what I was looking for. But when you look at the Linux ecosystem, LFS seems so obscure. And how many people create their own customized Busybox? To pursue these objectives with Linux feels like moving against the grain. No one aims to assist you by making the system easy to comprehend and modify.

The people I see modifying Linux at the level I would want to modify it are just too far beyond my comfort level with C and assembly. I can't do what they do and believe my system will still be reliable. Not only that, it would take forever to do it. I'm just not smart enough to use Linux. As I said above, it's just too much work.

Re:Ubuntu 13.10 to ship with Mir instead of X by lmm on Friday July 12, 2013 @10:50AM (#6032883)
It was an easy install as long as you didn't mind wiping your whole hard disk. Many people tried Linux first because they could do that without having to blow away Windows, and then stayed there.
Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @12:36AM (#6030938)
I've dropped Fedora and switched to Debian stable in anticipation of avoiding Wayland/Mir for as many years as possible. I'm not worried about fragmentation, I'm just tired of being an early adopter.
Re:Ubuntu 13.10 to ship with Mir instead of X by chris_wot on Friday July 12, 2013 @04:42AM (#6031621)
I must be missing something. My understanding is that they implement the X protocol via a wrapper layer. Aside from a display manager/compositor, what is going to fragment?
Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @04:53AM (#6031647)
Well now there is Mir, Wayland, and X, instead of just X. Just right there you now have three codebases instead of one, so that is fragmentation in itself. Is it harmful fragmentation? I think that remains to be seen.

I'm not worried about fragmentation though.

My position is that currently X "Just Works" for me and I am not willing to sacrifice this stability so that I can test out the pet projects of a bunch of Red Hat and Canonical employees. I figure I have at least 3 years, hopefully 5, before I will be forced to switch. (3 years left on wheezy, and hopefully 2 more years with jessie assuming X is still the default and viable). 3-5 years to let them work out all of the kinks? Yes please, I'll take that.

The dust sure as hell better be settled by 2018.

Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:07AM (#6031684)
A lot of the Wayland developers are X developers. It basically is X12, just that calling it X results in a lot of unneeded steps (loads of people will have a say into the spec, etc). Daniel Stone explained this in a video.
Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @05:20AM (#6031720)
Whatever it is, I want nothing to do with it until everyone else has had and solved the problems.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @04:03PM (#6034851)
X, Wayland, and now Mir. The very fact that there are now 3 divergent display managers is indicative of that fragmentation we're talking about here.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @05:13AM (#6031701)
The fragmentation I refer to is illustrated by the numbers of variants seen on sites such as distrowatch.

I believe that a previous poster commented about 300, or so, different distros based upon 4 base systems.

We already have multiple mutations of the various operating systems, and now we've got another display manager to debug?

Re:Ubuntu 13.10 to ship with Mir instead of X by ludoo on Friday July 12, 2013 @01:20AM (#6031060)
+1
Re:Ubuntu 13.10 to ship with Mir instead of X by jbrechtel on Thursday July 11, 2013 @10:11PM (#6030496)
Are you using FreeBSD on a laptop?
Re:Ubuntu 13.10 to ship with Mir instead of X by 3825 on Thursday July 11, 2013 @10:32PM (#6030571)
Are you referring to this xkcd? http://xkcd.com/349/
Re:Ubuntu 13.10 to ship with Mir instead of X by hillbillyjack on Thursday July 11, 2013 @11:42PM (#6030791)
I doubt he is, it has been hard to get FreeBSD working on any laptop that isn't specifically supported by someone.

You can see many non-working things here: http://laptop.bsdgroup.de/freebsd/ from no sound to can't boot. Power management is also notoriously bad so you need your laptop to be plugged in.

It is reminiscent of Linux a few years ago when everyone with brand new laptops tried to install it.

FreeBSD is still fine on desktop systems and even works quite well for a desktop in some cases, but Linux is just so big at this point that it supports more things, while FreeBSD has always seemed more server oriented.

Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @12:01AM (#6030851)
FreeBSD is still fine on desktop systems and even works quite well for a desktop in some cases, but Linux is just so big at this point that it supports more things, while FreeBSD has always seemed more server oriented.

Apparently you have not tried FreeBSD on an Acer Aspire One netbook, because if you did you would realize that your last paragraph is outdated by at least 3 minor version iterations. I first tried PC-BSD 8.x in 2009, and with KDE as the default DE it unusably slow, but when I tried FreeBSD 8.x last year I was pleasantly suprised with how well the system ran on my little netbook. Then, when I upgraded to 9.0 I realized that I had finally found what I had been searching for all these years. Now, with 9.1 the system is even better.

Re:Ubuntu 13.10 to ship with Mir instead of X by synchronise on Friday July 12, 2013 @12:10AM (#6030872)
I used to run a PC-BSD system and it pretty much worked out of the box, that is until I got an AMD 6* series video card but I hear the radeon driver is being developed and very close to being integrated into FreeBSD 10 and backported to 9.

Yes, FreeBSD lacks some features that Linux has, but it's still being developed and it has its uses outside of the server market too. For example, Sony is reportedly using it as the core OS for the new PS4 and there's a project that is aiming to create a HUD device which is also based on FreeBSD, http://hmdviking.blogspot.jp/

Re:Ubuntu 13.10 to ship with Mir instead of X by asveikau on Friday July 12, 2013 @01:36AM (#6031106)
A few years ago I ran OpenBSD on a Thinkpad. Worked well.

It was a lot like Linux used to be in the late 90s though... I tried to put it on a few other machines with less success.

Re:Ubuntu 13.10 to ship with Mir instead of X by jbrechtel on Friday July 12, 2013 @08:15PM (#6036142)
Haha, no. I was just curious about the feasibility these days of FreeBSD on a laptop.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Thursday July 11, 2013 @10:45PM (#6030623)
I've been running FreeBSD on my netbook since last autumn and it's more responsive, and noticeably faster than #!, which I tried out last month. (I just reinstalled FBSD last night)

Crunchbang just doesn't compare as far as speed goes. I tested both OS' with Xfce4.1, as well as no DE with dwm & dmenu. In each case FreeBSD blows crunchbang away, and this is on an Intel Atom N270 with 1 GB RAM.

The only thing #! has going for it is ease of setup, but FreeBSD isn't that hard to setup and use, and all questions I've had are easily answered by reading the FreeBSD Handbook.

Some will decry FBSD's support for suspend/hibernate, but since I never use those features it's a non issue for me. That said, I do believe that suspend, etc, is working for some laptops, although YMMV.

Re:Ubuntu 13.10 to ship with Mir instead of X by pyre on Thursday July 11, 2013 @11:01PM (#6030666)

  | Some will decry FBSD's support for
  | suspend/hibernate, but since I never
  | use those features it's a non issue for me.
This is how most people use a laptop. While that may be perfectly fine for you, that doesn't work for a lot of people.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Thursday July 11, 2013 @11:46PM (#6030805)
A 12 cell battery lasts a long time on this little netbook. But you're right, I'm not most people.
Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @12:28AM (#6030923)
How do you pack up your laptop and bring it somewhere else without it melting down in the bag? Just make sure nothing is burning CPU, pack it up, and hope for the best?
Re:Ubuntu 13.10 to ship with Mir instead of X by hobs on Friday July 12, 2013 @01:57AM (#6031166)
I assume he uses the shut down feature.
Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @03:48AM (#6031414)
Of course. Why does the netbook have to stay running if I'm not using it?

Sometimes the simplest things are so abstruse to some of us.

Re:Ubuntu 13.10 to ship with Mir instead of X by jlgreco on Friday July 12, 2013 @04:14AM (#6031507)
Losing long-running sessions is kind of a pain in the ass.. if you can keep them going, why wouldn't you?

Are you able to at least suspend to disk?

Re:Ubuntu 13.10 to ship with Mir instead of X by D9u on Friday July 12, 2013 @04:19PM (#6034935)
You can save your sessions at log out.
Re:Ubuntu 13.10 to ship with Mir instead of X by pyre on Friday July 12, 2013 @10:04PM (#6036416)
Depends what you meant be 'save your sessions.' If you have an entire environment setup with multiple applications open in various states, then no, you can't 'save state' in any way that I know of (other than suspend-to-disk). It can also be a pain in the ass to setup said environment again.

On the flip side:

- Using suspend-to-RAM is less secure.

- Enabling secure swap (at least on Linux with in a password-less setup[1]) doesn't work with suspend-to-disk.

[1] In a password-less setup, there is no way to recover the swap after a fresh boot since the key is regenerated on every boot (at least it was the case the last time that I manually setup encrypted swap).

Re:Ubuntu 13.10 to ship with Mir instead of X by venomsnake on Friday July 12, 2013 @03:59AM (#6031458)
I have been using my notebook lately while on the move as an external battery for the tablet. Just plug the usb, put the laptop on suspend and you have 12 hours of decent performance ahead of you - so suspend is somewhat important for me right now. (8 hours in a bus is testing experience)
Re:Ubuntu 13.10 to ship with Mir instead of X by jamii on Friday July 12, 2013 @07:55AM (#6032109)
One of my favorite features on my current laptop is the USB port that is connected directly to the battery, so it charges even when the laptop is not turned on.
Re:Ubuntu 13.10 to ship with Mir instead of X by pyre on Friday July 12, 2013 @10:06PM (#6036421)
What laptop is this? Is this an advertised feature or something that you only got information on in some obscure way (newsgroups, forums, etc vs. the official manual)?
Re:Ubuntu 13.10 to ship with Mir instead of X by jamii on Sunday July 14, 2013 @06:45AM (#6040542)
Alienware M11X R2. It's not really advertised, I just noticed the option in the bios one day - http://www.techmonsters.com/DellTraining/bin/Foundation2010/... . It's ridiculously useful when travelling - if I don't use my laptop I get an extra 2/3 days worth of battery for my phone.
Re:Ubuntu 13.10 to ship with Mir instead of X by qznc on Friday July 12, 2013 @04:13AM (#6031501)
Fragmentation has a cost, because higher levels (Qt,Gtk,etc in this case) must use portability layers. However, staying in one project also has costs: much more discussion and politics.
Re:Ubuntu 13.10 to ship with Mir instead of X by vidarh on Friday July 12, 2013 @05:45AM (#6031780)
Both Qt and Gtk has long had explicit support for different backends. Whether or not the user uses an X backend or a Wayland backend or a Mir backend should have minimal impact.
Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:59AM (#6031815)
In practice, Gtk+ will have to deprecate a few things to better support Wayland. See https://wiki.gnome.org/Wayland/GTK%2B and https://wiki.gnome.org/Wayland/Gaps.

Mir and Wayland seem to be pretty related though. Same gaps that Wayland has (needing development time) also are with Mir AFAIK. So once fixed for Wayland, Mir will have it easy :P

Note that real Mir support is only planned for 14.10. At the moment it is just XMir, which is totally different from the what is going on with Wayland (goal is native, this is way more difficult). I have seen the development that is needed to get Wayland really working, Mir seems way behind on this though they probably can copy what was done for Wayland and pretend they did it :P

Re:Ubuntu 13.10 to ship with Mir instead of X by anonymous on Friday July 12, 2013 @02:45AM (#6031263)
I'm thinking that before too long there will be WayMir and MirLand shims to let you run wayland-only programs on mir and vice-versa. Then you can run Unity in Mir in XMir through MirLand on Wayland on XWayland on WayMir on Mir on Mir (the international space station).
Re:Ubuntu 13.10 to ship with Mir instead of X by tudborg on Friday July 12, 2013 @03:26AM (#6031350)
did you just refer to ISS as Mir? Really?
Re:Ubuntu 13.10 to ship with Mir instead of X by akiselev on Friday July 12, 2013 @10:49AM (#6032874)
Re:Ubuntu 13.10 to ship with Mir instead of X by rbanffy on Friday July 12, 2013 @09:05AM (#6032347)
> I don't think Mir is worth the fragmentation it will create

"Fragmentation" is another name for "diversity". Diversity and selection are key factors for healthy evolution and a key advantage of open-source.

Re:Ubuntu 13.10 to ship with Mir instead of X by laumars on Friday July 12, 2013 @09:20AM (#6032401)
Some things are better to be standardised than diversified. eg networking protocols and display managers.
Re:Ubuntu 13.10 to ship with Mir instead of X by rbanffy on Friday July 12, 2013 @04:12PM (#6034909)
AFAIK, a program written for X will run unmodified on an Ubuntu box running Mir.
Re:Ubuntu 13.10 to ship with Mir instead of X by laumars on Saturday July 13, 2013 @05:42AM (#6037146)
Not exactly. X can run atop of Mir, but then you're adding additional bloat to what is already a rather bloated distro of Linux.
Re:Ubuntu 13.10 to ship with Mir instead of X by kklimonda on Thursday July 11, 2013 @10:17PM (#6030516)
There is a good link below with some technical rationale (I think the most important part, at least according to Canonical developers, is "Server Allocated Buffers in Mir"), but I'm actually wondering - has Wayland officially added the support for working on the Android graphics stack? There has been at least two proof-of-concept projects, but I don't see either of them being actually committed to the Wayland repository. Given that Canonical is working against the clock it's not that surprising that they are going with their own solution - they obviously believe that they can get it working faster.
Re:Ubuntu 13.10 to ship with Mir instead of X by teho on Friday July 12, 2013 @12:49AM (#6030971)
The lead developer of libhybris (the project that makes it possible to run Android drivers on GNU/Linux and also what Canonical uses with Mir) is working on support for Android drivers on Wayland.

http://mer-project.blogspot.fi/2013/04/wayland-utilizing-and...

http://mer-project.blogspot.fi/2013/05/wayland-utilizing-and...

Re:Ubuntu 13.10 to ship with Mir instead of X by bkor on Friday July 12, 2013 @05:09AM (#6031687)
That was working on Wayland before it was working on Mir.
Re:Ubuntu 13.10 to ship with Mir instead of X by wmf on Thursday July 11, 2013 @09:54PM (#6030418)
Wayland doesn't use TDD.