zelikos / davincibox

Container for DaVinci Resolve installation and runtime dependencies on Linux
Apache License 2.0
180 stars 7 forks source link

Control panels not working #98

Closed rothgar closed 2 months ago

rothgar commented 3 months ago

IMPORTANT

Before reporting a bug, make sure that you can reproduce it on the latest version of davincibox.

See the upgrading section of the README for more information.

Describe the bug

I just did a fresh install of 18.6.6 studio version and opened davinci and went to the control panel setup and my speed editor is not detected. I manually launched /opt/resolve/DaVinci Control Panels Setup/DaVinci Control Panels Setup and the panel is found in that window but when I click on it to perform a firmware update it fails.

The logs at the console say

/opt/resolve/DaVinci Control Panels Setup 
$ ./DaVinci\ Control\ Panels\ Setup 
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
*** WARNING *** The program 'DaVinci Control Panels Setup' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=libdns_sd&e=DaVinci Control Panels Setup>
DFU Upgrade: Getting device info.
DFU Upgrade: Waiting for initial arrival.
DFU Upgrade: Current boot mode  255
DFU Upgrade failure:  Failed to get DFU interface before detach

And the GUI window says image

Installation method used

To Reproduce

Steps to reproduce the behavior:

  1. install davinci
  2. launch control panel setup from CLI
  3. Updates and panels should work

Expected behavior

Control panels should work

Screenshots

If applicable, add screenshots to help explain your problem.

System information (please complete the following)

Additional context Has anyone seen this error or know steps to get the speed editor to work?

rothgar commented 3 months ago

I also had to remove a couple of the built in davinci libraries to get it to run. I was getting errors with libgio so I found this on reddit and it worked for me.

cd /opt/resolve/libs
sudo mkdir disabled-libraries
sudo mv libglib* disabled-libraries
sudo mv libgio* disabled-libraries
sudo mv libgmodule* disabled-libraries
zelikos commented 2 months ago

I don't have any of the DaVinci Resolve related hardware to test with myself, so I'm unable to directly troubleshoot this, unfortunately.

I also had to remove a couple of the built in davinci libraries to get it to run.

To clarify: does "it" here refer specifically to the Control Panels Setup? Not DaVinci Resolve?

rothgar commented 2 months ago

Correct. The control panels setup was the problem.

However, I went and tested this outside of davincibox and I had the same problem so this isn't a problem specifically with davincibox and instead something on my system (or davinci on Linux in general). I'm going to close this issue since I don't think there will be a solution here.

Thanks

zelikos commented 2 months ago

Correct. The control panels setup was the problem.

OK yeah, that makes sense, then. The workaround we have right now for the built-in libraries only applies to running DaVinci Resolve itself; I'll open a separate issue about accounting for the other things Resolve comes with too.