We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2d4e61 + 1daa662 commit 85cb710Copy full SHA for 85cb710
scriptmodules/supplementary/runcommand/runcommand.sh
@@ -129,7 +129,7 @@ function get_config() {
129
if [[ -n "$DISPLAY" ]] && $XRANDR &>/dev/null; then
130
HAS_MODESET="x11"
131
# copy kms tool output to global variable to avoid multiple invocations
132
- elif KMS_BUFFER="$($KMSTOOL -r 2>/dev/null)"; then
+ elif [[ -c /dev/dri/card0 ]] && KMS_BUFFER="$($KMSTOOL -r 2>/dev/null)"; then
133
HAS_MODESET="kms"
134
elif [[ -f "$TVSERVICE" ]]; then
135
HAS_MODESET="tvs"
0 commit comments