mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 01:11:48 +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
|
org.mozilla.firefox
|
||||||
|
|
||||||
# Params needed for HW accelerated video on Nvidia (Ignoring hybrid systems)
|
# 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 \
|
flatpak override \
|
||||||
--system \
|
--system \
|
||||||
--filesystem=host-os \
|
--filesystem=host-os \
|
||||||
|
Loading…
Reference in New Issue
Block a user