Daz Studio and Linux

1565758596062»

Comments

  • Robert FreiseRobert Freise Posts: 4,628

    It doesn't support GPU passthrough only virtual GPU

  • 3DIO3DIO Posts: 42
    edited March 30

    Thanks for the heads up, Robert, but just to be clear, I can't use the GPU anyway, so would that make any difference in my case?

    I'm forced to render on the CPU even on Windows.

    The idea now is to install a minimal Debian/GNOME environment to act as my OS.  I would install everything I use to that OS and it would serve as my only OS.  The only exception being Daz Studio, which I could run from within that OS using GNOME BOXES running Windows 10.  So while there's no GPU passthrough, would that even matter in my case, and wouldn't doing it that way also allow me to get around the problem TimberWolf pointed out regards the dForce compilation thing?

    Daz Studio would be running in a Windows 10 environment just as it's meant to, and sure, no GPU, but we don't have that on AMD anyway, and at least GNOME BOXES allows dragging and dropping of files between the host OS and the hosted OS, so I was hoping it would just feel like it was running natively on the same OS even though Daz Studio would be running on Windows 10 inside of GNOME BOXES, inside of my main OS.

     

    Post edited by 3DIO on
  • Robert FreiseRobert Freise Posts: 4,628

    Most probably wouldn't matter

  • 3DIO3DIO Posts: 42
    edited March 30

    I hope you're right, cause I'm sorted if that happens to be the case.  I suspect I'm going to have some fun gettng DaVinci Resolve Studio to work on that setup, but I've read that others got it working in a Debian/GNOME environment after some trial and error.  What I don't understand is why there isn't a minimal download of Fedora, or I would have added GNOME to that and done it that way cause apparently DaVinci Resolve Studio prefers a Fedora base.

     

    Post edited by 3DIO on
  • Robert FreiseRobert Freise Posts: 4,628

    DaVinci Resolve Studio nas a version for Linux

  • 3DIO3DIO Posts: 42
    edited March 30

    Apart from Daz Studio, literally every program I use now has a native Linux installer.  The trouble with DaVinci Resolve Studio is just a dependency and configuration thing, so depending on your setup, you sometimes have to dig around and see how others have gotten it installed.

    That aside, I'm pleased to say I just found a whole page of minimalistic Fedora downloads.  Why on earth this page is not visible from the main menu on the website I have no idea, but wow, this lot could change everything since it looks as if I could install a minimal Fedora, add GNOME and GNOME BOXES to it, and with a bit of luck it will be a case of Ta-Daa!!!

    I reckon even DaVinci Resolve Studio would be easy enough to set up in that environment.  Perhaps that's why they added the dependency install to Nobara.

    For anyone like me who is wanting a minimal install, maybe take a look at this page (which is not shown on the menu of the website):
    Downloads for FEDORA MINIMAL and Other Miscellaneous FEDORA ISOs 

     

    Post edited by 3DIO on
  • csaacsaa Posts: 969
    edited 1:43AM

        TimberWolf said:

        The last possibility is to try Ubuntu which is directly supported by AMD for the ROCM stack but I wouldn't hold out much hope to be honest.

    TimberWolf, 3DIO:

    I may have something useful to contribute on that matter. Up until two weeks ago, I've been running Daz3D in Wine-Bottles on Ubuntu (Linux Mint 22) for over a year. Then I decided to replace my aging NVDIA 2070s with an AMD RX 7700 XT. After the swap, I got Daz Studio to render without iRay, but no dForce. Just this weekend, luckily, following a big Linux Mint update, I was able to get Daz Studio to recompile the dForce kernels using the OpenCL drivers for AMD.

    How did it all come together and work? Here's what I've managed to figure out.

    The diagram below explains the various software and hardware components that enables Daz3D in Wine (source). It may look like a lot of plumbing, but the key takeaway here is that MESA enables OpenGL rendering and OpenCL dForce simulations.

    Next, referring to the second screenshot above: 

    [1] I use Wine (wth sys-wine runner) in Bottles installed and jailed via Flatpak.

    [2] GPU Cap Viewer is a free Windows app that inspects and runs tests on the GPU. It's a great diagnostic tool to examine the rendering and compute software stack visible to Windows ... which in turn is made visible by Wine-Bottles ... allowed by Flatpak (in my case) ... and runs natively Linux. As you can see GPU App Viewer "talks" OpenGL with the AMD GPU to render scenes. It does so by means of the MESA software stack, not ROCm. Same for compute jobs (such as dForce) by means of, rusticl, a MESA OpenCL runtime library.

    [3] In Daz Studio, the Simulations Settings tab confirms the availability of the AMD GPU. It identifies the MESA OpenCL system: rusticli.

    [4] dForce is running, simulating gravity on the dress the G8.1F figure is wearing.

    If you persevere and try to get OpenCL working to enable dForce, a reasonable goal would be getting Wine to leverage the MESA software stack. As I understand it, various Linux distros pre-bundle MESA according to varying degrees. For example, in my Linux Mint, Flatpak bundled rusticl as an extra component of Freedesktop.

    /var/lib/flatpak/runtime/org.freedesktop.Platform.GL.default/x86_64/24.08/4c37b3e42ec09de553a93fe22fa3079ef784beda91aea794563284a25f3f77e2/files/lib/libRusticlOpenCL.so.1 -> libRusticlOpenCL.so.1.0.0

    I never had to manually build and install MESA from source code. Later, when I installed Wine-Bottles via Flatpak, and Daz3D afterwards, Daz Studio picked up the OpenGL and OpenCL stacks automatically.

    Hope this helps.

    Cheers!

     

     

    20216_0329-Daz_Wine_Bottles-1400px.jpg
    1400 x 766 - 140K
    linux_gfx_stack-1024px.jpg
    761 x 1024 - 88K
    Post edited by csaa at
  • 3DIO said:

    I hope you're right, cause I'm sorted if that happens to be the case.  I suspect I'm going to have some fun gettng DaVinci Resolve Studio to work on that setup, but I've read that others got it working in a Debian/GNOME environment after some trial and error.  What I don't understand is why there isn't a minimal download of Fedora, or I would have added GNOME to that and done it that way cause apparently DaVinci Resolve Studio prefers a Fedora base.

    I got 18.6 running on Ubuntu 22.04 with absolutely no modifications. It just worked.

Sign In or Register to comment.