Daz Studio and Linux

1596061626365»

Comments

  • bluejauntebluejaunte Posts: 2,064
    edited April 27

    3DIO said:

    @TimberWolf
    If you were me and were lumbered with my graphics card situation, which distro would you install to get it working with dForce?

    Forget about my love for CachyOS.  Forget about my love for GNOME.  Forget about any previous display of enthusiasm I've shown for any specific thing.  This is just a what would you do personally kind of question, if you were to choose the most likely route to getting it working.  The way I see it is I'm out of luck for GPU acceleration with this damn thing regardless of whether I use Linux or Windows.  I can (and so far always have) lived without CUDA, but not having dForce, that's just too much and I cannot go on like that.

    So if you think you could get dForce working an a specific distro, I'd give that a try.  And if that fails, then I suppose I could use one SSD for Windows with only Daz Studio installed, and the other SSD for Linux with everything else on it as my main OS.  My thinking is that as long as I access the Windows SSD from my Linux installation and not the other way around, there is nothing Windows can do to my Linux install.  As far as Windows is concerned, my Linux install woud not exist if I set-up the BIOS boot options in such a way.

    But man, I really have to do something, cause lack of dForce is just not doable for me and I reckon it'll be some time before I can afford an Nvidia card.

     

    May wanna watch this:

    Basically, stop distro hopping. They all do the same thing at the end of the day. You're more than fine on CachyOS.

    Post edited by bluejaunte on
  • bluejauntebluejaunte Posts: 2,064

    TimberWolf said:

    Sorry I couldn't help further - hopefully you'll figure it out - but your OS is coughing up very, very strange results!

    Thanks for the help! And eh, not really that strange. It's just that one tiny thing. I don't imagine that your configs are very different. We're both on fully updated CachyOS usning KDE Plasma, same NVidia drivers using NVidia cards. I'll let you know if I figure it out.

  • 3DIO3DIO Posts: 204

    @bluejaunte
    Indeed, I'm very happy with CachyOS.  Trouble is need dForce to work, and it's going to be some time until I can afford a new card.  So I have to look at alternatve solutions for the time being.  As pointed out, one solution would be to put Daz Studio back on Windows and have that on its own SSD, with everything else installed on Linux (CachyOS) as my main OS on the other SSD.  Nevertheless, if I could get completely away from Windows by using a different distro, then I would go with that (at least for the time being).

    Could be a year (or even two) before I get a new card, and I can't go a day without dForce, nevermind a year (or worse two)  :-D

    I had intended, if all else failed, to use Diffeomorphic to transfer to Blender to get around the lack of dForce.  But how the heck am I supposed to go from Daz Studio to Blender using Diffeomorphic, when Daz Studio is held within the Lutris container to make it work, but Blender is installed natively?

    I'm not sure it would even be possible since they're running in two completely different environments.  So now I've been looking into getting around the lack of dForce by using the Sculpting Tool in Daz Premier, but it's as if one of the most important tools that was ever added to Daz Studio is something that no one seems to know much about.

    Either way, Daz Studio without dForce is an absolue no-go zone for me.  And since Daz Studio and Blender are technically running in different environments, well, no chance of me getting around it with Diffeomorphic then, either.  So basically I'm screwed unless I find another solution to it, or am prepared to wait until I can afford an new card (which I'm not).

     

  • TimberWolfTimberWolf Posts: 346

    @3DIO

    Lots of points here, so I'll work through them as best I can:

    Diffeomorphic

    Create a symlink inside your Daz Studio wine prefix that points to a directory outside that prefix. That way you can save Studio scenes and the .dbz files that Diffeo creates into a directory that Blender can easily access. Or you can just save your files inside the prefix (not recommended because you'll lose them in the event you need to rebuild your wine environment) and just open them from within Blender itself - /home/yourname/Games/yourWinePrefix/drive_c/wherever

    Linux Distro

    Whilst I generally agree with bluejaunte that distro hopping can be a bit of a waste of time, I don't think it is if you're just starting out. The experience in Linux Mint is vastly different to Cachy or Bazzite but once you've found one that works for you, stick with it. With that said, for your specific purposes, have a look back at CSAAs post on the 31st of March. Linux Mint + flatpak Bottles worked with the AMD card out of the box but that AMD GPU is much newer than yours. If you have a spare drive and some spare time it might be worth a look. It might work for you and, although I think you'll hate Linux Mint, it could be a usable stopgap. Probably easier just to dual boot with Windows. 

    If you're going to dual boot Windows, it's recommended to install Windows first as it will hijack the Linux bootloader if you're not careful. As long as you boot from the BIOS and not the bootloader it will be fine.

    Would this be of any use?

    Sitting in a box behind me is an Inno GTX 1660 Super. The reason it's in a box and not driving the monitors on my music workstation is that one of the shroud fans died in a loud and noisy fashion and replacement fans from AliExpress take about 6 weeks to arrive - I had to buy a new GPU. The fans are still available for under £10 but you'd have to put up with the wait to get them, unless you can find them closer to home. The GPU is fine, I dismantled it, cleaned it, reapplied the thermal paste on the heatsink block and put it away. Yours if you want it as it's no use to me. You could simply strap a desktop fan to it or fit one of those standalone PCI GPU coolers in an adjacent slot for a quicker solution. It's only a 6GB card so not much use for rendering these days but dForce will work.

  • 3DIO3DIO Posts: 204
    edited April 27

    You're a top bloke, TimberWolf, cheers mate ;-)

    That was exceptionally good of you but I can't accept the card.  No way I would accept the card for free, but if I were already in my new flat,  I would have been tempted and paid you at least something for it, or at the very least done you a swap so that you have an AMD to poke around with on Linux.  I wouldn't chance a make-do fan until the proper ones arrived though.  And as you said, 6GB isn't much for rendering tasks these days.  Hard to believe I'm even saying this since the card I had before the AMD was an Nvidia GTX 460 1GB (and even that managed reasonably well).  Just goes to show how much resource requirements have risen, for six times that amount to be considered a push these days.

    Regards Diffeomorphic, wow, I'll take a look at that then!  I mean, if that works then at least I can fall back on Blender for cloth and hair dynamics and wouldn't need Windows or Premier.  Can't remember off-hand, but one of the terms you used seems familiar, I'm guessing from when I was examining Lutris after first installing it.  Either way I'll see what's what and let you know how I get on with it.

    Regards distro hopping, I agree.  Whether it be CachyOS or any other distro, best to find the right one first, but then stick to it.  Like I said, I really like CachyOS, I'm constantly amazed by it and it's really something of a miracle that I've not managed to break it!  The only unexpected thing that happened is that some of my GNOME extensions were automatically switched-off by CachyOS after an update, so I suppose I need to check for newer versions of those specific GNOME extensions.

    But other than that it's been flawless.  I would't be surprised if CachyOS switched those extensions off intelligently to prevent them breaking things after the update!

     

    Post edited by 3DIO on
  • 3DIO3DIO Posts: 204
    edited April 27

    BTW, since you like to play with this stuff and don't have an AMD to test on, just say the word and I'll send you the AMD RX580 8GB.
    Though obviously, not until I have a brand new RTX 5060 TI installed, so there's a bit of a wait involved  :-D

    Post edited by 3DIO on
  • bluejauntebluejaunte Posts: 2,064

    3DIO said:

    @bluejaunte
    Indeed, I'm very happy with CachyOS.  Trouble is need dForce to work, and it's going to be some time until I can afford a new card.  So I have to look at alternatve solutions for the time being.  As pointed out, one solution would be to put Daz Studio back on Windows and have that on its own SSD, with everything else installed on Linux (CachyOS) as my main OS on the other SSD.  Nevertheless, if I could get completely away from Windows by using a different distro, then I would go with that (at least for the time being).

    Could be a year (or even two) before I get a new card, and I can't go a day without dForce, nevermind a year (or worse two)  :-D

    had intended, if all else failed, to use Diffeomorphic to transfer to Blender to get around the lack of dForce.  But how the heck am I supposed to go from Daz Studio to Blender using Diffeomorphic, when Daz Studio is held within the Lutris container to make it work, but Blender is installed natively?

    I'm not sure it would even be possible since they're running in two completely different environments.  So now I've been looking into getting around the lack of dForce by using the Sculpting Tool in Daz Premier, but it's as if one of the most important tools that was ever added to Daz Studio is something that no one seems to know much about.

    Either way, Daz Studio without dForce is an absolue no-go zone for me.  And since Daz Studio and Blender are technically running in different environments, well, no chance of me getting around it with Diffeomorphic then, either.  So basically I'm screwed unless I find another solution to it, or am prepared to wait until I can afford an new card (which I'm not).

     

    Yeah the point is that any distro can be made to do anything so there's really not much point in switching around. Sure if you don't wanna tinker at all and just get something that works out of the box (if that exists at all) then it might be worth it. But there's no such thing as "one distro works but the other doesn't"... only out of the box, maybe.

    As for Diffeomorphic, I'd say surely you don't wanna bother with that whole nightmare every time you want cloth simulation. That would be such a workflow killer, I cannot imagine you'd enjoy that.

    Maybe another alternative would be running Windows in a virtual machine inside of CachyOS. Not sure how well that performs these days but may be worth investigating. Probably not, so get on Windows native and cry every day like the rest of us. And hope that Linux will keep growing to a market share that makes it impossible to ignore for the big players. According to the latest Steam hardware survey it has grown to over 5% among Steam users which is astounding. We are really moving towards a number that cannot be ignored so easily anymore.

  • 3DIO3DIO Posts: 204
    edited April 27

    @bluejaunte
    Oh don't you worry mate, Linux will win in the end.  You only have to see the reaction to "Co Pilot" and how many more millions of people it drove to Linux.  As far as I'm concerned, Microsoft are doing everything right just lately, because every move they make, sends more and more millions over to Linux  :-D

    I say keep it up, Nadella, you're doing just fine!

    I did consider running Windows in a Virtual Machine on CachyOS, but unless there's support for 3D acceleration between the Virtual Machine and CachyOS, wouldn't that be a bit like wading through treacle, all laggy and stuff?

    And I have to ask, couldn't you use a Virtual Machine to fix your issue as well, or is there a specific reason not to?

     

    Post edited by 3DIO on
  • bluejauntebluejaunte Posts: 2,064

    I dual boot, there's no reason for a VM. It's not really solving an issue anyway, you're back in Windows after all. Just running inside of Linux but it's still Windows again laugh

  • 3DIO3DIO Posts: 204
    edited April 27

    @bluejaunte
    I know that, lol, buy why?   As far as I understood from your discussion with TimberWolf, there's some puzzling issue that's stopping your own install from working.  But since, as you said, you're basically running Daz Studio on Windows if you run it on Windows inside of a Virtual Machine that is running on Linux, wouldn't that work?

    Since it works on Windows on your system under a dual boot, I would have thought so, and if so, then surely you'd be better off running it like that than having to dual boot, providing that the acceleration works to stop it being laggy.  I actually like the idea of running Windows inside a Virtual Machine on CachyOS.  Because at least doing it that way, you get to prevent Windows from doing whatever it likes.  For example preventing it from accessing the internet by denying it access to the internet connection hardware, or denying it access to your Linux SSD by restricting access to it.

    So in that respect, surely much more control than running Windows in the normal way, and wouldn't that also ensure that Daz Studio works as normal?

    I love the idea of Virtual Machines running on Linux.  The only thing that bugs me about them is that regardless of every distro I tried them on, they were always laggy, and as far as I'm aware, it has something to do with hardware acceleration not being passed on to Windows by the host OS' Virtual Machine.

    Haven't tried a Virtual Machine on CachyOS yet, but I was rapidly heading towards doing so in recent days due to the lack of dForce driving me nuts  :-D

     

    Post edited by 3DIO on
  • bluejauntebluejaunte Posts: 2,064

    I'm just thinking if I have a native Windows available running at native speeds, and not to mention being fully set up with all the software and tools I need, why would I go for an experience inside a VM that could only possibly be worse? I think that approach only makes sense if you really, really don't wanna dual boot for some reason. And keep in mind this is my livelihood as well. Idealism dies quickly when you make a living from this stuff. And I'm still on Windows 10 too so I'm not running into all those Windows 11 issues.

    What I find a bit baffling is that some CG studios are already on Linux. All the Foundry industry standard software like Nuke or Mari are on Linux. Autodesk Maya is on Linux, also industry standard. Even started on Unix as far as I know. But somehow Adobe has never given two shits about Linux even though Photoshop could be considered an industry standard in the CG industry as well. I wonder how they handle that.

    Winboat looks promising for running Photoshop but it still doesn't have any 3D acceleration. And that's what makes Photoshop so irresistable to me. It's so snappy with 3D acceleration, it's addicting. None of the alternatives come close.

  • bluejauntebluejaunte Posts: 2,064

    Ok looks like I got it fixed. I hadn't tested properly, turns out DS6 is working on Wine-Staging. CUDA and OpenCL both show up.  Only DS4 has issues. After copying DzOpenCL.dll in the DS6 directory over to DS4 (which had an older version from 2018), DS4 now properly finds my RTX 4090 as an OpenCL device.

    *shrugs*

  • TimberWolfTimberWolf Posts: 346
    edited 3:52AM

    @bluejaunte

    If there were an emoji for 'wtf face', I'd use it. I checked my 4.x directory and DzOpenCL.dll is dated November 2018. And it works. I suspect we must have some driver differences but if it's working, it's working. Try changing your wine runner to one of the Proton series and see if you find any difference in performance. I didn't but you might find something I missed.

    @3DIO

    It is worth learning what you can and can't do in Linux, in any distro really. Mostly it's 'can do'. You posted earlier that Studio was sandboxed and assumed that it couldn't write files that Blender could use. Yes, the application is sandboxed but a wine prefix is just a directory structure containing some Windows files. It's still a Linux file structure. Linux couldn't give a fig about what the applications can or can't see - there are tools that allow you to tunnel out of that virtual box and the Windows application won't be able to tell the difference between your tunnel (a symlink/symbolic link in Linux parlance) and a native directory in it's prefix.

    Syntax: ln -s /where/you/want/your/files/to/go    name_of_directory_wine_will see  (ln -s = soft link; used for mapping a virtual directory to a real one)

    e.g. ln -s /home/3DIO/Diffeo Diffeo

    This will create a symlink to a folder called Diffeo in your home directory, if your username is 3DIO, that will show up in Studio as, well, Diffeo. You create this by opening the console (right click in Dolphin which is KDE - not sure what file manager Gnome uses but it will work identically) in the directory in your prefix you want the symlink to appear. It works anywhere in any Linux file structure, not just wine. This is basic stuff. Learn it :) There are tonnes of YouTube channels that are distro agnostic which will take you from zero to hero in not too much time, but I do appreciate that a house move is pretty stressful and can consume a lot of your time. Been there, done that. I wasn't really in the mood for learning either!

    Bluejaunte is absolutely right - there's really no point in running a VM which is just Windows but worse. Winboat can be coerced into providing a rather lacklustre GPU accelarated experience, but I'll leave it to you to go down that rabbit hole. If you want to sandbox a dual boot Windows OS, disable your internet connection there. End of updates. If you don't want the 1660 and can't get a replacement for your current GPU for an extended period of time, *and* you need dForce, well..... Clippy says 'Hi'. I have to use Windows at my company due to using Adobe software and no support for much of our software on Linux, so does bluejaunte. Welcome to our worlds!

    Assume it's possible until proven otherwise in Linux. It's mostly the case.

    Take 5 minutes to read this - it will make you feel good about your decision :)

    https://www.michaelstinkerings.org/one-day-with-cachyos-an-arch-experience-without-the-arch-pain/

    The takeaway quote for me is this:

    The deeper issue is that people don't learn to use computers anymore. Everything arrives pre-packaged behind beautiful little icons, and you tap to your heart's content without ever needing to understand what's happening underneath. Linux gives you full control of your hardware, but it asks something in return: that you read, that you think, that you understand what you're doing before you do it. In an era where every other platform has optimized for thoughtlessness, that's either Linux's greatest strength or its tallest barrier — depending on who's sitting at the keyboard.

     

    Post edited by TimberWolf at
  • bluejauntebluejaunte Posts: 2,064

    Just tested and proton-cachyos definitely seems a bit more fluid, aka more fps. Sadly I can't confirm 100% because mangohud refuses to show up on any of the proton ones. And OpenCL doesn't yet work with any of them either. Copying the dll didn't help there.

Sign In or Register to comment.