the --disable-gpu-compositing
CEF flag to OBS Studio's Browser Source plugin, you'll need to add it to your OBS Studio shortcut.
- Locate your shortcut to OBS Studio.
- Right click the shortcut and hit "Properties".
- Add the following to the end of the "Target" field. Be sure to put a space before it:
--disable-gpu-compositing
- Launch OBS Studio via this shortcut, and try out a Browser Source animation to verify that it does indeed appear smoother.
- OBS Studio updates usually delete and re-make this shortcut, so you may need to repeat these steps after every OBS Studio update.
- What does this do?
- It can greatly improve the apparent framerate of some OBS Studio Browser Source graphics.
- Why does this work?
- I'm not entirely certain. The theory is that the process of passing textures to/from the GPU in Browser Source is somehow not optimal.
- Does this work on the original OBS?
- Yes, but not quite as well. You may have more luck with
--disable-gpu
(as opposed to just--disable-gpu-compositing
). In my experience,--disable-gpu
does make OBS1 Browser Source significantly smoother, but not perfect. - To add the
--disable-gpu
flag to OBS1:- Go to Settings > Browser and click on the "Runtime" tab.
- Under the "Core" heading, set
CommandLineArgsDisabled
toFalse
. - Click on
CommandLineArguments
, then click on the small button with three dots that appears on the far right. - Paste
--disable-gpu
into this box. - Click "OK" in all the open menus and restart OBS1.
- Yes, but not quite as well. You may have more luck with
- Will this hurt my performance in other ways?
- Possibly. Adding this flag forcecs all the CEF compositing to happen on the CPU, which could negatively impact performance. You'll need to test things out and see if this flag is right for your setup.
Thanks to Osiris on the OBS Project forums (@osirisnld on Twitter) for the discovery.