Skip to content

fix(linux/wlr): resilient GBM allocation for headless NVIDIA

641ee40
Select commit
Loading
Failed to load commit list.
Open

feat(linux/wlr): SHM capture fallback + resilient GBM allocation for headless NVIDIA #4946

fix(linux/wlr): resilient GBM allocation for headless NVIDIA
641ee40
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 9, 2026 in 56s

Quality Gate failed

Failed conditions
3 New issues
2 Duplicated Blocks on New Code (required ≤ 0)
3 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 217 in src/platform/linux/wlgrab.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this redundant cast.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ1W2V4Cmm9_Jq1q9wTT&open=AZ1W2V4Cmm9_Jq1q9wTT&pullRequest=4946

Check failure on line 23 in src/platform/linux/wlgrab.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Global variables should be const.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ1W2V4Cmm9_Jq1q9wTR&open=AZ1W2V4Cmm9_Jq1q9wTR&pullRequest=4946

Check failure on line 231 in src/platform/linux/wlgrab.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ1W2V4Cmm9_Jq1q9wTS&open=AZ1W2V4Cmm9_Jq1q9wTS&pullRequest=4946