Skip to content

Commit 5fcd13e

Browse files
404NetworkErrorTheEvilSkeleton
authored andcommitted
Remove NVIDIA Flatpak Workaround (#3726)
revert: Duplicated NVIDIA GPUs Fixed by flathub/org.freedesktop.Platform.GL.nvidia#331
1 parent a4d27c2 commit 5fcd13e

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

bottles/backend/utils/vulkan.py

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
from glob import glob
2020
import shutil
2121
import subprocess
22-
import filecmp
2322

2423

2524
class VulkanUtils:
@@ -46,17 +45,7 @@ def __get_vk_icd_loaders(self):
4645

4746
for file in _files:
4847
if "nvidia" in file.lower():
49-
# Workaround for nvidia flatpak bug: https://github.com/flathub/org.freedesktop.Platform.GL.nvidia/issues/112
50-
should_skip = False
51-
for nvidia_loader in loaders["nvidia"]:
52-
try:
53-
if filecmp.cmp(nvidia_loader, file):
54-
should_skip = True
55-
continue
56-
except:
57-
pass
58-
if not should_skip:
59-
loaders["nvidia"] += [file]
48+
loaders["nvidia"] += [file]
6049
elif "amd" in file.lower() or "radeon" in file.lower():
6150
loaders["amd"] += [file]
6251
elif "intel" in file.lower():

0 commit comments

Comments
 (0)