Jump to: Board index » General » Fusion

Fusion crashes on Linux

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Fusion crashes on Linux

PostThu Apr 06, 2017 8:26 am

Hi,

I am working on a very small vfx shot at the moment, and I am using Fusion on Linux Mint 18 to do it. Everything is working fine, except that Fusion seems to be crashing at random times. I am not doing anything complicated.

I just have a plate and a 3D model rendered from Blender as EXR. I did a simple roto, and then started matching the colour of the render to the plate using the Color Gain and Color Corrector nodes along with some polygon masks.

The only issue I managed to reproduce, which makes Fusion crash is when I try to make the render range of the comp 1 frame only (I was testing the compositing workflow on one frame of the video). When I do that, start selecting some nodes on the Flow, Fusion would crash.

Other than that, the crashes seem random. Does Fusion keep some log of the crashes or do I have to run it from Terminal to get some info about why it crashed? If it keeps a log, where can I find it on Linux?
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 6:34 am

I spent a week trying to make Resolve and Fusion run, first on official CentoOS 7 and later on BMD's CentOS 7 (when I aquired a working DVD-ROM drive) and ATI HD6570 GFX card...I finally managed to make Resolve run (sort of) on KDE only, preventing the OS load in graphical.target mode and only with latest official ATI gfx drivers ... And still Fusion wouldn't run at all, prints out "illegal instruction" and, sometimes "(core dump")...I think I stumbled upon some more detailed output in some log file but it was cryptic, probably the memory dump itself...I had high hopes for Linux Resolve/Fusion build to run more fluently on a lower-spec machine, but it turned out a bit of a nightmare to make it work at all...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 11:19 am

Hi Mario.

I wrote a new blog post this morning in response to your question about how to get Fusion on Linux to run with legacy AMD graphics cards.

The positive news is that it can be made to work, and the performance is good overall. Just keep your finger off of the Linux OS "Update" button and the hardware accelerated OpenGL and OpenCL drivers will keep on working nicely.

Running Fusion on Linux with AMD Graphics Drivers
http://www.andrewhazelden.com/blog/2017/04/running-fusion-on-linux-with-amd-graphics-drivers/
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline

Przemek Jeske

  • Posts: 32
  • Joined: Sun Dec 28, 2014 2:58 pm

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 1:39 pm

there are problems with Nvidia cards too. I couldn't get it run with recent Nvidia proprietary drivers + any of the recent distros, it crashes on startup (mind - with nouveau it opens).
So in the end I'm back on Centos 7 as on distros with older libraries Fusion runs.

@Andrew: thx for posting the article. But note the tip on checking whether hardware rendering is enabled can be a bit misleading. It quite common to have vsync and compositing enabled (to prevent tearing for example) which will limit your maximum "display" frames as well.
With Nvidia proprietary you can try:
__GL_SYNC_TO_VBLANK=0 glxgears

to get rid of vsync during the test, while :

vblank_mode=0 glxgears

should work in general cases.
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 2:12 pm

Przemek Jeske wrote:But note the tip on checking whether hardware rendering is enabled can be a bit misleading. It quite common to have vsync and compositing enabled (to prevent tearing for example) which will limit your maximum "display" frames as well.


I was talking in that part of blog post from the perspective of a user just completing a fresh install of Ubuntu 14.04.4 with the default AMD Catalyst drivers package at their initial state. If you run the OS update command on 14.04.4 and overwrite the bundled proprietary graphics drivers then you instantly loose hardware support.

The "Details" System Settings window also shows if you are using the AMD drivers or alternate graphics drivers.
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 5:46 pm

@andrew: thx, your blog entry is a great piece of knowledge... It for sure helped me determine that indeed I do have working ATI proprietary drivers installed with a working OpenGL system... The OGL version that glxinfo returns is the same as in your blog entry and glxgears returns over 4000 fps...So it may be it's something else that prevents Fusion from starting...The CPU is an AMD Athlon II X4, perhaps it has something to do with that?

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 5:53 pm

I haven't tracked it down 100% but it looks to me like Fusion on Linux also needs the system to support the newer SSE4.x CPU extensions to work. I noticed on several Linux systems in my workshop that had support for the SSE4 / SSE4.1 + SSE4.2 CPU instructions everything worked fine with Fusion.

But in testing some older systems with the same graphics card model installed I noticed Fusion would crash on older CPUs that lacked those newer processor features. I'm not sure the exact minimums required on that front though.
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline
User avatar

Noel Sterrett

  • Posts: 521
  • Joined: Wed Aug 22, 2012 9:12 pm
  • Location: Atlanta

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 6:47 pm

I've tried Fusion on three systems, all on installs from the BM Resolve CentOS 7.3 ISO. All crash with "Floating point exception" before any screen activity. Resolve works on all three.

I hope BM looks into this, as it seems highly unlikely this is operator error.

Cheers.
Admit One Pictures
Resolve Studio 18 | Linux Lint 21 | Nvidia 515 | Xeon | iCore | Ryzen
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostSat Apr 15, 2017 6:52 pm

Just checked via dmesg, it'a a trap in fusionscript.so...I've just found a post on this forum actually reporting similar fault with Fusion on Ubuntu... Fusion for Win works well on the same machine, but perhaps Linux didn't support older AMD that well...I will try installing centos/Fusion these days on an AMD FX machine with Nvidia GTX to see if that works...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostSun Apr 16, 2017 10:36 am

Fusion on Linux Processor Compatibility Notes:

At this point my suspicion is that Fusion 8 on Linux was compiled with one of the following CPU feature dependencies:

  • SSSE3 / Supplemental Streaming SIMD Extensions 3
  • SSE4 / SSE4.1 + SSE4.2 / Streaming SIMD Extensions 4
  • AVX / Advanced Vector Extensions

CPU Extensions References:
SSE4 CPU-World Glossary
SSE4 Wikipedia Page
SSSE3 Wikipedia Page
AVX Wikipedia Page

Here is a list of several CPU models that work / don't work with Fusion 8 on Linux and what CPU features were present:

MacBookPro 2015 - Intel Core i7 (I7-4980HQ) (CPU works with Fusion on Linux)

CPU Features:
  • MMX instructions
  • SSE / Streaming SIMD Extensions
  • SSE2 / Streaming SIMD Extensions 2
  • SSE3 / Streaming SIMD Extensions 3
  • SSSE3 / Supplemental Streaming SIMD Extensions 3
  • SSE4 / SSE4.1 + SSE4.2 / Streaming SIMD Extensions 4
  • AES / Advanced Encryption Standard instructions
  • AVX / Advanced Vector Extensions
  • AVX2 / Advanced Vector Extensions 2.0
  • BMI / BMI1 + BMI2 / Bit Manipulation instructions
  • F16C / 16-bit Floating-Point conversion instructions
  • FMA3 / 3-operand Fused Multiply-Add instructions
  • EM64T / Extended Memory 64 technology / Intel 64
  • NX / XD / Execute disable bit
  • HT / Hyper-Threading technology
  • TBT 2.0 / Turbo Boost technology 2.0
  • VT-x / Virtualization technology
  • VT-d / Virtualization for directed I/O
  • TXT / Trusted Execution technology

AMD Opteron 6276 (CPU works with Fusion on Linux)

CPU Features:
  • MMX instructions
  • Extensions to MMX
  • SSE / Streaming SIMD Extensions
  • SSE2 / Streaming SIMD Extensions 2
  • SSE3 / Streaming SIMD Extensions 3
  • SSSE3 / Supplemental Streaming SIMD Extensions 3
  • SSE4 / SSE4.1 + SSE4.2 / Streaming SIMD Extensions 4
  • SSE4a
  • AES / Advanced Encryption Standard instructions
  • AVX / Advanced Vector Extensions
  • FMA4 / 4-operand Fused Multiply-Add instructions
  • XOP / eXtended Operations instructions
  • AMD64 / AMD 64-bit technology
  • AMD-V 2.0 / AMD Virtualization technology 2.0
  • EVP / Enhanced Virus Protection
  • Turbo Core technology

AMD Opteron 6134 (CPU does not work with Fusion on Linux)

CPU Features:
  • MMX instructions
  • Extensions to MMX
  • 3DNow! technology
  • Extensions to 3DNow!
  • SSE / Streaming SIMD Extensions
  • SSE2 / Streaming SIMD Extensions 2
  • SSE3 / Streaming SIMD Extensions 3
  • SSE4a
  • AMD64 / AMD 64-bit technology
  • AMD-V 2.0 (virtualization) technology:
    • AMD-V
    • Tagged TLB
    • I/O Virtualization
    • Extended Migration
  • EVP / Enhanced Virus Protection

AMD Athlon II X4 (CPU does not work with Fusion on Linux)

CPU Features:
  • MMX instructions
  • Extensions to MMX
  • 3DNow! technology
  • Extensions to 3DNow!
  • SSE / Streaming SIMD Extensions
  • SSE2 / Streaming SIMD Extensions 2
  • SSE3 / Streaming SIMD Extensions 3
  • SSE4a
  • AMD64 / AMD 64-bit technology
  • AMD-V / AMD Virtualization technology
  • EVP / Enhanced Virus Protection
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostSun Apr 16, 2017 1:11 pm

@andrew... Oh, thanks, even though it's not good news...I'll stop trying then, my proc is obviously lacking... Seems AMD FX has got everything that's required so I'll try my luck there...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostSun Apr 16, 2017 1:19 pm

Mario Kalogjera wrote:@andrew... Oh, thanks, even though it's not good news...I'll stop trying then, my proc is obviously lacking...


Although not ideal for your Linux centric goals you could always try using Fusion 7.x on Windows 7, or Fusion 8+ on a newer Windows OS on your existing CPU and likely have success in getting it to run since there are different hardware requirements on the Windows side.
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostMon Apr 17, 2017 6:34 am

@andrew: I quite happily run Fusion 8.2.1 under win7 on the same machine except for QuickTime support(???) I think I have tried F7 and had the same problem... Funny enough, I do get QuickTime support under win 7 on the AMD FX machine...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Fusion crashes on Linux

PostMon Apr 17, 2017 7:39 am

Do you have QuickTime installed in both machines?
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostMon Apr 17, 2017 8:46 am

@Michael: Yes, QT's installed on both machines...the Loader node reads any .mov, including DNxHR and HEVC via Directshow (but Quicktime is not listed as such in the Loader and I can only see .mov files if I select All files (*.*) ...and there is also no Quicktime option listed under Output format in Saver node...

P.S. I stand corrected: DNxHR_HQX (10-bit) produces weird artifacts (aliased, blocky, oversharpened image), DNxHR HQ (8 bit) is Ok...quicktime player loads the file just fine which means directshow filter can't handle HR HQX properly...

sorry for straying OT...
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline

Abdelrahman Magdy

  • Posts: 291
  • Joined: Fri Jan 23, 2015 10:08 pm

Re: Fusion crashes on Linux

PostMon Apr 17, 2017 12:33 pm

Fusion is working fine on my Linux Mint installation (aside from that crashing problem which I am working around by reducing the auto save time and hitting Ctrl+s as frequently as possible). I didn't have any problem installing it and it worked out of the box.

However, there are a couple of things I noticed.

1) It seems like the drag and drop features are not working properly. For instance, when I drag a tool from the toolbar to the flow, nothing happens, unlike in Windows when you can drag the tool to the flow. Also, dragging files from the Files Explorer to Fusion doesn't seem to be working properly. Every now and then, when I drag an image, Fusion loads it, but most of the time it doesn't work.

2) I can't get Fusion to load QuickTime files. I have no idea why, since I can import and export them normally inside Resolve. Does anyone know how can I get it to work?
System specs:
Resolve Studio version: 16.1.0.055
Fusion Studio version: 9.0.2
OS: CentOS 7
CPU: Intel i7-4790k 4GHz Quad-Core
RAM: 32GB
GPU: NVIDIA GeForce 1080 Ti 11GB
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostMon Apr 17, 2017 1:07 pm

Abdelrahman Magdy wrote:2) I can't get Fusion to load QuickTime files. I have no idea why, since I can import and export them normally inside Resolve. Does anyone know how can I get it to work?


The Apple QuickTime video library is what Fusion on macOS and Windows use to access .mov files. The QuickTime library does not exist on Linux.

This means that the current Fusion 8.x build on Linux only works with image sequences. This may change in the future but at the present moment this is just how things are. ;)

You can check this out for yourself by adding a loader node to your composite. Then in the Filename "browse" dialog scroll through the list of supported image formats. You won't notice any video file types listed.

What you will see on Linux are the following options:

Loader Node:
  • Alias PIX Files (*.als, *.pix)
  • Amiga IFF Files(*.iff, ilbm, *.ilm, *.ibm)
  • ArriRaw Files (*.ari)
  • Cineon Files (*.cin, *.kdk)
  • Digital Negative Files (*.dng)
  • DPS HVD Files (*.hvd)
  • DPX Files (*.dpx)
  • Flexible Precision Image Files (*.flx)
  • Fusion Flipbooks (*.fb)
  • Fusion Raw Image Files (*.raw)
  • IFL Files (*.ifl)
  • IPL Files (*.ipl)
  • JPEG Files (*.jpg, *.jpeg)
  • JPEG2000 Files (*.jp2)
  • OpenEXR Files (*.exr, *.sxr)
  • Pandora YUV Files (*.piyuv10)
  • Photoshop Files (*.psd)
  • PNG Files (*.png)
  • Quantel VPB Files (*.vpb, *.qtl)
  • Radiance HDR Files (*.hdr, *.rgbe)
  • RED RAWCODE Files (*.r3d)
  • Rendition Files (*.6rn)
  • SGI Files (*.sgi, *.rgb, *.rgb, *.bw, *.s16)
  • Softimage PIC Files (*.si, *.pic)
  • Stamp Files (*.fustamp)
  • SUN Raster Files (*.ras)
  • Targa Files (*.tga)
  • TIFF Files (*.tif, *.tiff, *.tif3, *.tif16)
  • Wavefront rla Files (*.rla, *.rla16, *.rpf)
  • Windows Bitmap Files (*.bmp, *.dib)
  • YUV Files (*.yuv, *.yuv8)


Saver Node:
    Alias PIX Files (*.als, *.pix)
  • Amiga IFF Files(*.iff, ilbm, *.ilm, *.ibm)
  • Cineon Files (*.cin, *.kdk)
  • DPX Files (*.dpx)
  • Fuse Pic (*.fusepic)
  • Fusion Flipbooks (*.fb)
  • Fusion Raw Image Files (*.raw)
  • IFL Files (*.ifl)
  • IPL Files (*.ipl)
  • JPEG Files (*.jpg, *.jpeg)
  • JPEG2000 Files (*.jp2)
  • OpenEXR Files (*.exr, *.sxr)
  • Pandora YUV Files (*.piyuv10)
  • PNG Files (*.png)
  • Quantel VPB Files (*.vpb, *.qtl)
  • Radiance HDR Files (*.hdr, *.rgbe)
  • Rendition Files (*.6rn)
  • SGI Files (*.sgi, *.rgb, *.rgb, *.bw, *.s16)
  • Softimage PIC Files (*.si, *.pic)
  • Stamp Files (*.fustamp)
  • SUN Raster Files (*.ras)
  • Targa Files (*.tga)
  • TIFF Files (*.tif, *.tiff, *.tif3, *.tif16)
  • Wavefront rla Files (*.rla, *.rla16, *.rpf)
  • Windows Bitmap Files (*.bmp, *.dib)
  • YUV Files (*.yuv, *.yuv8)
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline
User avatar

Noel Sterrett

  • Posts: 521
  • Joined: Wed Aug 22, 2012 9:12 pm
  • Location: Atlanta

Re: Fusion crashes on Linux

PostThu Apr 20, 2017 6:24 pm

I have tree systems. All have CentOS 7.3 installed from the BMD ISO.

Fusion does work on one:

Intel Core i7 3630, GTX 650M x 2 = OK

The others crash on startup with "Floating point exception", or "Illegal instruction"

Intel Xeon E5-2603v4, GTX 750, GTX1080 = NO
AMD Phenom II X6 1100T, GTX560 x 2 = NO

I can't find any log file as there is in Resolve. Anyone know of one?

Cheers.
Admit One Pictures
Resolve Studio 18 | Linux Lint 21 | Nvidia 515 | Xeon | iCore | Ryzen
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostThu Apr 20, 2017 9:23 pm

Noel Sterrett wrote:I can't find any log file as there is in Resolve. Anyone know of one?


If you launch the Fusion executable program using a terminal window session you will get logging details back when errors happen.
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline
User avatar

Noel Sterrett

  • Posts: 521
  • Joined: Wed Aug 22, 2012 9:12 pm
  • Location: Atlanta

Re: Fusion crashes on Linux

PostThu Apr 20, 2017 10:29 pm

Andrew Hazelden wrote:
Noel Sterrett wrote:I can't find any log file as there is in Resolve. Anyone know of one?


If you launch the Fusion executable program using a terminal window session you will get logging details back when errors happen.

Yes, that's what I did, and got "Floating point exception" on the Xeon and "Illegal instruction" on the AMD.

I get the same result with "./Fusion -configure" or "./Fusion -manager". I'm not sure if there's another option, but -debug does the same thing.

No GUI, just exit with error.

Perhaps Resolve 14 will include a Fusion page!

Cheers.
Admit One Pictures
Resolve Studio 18 | Linux Lint 21 | Nvidia 515 | Xeon | iCore | Ryzen
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostFri Apr 21, 2017 7:44 am

Running "dmesg" command right after Fusion had failed to start gives some more info about the crash but I don't think it's of much use...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Noel Sterrett

  • Posts: 521
  • Joined: Wed Aug 22, 2012 9:12 pm
  • Location: Atlanta

Re: Fusion crashes on Linux

PostFri Apr 21, 2017 12:45 pm

Good idea. Here's the output:
Code: Select all
Xeon:
[  910.787972] traps: Fusion[3029] trap divide error ip:7fb971781a16 sp:7fff6e896340 error:0 in libqxcb.so[7fb97172d000+119000]
AMD:
[  201.269668] traps: Fusion[2207] trap invalid opcode ip:7feb3e1cbfdd sp:7ffee1e70710 error:0 in fusionscript.so[7feb3e0b0000+31b000]

So it seems there is a different problem on the two machines.

libqxcb.so seems to be a Qt lib and is in several places and all are different sizes:
    /usr/lib64/qt5/plugins/platforms/libqxcb.so
    /opt/resolve/DaVinci Resolve Panels Setup/platforms/libqxcb.so
    /opt/resolve/Onboarding/plugins/platforms/libqxcb.so
    /opt/resolve/libs/plugins/platforms/libqxcb.so
    /opt/BlackmagicDesign/Fusion8/Frameworks/platforms/libqxcb.so
The AMD is an older machine, and might not have the newer opcodes.

By the way, Fusion runs on both computers with Windows 7.

Cheers.
Admit One Pictures
Resolve Studio 18 | Linux Lint 21 | Nvidia 515 | Xeon | iCore | Ryzen
Offline

Mario Kalogjera

  • Posts: 1201
  • Joined: Sat Oct 31, 2015 8:44 pm

Re: Fusion crashes on Linux

PostSat Apr 22, 2017 9:12 am

Your AMD trap report is similar to mine... So perhaps Xeon is missing some crucial feature as well that's required by the Linux build of Fusion? I understand Xeons are not that very similar to Intel consumer series of processors... But that's exactly why Xeon should be better supported by Linux Fusion that mainstream processors...

Sent from my GM 5 Plus d using Tapatalk
Asus Prime X370-Pro+R7 3700X@PBO+32 GB G.Skill AEGIS DDR-4@3200MHz
Sapphire RX6700 10GB
Adata A400 120GB System,A2000 500GB Scratch SSDs
Media storage:"Always in motion is it"
BMD Mini Monitor 4K
Windows 11 Pro+Resolve Studio 18+Fusion Studio 18
Offline
User avatar

Vassilis Kontodimas

  • Posts: 71
  • Joined: Wed May 31, 2017 7:10 pm

Re: Fusion crashes on Linux

PostWed Jun 21, 2017 7:29 pm

I agree with the OP. Fusion, tends to crash at random intervals, something that can be annoying when rendering demanding sequences. I have ran it on Linux Mint and Ubuntu Studio (which happens to be -surprisingly- the best option thus far, including running Resolve 14) and on both nVidia and AMD cards.

I run fusion on both cards (nVidia 580GTX & AMD RX480). Both deal with the same results. I suspect it may not be something regarding the VSync, as I left renders to complete without any display/preview active. So, it's more a matter of "luck"? I've had a render crash like three times on a Mint system - random frames. Then it crashed once on Ubuntu Studio. Then it rendered the whole sequence without a crash. So, whatever it is, it's totally random.

And yes, one of my fingers is constantly on the CTRL button and I hit the "S" on nearly every opportunity.

I have noticed this to be more frequent when dealing with the 3D renderer or particles system.

Now I'm sitting at a fresh and updated installation of CentOS. So I'll see how it goes over here, even though I am not very hopeful about it. I mean, I tried Resolve 14 beta on it and it crashes on start... So, let's hope BMD will look into this.

Meanwhile, I'll check on the VSync aspect. Gotta try everything, right?
Offline
User avatar

Andrew Hazelden

  • Posts: 536
  • Joined: Sat Dec 06, 2014 12:10 pm
  • Location: West Dover, Nova Scotia, Canada

Re: Fusion crashes on Linux

PostWed Jun 21, 2017 8:23 pm

Vassilis Kontodimas wrote:I agree with the OP. Fusion, tends to crash at random intervals, something that can be annoying when rendering demanding sequences.


Hi Vassilis.

My guess is the Linux system is running out of RAM when the rendering task is going on and then Fusion is crashing as a result.

If you open up the Fusion preferences and switch to the Memory section you can try lowering the number of concurrent frames being rendered at the same time, and also try disabling "Simultaneous Branching" if it is enabled.

* * *

If you run the rendering task in Fusion with the Render Manager window, then Fusion will skip trying to aggressively cache each of the nodes in the composite (which it does since it assumes you will want to RAM playback the footage later). Rendering your final composites in the Fusion Render Manager will typically result fewer memory issues happening when you are rendering out long image sequences.

In the Render Settings window try enabling the [x] Use Network checkbox and then in the Available Groups section enable the "local" option.

Fusion-Render-Window.png
Render Settings Window
Fusion-Render-Window.png (78.64 KiB) Viewed 9369 times
Mac Studio M2 Ultra / Threadripper 3990X | Fusion Studio 18.6.4 | Kartaverse 6
Offline
User avatar

Vassilis Kontodimas

  • Posts: 71
  • Joined: Wed May 31, 2017 7:10 pm

Re: Fusion crashes on Linux

PostThu Jun 22, 2017 11:44 pm

Thank you so much for your recommendation, Andrew.

The network/local part is something I did not check out to be honest. On the memory side, I checked the simultaneous frames/branches and the results varied. Memory never actually ran out (on my 12GB or my 24GB system). A tendency I have to keep a system monitor on at all times & re-arrange settings until memory is efficiently used without having to "re-cache" all demanding nodes.

It might seem strange, but some of the crashes might be C++ & library related. On my nVidia system, the moment I installed the gigantic CUDA DEB (1.9GB) from the official site, Fusion started working better. Even Davinci Resolve 14 started running with incredible stability. It was something that had me wondering on the relation of the two, especially since Davinci was running flawlessly on the system with an RX480 card (with the latest OpenCL libs).

Therefore, my guess is that the crash issues are somewhere in that field. However, I will definitely give your recommendation on the rending panel a shot and see how it helps.

On the bright side, today I did render (after the huge CUDA install) a massive file, which would normally crash 2-3 times and it went through without a hassle. However, it did crash a bit later and not during render. Much better than before, however.

Thank you again!

Return to Fusion

Who is online

Users browsing this forum: Bing [Bot] and 47 guests