feat(ddprobe): allow to manually specify gpu preference (#3521)
This commit is contained in:
@@ -69,6 +69,18 @@ const config = ref(props.config)
|
||||
:config="config"
|
||||
/>
|
||||
|
||||
<PlatformLayout :platform="platform">
|
||||
<template #windows>
|
||||
<!-- GPU Preference -->
|
||||
<div class="mb-3">
|
||||
<label for="gpu_preference" class="form-label">{{ $t('config.gpu_preference') }}</label>
|
||||
<input type="number" class="form-control" id="gpu_preference" placeholder="-1" min="-1"
|
||||
v-model="config.gpu_preference" />
|
||||
<div class="form-text">{{ $t('config.gpu_preference_desc') }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</PlatformLayout>
|
||||
|
||||
<DisplayOutputSelector
|
||||
:platform="platform"
|
||||
:config="config"
|
||||
|
||||
@@ -108,7 +108,7 @@ const config = ref(props.config)
|
||||
<label for="dd_config_revert_delay" class="form-label">
|
||||
{{ $t('config.dd_config_revert_delay') }}
|
||||
</label>
|
||||
<input type="text" class="form-control" id="dd_config_revert_delay" placeholder="3000"
|
||||
<input type="number" class="form-control" id="dd_config_revert_delay" placeholder="3000" min="0"
|
||||
v-model="config.dd_config_revert_delay" />
|
||||
<div class="form-text">
|
||||
{{ $t('config.dd_config_revert_delay_desc') }}
|
||||
|
||||
Reference in New Issue
Block a user