Jump to content
3DCoat Forums

Linux updates news


foremancr
 Share

Recommended Posts

I have finished the "TestStroke" framework. All old code that uses X11 has been removed. Only plain GTK3 calls remain. Modern OpenGL uses the appropriate GTK3 code instead of the old X11. The stylus and eraser code are replaced with appropriate new GTK3 structures. Press the key "O" for the "Load Image" dialog. Key "S" for the "Save Image" dialog. Key "B" for the "Browse for Folder" dialog. Key "I" for the "Input Text" dialog. The download link is here:
https://pilgway.com/~sergyi/links-Linux.html
Using the finished framework from the "TestSroke", I built the "3DCoat" from the repository. The current version is "2024.27-01". The "3DCoat" building process incorporates more libs than the "TestStroke". These libs are dl, expat, util, fbxsdk, and python3.8. It is essential to ensure that these libs do not break the "3DCoat" behavior compared to the "TestStroke". If the file dialogs are successfully working on your system in the "TestStroke", they should work in the "3DCoat" too. The link to the "3DCoat" build is in the links file above. Note, that the "3DCoat 2024.27-01" has visual glitches that I will investigate. For now, focus on running the executable and displaying the file dialogs. Please provide feedback here or on my email sergkryzh AT gmail dot com.

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

On 7/27/2024 at 2:27 AM, mmFX said:

I'm not an expert but would it be easier to port the software on QT instead of GTK?

There is no simple solution for the "3DCoat", mainly because it is a Windows-only app. I am porting the central part of the "3DCoat" code that doesn't have Windows-specific calls by isolating that code with custom-developed layers. Whatever libraries those layers will use will not make the process simpler.
The Ubuntu distro was chosen because it is simply available in WSL, under which "3DCoat" is built. The migration to GTK3 from GTK2 will hopefully allow "3DCoat" to work successfully on other distros.

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

On 7/22/2024 at 9:21 PM, Jorge said:

 

Unzip into any folder. For example, "Downloads", "Desktop", "Home". The error "Couldn't make the context current" has been investigated and fixed. Please re-download and try the following:
https://pilgway.com/~sergyi/links-Linux.html
Note, that the current "3DCoat 2024.27-01" has visual glitches that are under investigation.

Link to comment
Share on other sites

  • Contributor

On EndavourOS (Arch Linux variant), GNOME 46.5 and Wayland, after unpacking the 3DCoat-2024.27-01.tar.bz2 file and running ./3dcoat I get this:

$>./3dcoat                                    Exit code: 134
Gdk-Message: 18:00:01.039: Unable to load sb_up_arrow from the cursor theme
Gdk-Message: 18:00:01.039: Unable to load circle from the cursor theme


I tried changing the cursor theme but it says something very similar, but slightly different cursor theme error message.

$>./3dcoat                                                                                                     Exit code: 255
Gdk-Message: 18:06:29.629: Unable to load sb_up_arrow from the cursor theme
Gdk-Message: 18:06:29.629: Unable to load tcross from the cursor theme
free(): invalid pointer
zsh: IOT instruction (core dumped)  ./3dcoat

3DCoat just doesn't launch after that.

Edit:
I tried it in Gnome X11 and it launches successfully, but crashes on attempting to save the scene to a file.

Edited by Sorn
Link to comment
Share on other sites

  • Advanced Member

Was able to launch 3d coat, but there are viewport errors. The grid overlaps all models in voxel and surface mode. Models themselves have strange artifacts, like objects are confused about what is in front or occluded. Showing 385FPS when vertical sync is enabled in prefereces. Working with a fresh install and fresh 3DCoat documents folder.

image.thumb.png.b81318711fd34cb85a3c5008524bae1d.pngimage.thumb.png.bde44dd8357fd20d94951a56d11b78de.png

Link to comment
Share on other sites

  • Member

@SERGYI
Wow, finally new update, unstable version, but still :rofl: I'm actually very glad.
I made some test, and found a few bugs. I decided to make a video about my test results, i hope it will be helpful for you.
I put a link to my MEGA drive.

https://mega.nz/file/VSdkzBDB#NRXeFKPlngXfYbho8z0CEBbZxBdcAf-duB5OqVcqkFA
Also i leave here, a short text version.

  • File dialog in general works fine, I've got no crushes, but hotkeys and function for basic file manipulation don't work or don't exist (like rename, delete, move files). Only create folder exist.
  • Can't change width of "Size" column in File dialog.
  • 3DCoat and TestStroke can't recognize my tablet Huion HS610. It behaves only like mouse.
  • Can't import my custom sculpt shaders from 2024.24 version.
  • Reference image always display on the top by overlapping my sculpt with this.
  • CastShadow and Incremental Render functions brake viewport and interface refresh.
  • Show Python Console - not working, do nothing.
  • Realtime Render - not working, but i can do render to file.
  • 3DCode broke PSD alpha brushes after import.
  • 3dCoat runs and closes with console errors.
    image.thumb.png.9adc02156d4063d9547167a907cbcafa.pngimage.thumb.png.84631496cebfdc842d5d6ba300084082.pngimage.png.040874700d82e121f5b1ced62a3e06c6.png

 

 

Edited by Grakino
  • Like 1
Link to comment
Share on other sites

  • New Member

Hi, I have tested version 2024.27-01 on Opensuse Tumbleweed 20240916 with KDE Plasma 6.1.5, X11 and we have the same problem when opening any type of file the program closes suddenly. It does not show errors in the console. It does not even allow opening the file to load the license. I had performed tests with TestStroke Build Sep 15 2024 and the dialog box to open and save files works correctly. But in 3DCoat 2024.27-01 it does not work.

Link to comment
Share on other sites

  • Member

 

14 hours ago, Grakino said:

@SERGYI
Wow, finally new update, unstable version, but still :rofl: I'm actually very glad.
I made some test, and found a few bugs. I decided to make a video about my test results, i hope it will be helpful for you.
I put a link to my MEGA drive.

https://mega.nz/file/VSdkzBDB#NRXeFKPlngXfYbho8z0CEBbZxBdcAf-duB5OqVcqkFA
Also i leave here, a short text version.

  • File dialog in general works fine, I've got no crushes, but hotkeys and function for basic file manipulation don't work or don't exist (like rename, delete, move files). Only create folder exist.
  • Can't change width of "Size" column in File dialog.
  • 3DCoat and TestStroke can't recognize my tablet Huion HS610. It behaves only like mouse.
  • Can't import my custom sculpt shaders from 2024.24 version.
  • Reference image always display on the top by overlapping my sculpt with this.
  • CastShadow and Incremental Render functions brake viewport and interface refresh.
  • Show Python Console - not working, do nothing.
  • Realtime Render - not working, but i can do render to file.
  • 3DCode broke PSD alpha brushes after import.
  • 3dCoat runs and closes with console errors.
    image.thumb.png.9adc02156d4063d9547167a907cbcafa.pngimage.thumb.png.84631496cebfdc842d5d6ba300084082.pngimage.png.040874700d82e121f5b1ced62a3e06c6.png

 

 

When you run 3D-Coat using shell, you need to add the environment variables to your shell configuration. Like this:
echo "export PYTHONHOME=/usr/bin/python3" >> ~/.bashrc
echo "export PYTHONPATH=/usr/lib/python3" >> ~/.bashrc
source ~/.bashrc

image.png.8fa74a7e4e4412e82290106efff85efd.png
This will fix HOME and PATH being not set.

GTK errors might not always be related to GTK itself. They could stem from mismatched themes, system dialogs, or library conflicts in KDE. It’s recommended to test GTK apps in their native environments like GNOME or XFSE.

 

Edited by Sakru
  • Thanks 2
Link to comment
Share on other sites

  • Member
12 hours ago, Jorge said:

Hi, I have tested version 2024.27-01 on Opensuse Tumbleweed 20240916 with KDE Plasma 6.1.5, X11 and we have the same problem when opening any type of file the program closes suddenly. It does not show errors in the console. It does not even allow opening the file to load the license. I had performed tests with TestStroke Build Sep 15 2024 and the dialog box to open and save files works correctly. But in 3DCoat 2024.27-01 it does not work.

If you're experiencing crashes, try testing the program using strace.

strace ./3dcoat 2> log.txt

Link to comment
Share on other sites

  • Member

Here is what i found myself.
The goal of this test was to analyze the stability and memory usage

Steps taken:
GDB:
1. Launched 3DCoat with GDB to capture the backtrace of any crashes. The program encountered a segmentation fault at xmlDictFree (dict=0x96e4540) in the librsvg module, specifically within the GTK icon loading system. <- i tried to open a project
2. GDB backtrace showed that the crash was triggered when handling SVG images, possibly during GTK theme loading.

Valgrind Memory Analysis:
Run 3DCoat under Valgrind’s memory checker (Memcheck) to detect memory errors.
1, Valgrind reported multiple warnings regarding unsupported compression types when reading debug symbols from system libraries like libgtk-3, libcairo, and others. This limits my ability to provide detailed memory analysis for these libraries.
2. Several errors related to conditional jumps based on uninitialized values were detected. One of these errors stemmed from the calculate_path function, which is involved in Python’s path calculation in the application. The program attempted to read invalid memory, causing segmentation faults. This was traced back to the calculate_path function and ultimately tied to the handling of Python configuration initialization.

 

The tests were done hastily. I’m not sure if this will help anyone or provide the developers with new information (probably not), but I can send the logs if needed.

Edited by Sakru
  • Thanks 1
Link to comment
Share on other sites

On 9/17/2024 at 7:11 PM, Sorn said:

 

$>./3dcoat                                    Exit code: 134
Gdk-Message: 18:00:01.039: Unable to load sb_up_arrow from the cursor theme
Gdk-Message: 18:00:01.039: Unable to load circle from the cursor theme

 

Try this:
sudo apt install adwaita-icon-theme-full

  • Thanks 1
Link to comment
Share on other sites

  • Member
6 hours ago, Sakru said:

 

When you run 3D-Coat using shell, you need to add the environment variables to your shell configuration. Like this:
echo "export PYTHONHOME=/usr/bin/python3" >> ~/.bashrc
echo "export PYTHONPATH=/usr/lib/python3" >> ~/.bashrc
source ~/.bashrc

image.png.8fa74a7e4e4412e82290106efff85efd.png
This will fix HOME and PATH being not set.

GTK errors might not always be related to GTK itself. They could stem from mismatched themes, system dialogs, or library conflicts in KDE. It’s recommended to test GTK apps in their native environments like GNOME or XFSE.

 

Thank you!. At least HOME and PATH problem has been solved.

image.png

  • Like 1
Link to comment
Share on other sites

  • New Member

Hi when I run it with:

strace ./3dcoat 2> log.txt

and I try to load the license file it suddenly closes

I got this:

newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//mime.cache", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//mime.cache", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/share/mime//mime.cache", {st_mode=S_IFREG|0644, st_size=175444, ...}, 0) = 0
openat(AT_FDCWD, "/usr/share/mime//mime.cache", O_RDONLY) = 40
fstat(40, {st_mode=S_IFREG|0644, st_size=175444, ...}) = 0
mmap(NULL, 175444, PROT_READ, MAP_SHARED, 40, 0) = 0x7f184c744000
close(40)                               = 0
newfstatat(AT_FDCWD, "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so", {st_mode=S_IFREG|0755, st_size=14336, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=14336, ...}) = 0
mmap(NULL, 16512, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f184c73f000
mmap(0x7f184c740000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x1000) = 0x7f184c740000
mmap(0x7f184c741000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2000) = 0x7f184c741000
mmap(0x7f184c742000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2000) = 0x7f184c742000
close(40)                               = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 40
fstat(40, {st_mode=S_IFREG|0644, st_size=137911, ...}) = 0
mmap(NULL, 137911, PROT_READ, MAP_PRIVATE, 40, 0) = 0x7f184940f000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/librsvg-2.so.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=6539792, ...}) = 0
mmap(NULL, 6542440, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f1819400000
mmap(0x7f18194a4000, 3649536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0xa4000) = 0x7f18194a4000
mmap(0x7f181981f000, 1658880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x41f000) = 0x7f181981f000
mmap(0x7f18199b4000, 565248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x5b3000) = 0x7f18199b4000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=1498816, ...}) = 0
mmap(NULL, 1501280, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f1848091000
mmap(0x7f18480c7000, 925696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x36000) = 0x7f18480c7000
mmap(0x7f18481a9000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x118000) = 0x7f18481a9000
mmap(0x7f18481f3000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x162000) = 0x7f18481f3000
mmap(0x7f18481ff000, 2144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f18481ff000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3/liblzma.so.5.6.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=235640, ...}) = 0
mmap(NULL, 233504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f18489ac000
mmap(0x7f18489b0000, 163840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x4000) = 0x7f18489b0000
mmap(0x7f18489d8000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2c000) = 0x7f18489d8000
mmap(0x7f18489e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x38000) = 0x7f18489e4000
close(40)                               = 0
mprotect(0x7f18489e4000, 4096, PROT_READ) = 0
mprotect(0x7f18481f3000, 45056, PROT_READ) = 0
mprotect(0x7f18199b4000, 561152, PROT_READ) = 0
mprotect(0x7f184c742000, 4096, PROT_READ) = 0
munmap(0x7f184940f000, 137911)          = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\x9d\xe8\xe0\x32\x30\x0d\x9b\x22\x92\xd8\x20\xcd\xc3\xd5\xc3\xd4", 16, GRND_INSECURE) = 16
futex(0x40c2be8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
close(35)                               = 0
writev(2, [{iov_base="double free or corruption (out)", iov_len=31}, {iov_base="\n", iov_len=1}], 2double free or corruption (out)
) = 32
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f184c73e000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid()                                = 22313
getpid()                                = 22313
tgkill(22313, 22313, SIGABRT)           = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22313, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)

I hope you can see something

Link to comment
Share on other sites

  • Member
On 9/22/2024 at 2:01 AM, Jorge said:

Hi when I run it with:

strace ./3dcoat 2> log.txt

and I try to load the license file it suddenly closes

I got this:

newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/jfespinal/.local/share/flatpak/exports/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//mime.cache", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/var/lib/flatpak/exports/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//mime.cache", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//globs2", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//globs", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/local/share/mime//magic", 0x7ffd15fb8940, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//aliases", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//subclasses", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//icons", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/local/share/mime//generic-icons", O_RDONLY) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/usr/share/mime//mime.cache", {st_mode=S_IFREG|0644, st_size=175444, ...}, 0) = 0
openat(AT_FDCWD, "/usr/share/mime//mime.cache", O_RDONLY) = 40
fstat(40, {st_mode=S_IFREG|0644, st_size=175444, ...}) = 0
mmap(NULL, 175444, PROT_READ, MAP_SHARED, 40, 0) = 0x7f184c744000
close(40)                               = 0
newfstatat(AT_FDCWD, "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so", {st_mode=S_IFREG|0755, st_size=14336, ...}, 0) = 0
openat(AT_FDCWD, "/usr/lib64/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=14336, ...}) = 0
mmap(NULL, 16512, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f184c73f000
mmap(0x7f184c740000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x1000) = 0x7f184c740000
mmap(0x7f184c741000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2000) = 0x7f184c741000
mmap(0x7f184c742000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2000) = 0x7f184c742000
close(40)                               = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 40
fstat(40, {st_mode=S_IFREG|0644, st_size=137911, ...}) = 0
mmap(NULL, 137911, PROT_READ, MAP_PRIVATE, 40, 0) = 0x7f184940f000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/librsvg-2.so.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=6539792, ...}) = 0
mmap(NULL, 6542440, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f1819400000
mmap(0x7f18194a4000, 3649536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0xa4000) = 0x7f18194a4000
mmap(0x7f181981f000, 1658880, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x41f000) = 0x7f181981f000
mmap(0x7f18199b4000, 565248, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x5b3000) = 0x7f18199b4000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/libxml2.so.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=1498816, ...}) = 0
mmap(NULL, 1501280, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f1848091000
mmap(0x7f18480c7000, 925696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x36000) = 0x7f18480c7000
mmap(0x7f18481a9000, 303104, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x118000) = 0x7f18481a9000
mmap(0x7f18481f3000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x162000) = 0x7f18481f3000
mmap(0x7f18481ff000, 2144, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f18481ff000
close(40)                               = 0
openat(AT_FDCWD, "/lib64/glibc-hwcaps/x86-64-v3/liblzma.so.5.6.2", O_RDONLY|O_CLOEXEC) = 40
read(40, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832
fstat(40, {st_mode=S_IFREG|0755, st_size=235640, ...}) = 0
mmap(NULL, 233504, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 40, 0) = 0x7f18489ac000
mmap(0x7f18489b0000, 163840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x4000) = 0x7f18489b0000
mmap(0x7f18489d8000, 49152, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x2c000) = 0x7f18489d8000
mmap(0x7f18489e4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 40, 0x38000) = 0x7f18489e4000
close(40)                               = 0
mprotect(0x7f18489e4000, 4096, PROT_READ) = 0
mprotect(0x7f18481f3000, 45056, PROT_READ) = 0
mprotect(0x7f18199b4000, 561152, PROT_READ) = 0
mprotect(0x7f184c742000, 4096, PROT_READ) = 0
munmap(0x7f184940f000, 137911)          = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
getrandom("\x9d\xe8\xe0\x32\x30\x0d\x9b\x22\x92\xd8\x20\xcd\xc3\xd5\xc3\xd4", 16, GRND_INSECURE) = 16
futex(0x40c2be8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f1851bf7f78, FUTEX_WAKE_PRIVATE, 2147483647) = 0
close(35)                               = 0
writev(2, [{iov_base="double free or corruption (out)", iov_len=31}, {iov_base="\n", iov_len=1}], 2double free or corruption (out)
) = 32
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f184c73e000
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
gettid()                                = 22313
getpid()                                = 22313
tgkill(22313, 22313, SIGABRT)           = 0
--- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=22313, si_uid=1000} ---
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)

I hope you can see something

Sorry i was very busy last few days.

I'm trying to understand what this report is about, but i really can find any clue.. i see you are trying to run /home/jfespinal/.local/share/flatpak/exports/share/mime/ but how is it related to 3D-Coat?

You are trying to activate Linux version of 3D-Coat? If yes, then i would recommend to run it using Bottles, because as of right now Linux version is broken. We can continue in this thread - https://3dcoat.com/forum/index.php?/topic/30731-3dcoat-202406-crashes-on-recent-linux-distros/#comment-196389

 

Edited by Sakru
Link to comment
Share on other sites

  • Contributor

Hi, in case anyone wishes to try 3DCoat 2024.27.01 on an Ubuntu image created with distrobox inside an Arch variant distribution, here's a link of what I tried: 

If you have a better working solution please do chime in. :) 

Link to comment
Share on other sites

  • 2 weeks later...
  • Contributor
Posted (edited)
Carlosan
This post was recognized by Carlosan!

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

Just to let others know, for users using distributions other than Ubuntu, 3DCoat-2024.28-02 is working fine in a distrobox ubuntu:latest image created; all visual glitches seem to be gone and file loads and saves also work fine. Speed seems OK too.

Good stuff.

Edited by Sorn
Link to comment
Share on other sites

  • Member

Ooo! Finally 3DCoat-2024.28-02 is working on Fedora 34 without glitches and with file Open/Save dialogs!

But.. still there are some troubles with navigation using stylus. Sculpting with pressed pen tip (and Alt+press) works great (as using mouse with LMB).
When any other buttons on stylus (mapped as RMB and MMB in Wacom system settings) are pressed, then I have errors in log:

(3dcoat:1359567): Gdk-CRITICAL **: 22:13:47.123: gdk_device_tool_get_tool_type: assertion 'tool != NULL' failed

And there are no debug info in log about Input Devices as in previous versions.
3DCoat-2022.49 worked with this stylus just fine.
I've tried to setup environment variable COAT_PEN also...

export COAT_PEN="Wacom Intuos4 6x9 Pen stylus"

but without any result (((

Link to comment
Share on other sites

  • Advanced Member

@SERGYIHey Sergyi. On POP OS. New version much improved! Saving and opening seems to be good.  Interface seems to be smooth and responsive. Stylus is not working on startup. I turned off Use 3dconnection API from 3D-Coat 4.xx under preferences and restarted coat. Stylus works after restart, but will stop working after entering the Render room. Once I enter the Render room the panels move around and freeze with no render. For some reason this breaks the stylus pen functionality. When going back to sculpt room the stylus no longer works correctly. I cannot navigate or change brush sizes and strength. Thanks.

Link to comment
Share on other sites

  • Advanced Member

@SERGYITested on Ubuntu 24.10, fresh install with xorg.  Still crashes when saving. Will there be wayland support? Does not launch with wayland.

Link to comment
Share on other sites

  • Advanced Member

@SERGYIJust as a side note Sergyi, I have been using 2024.06 (20.04) build version with no issues on a vanilla install of Zorin OS and a vanilla install of 3DCoat. Using Nvidia driver 550 with Wayland or Xorg graphics is working. Saving and opening files works! The interface is very responsive! Licensing seems to be working where with other distros licenesing had some issues. All rooms are working. Baking is working. As always mileage may vary on other distros but this may or may not help with development. The 22.04 build will crash on start up. Thank you.

Link to comment
Share on other sites

  • 3 weeks later...
  • Member

hello!
I am using the 2024.28-02 build to test. NVidia drivers on X11, using Kubuntu 24.04 LTS (I am using the Awesome window manager)

I think I am getting the same results as @SreckoM... normal behavior, but not when I have a sculpt tool selected. Then, the screen is blank unless I am moving the viewport around. Floating windows don't work, nor do the context menus, but they work in the Painting room.  It's so close to fully functional. I can't say exactly why, but I think the theme is better or just integrated better with my desktop.

Does 3D Coat get tested on Ubuntu 24.04 LTS with GNOME? I think I may be having some of these problems because of my weird Desktop Environment setup (installed KDE, but using Awesome instead). If so... could anyone tell me which GNOME packages to install?
thanks

Link to comment
Share on other sites

  • Member

Debian 12 KDE plasma, X11
I made a quick look, my tablet still not working (Huion HS610), and i can't make it work manually as i did in previous Linux version 2024.06.  This is a crucial moment for me, I can't use 3DCoat without a tablet. My previous remarks are still relevant, i have nothing new to say.

Link to comment
Share on other sites

  • New Member

I tried it with POP!_OS 22.04LT, Nvidia Drivers 560.35.03 and like @nodespaghettimentioned it's really close to being functional, I've the sames issues the UI goes blank, the UI is looking great.

Additionally the viewport shows ~300fps but somehow feels like it's capto 30fps even with vsync off, maybe something can be done about this.

Link to comment
Share on other sites

  • Member
17 hours ago, nodespaghetti said:

hello!
I am using the 2024.28-02 build to test. NVidia drivers on X11, using Kubuntu 24.04 LTS (I am using the Awesome window manager)

I think I am getting the same results as @SreckoM... normal behavior, but not when I have a sculpt tool selected. Then, the screen is blank unless I am moving the viewport around. Floating windows don't work, nor do the context menus, but they work in the Painting room.  It's so close to fully functional. I can't say exactly why, but I think the theme is better or just integrated better with my desktop.

Does 3D Coat get tested on Ubuntu 24.04 LTS with GNOME? I think I may be having some of these problems because of my weird Desktop Environment setup (installed KDE, but using Awesome instead). If so... could anyone tell me which GNOME packages to install?
thanks

I am testing it with PopOS  and gnome so i think it has nothing to do with DE or Window manager. Also it work on painting room but breaks on sculpting 

Link to comment
Share on other sites

  • Member

thanks for the reply @SreckoM. I am actually pretty desperate for a fix, because ever since I updated Ubuntu from 23.10 to 24.04, 3DCoat 2024.06 crashes whenever I browse for images... but not when I browse meshes. So I have a functional paint room in the update, and a functional sculpt room in the stable build. Lol.

Link to comment
Share on other sites

  • Member
On 11/9/2024 at 7:18 AM, SreckoM said:

You probably just missing some library. Or need to symlink. Do you get any errors?

unfortunately, no, not in the command line. It just crashes. And actually it only seems to happen when certain folders or file types are in the browse menu... I'll have to experiment and see if I can narrow it down. My guess is some particular image format doesn't have the library or thumbnail-generator 3D Coat wants and it can't handle that.

Edit: I have no idea what is causing it. I'll make a thread asking for help so that this channel doesn't get noise.

Edited by nodespaghetti
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...