Okay so after installing using the
Bottles method I ran some issues. Most of the issue I think have to do with flatpack.
The big issue I ran into was because of
You must be registered to see the links
that causes
xdg-document-portal to leak memory. Xdg-document-portal's memory useage will grow as fast as Bottles is talking to memory. So effectively DAZ and especially DIM if you are installing many packages and cause your system to freeze unless you kill the process first. However killing it or resetting it will also erase whatever your DAZ or DIM currently has in RAM. So you will want to shut those down first otherwise DAZ will understandibly misbehave.
So eventually, I got around to finding a fix for it. Which is to install DAZ using
Lutris (instead of Bottles). It runs noticably smoother now but more importantly my computer doesn't freeze. Here's my install process.
▶ Install DAZ in Ubuntu via Lutris
- Install wine dependencies and lutris. The following command should do:
-
Code:
sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y wine64 wine32 libasound2-plugins:i386 libsdl2-2.0-0:i386 libdbus-1-3:i386 libsqlite3-0:i386
sudo apt install ttf-mscorefonts-installer python-evdev-doc
sudo apt install lutris
- Download a runner (the version of wine you will use).
- Start Lutris
- Hover over the Wine tab and click the Manage Versions button
- Select Lutris-7.2 (the only runner I know works)
- Click
OK
- Install DIM in a wine prefix
- Create folder to use as a wine prefix (This is where your DAZ system will reside)
- Download the installer for DIM -->
You must be registered to see the links
- click the
+
icon in the top left to "create a game"
- for Name name it however you want
- for Runner drop down select Wine (if not already selected)
- in the Game Options tab
- for Executable click
Browse...
and select the DIM installer you downloaded
- for Wine prefix click
Browse...
and select the folder you created for your wine prefix
- in the Runner Options tab and make sure
lutris-7.2-x86_64
is the runner
- click
Save
- select the "game" and run it.
- Setup DIM as normal the way you would on Windows
▶ RUNNING DAZ STUDIO
- Fix the DIM launcher
- Find the
DAZ Install Manager (64-bit).desktop
file wine created. It might be on your desktop is so move it to trash as you want to edit the one located in ~/.local/share/applications/
directory. It might be in a subdirectory.
- Open the file and look for the line that looks something like:
- Exec=env WINEPREFIX="/path/to/your/created/prefix" wine C:\\\\users\\\\yourusername\\\\AppData\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\DAZ\\ 3D\\\\DAZ\\ Install\\ Manager\\ \\(64-bit\\)\\\\DAZ\\ Install\\ Manager\\ \\(64-bit\\).lnk
- change it to:
- Exec=env WINEPREFIX="/path/to/your/created/prefix" ~/.local/share/lutris/runners/wine/lutris-7.2-x86_64/bin/wine C:\\\\users\\\\yourusername\\\\AppData\\\\Roaming\\\\Microsoft\\\\Windows\\\\Start\\ Menu\\\\Programs\\\\DAZ\\ 3D\\\\DAZ\\ Install\\ Manager\\ \\(64-bit\\)\\\\DAZ\\ Install\\ Manager\\ \\(64-bit\\).lnk
- Once you've installed DAZ (via DIM). Do the same process for fixing the DAZ launcher
- It will be called something like
DAZ Studio 4.22 (64-bit).desktop
.
- (Optional) Install OpenCL for dforce.
- For Intell gpu's:
-
Code:
sudo apt install intel-opencl-icd
sudo apt install clinfo
- For Nvidia or AMD I don't know