Skip to content

Commit

Permalink
workaround for AlderLake GPU (Intel N95 series)
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jan 11, 2024
1 parent fcc84c1 commit 6243307
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions calaos-home/start_calaos_home
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,17 @@ if [[ $vgadev == *"Alder Lake-N"* ]]; then
gpudriver="--modsetting"
fi

## Other hardware woprkaround can be added here later

cconf=$(calaos_config get gpu_modsetting)
if [[ $cconf == "true" ]]; then
echo "Modsetting driver forced by calaos_config"
gpudriver="--modsetting"
elif [[ $cconf == "false" ]]; then
echo "Intel driver forced by calaos_config"
gpudriver=""
fi

# shellcheck disable=SC2046

podman run \
Expand Down

0 comments on commit 6243307

Please sign in to comment.