Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions checks/graphics.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from .vars import *
from .utils.utils import *
from .linux import checkFlatpak


def checkInit(lines):
Expand Down Expand Up @@ -58,6 +59,15 @@ def checkNVIDIAdriversEGL(lines):
return [LEVEL_WARNING, "Old NVIDIA Drivers", "Legacy NVIDIA 390 drivers do not support window capture on EGL."]


def checkLLVMpipe(lines):
if search('OpenGL on adapter Mesa llvmpipe', lines):
helpText = "OBS is running on a software-emulated graphics pipeline. This is not supported as OBS requires access to a physical GPU. Please make sure your graphics drivers are up to date."

if checkFlatpak(lines):
helpText += "<br><br>If you are using an NVIDIA GPU, please reboot your PC, then run <code>flatpak update</code> from a terminal."
return [LEVEL_CRITICAL, "Software rendering", helpText]


def checkVideoSettings(lines):
videoSettings = []
res = []
Expand Down
3 changes: 2 additions & 1 deletion loganalyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def doAnalysis(url=None, filename=None):
checkLinuxVCam(logLines),
checkMacPermissions(logLines),
checkServiceRecommendations(logLines),
checkLinuxSystemInfo(logLines)
checkLinuxSystemInfo(logLines),
checkLLVMpipe(logLines)
])
messages.extend(checkVideoSettings(logLines))
m = parseScenes(logLines)
Expand Down