An In-Depth Look at Ubuntu 11.04

Rob Williams

Editor-in-Chief
Staff member
Moderator
After months of anticipation, Ubuntu 11.04, codenamed 'Natty Narwhal', has launched in its final form. The big news this time around is that the OS ships with Canonical's 'Unity' desktop environment as default - a large risk on behalf of the company. To see if that risk paid off, let's take an in-depth look to see what Unity's made of.

Read through our in-depth look at Ubuntu 11.04 and then discuss it here!
 
U

Unregistered

Guest
Search & Run?

Hi,

How do you think Unity compares to KDE's 'Search & Run' environment?

Thanks.
 

Optix

Basket Chassis
Staff member
If you weren't such a merciless taskmaster, I'd probably satisfy my morbid curiosity and give this a shot. :p
 

Rob Williams

Editor-in-Chief
Staff member
Moderator
Hi,

How do you think Unity compares to KDE's 'Search & Run' environment?

Thanks.

For the most part, both methods are the same. A menu pops up, you search for the application, wait a second for it to show up, and then hit enter to launch. I have found this feature to be more reliable on KDE, though, for one simple reason: keyboard shortcuts work only half of the time in Unity. This is one of the complaints I was going to talk about in next week's article.

The default association is Windows Key + Q and Windows Key + A to launch either the "dash" or the applications menu, and I only found that half of the time anything would launch when using those keyboard shortcuts. And sometimes, nothing would ever come up. In KDE, I've assigned my KMenu to launch with Windows Key + A, and to my knowledge, have never had it simply not launch.

Where searching for files is concerned, that I can't comment on too much. I don't even have an indexer active in my KDE install because I tend to know where everything is at and can get there in a few quick clicks. But where Unity is concerned, I do wish that I was able to launch up the finder (Windows Key + F) and search by file extension (eg: *.png), but I wasn't. I was a bit surprised that 'pictures' worked. For the most part, every other reasonable term I came up with worked as well though, assuming I had documents to match it.
 

Rob Williams

Editor-in-Chief
Staff member
Moderator
Does unity feel faster?

Compared to GNOME 2.x and KDE 4.x, no, not at all. The performance is acceptable, but the draw rates of the windows, for example, when moving them around the screen, doesn't seem to be as fluid as with other DEs. To be fair, though, part of this could do with the fact that AMD Radeon graphics (and perhaps NVIDIA, I haven't tested), aren't agreeing 100% with Compiz + Unity at the moment. Wobbly Windows, for example, doesn't work well at all, and tends to crash Unity entirely (once again, something else I was going to tackle in next week's article).

Even when logging out of Unity, the transition from desktop to the login screen background is not fluid, telling me that there do exist issues that either Canonical, or the GPU vendors via an updated driver, need to fix. I am confident this poor performance is related to Unity specificially, because on my native Gentoo+KDE install, AMD's drivers accelerate both KDE and Compiz just fine.

Again, NVIDIA's drivers might prove a bit better for Unity, but I wasn't able to test this out, due to sheer inconvenience of messing with my rig (I may test it out before my follow-up article next week). Aside from Compiz, though, games and other GPU-accelerated applications ran for the most part fine, with no noticeable detriment to performance.
 
U

Unregistered

Guest
Alternatives.

I have used Ubuntu since the 7.04 version. But I am not sure if Unity is a progress realy.Looks nice but I find some bugs and it just not feels ready yet.I guess it be better in the next version.But for now I would rather recommend Pardus 2011."works out the box" with all mediacodes pre-installed, It also got Firefox 4 and LibreOffice.And I think newcomers to the Linux would feel more comfortable with it to in general.

Here is a swedish review of Unity. I translated it with Google:
http://translate.google.se/translat...mix.se/2011/04/28/natty-natty-ubuntu/&act=url
 

Kougar

Techgage Staff
Staff member
Rob will kill me for saying this, but sounds a little like another OS I know... 11.04 is the first Ubuntu (perhaps first Linux distro?) to ship with a hardware accelerated desktop. The last OS I know to do that was Vista... *ducks* And it always seems to come back to those GPU drivers doesn't it. ;)
 

Rob Williams

Editor-in-Chief
Staff member
Moderator
I have used Ubuntu since the 7.04 version. But I am not sure if Unity is a progress realy.Looks nice but I find some bugs and it just not feels ready yet.I guess it be better in the next version.But for now I would rather recommend Pardus 2011."works out the box" with all mediacodes pre-installed, It also got Firefox 4 and LibreOffice.And I think newcomers to the Linux would feel more comfortable with it to in general.

I will have to give Pardus a go soon :)

Rob will kill me for saying this, but sounds a little like another OS I know... 11.04 is the first Ubuntu (perhaps first Linux distro?) to ship with a hardware accelerated desktop. The last OS I know to do that was Vista... *ducks* And it always seems to come back to those GPU drivers doesn't it. ;)

That's exactly why, and no, Ubuntu is not the first distro to have a 3D accelerated environment. KDE 4, which came out in January 2008, would have been the first "official" desktop to ship with built-in 3D features. However, prior to that, anyone could have installed the Compiz package in order to turn their desktop into a 3D environment. Yes, even before Vista hit the market.

If Linux had better GPU drivers, I don't think a lot of the issues that exist graphics-wise would. Windows Vista was able to be released with GPU support right out of the box because both AMD and NVIDIA pour most of their development time into that OS, as they should. On Linux, we're always waiting for better graphics support, although as far as I'm concerned, AMD has been the biggest hold-up. Until maybe a year ago, its Linux drivers were horrible, whereas NVIDIA's has been for the most part rock-stable for eons (there are still minor niggles, but there are for Windows as well).
 

OriginalJoeCool

Tech Monkey
Yeah, I think drivers are definitely the major problem with Linux. Fix that, and it would be perfect. ;) Well, maybe not perfect, but close!

After using Windows 7, which is really amazing in some ways, I remember why I like Linux/GNU so much. It's free, unrestricted, and has so many tools. Of course, Microsoft may justify the exclusion of some of these tools with the fact that most people wouldn't use them. I use them though. Why can't Windows 7 mount iso's? Why no checksumming utility, etc?
 

RobbyBob

Obliviot
Hey Rob,

Have you had the chance to use Gnome 3.0 yet? If so, how does it compare to Unity? They look relatively similar, and seem to have the same overall goal in mind. I'd also imagine that since Unity is a shell running on top of Gnome 2.x, while Gnome 3.0 is its own environment, that Gnome 3.0 would perform better and be more efficient overall. Is this the case?
 

Rob Williams

Editor-in-Chief
Staff member
Moderator
OriginalJoeCool said:
Microsoft may justify the exclusion of some of these tools with the fact that most people wouldn't use them. I use them though. Why can't Windows 7 mount iso's? Why no checksumming utility, etc? Oh, I forgot an important one: Why doesn't Windows Explorer have tabbed browsing?!

The thing I find interesting is that there exists a -lot- of software on any Windows install that most home users won't even touch, but it's there. And at the same time, like you mentioned, simple but useful features have never been implemented, especially something like a hash-check tool (MD5 or SHA support would be nice). I guess like the NTFS file system, Microsoft just doesn't care about data integrity ;-)

I don't think I'd ever use a tabbed file manager (I haven't in the past), but I could see how it'd be useful, and should be there. Can also agree on the mounting of ISOs, though thankfully a few easy-to-use and free tools exist for that.

Have you had the chance to use Gnome 3.0 yet? If so, how does it compare to Unity? They look relatively similar, and seem to have the same overall goal in mind. I'd also imagine that since Unity is a shell running on top of Gnome 2.x, while Gnome 3.0 is its own environment, that Gnome 3.0 would perform better and be more efficient overall. Is this the case?

I haven't, but I'd like to soon. For the most part, I do assume that it's quite like Unity, but I have heard that there are subtle differences that might sway you to one or the other. You might be interested in taking a look at this:

http://itmanagement.earthweb.com/os...1/Ubuntu-Unity-vs-GNOME-3-Which-is-Better.htm

Performance-wise, I don't think there would be a huge difference. At the end of the day, GNOME 3 is still a shell that sits atop requires libraries (GTK+). Windows is much the same, with Explorer.exe (close it, and the entire desktop environment goes with it). It's true that GNOME 3 would have an advantage in that GTK+ is built around its inherent environment, but performance-wise, Ubuntu could easily adopt the same base libraries and code its own environment.

This isn't to say that one performs better than the other, however, but that might be a little tough to test. Compiz is the biggest killer of performance, especially when lower-end graphics cards are concerned - or poor drivers. I had experienced rather poor performance on an AMD Radeon HD 5970 with Compiz under Unity, and I suspect drivers have a lot to do with that. I got fed up with that GPU screwing up an older MMO I play, so I plopped an NVIDIA GeForce GTX 580 in here, and will test Unity again to see if things like Wobbly Windows performs better.

I wouldn't worry too much about performance in general, though. At the end of the day, both environments are rather "bloated" compared to their old counterparts (same with KDE 4 vs. KDE 3, but it still runs great).
 

OriginalJoeCool

Tech Monkey
If it weren't for gaming, I'd ditch Microsoft entirely I think. I'm trying to get into game programming, and DirectX appears to be the superior choice. I wonder if I could still develop on Linux for Windows? It might be difficult. There's always SDL, but I'm not sure I want to go that route.

I just ordered a few books on game programming, and one on Linux kernel development. Check 'em out here: http://amzn.com/w/3A8TDQNR87X8W. I love this kind of stuff.

I'm sort of hoping I can get into game development. Too bad there's none in New Brunswick. My dream scenario would be me and some of my cohorts doing our own. Failing that, I'd like to go to British Columbia or Quebec (there are booming game industries in both these provinces). This is an idea I have, at any rate.

I haven't tried Gnome 3.0 yet, either. I'm curious, though concerned that they may have sacrificed functionality for this.
 

Rob Williams

Editor-in-Chief
Staff member
Moderator
OriginalJoeCool said:
If it weren't for gaming, I'd ditch Microsoft entirely I think. I'm trying to get into game programming, and DirectX appears to be the superior choice. I wonder if I could still develop on Linux for Windows? It might be difficult. There's always SDL, but I'm not sure I want to go that route.

You could code Windows games under Linux no problem, as long as all that's needed is an editor and code compiler; meaning no advanced editors such as Unreal Engine or Source. But, for the sake of hassle, I think if I were a game developer coding for Windows alone, I'd stick to Windows for development. It'd just be easier to be in the native OS to make sure that things like D3D libraries and other classes are accessible while compiling and testing. Another solution would be to focus on games that don't require DirectX, and/or are cross-platform ;-)

Nothing says you couldn't try to see if coding under Linux would be fine or not, however. You could just pack it up and go to Windows if need be *shudder*.

Glad to hear you want to be a game developer though :D What kind of games are you thinking? Indie, or big-blockbusters? Any ideas for a game yet?

That URL didn't work for me unfortunately. All I see is, well, nothing.
 

OriginalJoeCool

Tech Monkey
I actually do have an idea for a game. I don't want to post it here for obvious reasons -- not that I don't trust this site's regulars, but I don't want it splashed across the web.

This particular game would be an RPG, I believe. If I got enough people to help me, I'd like it to be pretty fancy. :D

It bugs me that I would have to leave here to get into game design It's not like New Brunswickers are only capable of sitting in call centres doing tech support. That's basically what the state of things here implies. So it'd be cool if we could just do it ourselves!

Here's one of the books I ordered: http://www.amazon.com/Primer-Graphi...TF8&coliid=I2SYIAW0K3AVK2&colid=3A8TDQNR87X8W. This one is game math. I figure I'll read this one first.

Second, DirectX10 Programming: http://www.amazon.com/Introduction-...TF8&coliid=I1J6MOQID7KG9M&colid=3A8TDQNR87X8W.

And then for something completely unrelated, Linux Kernel development: http://www.amazon.com/Linux-Kernel-...TF8&coliid=I3U1X8CLI3G9PH&colid=3A8TDQNR87X8W.
 

OriginalJoeCool

Tech Monkey
If anyone's interested, here a couple other books I recommend:

Hacking: the Art of Exploitation

http://www.amazon.com/Hacking-Art-E...1441/ref=sr_1_1?ie=UTF8&qid=1304718011&sr=8-1.

As stated in the text, this book does not advocate doing anything illegal, though the knowledge is the same in the end. In addition to thorough tutorials in C and intel x86 assembly,it Includes detailed explanations and code for:

buffer / stack / heap based overflows
format string vulnerabilities
writing shellcode
sniffing switched and unswitched networks
tcp / ip hijacking
denial of service
port scanning and tricking port scans of your own computer
password cracking
Man in the middle attacks
Wireless internet security / hacking
and more

As they say, knowing your enemy is key to defeating him. It's a cornucopia of knowledge. I highly recommend it.

Then back to the game programming, Programming Game AI by example: http://www.amazon.com/gp/product/15...&pf_rd_t=101&pf_rd_p=470938451&pf_rd_i=507846.

A detailed tutorial in AI design.
 

Psi*

Tech Monkey
I will ask a noob-esque question. Are memory & CPU hungry programs faster in Linux than in Windoze?

From the that day long long ago & far far away, back when I had a real job & a friend of mine a few cubes away *put* a naked Pamela Anderson on my X-windows display (it was a wonder that he didn't kill himself from the strain of the laughter), I have always felt and heard that Unix/Linux programs could run more efficiently, aka faster, in anything that wasn't from Microsoft.

Back then a naive internet search for info on the HP PA5000 Risc processor would instantly pop up photos "PA 5000" which were of that busty bare blond. Ahhh, the good old days ... .. .:eek:
 

Kougar

Techgage Staff
Staff member
I actually do have an idea for a game. I don't want to post it here for obvious reasons -- not that I don't trust this site's regulars, but I don't want it splashed across the web.

Hm, so you're looking at DirectX then? Because I'd imagine OpenGL is better to start with if you want to build a Windows/Linux/Mac multiplatform game, and are building it from the ground up. Of course, OS X 10.6 only supports OpenGL 2.1, so that'd be a headache too. No idea when Apple will deem it fit to join the modern era with OpenGL 4.1.... need at least OpenGL 3 or above to get DX10 features / functionality, to put things into perspective.

I will ask a noob-esque question. Are memory & CPU hungry programs faster in Linux than in Windoze?

Depends on the program... specifically how it was written, and what dependencies in the OS it makes use of. Just optimizing to use the right dependencies or software engines can change the answer to that question.

I used to run Folding@home SMP inside a Ubuntu VM INSIDE Windows 7, because I got better performance than running the native Windows version of program. Once Pande Group updated their beta level program code and released a newer version, things flopped the other way around. They also changed what libraries they used, which made a huge difference for the windows program just by itself..

Dunno really. Pick one of a dozen games out there, you'll find many of the actual game servers multiplayer games are hosted on linux machines, others use windows server. Just comes down to the program itself and how you chose to optimize it for the given OS.
 
Last edited:
Top