Jump to content
3DCoat Forums

3DCoat 2024.06 crashes on recent Linux distros


GCharb
 Share

Recommended Posts

  • Member

Hello everyone !

Just to report that 2024.06 crashes when I try to open/save, load licence, etc. on Linux Mint 22, and Ubuntu 24.04, either with open source graphics drivers, or Nvidia 555.58.02, I reverted to Linux Mint 21.3 with Nvidia 555.58.02 drivers, and it works, it is till a bit crashy, but it works for the most part...

  • Like 1
Link to comment
Share on other sites

  • Member
Carlosan
This post was recognized by Carlosan!

Sakru was awarded the badge 'Helpful' and 1 points.

While they're working on fixing the Linux version, you can install it using Bottles as a workaround. I'm using the Kron4ek runner, and it works very well. I don't notice any differences between using it on Clear Linux and Windows. The performance is the same for heavy projects, though Windows tends to use more RAM. However, you might encounter issues with activation. If it hangs after installing on Bottles, try copying the /root/home/user/Documents/3Dcoat folder to the Documents folder inside your bottle after you activated Linux version. Do it by choosing "login i think", it will tell you that your version of 3Dcoat is not activated, but it is. After you are done moving this folder to your bottle, it will just work on the first startup. 

Link to comment
Share on other sites

  • Member
On 8/26/2024 at 7:14 PM, Hans Aadm said:

On my Ubuntu 24.04 wine can't handle the 3DCoat-installer (and others) any more.

You use just Wine? It is still possible, but require more time to customize, and i think it is not worth it when you have pre customized tools like Lutris/Bottles with DXVK (DirectX to Vulkan) support out of the box and other performance optimization features. I did test all available runners, and found Wine staging being the best performance vise on my system. 

Link to comment
Share on other sites

  • Member

Bottles, Lutris, Q4wine, Playonlinux... all are frontends of wine. The issue I mentioned is a issue of the backend, wine, concretly syswow.

Why I mentioned this is, that workaround to run 3DCoat on wine doesn't seem to work any longer on Ubuntu 24.04.

(My workaround of the workaround is, for now, to install 3DCoat on a 22.04.-wine on another computer and then transfer the entire wine-prefix to my 24.04-PC.)

You see, it's really necessary to get a working Linux-version of 3DCoat.

Link to comment
Share on other sites

  • Member
On 8/30/2024 at 12:46 PM, Hans Aadm said:

Bottles, Lutris, Q4wine, Playonlinux... all are frontends of wine. The issue I mentioned is a issue of the backend, wine, concretly syswow.

Why I mentioned this is, that workaround to run 3DCoat on wine doesn't seem to work any longer on Ubuntu 24.04.

(My workaround of the workaround is, for now, to install 3DCoat on a 22.04.-wine on another computer and then transfer the entire wine-prefix to my 24.04-PC.)

You see, it's really necessary to get a working Linux-version of 3DCoat.

Sure, it is necessary to get a working Linux-version. But using tools like Bottles with specific configurations (like Kron4ek runner with Wine-Staging + DXVK) can significantly improve compatibility and performance, allowing 3DCoat to run. And no, Wine Runners are not just simple "front end" of wine. Runners are pre-customized and pre-patched versions of Wine. CrossOver, develops and maintains their own custom version of Wine or a "runner." This allow CrossOver to run certain Windows software out of the box that might not work, with the native Wine version.

Kron4ek runner do work on Ubuntu 24 without any issues. You might want to use latest Nvidia driver (if you use Nvidia). 
https://github.com/Kron4ek

 

Link to comment
Share on other sites

  • Member
Posted (edited)
On 8/30/2024 at 12:46 PM, Hans Aadm said:

Bottles, Lutris, Q4wine, Playonlinux... all are frontends of wine. The issue I mentioned is a issue of the backend, wine, concretly syswow.

Why I mentioned this is, that workaround to run 3DCoat on wine doesn't seem to work any longer on Ubuntu 24.04.

(My workaround of the workaround is, for now, to install 3DCoat on a 22.04.-wine on another computer and then transfer the entire wine-prefix to my 24.04-PC.)

You see, it's really necessary to get a working Linux-version of 3DCoat.

Did some testing just to show the difference. Here is my testing rig:

image.thumb.png.e6a922d2ce9ba367254102a1ccb05bf5.png

Top left: Crossover (their own Runner (Wine with DXVK))
Bottom left: Native 
Top right: Bottles (Soda-9.0-1 Runner with DXVK)
image.thumb.png.a0da238026ccef948d3480e3a052473a.png

Last one is ge-proton9-11 runner. 

I was too lazy to mount the Windows drive, but the last time I did, I remember my results being around 21k. Kron4ek offers slightly better performance, but I didn't had time to configure it for this test. My goal was simply to show that you can achieve better results than the native implementation by using custom Runners versus basic Wine or the native port. Proton has significantly improved the performance of 3D applications running through this compatibility layer. In some cases, it can even outperform native implementations, especially when those native implementations rely on older technologies like OpenGL.

I wish 3D-Coat’s Linux version was not only properly ported but also ported to Vulkan instead of OpenGL, given how much more control it offers over your GPU compared to OpenGL—especially with multithreading in mind, which is a huge bottleneck for OpenGL. In short using Vulkan over OpenGL (native) generally provides better performance, or at least similar to what you get in Windows.

image.thumb.png.876e691a6eed5009a1b116fbc49a2190.png

Edited by Sakru
Link to comment
Share on other sites

  • Member
30 minutes ago, Hans Aadm said:

What Linux did You use? (What do You want to say with the benchmark-pictures?

CL (ClearLinux). 
(What do You want to say with the benchmark-pictures?
That you can use runners, without any issues, and they will give you better performance since native 3D-Coat uses OpenGL. 

Link to comment
Share on other sites

  • Member
Just now, Hans Aadm said:

On (my) Ubuntu 24.04 there are problems running 3DCoat via wine (or its frontends).

It`s not about performance, it's about loosing the possiblity to run 3DCoat on Ubuntu at all.

Strange.. It does work in my VM. Are you unable to install it or you have problem running it? 

Link to comment
Share on other sites

  • Member
4 hours ago, Hans Aadm said:

As I mentioned before, installation doesn`t work. Issues with syswow.

Install Wine via Flatpak on Ubuntu, and it should resolve your problem. It's a straightforward process. You won’t notice any difference in performance when using Wine through Flatpak compared to other installation methods. I'm not sure if Wine is available as a Snap package, but if it is, you could try that as well.

When you use Lutris or Bottles, they don't rely on the potentially outdated or broken Wine package from the Ubuntu repositories. This is similar to why Steam developed their own Proton runner rather than relying on Wine from distribution sources—it's done to ensure better compatibility and performance :rofl:


image.thumb.png.f69af70c6438b5d9d3dc1e0c730db553.png

 

sudo  apt  update

sudo apt install flatpak 
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Edited by Sakru
  • Like 1
Link to comment
Share on other sites

  • Member
59 minutes ago, Hans Aadm said:

Thanks!

Using the Wine version through Flatpak/Snap, you might encounter an issue where 3DCoat cannot see beyond the sandbox boundaries. To resolve this, you will need to specify the exact path to your working directory. Here’s how it’s done in Bottles:

You go inside the bottle then -> Settings -> Manage Drives -> Create new drive -> Point it to your working directory. 
Then in 3DCoat, when you choose to open a project file, you go to System -> Drive -> "Your Drive" -> Working Directory
 
Edited by Sakru
Link to comment
Share on other sites

  • Member
Carlosan
This post was recognized by Carlosan!

Sakru was awarded the badge 'Great Content' and 1 points.

23 hours ago, Hans Aadm said:

Thank You, Sakru, it works,

but it takes a very large piece of my disk.

 

 

image.thumb.png.faa9d368d15fd30a4b309923d7ab44d1.png

If you have a second drive, you can create a separate bottle directory but keep in mind to mount the drive before use, or it will not work. If you use Ubuntu, you can do it automatically like this:

sudo lsblk (or just lsblk)
x----------------output-----------------x
we will mount this drive -> sdc
sdc                   8:32   0   1.8T  0 disk            <- disk
└─sdc1                8:33   0   1.8T  0 part         <- partition (if created)
sdd                   8:48   0 931.5G  0 disk  
└─sdd1                8:49   0 931.5G  0 part  
sde                   8:64   0   1.8T  0 disk  
└─sde1                8:65   0   1.8T  0 part  

sudo blkid (will show IDs of drives)

/dev/sdc1: LABEL="my_drive"512" UUID="264466014465D459" TYPE="ext4" PARTUUID="691e2ce5-01"
                                                                       |      your drive ID       |
/dev/sdd1......
/dev/sde1...

Create a holder for your drive ->  sudo mkdir /home/user/3dcoat_on_bottles

sudo nano /etc/fstab

Add new line:

UUID=264466014465D459 /home/user/3dcoat_on_bottles defaults 0 0



You can also remove bottles cache files. If you installed different dependencies and runners it can be huge in size - xx gigabytes. It is usually located here:

/home/user/.var/app/com.usebottles.bottles/data/bottles/cache

If you installed other runners you can remove them inside "runners" folder. 

Edited by Sakru
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...