I noticed that camera performance was better under a newer kernel (5.18, 5.19). I am back on the LTS kernel which now supports hibernation, etc., but have not tested the webcam performance.
To me the issues you are speaking about here are related to drivers, which are part of the kernel you are using. There is a GUI based app on Ubuntu that will let you select a newer kernel and will install it for you. It is easy to go back to the LTS kernel if needed. When I’m done with work, I’ll look it up on my Framework and edit this post with that information.
Edit: Ubuntu Kernel Mainline Installer is the name of the application I’m talking about.
Thanks @2disbetter for your precise answer.
For now I am discouraged using OBS on my FW, it was working on my thinkpad E590 (cloned the SSD).
I have tried already with kernel 5.15 and 5.18 with OBS the past 2 monthes.
The thing is that it also works better with cheese the basic cam app in Ubuntu Mate (no setups in there)…
For now I will put it on hold until someone has a solution…I feel I tried pretty much everything.
And I am not talking about activating the “virtual camera” and the “loop back thing” that don t work with some mainline kernels…
Thanks a lot for the testing and the answer.
Motion Jpeg decrease a LOT the image quality then its getting worse in OBS and worse again when sent via internet on google meet. Its looks to the guy watching me more like a 1990 test of a webcam in 320X240
So NO thks for jpeg.
Concerning the main line linux that s what I use for testing BUT there is not video for linux on 5.18 .19 and 6.x module on Ubuntu mainline ) NO OBS LIVE
I did put a comment on OBS directely but it as been close because it seems the ubuntu related bug
Hmm, that is odd. I know that webcams do really poorly in Linux if the lighting isn’t set up a specific way. Can you take a screen capture with the good lighting you had in one of the above images and these settings?
Video format: Whatever you prefer
Frame Rate: Default
Color Range: Default
I will have hands on a 12th gen configuration Monday or Tues, so I can restest this on that system as on the 11th Gen system I have it has been just fine with the above settings.
In the meantime, it would be worth installing and testing out guvcview and seeing if that gives you a different result. Using the guvcview application allows you to make changes to your webcam settings that will also carry over to WebRTC stuff like Jitsi, Google Meet, etc.
sudo apt install guvcview -y
Test out that application, see if this changes any of the behavior you’re seeing.
I have been recording several videos now, and I can confirme I am stuck at 640X480 IN OBS.
If I go up I start getting a veeeery important lag. About 1second log between sound and image. It is not usable in HD for me.
I have ordered an external HD cam …
I hope next UBUNTU 22.04.3 and kernel 5.19 will solve those laggs…
Will see next month
tried with guckview as recommanded same thing in YUV cannot go over 640 without lagg
Did not installed it.
But when doing it it ask me to install kernel 5.17 ???
I am worried it will copletely mess up my system which is LTS on 5.15 …
Maye better to wait for upcoming 5.19 end of the month on Ubuntu .3
I think you need to use the kernel your comfortable with.
Using linux-oem-22.04 is a metapackage for the recommended kernel, at this time, that’s 184.108.40.2067.25.
5.15 is totally fine though, it’s really a matter of using what works for you. We test Framework using the linux-oem-22.04 meta package. There are also linux-oem-22.04b and linux-oem-22.04c metapackages with even newer kernels.
Looks like linux-oem-22.04b has moved from 5.19 to 6.0.0 for example.
You can explore the oem kernels we use by running:
apt search linux-oem-22.04
My above results are with the specific adjustments I recommended and the oem kernel indicated in the guide.
For guvcview, these are the recommended settings:
guvcview, video tab:
MJGP Motion Jpeg