Skip to content

Commit

Permalink
feat: Add a helpful installer for adding LatencyFleX dlls to wine pre…
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 30, 2023
1 parent 2824230 commit 55a5ad3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,10 @@ RUN if grep -qv "nvidia" <<< "${IMAGE_NAME}"; then \
tar --strip-components 1 -xvf /tmp/latencyflex.tar.xz -C /tmp/latencyflex && \
rm -f /tmp/latencyflex.tar.xz && \
mv -v /tmp/latencyflex/wine/usr/lib/wine/* /usr/lib64/wine/ && \
rm -rf /tmp/latencyflex \
rm -rf /tmp/latencyflex && \
wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/install.sh -O /usr/bin/latencyflex-installer && \
sed -i 's@/usr/lib/wine/@/usr/lib64/wine/@g' /usr/bin/latencyflex-installer && \
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex-installer \
; fi

# Cleanup & Finalize
Expand Down Expand Up @@ -516,6 +519,9 @@ RUN rpm-ostree install \
rm -f /tmp/latencyflex.tar.xz && \
mv -v /tmp/latencyflex/wine/usr/lib/wine/* /usr/lib64/wine/ && \
rm -rf /tmp/latencyflex && \
wget https://raw.githubusercontent.com/Shringe/LatencyFleX-Installer/main/install.sh -O /usr/bin/latencyflex-installer && \
sed -i 's@/usr/lib/wine/@/usr/lib64/wine/@g' /usr/bin/latencyflex-installer && \
sed -i 's@"dxvk.conf"@"/usr/share/latencyflex/dxvk.conf"@g' /usr/bin/latencyflex-installer && \
if grep -q "kinoite" <<< "${BASE_IMAGE_NAME}"; then \
rpm-ostree override remove \
gamemode \
Expand Down
2 changes: 2 additions & 0 deletions system_files/desktop/shared/usr/share/latencyflex/dxvk.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dxgi.nvapiHack = False
dxgi.customVendorId = 10de

0 comments on commit 55a5ad3

Please sign in to comment.