LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-21-2018, 11:57 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
A rant about bloatware


Yesterday I installed a new (Meltdown-proofed) kernel on a friend's machine. She showed me a webcam that she had acquired. She had no idea how to use it and frankly nor did I!

We plugged it in and the kernel recognised it and loaded the v4linux driver, so we looked in synaptic for a suitable program to run. I noticed cheese, which I have seen a lot of posts on, so I said, "Let's install that. It's a well known program."

It came with a slew of dependencies including several gnome libraries. But she has plenty of room on her hard drive, so I said, "What the heck! Let's just do it."

And do you know, we couldn't get that program to work. All we ever saw was a black window with an error message on it. When I googled the message, lots of other people had seen it, but I found only one post (in an Ubuntu forum) that suggested how to solve it, and the method (reducing the resolution) didn't work for us. But I noticed a lot of references to guvcview as a better option. So I decided to install that.

It came with only one dependency! I thought maybe it was piggybacking on the stuff we'd already downloaded for cheese, but that turned out not to be the case. When I deinstalled cheese afterwards, it took (probably) all its dependencies with it. But guvcview worked right out of the box.

Now can someone explain why a small and simple application works while one that brings half of Gnome with it doesn't?
 
Old 01-21-2018, 12:24 PM   #2
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
sure, the problem with loads of dependencies (created by packagers) is sometimes stuff gets left out, or one dependency might not work-be deprecated-poorly maintained etc... Hazel, you just discovered the blessing of KISS.

may I introduce you to my friend Slackware or Salix:
http://slackware.com/
https://salixos.org/
of course there are a few others that still follow KISS, but Debian and *buntus are not one of them.
 
2 members found this post helpful.
Old 01-21-2018, 07:12 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Not all webcams work with Cheese.

If it doesn't work with Cheese, it may work with Guvcview.
 
Old 01-21-2018, 07:36 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Cheese is using gstreamer. IMHO gstreamer is a big bug itself. Maybe it is improved now, I haven't used it for many years.
 
Old 01-22-2018, 01:24 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
That's Gnome in a nutshell.
 
1 members found this post helpful.
Old 01-22-2018, 02:42 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
That's why I don't use Debian.
 
2 members found this post helpful.
Old 01-27-2018, 03:36 PM   #7
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
General - If you have ffmpeg and v4l2 you can do just about everything anyone could want with a webcam and most importantly gather info on your webcam's capabilities. Here's 2 examples

Code:
$ v4l2-ctl --list-devices 
(which will give you a simple printout like)
UVC Camera (046d:081b) (usb-0000:00:1d.0-1.5):
        /dev/video0
and

Code:
$ ffmpeg -f v4l2 -list_formats all -i /dev/video0
(output sample)
[video4linux2,v4l2 @ 0x55a96a3d24e0] Raw       :     yuyv422 :           YUYV 4:2:2 : 640x480 160x120 176x144 320x176 320x240 352x288 432x240 544x288 640x360 752x416 800x448 800x600 864x480 960x544 960x720 1024x576 1184x656 1280x720 1280x960
[video4linux2,v4l2 @ 0x55a96a3d24e0] Compressed:       mjpeg :          Motion-JPEG : 640x480 160x120 176x144 320x176 320x240 352x288 432x240 544x288 640x360 752x416 800x448 800x600 864x480 960x544 960x720 1024x576 1184x656 1280x720 1280x960
That last one will tell you if a resolution is possible or what type of ideal camera output to choose in any application to get the best results.

MPlayer and VLC also do nice webcam work.

Specific to Cheese and guvcview -


Guvcview does tend to work right out of the box but it also is a bit limited compared to Cheese, partly because it has some dbus issues. It tends to crash quite a bit. These are easily seen when running "guvcview" from CLI.

Cheese is a bit of an automated oddball. When it first starts up it is gathering information to self-configure. It causes some GTK errors in Debian Buster (latest testing) due to older, deprecated library calls. I started it 3 times and it failed twice but got better each time. The 3rd time was the charm and from then, on was at least simple and decent. However it experiences a number of errors on Debian Buster, too. In Cheese's defense it handled higher resolutions without crashing better than guvcview on my box in Debian.

BUT - Since this Debian is a trial install for testing a few items I don't care to expose on my main Slackware system, I visited AlienBob's Slackbuilds.org and searched for "cheese". Bob wisely translated that to "kamerka" which on any reasonable KDE install has zero dependencies. This is true of Slackware by default Full Recommended Install [that incidentally some (foolishly) call "bloated"] but probably since I have a lot of KDE on this Debian, it had zero dependencies as well. It worked right out of the box with zero errors, launched quickly and handled not only higher but maximum possible resolutions with nary a glitch.

Moral of the Story - There's at least two kinds of bloat - subjective and objective, each with possible subheadings of "for no good reason (possibly incompetence)" and "for improved performance, stability, configurability and flexibility". I am of the opinion since hard drive space is cheap and I consider my time valuable, I'd rather spend a few hours during install and initial setup if it saves me time and hassle over the long run where that can add up to huge losses of time, productivity and fun. I rather like Debian for the most part but I LOVE Slackware and the odd thing about that is most people perceive Slackware as "too much work manually resolving dependencies" when the opposite is actually true. PLUS, the developers are few, and that with a single final arbiter, so there is less cross-purposed conflicts, a dedication to simplicity and reliability that I haven't seen anyone close to in almost 20 years of use with LOTS of distro testing.

In relation to this thread, since kamerka is in Synaptic, please do try that and get a hint of the kind of simple stability that appeals to Slackers... and many, many others who just don't know it yet.

Last edited by enorbet; 01-27-2018 at 03:40 PM.
 
2 members found this post helpful.
Old 01-28-2018, 03:39 AM   #8
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
One relevant factor (which I don't think I mentioned) is that this is a fairly old computer with 1 MB RAM, running AntiX. So there's plenty of drive space but not a lot of memory. I think that as long as guvcview works, she'd better stick to that. She's not the kind of user who will want to play around with different resolutions.

What Enorbet said about cheese configuring itself the first time around reminded me of something I'd forgotten. The first time we launched it, we did actually get a picture. On every subsequent occasion, we got nothing. It looks like cheese may have configured itself out of operation. Another reason for avoiding software that is too clever by half.

Kamerka sounds quite nice but it would bring the KDE libraries with it. Better stick to what we have.
 
Old 01-28-2018, 07:42 AM   #9
anticapitalista
antiX
 
Registered: May 2005
Location: Greece
Distribution: antiX using herbstluftwm, fluxbox, IceWM and jwm.
Posts: 631

Rep: Reputation: 190Reputation: 190
antiX (full) ships with guvcview so I'm surprised you had to install it. Or are you using antiX-base version?
 
Old 01-28-2018, 09:46 AM   #10
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,574

Original Poster
Blog Entries: 19

Rep: Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452Reputation: 4452
Quote:
Originally Posted by anticapitalista View Post
antiX (full) ships with guvcview so I'm surprised you had to install it. Or are you using antiX-base version?
Yes, it was base when we installed it, although I've added a few bits and pieces since, including LO. This is a "learning" machine for a complete computer virgin, so she'd only be confused by a huge gamut of software. Mainly she's learning how to be confident on a computer, how to use a keyboard and mouse, surf the web, play music (she taught herself that!), write stuff on LO Writer, keep the system up to date and so on. As she asks about other things, we add them, like with the webcam. I'm glad you favour guvcview. I found it quite impressive.
 
Old 01-28-2018, 02:35 PM   #11
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Quote:
Originally Posted by hazel View Post
Yes, it was base when we installed it, although I've added a few bits and pieces since, including LO. This is a "learning" machine for a complete computer virgin, so she'd only be confused by a huge gamut of software. Mainly she's learning how to be confident on a computer, how to use a keyboard and mouse, surf the web, play music (she taught herself that!), write stuff on LO Writer, keep the system up to date and so on. As she asks about other things, we add them, like with the webcam. I'm glad you favour guvcview. I found it quite impressive.
I always thought giving new users a "full" distro experience was best, then they can play around with minimalism after experience is gained.
 
Old 01-28-2018, 05:25 PM   #12
JWJones
Senior Member
 
Registered: Jun 2009
Posts: 1,444

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Quote:
Originally Posted by dugan View Post
That's why I don't use Debian.
Yup, that's why I left Debian for Slackware.
 
1 members found this post helpful.
Old 01-28-2018, 06:05 PM   #13
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Just wanted to mention qv4l2 from v4l-utils. Ostensibly a test bench application, but it will do simple capturing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Who has more bloatware android or iphones? Ryan1955 Linux - Mobile 4 08-19-2013 09:42 AM
Install SUSE 11.1 with MINIMAL BLOATWARE 1kyle SUSE / openSUSE 3 01-29-2009 06:10 AM
fedora 3 bloatware????? just_dan Fedora 7 05-10-2005 01:38 PM
Is Fedora 3 Bloatware? jokerni Fedora 6 01-09-2005 12:42 AM
rant, rant, rant (dselect) fenderman11111 Debian 2 07-06-2004 06:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration