- Sep 15, 2020
- 4
- 1
I've done the lutris route numerous times but it still only detects cpu even though I have an nvidia 2080ti can someone help me understand how to make it detect my gpu?
It seems that at some point, the version of the libraries the script downloads has stopped functioning (likely due to a change to the drivers or cuda). I've updated the post with a new script that uses a newer version and rendering appears to work. I have no tested physics.I've done the lutris route numerous times but it still only detects cpu even though I have an nvidia 2080ti can someone help me understand how to make it detect my gpu?
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
+
icon in the top left to "create a game"Browse...
and select the DIM installer you downloadedBrowse...
and select the folder you created for your wine prefixlutris-7.2-x86_64
is the runnerSave
DAZ Install Manager (64-bit).desktop
file wine created. It might be on your desktop is so move it to trash as you'll want to edit the one located in ~/.local/share/applications/
directory (because it's what your desktop's application menu uses). It might be in a subdirectory.DAZ Studio 4.22 (64-bit).desktop
.sudo apt install intel-opencl-icd
sudo apt install clinfo
wine-extension-duf.desktop
. Just do the same process for fixing the DIM and DAZ launchers and you can now click on the dufs from your file manager.A few suggestions to clean up the guide. Note: Whatever distro you're using is shipping an older version of Lutris, so it's possible some of the things I suggest simply don't exist yet for you. It's also why (presumably) you couldn't follow my guide since I did get notified you liked it.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 ofYou must be registered to see the linksthat 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
Last I used it, on my Nvidia system, dForce will process one frame then wait for about a second before processing the next. PoCL doesn't have that wait between frames (or it isn't as bad).Thanks, I might try pocl myself as dforce does seem pretty slow for me.
Yeah my distro has Lutris 0.5.91 so no running a script. Also since I don't have nvidia I don't want the part of the script where it installs the nvidia libraries.
Also, I like my approach to creating an .desktop file because it uses the runner directly without going through lutris. (I basically only use lutris to download the runner and to initialze the prefix with their special magick that makes DIM/DAZ work.) Plus you can have multiple launchers without having to create multiple "games".