Bottles icon indicating copy to clipboard operation
Bottles copied to clipboard

[Request]: Gallium Nine install support

Open Ratatouilledummie opened this issue 1 year ago • 1 comments

Tell us the problem or your need

I have some problems in use Gallium Nine in Bottles, and the protonge have own DXVK dlls this break Gallium nine compatibility, Gallium nine is good for the most GPUs with Mesa3D drivers, and it's very good for olders gpus that not have support to Vulkan API

Describe the solution you'd like

Gallium Nine install in the same way of dxvk enable, this can be good a Gallium Nine install support, i think in the case of ProtonGE prefix is need the replace of DXVK internal DLL for the original Microsoft D3D9 libraries

Ratatouilledummie avatar Feb 08 '23 22:02 Ratatouilledummie

The following might work, as a temporary workaround (but note this is not well tested):

# Set the correct bottle prefix location (should contain drive_c/)
export WINEPREFIX=~/bottles/mybottle

# Set runner bin directory (should match the bottle's configured runner)
runner_bin=~/.var/app/com.usebottles.bottles/data/bottles/runners/caffe-9.2/bin

cd $WINEPREFIX/drive_c
tar_dest=gallium-nine-standalone.tar.gz
wget -O $tar_dest \
    https://github.com/iXit/wine-nine-standalone/releases/download/v0.9/gallium-nine-standalone-v0.9.tar.gz
tar -x -f $tar_dest
rm -f $tar_dest
cd gallium-nine-standalone
PATH=$runner_bin:$PATH
./nine-install.sh

# Run this to enable Gallium Nine for 32-bit apps in a 64-bit bottle
# (the install script does not do this).
wine ninewinecfg.exe -e

Copyright 2024 backlabs1. Creative Commons Zero (CC0).

backlabs1 avatar Apr 25 '24 19:04 backlabs1