Skip to content

Commit

Permalink
feat: added warning message when drm fails to get the primary node
Browse files Browse the repository at this point in the history
  • Loading branch information
ABeltramo committed Aug 9, 2023
1 parent 4956b34 commit ee4caa9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/moonlight-server/platforms/hw_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ std::vector<std::string> linked_devices(std::string_view gpu) {
found_devices.emplace_back("/dev/nvidiactl");
}
}
} else {
logs::log(logs::warning, "{} doesn't have a primary node! Available nodes: {}", gpu, device->available_nodes);
}

return found_devices;
Expand Down

0 comments on commit ee4caa9

Please sign in to comment.