Skip to content

fix(cuda): retry primary node fallback when render node open fails

133ed1b
Select commit
Loading
Failed to load commit list.
Open

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

fix(cuda): retry primary node fallback when render node open fails
133ed1b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 16, 2026 in 44s

Quality Gate failed

Failed conditions
4 New issues
4 New Code Smells (required ≤ 0)
2 Duplicated Blocks on New Code (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 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 warning on line 273 in src/platform/linux/cuda.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::string" instead of a C-style char array.

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

Check warning on line 294 in src/platform/linux/cuda.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "std::string" instead of a C-style char array.

See more on https://sonarcloud.io/project/issues?id=LizardByte_Sunshine&issues=AZ2WL4WsQtrCo_FefaUM&open=AZ2WL4WsQtrCo_FefaUM&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