mirror of
https://github.com/ublue-os/bazzite.git
synced 2024-12-29 12:22:20 +00:00
chore: Additionally check that one of the GPUs is Nvidia for hybrid systems
This commit is contained in:
parent
feba9802f7
commit
d287e28398
@ -46,7 +46,7 @@ flatpak override \
|
||||
org.mozilla.firefox
|
||||
|
||||
# Params needed for HW accelerated video on Nvidia (Ignoring hybrid systems)
|
||||
if [[ $IMAGE_FLAVOR =~ "nvidia" ]] && [ $(grep -o "\-display" <<< $(lshw -C display) | wc -l) -le 1 ]; then
|
||||
if [[ $IMAGE_FLAVOR =~ "nvidia" ]] && [ $(grep -o "\-display" <<< $(lshw -C display) | wc -l) -le 1 ] && grep -q "vendor: NVIDIA Corporation" <<< $(lshw -C display); then
|
||||
flatpak override \
|
||||
--system \
|
||||
--filesystem=host-os \
|
||||
|
Loading…
Reference in New Issue
Block a user