Page MenuHomeSolus

OBS recording keeps flickering
Closed, ResolvedPublic

Description

Hey!

I keep getting this weird flickering when trying to capture things on Solus w/ Budgie. I'm on a relatively new install. (~1 month)

This happens when trying to record in OBS and sometimes even when trying to take a screenshot. The result is flickering black (and rarely white) horizontal lines across the screenshot/recording.

This is a very annoying issue as it means I can't record gameplay etc. :(
I haven't had this issue before on any other distro. (Ubuntu, Arch etc.)

Example screenshot

image.png (1×1 px, 138 KB)

Example recording in web browser/terminal
https://www.youtube.com/watch?v=Z_jWXJfv4oA

Example recording in-game
https://www.youtube.com/watch?v=B5YVU9K5Ddo

Note: The flickering in the video above is within the game-window & window decorations. Sometimes flickering is only observable within the recording itself.
This issue occurs when capturing multiple games, programs and even in my web browser.

I feel like this issue is caused by some sort of special process scheduling/prioritization that's only present in Solus. I'm not sure, though.
It seems to occur more frequently when doing CPU/GPU intensive stuff.

Using NVIDIA proprietary drivers with OBS NVENC hardware/GPU encoding.

~ 
➜ neofetch --stdout     
snuggle@cherrypie
-----------------
OS: Solus x86_64
Kernel: 4.15.3-53.current
Uptime: 3 days, 4 hours, 24 mins
Packages: 1104
Shell: zsh 5.4.2
Resolution: 1920x1080, 1360x768, 1920x1080
DE: Budgie
Theme: Adapta-Nokto-Eta [GTK2/3]
Icons: Numix-Circle [GTK2/3]
Terminal: tilix
CPU: Intel i3-2120 (4) @ 3.300GHz
GPU: NVIDIA GeForce GTX 960
Memory: 6305MiB / 13981MiB

Installed Package Information (ffmpeg/OBS/budgie-desktop/nvidia-proprietary drivers):
https://pastebin.com/brt0BVZJclea

Any idea what the potential cause could be? I'm more than happy to provide more information and/or test things, if necessary!
Thank you! ?

Event Timeline

I'm having a similar issue, in my case it's caused by the "force full composition pipeline" setting of nvidia T5708.

I’m pretty sure I don’t actually have that enabled.

I’ll double-check when I get back home from college, but that was one of the first things I checked, as well as the “Force redirection something of windows” in the Budgie settings.

Yeah, @fbg13, I'm getting the same issue regardless of the "Force full composition pipeline" setting.

Turns out this was caused by OpenGL flipping. To fix this issue, please open NVIDIA X Server Settings, go to OpenGL Settings and disable Allow Flipping.

This can fix horizontal black/white tearing lines across your screen, mouse cursor duplication while recording and some weird lag spikes.
Special thanks to RealNews#5028 for the fix. ^-^