Re: Install Logitech G Hub Linux

0 views
Skip to first unread message
Message has been deleted

Austin Vermont

unread,
Jul 11, 2024, 10:02:06 AM7/11/24
to bangcitakend

Last week I finally purchased a webcam for online meetings, something I had been holding off on for quite some time. I was using a 12" MacBook for these up until now, but I wanted to get a webcam for my main computer as I sometimes need to look over or go through a project while in a meeting, and that's easier to do on my main macine. For a quick family call this certainly makes it easier, too.

install logitech g hub linux


Descargar archivo https://bltlly.com/2yOUUd



Since webcams are not necessarily cheap, I had a hard time convincing myself to get it. This is actually the primary reason it took me so long to purchase one in the first place. But, I have to find a solution for this sooner or later, so let's just get it over with now, I thought.

The Logitech StreamCam is, as the name implies, targeted somewhat more towards the YouTube and Twitch gamers. For what reason I am not entirely sure, as it does not necessarily seem like a great choice for that market. It actually looks like a better all-round choice, or perhaps just for anyone who prefers to have a slightly sharper and higher framerate capture (bandwidth permiting, of course) and spends some time in front of a webcam throughout the year, whatever their purpose may be.

And so, I chose to get the Logitech StreamCam. Not because I'm planning on doing any streaming, but simply because it offers a sharper looking image in most lighting conditions, and supports 1080p at 60 frames per second, if so desired. Perhaps this is overkill now, but as I am not someone who enjoys upgrading hardware often, I like to think that this camera is future proof.

There are two colors available: white and "graphite," the latter of which is basically the black-equivalent version. Included with the StreamCam are two mounts; one is your typical camera mount designed to be placed on top of your LCD display, and the other has a standard tripod screw mount, which is super handy and the one I ended up using alongside an off-brand GoPro bar mount, attached to my monitor arm.

The camera is hard-wired with an 1.5 meter long USB-C 3.1 cable, which depending on your setup might be a bit short. Fortunately it seems to work fine with a 1 meter USB-C extension cable I purchased separately. No USB-C to USB-A adapter is included in the box by default, although this is something the store I purchased it from did include.

Fortunately Logitech webcam support is pretty good under Linux, with video4linux (or v4l2) providing support. What follows is a quick step-by-step guide on how to get the StreamCam to work at full 1080p, 60fps quality, although you can use this same guide for other Logitech cameras too, as the steps should be identical.

To see if your computer recognizes the webcam you can use the v4l2-ctl tool, which is provided by the v4l-utils package. It is not necessary to install this package, you only need it if you want to use some of the helper tools it provides.

When you first launch guvcview you should be greeted with your camera's view, it's working! However, things probably don't look quite right. You'll probably get an abysmal framerate, too. Let's fix that. Whenever you make a change, you should immediately see the difference in the camera view. The window title of the camera view will tell you what the current framerate is, so keep an eye on that too.

Sometimes the camera seems to need a nudge in the right direction, and this might help it. After this your framerate should jump up to whatever option you chose, and you should be able to change Exposure, Auto back to Aperture Priority Mode. Alternatively you can leave it at whatever specific setting you want, of course.

These are just the default settings needed to get the StreamCam to show up at its full resolution and framerate. From here you can tweak its white balance, exposure, etc. if you like, although I must admit I have done none of those things. I did use the mirror filter to match what I see on-camera with what I expect to see, which is a bit more convenient for me.

Take a look at all the available settings and see what you like. Fortunately Guvcview supports saving and loading of profiles, so once you have made your basic configuration, simply use the Save profile option under Settings, and store this somewhere convenient. That way you can always go back to your defaults, or even switch between different settings depending on specific situations, for example.

Guvcview allows you to snap a photo and record a video directly, too, which can be handy in certain situations. What you may find though is that by default as soon as you hit Cap. Video, the framerate tanks.

This seems to be a limitation with this application, but a solution I found was to change the Video codec from the Video menu to MJPG - compressed. Raw camera input works fine, too. This seems to avoid the issue, although the resulting video file will become quite large, quite fast, so keep that in mind. If you're planning on recording videos more frequently, it would probably make sense to use something like OBS instead, just make sure you check the aperture-related settings if your framerate seems low.

Most settings you specify in Guvcview should be preserved by other applications that use the camera, unless they apply their own settings or defaults. So once you have configured things the way you like in Guvcview, your next Zoom/Skype/Google Hangouts call should look quite alright.

I skipped over the audio settings, mostly because this webcam's audio quality is nothing to write home about. It'll be fine for a quick meeting, I'm sure, but you'll pretty much sound like you're on the other end of a landline. If you plan on recording videos or just want to have better audio because you care about that sort of thing, I recommend using a stand-alone microphone. I have a Zoom H1n, which can also be used as a USB microphone, so that's what I've been using, but basically any recommended USB microphone will do a better job than a webcam might.

It appears that guvcview has trouble recording audio these days, likely related to pipewire, which is the new default used on several more up-to-date systems. Guvcview still correctly shows microphone activity while recording, but no audio is actually being recorded.

If you have run into this issue, know that this is not an issue with the StreamCam. I've unfortunately so far not found any way to fix this, other than to use a different tool. The webcam tool called "Cheese" would be a nice alternative if it wasn't for its very poor picture quality defaults that seemingly can't be changed. I've been using OBS to record videos, which feels like overkill, but at least it works.

I wasn't able to find much information about the StreamCam under Linux, so if you are in a similar boat as I was and found this article whilst doing your research, rest assured that the StreamCam works just fine under Linux, including full 1080p@60fps.

Cheese is a Gnome app. Do you have all of the dependencies installed? Also, not all USB devices work as advertised in a VM, we have a physical box sitting in our server room because we could not get it to work as a VM.

I gave up on Ubuntu because of stuff like this, among other reasons. I use Slackware and the webcam works perfectly. Does he have to have Ubuntu? Does he know anything at all about Linux? What is your level of Linux expertise?

It was the VM, I switched to a computer running Ubuntu and the camera is working with Cheese. The only thing now is getting the video to work on skype for linux beta. Thank you for all your help so far.

I see that your Director wants to use Linux? You do not mention what machine he wants it on or what he wants to do with it. And how familiar he is with Linux. Linux has many distributions and each has its aims and followers. In addition, many of the distributions have a selection of programmes for their window like Gnome, Cinnamon , xfce, etc. To get into Linux most people distro hop until they find a small number that they like. Ubuntu is fine once you get used to it but if your Director is coming from a Windows background then Mint will probably be better for him. And if the PC is not particularly powerful then Mint with xfce may be better still. If I were you, I would get a Linux system working and go back to him to find out what his objectives are with Linux.

Thank you for the lengthy reply. He is a programmer and has some experience with Linux, coming from a Mac. I gave him back the computer, I will keep an eye on it. Again, thank you for the great advice. Please have a wonderful day.

I'm sorry, I'm new in linux use.
I've installed Ubuntu Mate on an old notebook (emachines e525) ad it works very well.
Then, I've tried to install Logitech Media Server
I've downloaded the file .deb at this page: My Media - Welcome to mysqueezebox.com!. I clicked on it to install with "snap store". At the end, snap store tell me that it's installed, but I haven't any way to find it. Nothing in the menu, in the list "installed" it doesn't appear, but with the same "snap store", at the end of installation, I could remove the software, and I did it, always without know "where" it was.
Please help me

Preparativi per estrarre logitechmediaserver_8.3.1_amd64.deb...
Estrazione di logitechmediaserver (8.3.1)...
dpkg: problemi con le dipendenze impediscono la configurazione di logitechmediaserver:
logitechmediaserver dipende da libcrypt-openssl-rsa-perl; tuttavia:
Il pacchetto libcrypt-openssl-rsa-perl non installato.
dpkg: errore nell'elaborare il pacchetto logitechmediaserver (--install):
problemi con le dipendenze - lasciato non configurato
Si sono verificati degli errori nell'elaborazione:
logitechmediaserver

Preparations to extract logitechmediaserver_8.3.1_amd64.deb... Extracting logitechmediaserver (8.3.1)... DPKG: Dependency issues prevent LogitechMediaServer configuration: logitechmediaserver depends on libcrypt-openssl-rsa-perl; however: The libcrypt-openssl-rsa-perl package is not installed. dpkg: Error processing Logittech MediaServer packet (--install): Problems with dependencies - left unconfigured Processing errors occurred: logitechmediaserver

d3342ee215
Reply all
Reply to author
Forward
0 new messages