[SOLVED] Camera configuration in OBS (Ubuntu)

I am trying to set OBS studio for some time on Ubuntu 22.04 / kernel 5.15. / intel 12th gen.
Basically I have 2 options and none of them are usable for video conferencing :

  1. YUYV 4:2:2 : light is OK but there is 1 second lag + tearing in 1080P! If I go to 240P its still half a second lagg.
  2. Motion Jpeg : image quality is awfull with a lot of compression. No light. But the FPS are OK.

Other options are without light so no usefull at all.
All screenshots at 2min interval with same bad lighting conditions (to demonstrat), I am moving slightely :


In cheese its what I d like to have, I am too moving slightely with same bad light (for testing) = light OK + quality OK:

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…

Hi @Iann_C,

I just installed OBS 28.1.2 Flatpak on my 11th gen Framework.

Video format: Motion-JPEG (plus tested all the emulated formats)
Resolution: Default
Frame Rate: Default
Color Range: Default

Kernel in question is 5.19.16 and everything looks fantastic. Now this is on Fedora, so I’d echo @2disbetter in that you’ll want to run at least 5.18 for the best experience possible.

This video will walk you through the process:


Also, hiya @2disbetter. :slight_smile:

1 Like

Hi Matt, really great having you here with us! Framework, which is already awesome, just got a little awesomer (real word right?) with your addition!


I’m not sure, but great for dsylexia prone people, that may need more words for the concept to sink in

got a little :: awesomer
more :: awesome

‘little’ is a bit diminutive whereas ‘more’ provides the idea of growing

I got it, I have it and now I’m going to leave it.

All the best


1 Like

Thank you!

1 Like

Hi @Matt_Hartley
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 :smiley:
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 :frowning:
I did put a comment on OBS directely but it as been close because it seems the ubuntu related bug :frowning:

So game over :smiley:

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
Resolution: Default
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.

1 Like

Update 19 January
Tried it today with my uptodate ubuntu mate 22.04 . OBS 28.1.2 and the lagg in camera using YUV seems gone for now.
So it becomes usable, will test it more and confirme if solved.

The experience seems to have stabilized allround.
I can even start the virtual camera without any specific script on shipped kernel 5.15

1 Like

Excellent news, marking resolved.

Here is the kind of quality I get now with light from a window in front.


(Mod edit, removed embeds)

Looks great! I did have to remove the links as while your videos were fine, we try not to set a precedent for video sharing. :slight_smile: