What's value of linux being modular if it needs so many duplicate and different versions of the same libraries.
I am running debian squeeze which has almost 50% packages from wheezy such as xorg stuff, kernel, drm, mesa and some application software. However, accidentally I found that I've bewildering number of duplicate libraries. It's insane, can't even remove those duplicates as they are dependencies for a variety of packages. In the normal world a later package should override an older version, but it's different in linux, sadly. Even if I've deborphan and debfoster I see tons of different versions of libraries such as: libavcodec, libavdevice, libavfilter, libavformat, libavutils, libdb,
libjpeg, liblzma, libmatroska, libnspr, libntfs, libssl, libswscale,
libusb and libx264. Please have a look at the youtube video to know what I mean.
Friday, July 13, 2012
what's value of linux being modular
Wednesday, June 20, 2012
GIMP 2.8 on Linux: a Story of Pride and Pain
I was very much at home with my mighty Debian untill I was lured by GIMP 2.8.
I knew Debian Squeeze repo will never have it. So, looked for backports. Nothing there too. Then tried backporting it myself. It is not as easy as:
wget ftp://ftp.gimp.org/pub/gimp/v2.8/gimp-2.8.0.tar.bz2
mv gimp-2.8.0.tar.bz2 /tmp/
tar xf gimp-2.8.0.tar.bz2
cd gimp-2.8.0/
./configure
make all && make install
there's much more. Compiling it is really tough, you'll be flooded with errors related to missing packages, flags and lots more. Then I took the easy path of pulling it down from testing repository by adding:
deb http://ftp.de.debian.org/debian/ testing main
in /etc/apt/sources.lst
then configuring apt pin priorities to make testing version as additional to prevent distribution wide updrade by putting:
Package: *
Pin: release a=stable
Pin-Priority: 700
Package: *
Pin: release a=testing
Pin-Priority: 650
in /etc/apt/preferences
followed by:
apt-get -t testing install gimp
Result:
Holy shit! It almost installed truck loads of packages from testing. Finally I fucked my Debian Stable. It now feels slow, sound stopped working, it shows tons of boot error messages.
Dear linux distribution enthusiasts please bring out some api/abi that doesn't change every fortnight. 99% users love stability more than the shiny non-working stuff that doesn't bring any perceivable difference to their lives.
Tuesday, June 12, 2012
My Mighty Debian Squeeze 64-Bit
I'm also a speed freak. Here's my take for speed.
Hardware: Intel H61 board, Pentium G620 processor, 8GB Corsair DDR3 1333MHz RAM, Atheros LAN Card, Intel HD 2000 Graphics on the same die of the CPU, 32GB Kingston SATA II SSD as / partition + Western Digital Blue SATA II TB HDD as /home partition.
OS: Debian Squeeze 64Bit, backported 3.2 kernel, mesa, drm and xorg manually backported from Debian Wheezy repository.
Package Repos: Debian squeeze, backports, mozilla-debian, debian-multimedia, google and debian wheeze.
Desktop Environment: Gnome 2.30
Software: LibreOffice 3.5, Gimp 2.6, Mplayer and Totem with all codecs and browser plugins, Iceweasel (Firefox) 13, Icedove (Thunderbird) , Sun Java and Netbeans full suite, GCC + G++ along with Code:Blocks, Full Wine suite, and the fat repertoire of media players, audio/video editors, remote access/desktop sharing tools, mysql server, client and admin, a plethora of games and tons of system utilities and recovery tools.
Speed benchmarks: Booting 8 secs, libreoffice startup 1 sec, firefox 1 sec, gimp startup 2 secs, and surprisingly netbeans startup 3 secs. Initial memory footprint is just 130MB. You can't expect more.
Tweaks I did: Optimized SSD to use trim (noatime,discard option in the /etc/fstab of the ssd drive), disabled ipv6, changed /etc/hosts to look for localhost whenever possible instead of searching and reaching there, removed swap partition, removed initram disk, put all my driver modules directly into the kernel so as to avoid seeking initram. Finally cleaned all the unnecessary locale files, symlinks, orphan files and then a few tweaks on gconf-editor. Finally cleaned the gnome config residues (after installing all the software I needed) with gconf-cleaner.
Here's the testimony video, watch it in HD 720p format full screen:
Friday, May 11, 2012
Caitlyn and Linux Hardware Support
Only this morning I saw a post by Caitlyn Martin on tuxmachines.org. About "Linux Hardware Support Myths and Legends"
Come on Caitlyn, admit, Linux is still not ready for consumers. It's never going to be considering the control, complexity and its nature of development. We all love linux. We can tinker our way to use it at our homes and offices. We'll keep on using linux, and we are not sad or sorry if linux doesn't make it to the mass adoption. But your adamant post is laughable at the best. Numbers tell, if there was a pinch of truth in your statement linux desktop would have enjoyed comparable marketshare like the one from Redmond. But 1-2%!
You wrote, "Linux is compatible with more hardware than any other OS bar none. That certainly includes Windows. Try installing Windows 7 on some random laptop from scratch and see how much is missing or unsupported without third party drivers. My experience doing Linux installs for my customers is that a lot of off the shelf hardware "just works" and the rest needs proprietary drivers downloaded to make it work, just like Windows. There is, indeed, some hardware that doesn't work with Linux and years ago that was a real issue. The fact is that more and more manufacturers are supporting Linux well and other drivers have been adequately reverse engineered."
Partly right, linux does support maximum hardware out of the box. But that other OS supports all of the hardware, though not all out of the box. Besides, the maximum number of hardware that linux supports is not as good or simple as it is in that other OS. Compare the installation procedure and performance of modern ATI and NVidia graphics cards on linux with that other OS. Linux fails from a long margin. Moreover, the support is both complicated and buggy most of the time, and not feature-complete.
Caitlyn, please try any of the recent Northern or Southern Island ATi Radeon graphics card on your favorite linux box. Do the same on that other OS. Compare the performance and installation procedure. On that other OS, all you've to do is to pull in the software (just one executable file) from AMD and install it. Your favorite distribution with modern kernel and gallium drivers will readily support the Northern Island ATi chip out of the box. But the performance will be shoddy at best. Then you will search your distros repo or browse the manufacturer's website for proprietary drivers. Download and install the packages. Graphics still won't work the way it does on that other OS. Then you will look for vaapi wrappers, configure the media player settings, bla..bla..bla.. In linux it's not just a driver package, you've to fight with xorg, kernel, drivers, wrappers and decoders. After this big fight your distribution may play your 1080p hd stuff. But again, not as good as on that other OS.
Audio driver scenario is no different. The point is, Sound and Graphics support in linux is very complicated and is always in a catch-22 stage. Admit it!
Here's a copy of the discussion thread on her post. Just imagine how mis-informed and adamant Caitlyn is in comparision to the mature, practical and realistic Jack.
By Jack on May 10, 2012 11:21 AM
Having used Linux since the end of the 90'ies i certainly agree that hardware drivers are not really a big problem. But for some, it really is.
Therefore one should never claim "pick this or that distro - it works out of the box" unless one in fact has experience with the exact combination.
If you do recommend where you should not, you are likely to be the creator of a user very hostile towards Linux, thus a true credibility killer.
Another wrong thing to do is recommending Linux with the ambition to make a Linux enthusiast out of the victim. Recommend (and if possible assist in installing) Linux on basis of the potential users needs and capabilities.
Forget your own preferences - it's all about the potential user, as long as you are sure that you are able to assist.
Now, I've got some shocking news!!
There are no perfect Linux desktop environment, and there are no perfect Linux distribution. There are probably 20-30 distros and 4-5-6 desktop environments that are technically suitable and has the potential, but none of them are really there.
We, as enthusiasts, are able to tweak a distro or a desktop environment into submission. The regular users who just want a neat piece of equipment to work well are not.
Where are the distros for consumers? They don't exist.
By Caitlyn Martin in reply to comment from Jack on May 10, 2012 12:58 PM
Jack: I have some shocking news for you. Any of the major Linux distributions are consumer-ready. That's been true for at least a decade. Any of the major Linux desktop environments are consumer ready. That's been true for at least a decade as well. The current generation of desktops on Windows and even on MacOS are based on ideas that first appeared in Linux. See my recent article on the subject. If those Linux distributions aren't "really there" then certainly Windows and MacOS are even less ready for consumers. You are certainly right that there is no perfect Linux distribution or desktop. There is no perfect OS, period. Linux is in no way more flawed or less ready for consumers than the other options out there.
I see the second part of your comment the same way I see the articles proclaiming that Linux hardware support is terrible: as spreading more fear, uncertainty and doubt for no good reason.
Seems, evangelists like Caitlyn are more of problem than solution to the badly integrated and ever-forking open source OS.

Tuesday, May 8, 2012
Why Opensource Xorg/Gallium drivers suck on linux desktop
- "DONE" means that it is implemented and relatively bug-free.
- "MOSTLY" means that it is implemented but has some known bugs.
- "WIP" means that someone has started on the initial implementation.
- "N/A" means that the feature is not supported by the hardware.
- "N/N" means that the feature will not be implemented, because a better alternative is or will be available.
- "TODO" means that someone needs to write the code.
- "UNKNOWN" means that the current status of this item isn't known.
| 2D features | Evergreen | N.Islands | S.Islands |
| Kernel Modesetting | DONE | DONE | DONE |
| Max Supported Display | 2-6 | 4-6 | 6 |
| DRI2 | DONE | DONE | DONE |
| Page Flipping | DONE | DONE | DONE |
| ShadowFB | DONE | DONE | DONE |
| 2D Acceleration | DONE | DONE | Gallium |
| Textured Xv | DONE | DONE | Gallium |
| Decode on 3D engine | WIP | WIP | WIP |
| Decode on UVD | TODO | TODO | TODO |
| Hybrid Graphics | MOSTLY | MOSTLY | MOSTLY |
| Mesa 3D features | Evergreen | N.Islands | S.Islands |
| 3D Driver | r600g | r600g | radeonsi |
| Primitives | DONE | DONE | WIP |
| Stippled Primitives | TODO | TODO | TODO |
| Smooth Primitives | TODO | TODO | TODO |
| Textures | DONE | DONE | WIP |
| Hardware TCL | DONE | DONE | WIP |
| Vertex Shaders | DONE | DONE | WIP |
| Fragment Shaders | DONE | DONE | WIP |
| GLSL | DONE | DONE | WIP |
| Texture Tiling | DONE | DONE | TODO |
| S3TC decompression | DONE | DONE | TODO |
| full S3TC | DONE | DONE | TODO |
| Tessellation Shades | TODO | TODO | TODO |
| Geometry Shaders | TODO | TODO | TODO |
| Anti-Aliasing | WIP | WIP | TODO |
| Anti-Aliasing | DONE | not tested | not tested |
| Anisotropic Filtering | DONE | DONE | TODO |
| Hyper-Z | WIP | WIP | TODO |
| OpenGL Compliance | 3.0/4.210 | 3.0/4.210 | 3.0/4.210 |
| Output | Evergreen | N.Islands | S.Islands |
| Dual-link DVI | DONE | DONE | DONE |
| XRandR 1.2 | DONE | DONE | DONE |
| TV Out | DONE | N/A | N/A |
| DisplayPort | DONE | DONE | DONE |
| HDMI Audio | DONE | TODO | TODO |
| Power Saving | Evergreen | N.Islands | S.Islands |
| Engine reclocking | DONE | DONE | DONE |
| Memory reclocking | DONE | DONE | DONE |
| Voltage adjusting | DONE | DONE | DONE |
| Thermal sensors | DONE | DONE | DONE |
| Other | Evergreen | N.Islands | S.Islands |
| Suspend Support | DONE | DONE | DONE |
| CrossFire | TODO | TODO | TODO |
| Compute | WIP | WIP | TODO |
Saturday, May 5, 2012
Desktop: Debian vs. CEntOS
| Debian | CEntOS | |
| Pros | #1 clean package management. With backports repo now merged with main debian repos and debian-multimedia being very compatible with debian, you can install whatever you like without the being scarred of any adulteration, conflict or breakage. #2 largest no. of packages, roughly 30,000+. #3 flexible installation options - from netinstall, base cd to kmuto backported images, full CDs and DVDs. #4 less memory footprint and disk space usage. #5 support highest no. of architecture - from arm to amd86 and beyond. #6 frequent updates and point releases. #7 larger community and better/quicker support. #8 better hardware support out of the box with unofficial backports/kmuto installation images. #9 very flexible system offering easy customization as per individual needs | #1 very responsive (better than debian) system as a workstation. #2 quicker updates to major productivity suites for office use such as - openoffice, mozila suite. #3 better tested/trusted set of packages. #4 longer (more than debian) support period |
| Cons | #1 sometimes updates lose the previous configurations, especially printer, though reconfiguring manually resolves the issues | #1 repo conflicts and occasional breakage of package base as rpmforge, rpmfusion, elrepo, remi, elrepo, epel and atrmps don't always work in sync. #2 lesser no. of packages in the repo. #3 no easy customization as per individual needs. #4 smaller community and less no. of contributors |
Debian on desktop: 9 pros + 1 con = 8 points
Centos on desktop: 4 pros + 4 cons = 0 points
Of course, the list is not complete at all and may reflect my bias towards Debian. If so, please correct me sending you feedback that'll help me revise the list.
Friday, May 4, 2012
Too much of freedom = Chaos
A: It started up with a Utopia - freedom of choice.
Windows powers around 90% of the desktops worldwide. It doesn't offer much choice. And the little choice it offers is limited to a few application software. For more than 15 years we have just two GUI for Windows - Luna (Pre-Vista) and Aero (Post-Vista). Ask average Windows users about the desktop environment they use. 99% of time you will get a shock response - they have no idea. Or at best the answer will be "Windows". They have just one word "Windows" for the OS, for the desktop environment and everything else. What does it mean?
- people are not so fond of software, they just want to get their job done using some software (often reluctantly), crying "choice" aloud just frightens them
- they don't worry about the source code and the RMS freedom associated with it
That's precisely why after so much trumpeting of the advantages of FOSS it's struggling to register in the mindshare of the masses. The often said "Resistance to change" is not the only reason holding the opensource platforms back. It's the lack of standards, simplicity, coherence and good applications, plus the ever growing chaos in terms of fragmentation and multiplicity in every possible form.
You need to clean the clutter by dumping 90% of the stuff that make up for freedom of choice. Then you need a benevolent dictator who can apply an adamant standard and QC system to really push FOSS on the Linux desktop forward, but then it won't be FOSS anymore.
Thursday, May 3, 2012
It's not the same linux across distributions
Many times I've read this in a lot of prime linux fora - It doesn't matter which distribution you're using as long as it's linux. Then the usual preaching of choice and freedom runs till the end of those particular threads. I don't buy to this generalized statement. Read on to know why, but first let's see how this statement surfaces from the so called evolved linux gurus.
An enthusiast Windows/Mac user jumps on linux enlightened by a friend or being encouraged on the web. He/she tries a so called popular distribution, if unlucky faces multiple problems related to the stuff on the outer layers, the gnu stuff and other OSS stuff which in combination with linux make a distribution. Then googles for a while, visits some fora, gets suggestions from seasoned and noob users to change his/her distribution with some other, where the issues in question are resolved but may face some other bugs. Then some guru drops in and says - linux is linux, doesn't matter which distro, it's best to use one that suits best for his/her particular needs.
Now on to the topic. In theory every distribution is the same, but in practice they are not. A developer or a long time user might feel it same after cleaning the clutter and sorting everything to his or her liking. But the average Joe is not that skilled and doesn't have that patience to tame the OS. A minor quirk that comes in the way might make him/her feel distro A is different from distro B which is quite different from distro C.
It's a pity reality. Linux distributions are so loosely integrated that a minor mistake in putting stuffs together will create major problems. Doesn't matter even if that distribution is byte by byte a recompiled copy or just a derivative of some popular distribution with minor changes here and there. Most often even if the derivative distribution shows superficial changes in skins, branding, selection of default apps or choice of desktop environment, it might influence components lying much deeper in the bundle. For example, take the case of audio stack (click on the image below) on a typical linux system. Look at its complexity and relationship with various components and imagine what can happen with slight mishandling.
Monday, April 2, 2012
Android-x86, Just a Hobbyist Project
Started at mid-2009 Android-x86 project has not been able to offer a well-rounded release so far.
Then, it was a welcome relief for all those loved Android on mobile devices and wanted the same usability, performance and security on their x86 devices such as netbooks and computers.
I was an early adopter of Android-x86 for three basic reasons:
#1 it pumped vigor to some aging PCs (PIIIs, PIVs and Atoms)
#2 it was a tightly integrated project (not like fragmented Linux ecosystem)
#3 performance was great (expected being a mobile OS)
Till date the project has been delivering on those basis reasons, but has not been able to come up with a version worthy of consumer adoption. It always tries to catch up with the upstream, and pushes out unfinished releases (RCs) pretty close to the android releases. But before it could resolve all the issues and bring out a final bugfree release, Android jumps one version or one point up, and Android-x86 people drop it right there and sit together to work on the new upstream offering. Buggy RC stays just there. From Android 2.3 through 4.0, you get just unfinished RCs. I don't dare guess their future releases.
Here's the timeline of recent releases:
- 2012-02-27: Android-x86 4.0 RC1
- 2011-11-23: Android-x86 3.2 RC2
- 2011-08-28: Android-x86 2.3 RC1
Each of the releases has been plagued with one or more of the following issues:
#1 Suspend and resume doesn't work on some targets.
#2 No Ethernet support.
#3 Camera and bluetooth don't work.
#4 Camera recorder doesn't work.
#5 Wifi and Ethernet cannot be turned on simultaneously.
Is it just a product for developers to learn packaging for Android? Or for those hobbyists who don't expect anything more than being able to tinker?
Thursday, March 22, 2012
I don't need sex, gnome 3 fu*ked me in the brain
Forget the usability, still the gripes are many, ranging from its integration into the system to how it talks with various other core components such as graphics, desktop effects, and the overall stability.
As for usability, I'm ok with putting a few extensions to tweak the desktop behavior, but not, if my graphic card crawls on this new desktop. Searched every forum, tried with gallium3d, failed. Installed catalyst plus vaapi with gstreamer and vlc backends. Still no-go. I am sorry, it's not for me. Moreover, my system wearing this new gnome skin coughs every now and then. Sometimes it stays irresponsive for quite long. That's simply unacceptable.
My Radeon HD 6310 flies on both gnome 2.32 and kde 4.8. I know I may achieve the same performance after some more workaround. Same with system irresponsiveness. But who cares!
Shoddy software quality, defiant community and bad usability = Gnome 3
How has been your gnome 3 ride? Please don't flame on the task management and workflow, just mention how stable the whole stack has been so far?







