Du bist nicht angemeldet.

#1 08.05.2021 10:40:10

Leon
Mitglied

Davinci Resolve Studio - Speed Editor funktionieren nur als root

Hallo und zwar habe ich ein merkwürdiges Problem. Ich verwende Davinci Resolve auch unter Linux,
damals lief der Speed Editor perfekt, nur nach einer Neu Installation, möchte der Speed Editor nicht mehr funktionieren.

Was sehr merkwürdig ist, das wenn man davinci als root startet,
das der Speed Editor funktioniert, nur dann leider der Sound nicht. Ich möchte allerdings auch nicht unbedingt Davinci als als Root laufen lassen.

Ich habe zwei Ausgaben gemacht einmal mit root und einmal ohne:

Diese Version nutze ich:
https://aur.archlinux.org/packages/davi … ve-studio/

Mit ROOT funktioniert der Speed Editor:

sudo /opt/resolve/bin/resolve 
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
log4cxx: No appender could be found for logger (BtCommon).
log4cxx: Please initialize the log4cxx system properly.
QSocketNotifier: Can only be used with threads started with QThread
New connection received.
Connection is closed.
17.1.1.0009 Linux/Clang x86_64
Main thread starts: AF570580
0x7f33af570580 | Undefined            | INFO  | 2021-05-08 10:27:24,563 | --------------------------------------------------------------------------------
0x7f33af570580 | Undefined            | INFO  | 2021-05-08 10:27:24,563 | Loaded log config from /root/.local/share/DaVinciResolve/configs/log-conf.xml
0x7f33af570580 | Undefined            | INFO  | 2021-05-08 10:27:24,563 | --------------------------------------------------------------------------------
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
FusionScript Server [14341] Started
Host 'Fusion' [13736] Added
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output

Und ohne ROOT nicht:

/opt/resolve/bin/resolve 
ActCCMessage Already in Table: Code= c005, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c006, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= c007, Mode= 13, Level=  1, CmdKey= -1, Option= 0
ActCCMessage Already in Table: Code= 2282, Mode=  0, Level=  0, CmdKey= 8, Option= 0
PnlMsgActionStringAdapter Already in Table: Code= 615e, Mode=  0, Level=  0, CmdKey= -1, Option= 0
17.1.1.0009 Linux/Clang x86_64
Main thread starts: A41A4580
0x7faba41a4580 | Undefined            | INFO  | 2021-05-08 10:35:20,255 | --------------------------------------------------------------------------------
0x7faba41a4580 | Undefined            | INFO  | 2021-05-08 10:35:20,255 | Loaded log config from /home/lucius/.local/share/DaVinciResolve/configs/log-conf.xml
0x7faba41a4580 | Undefined            | INFO  | 2021-05-08 10:35:20,255 | --------------------------------------------------------------------------------
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
FusionScript Server [15362] Started
Host 'Fusion' [14828] Added
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output
Discard all samples (playback) or generate zero samples (capture)
Rate Converter Plugin Using Samplerate Library
Rate Converter Plugin Using Speex Resampler
JACK Audio Connection Kit
Open Sound System
PulseAudio Sound Server
Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
Plugin for channel upmix (4,6,8)
Plugin for channel downmix (stereo) with a simple spacialization
Default ALSA Output (currently PulseAudio Sound Server)
HDA Intel PCH, ALC1220 AnalogDefault Audio Device
HDA Intel PCH, ALC1220 AnalogFront output / input
HDA Intel PCH, ALC1220 Analog2.1 Surround output to Front and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog4.0 Surround output to Front and Rear speakers
HDA Intel PCH, ALC1220 Analog4.1 Surround output to Front, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog5.0 Surround output to Front, Center and Rear speakers
HDA Intel PCH, ALC1220 Analog5.1 Surround output to Front, Center, Rear and Subwoofer speakers
HDA Intel PCH, ALC1220 Analog7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
HDA Intel PCH, ALC1220 DigitalIEC958 (S/PDIF) Digital Audio Output
HDA Intel PCHUSB Stream Output
HDA NVidia, HDMI 0HDMI Audio Output
HDA NVidia, HDMI 1HDMI Audio Output
HDA NVidia, HDMI 2HDMI Audio Output
HDA NVidia, HDMI 3HDMI Audio Output
HDA NVidia, HDMI 4HDMI Audio Output
HDA NVidia, HDMI 5HDMI Audio Output
HDA NVidia, HDMI 6HDMI Audio Output
HDA NVidiaUSB Stream Output
Cam Link 4KUSB Stream Output
Sound BlasterX G6, USB AudioDefault Audio Device
Sound BlasterX G6, USB AudioFront output / input
Sound BlasterX G6, USB Audio2.1 Surround output to Front and Subwoofer speakers
Sound BlasterX G6, USB Audio4.0 Surround output to Front and Rear speakers
Sound BlasterX G6, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio5.0 Surround output to Front, Center and Rear speakers
Sound BlasterX G6, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Sound BlasterX G6, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Sound BlasterX G6, USB AudioIEC958 (S/PDIF) Digital Audio Output
Sound BlasterX G6USB Stream Output
Scarlett 2i2 USB, USB AudioDefault Audio Device
Scarlett 2i2 USB, USB AudioFront output / input
Scarlett 2i2 USB, USB Audio2.1 Surround output to Front and Subwoofer speakers
Scarlett 2i2 USB, USB Audio4.0 Surround output to Front and Rear speakers
Scarlett 2i2 USB, USB Audio4.1 Surround output to Front, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio5.0 Surround output to Front, Center and Rear speakers
Scarlett 2i2 USB, USB Audio5.1 Surround output to Front, Center, Rear and Subwoofer speakers
Scarlett 2i2 USB, USB Audio7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
Scarlett 2i2 USB, USB AudioIEC958 (S/PDIF) Digital Audio Output
Scarlett 2i2 USBUSB Stream Output
Logicool BRIOUSB Stream Output

Mein System:

OS: Arch Linux x86_64 
Host: MS-7C06 1.0 
Kernel: 5.12.1-arch1-1 
Uptime: 37 mins 
Packages: 950 (pacman) 
Shell: bash 5.1.4 
Resolution: 3840x1080 
DE: GNOME 40.1 
WM: Mutter 
WM Theme: Arc-Dark 
Theme: Adwaita-dark [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: gnome-terminal 
CPU: Intel i7-7820X (16) @ 4.500GHz 
GPU: NVIDIA GeForce GTX 1080 Ti 
Memory: 3014MiB / 31787MiB 

Hoffe ihr könnt mir da weiterhelfen

Liebe Grüße
Leon

Offline

#2 08.05.2021 19:01:59

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Vorab: Ich kenne das Programm überhaupt nicht und kann nichts nachvollziehen, aber...

Hast du mal in die Kommentare zum AUR-Paket geschaut?
Am 1.4.21 hat dort jemand einen Diff fürs PKGBUILD reingestellt.

Ich weiß nicht, wie fit du mit patch/diff bist, nur ein paar Hinweise:
a) Der Diff ist so (aus dem Kommentar kopiert) "malformed", da die beiden Zeilen "prepare()" und "{" keine Einrückung/Leerzeichen haben. patch wendet das Diff so nicht an, Fehler: patch: **** malformed patch at line 6: prepare()
b) Wenn man *vor* beide Zeilen jeweils ein Leerzeichen einfügt, dann laßt sich der Diff mit:

patch --verbose --ignore-whitespace PKGBUILD diff -o PKGBUILD.new

anwenden.

Falls nötig, kann ich dir auch das gepatchte PKGBUILD posten.
Du mußt natürlich das Paket neu bauen damit.

Es gibt auch eine Wiki-Seite zum Programm:
https://wiki.archlinux.org/title/DaVinci_Resolve
allerdings ist dort zu dem SpeedEditor nichts zu finden...

Offline

#3 08.05.2021 19:41:23

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Hi GerBra, das ist echt super nett. Ich glaube es wäre sinnvoll das selbst zu lernen, ich habe versucht das selbst zu Patchen, aber ich glaube da läuft was schief.
Vielleicht kannst du mir erklären, wie man da vorgehen kann. ich habe einfach mal versucht den Befehl den du oben reingepostet hast, mit der diff datei anzuwenden, Leider zeigt das patchen ein fehler:

patch --verbose --ignore-whitespace PKGBUILD diff -o PKGBUILD.new
Hmm...  Looks like a unified diff to me...
(Stripping trailing CRs from patch; use --binary to disable.)
The text leading up to this was:
--------------------------
|diff --git a/PKGBUILD b/PKGBUILD
|index 88f1e09..6089fa3 100644
|--- a/PKGBUILD
|+++ b/PKGBUILD
--------------------------
patching file PKGBUILD.new (read from PKGBUILD)
Using Plan A...
Hunk #1 succeeded at 69.
Hunk #2 FAILED at 118.
Hunk #3 succeeded at 142 (offset 2 lines).
1 out of 3 hunks FAILED -- saving rejects to file PKGBUILD.new.rej
done

PS. Und was bedeutet diese PKGBUILD.new.rej datei?

Liebe Grüße
Leon

Offline

#4 08.05.2021 20:12:13

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Hmm, da passen irgendwie die Zeilennummern von deinem verwendeten PKGBUILD nicht richtig.
Bei deinem Versuch werden um die Zeilen 69,118 und 142 versucht die Differenzen einzupatchen, daß schlägt aber z.B. bei/um Zeile 142 fehl. patch versucht über Hunks/Versuche/Annahmen möglichst "tolerant" die Patches anzuwenden. Bei deinem Versuch gehen die Änderungen bei/um Zeile 69 und 142 durch, die Änderungen um Zeile 118 ermittelt patch aber als so verschieden, daß der Patchteil da nicht fehlerfrei vorgenommen werden kann. Deshalb lehnt patch das ab und erstellt für das abgelehnte eine sog. Rejected-Datei.

Mich wundern deine Zeilennummern im PKGBUILD, bei mir werden die Patches an/um die angeführten Zeilen angewendet:
Hunk #1 succeeded at 96.
Hunk #2 succeeded at 123.
Hunk #3 succeeded at 159.
done
Diese Zeilennummern decken sich sowohl mit dem Patch als auch mit meinem PKGBUILD. Im Diff bedeutet ein:

...
@@ -96,7 +96,7 @@ source=("${_archive}"::"$_srcurl")
prepare()
{
...

z.B. daß die Zeile in der die "prepare()"-Phrase steht die Zeile 96 ist. Das ist in meinem original PKGBUILD auch so.

Die Frage jetzt: Welches PKGBUILD verwendest du? Bzw. hast du wirklich die Version (Studio), von der du weiter oben den AUR-Link gepostet hast?
Also: https://aur.archlinux.org/packages/davi … ve-studio/
Von dort habe ich mir zum Testen auch das PKGBUILD besorgt:
https://aur.archlinux.org/cgit/aur.git/ … lve-studio

Dann - wie gesagt - im abgespeicherten Diff jeweils ein Leerzeichen bei prepare und { eingefügt (Zeilen 6 u. 7), danach patch aufgerufen.

Hast du womöglich also ein anderes PKGBUILD ?
//Edit: Laut AUR wäre das "Richtige" für Version 17.1.1-1

Beitrag geändert von GerBra (08.05.2021 20:23:07)

Offline

#5 08.05.2021 20:26:11

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Nein, ich hab auch eben die pkg runtergeladen und versucht damit zu patchen,
die du verlinkt hast. Kannst du eventuell mir mal den Patch zur Verfügung stellen um zu sehen ob davinci auch mit dem Speed Editor läuft?

Ich bekomme trotzdem die Fehlermeldung.

# Maintainer: Alex S. <shantanna_at_hotmail_dot_com>
# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>

# Hardware support is limited. Nvidia cards should work fine.
# If you're running a hybrid setup, try with primusrun/optirun.

# This was originally written by Daniel Bermond in blackmagic-decklink-sdk pkgbuild
# It is sufficient to just replace _downloadid to correspond new release version
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
_downloadid='bf8c4f6eac894d4c84cfe9ba8518d388'
_referid='697bfa693faa49fbb785b2aedb584a8b'
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"

_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
                        AppleWebKit/537.36 (KHTML, like Gecko) \
                        Chrome/77.0.3865.75 \
                        Safari/537.36"

_reqjson="{ \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"country\": \"us\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"product\": \"DaVinci Resolve Studio\" \
}"

_reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
_useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
_useragent_escaped="${_useragent// /\\ }"

_srcurl="$(curl \
            -s \
            -H 'Host: www.blackmagicdesign.com' \
            -H 'Accept: application/json, text/plain, */*' \
            -H 'Origin: https://www.blackmagicdesign.com' \
            -H "$_useragent" \
            -H 'Content-Type: application/json;charset=UTF-8' \
            -H "Referer: https://www.blackmagicdesign.com/support/download/${_referid}/Linux" \
            -H 'Accept-Encoding: gzip, deflate, br' \
            -H 'Accept-Language: en-US,en;q=0.9' \
            -H 'Authority: www.blackmagicdesign.com' \
            -H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \
            --data-ascii "$_reqjson" \
            --compressed \
            "$_siteurl")"

DLAGENTS=("https::/usr/bin/curl \
              -gqb '' -C - --retry 3 --retry-delay 3 \
              -H Host:\ sw.blackmagicdesign.com \
              -H Upgrade-Insecure-Requests:\ 1 \
              -H ${_useragent_escaped} \
              -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
              -H Accept-Language:\ en-US,en;q=0.9 \
              -o %o \
              --compressed \
              %u")


pkgname=davinci-resolve-studio
_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
pkgver=17.1.1
pkgrel=1
arch=('any')
url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
license=('Commercial')
depends=('glu' 'gtk2' 'gstreamer' 'libpng12' 'lib32-libpng12' 'ocl-icd' 'openssl-1.0' 'fuse2'
         'opencl-driver' 'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets')
makedepends=('libarchive' 'xdg-user-dirs')
options=('!strip')
provides=('davinci-resolve')
install=davinci-resolve.install

if [ ${pkgname} == "davinci-resolve-studio" ]; then
# Variables for STUDIO edition
	pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
	_archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
	sha256sums=('22a1b294565d60933577c241a6c89b9d2826c4aa3da9897ca16937ee96958a4e')
	conflicts=('davinci-resolve-beta' 'davinci-resolve' 'davinci-resolve-studio-beta')
else
# Variables for FREE edition
	pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
	_archive_name=DaVinci_Resolve_${pkgver}_Linux
	sha256sums=('7c1ef07b669f8d785a41fb2cfb530b2f43749424cf35b21e6df229445b2dcd7c')
	conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi

_archive=${_archive_name}.zip
_installer_binary=${_archive_name}.run

source=("${_archive}"::"$_srcurl")

prepare()
{
	# Remove udev rules (The official installer does not remove these files. This leads to the conflict "exists in the file system".)
	confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules 2> /dev/null | awk -F/ '{print $NF}'
               find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}'
               )
	if [ "${confiles}" ]; then
		msg2 "The file(s) $(echo ${confiles} | xargs | sed 's/ /, /g') already exist in your filesystem."
		msg2 "This can lead to a conflict and the installation will fail."
		msg2 "Please restart the installation with the --overwrite option."
	fi
}

package()
{
	msg2 "Creating missing folders..."
	mkdir -p -m 0775 "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}
	mkdir -p "${pkgdir}/usr/share/"{applications,desktop-directories,icons/hicolor,mime/packages}
#	mkdir -p "${pkgdir}/tmp/${_pkgname}/"{logs,GPUCache}
	mkdir -p "${pkgdir}/usr/lib/udev/rules.d"
	mkdir -p "${pkgdir}/etc/xdg/menus"

	msg2 "Extracting from bundle..."
	msg "Please wait, this take a while..."
	cd "${srcdir}" || exit
	./${_installer_binary} --appimage-extract
	rm -rf ${_installer_binary}
	cd squashfs-root
	./installer -i -y -n -a -C "${pkgdir}/opt/${_pkgname}" "$PWD"

	msg2 "Add lib symlinks..."
	cd "${pkgdir}/opt/${_pkgname}/" || exit
	ln -s /usr/lib/libcrypto.so.1.0.0 libs/libcrypto.so.10
	ln -s /usr/lib/libssl.so.1.0.0 libs/libssl.so.10

	msg2 "Install launchers and configs..."
	cd "${pkgdir}/opt/${_pkgname}/" || exit
	install -Dm666 share/default-config.dat "${pkgdir}/opt/${_pkgname}/configs/config.dat"
	install -Dm666 share/log-conf.xml "${pkgdir}/opt/${_pkgname}/configs/log-conf.xml"
	install -Dm666 share/default_cm_config.bin "${pkgdir}/opt/${_pkgname}/DolbyVision/config.bin"
	install -Dm644 share/DaVinciResolve.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}.desktop"
	install -Dm644 share/DaVinciControlPanelsSetup.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-Panels-Setup.desktop"
	install -Dm644 share/DaVinciResolveInstaller.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-Installer.desktop"
	install -Dm644 share/DaVinciResolveCaptureLogs.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-CaptureLogs.desktop"
	install -Dm644 share/blackmagicraw-player.desktop "${pkgdir}/usr/share/applications/blackmagicraw-player.desktop"
	install -Dm644 share/blackmagicraw-speedtest.desktop "${pkgdir}/usr/share/applications/blackmagicraw-speedtest.desktop"
	install -Dm644 share/DaVinciResolve.directory "${pkgdir}/usr/share/desktop-directories/${resolve_app_name}.directory"
	install -Dm644 share/DaVinciResolve.menu "${pkgdir}/etc/xdg/menus/${resolve_app_name}.menu"

	for _file in $(find ${pkgdir}/usr/share ${pkgdir}/etc -type f -name *.desktop -o -name *.directory -o -name *.menu | xargs)
	do
		sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" $_file
	done

	# This will help adding the app to favorites and prevent glitches on many desktops.
	echo "StartupWMClass=resolve" >> "${pkgdir}/usr/share/applications/${resolve_app_name}.desktop"

	msg2 "Creating and installing udev rules..."
	echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-davincipanel.rules"
	echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1edb", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-sdx.rules"
	chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules}

#	Not sure we need it
#	msg2 "Any final tweaks..."
#	ln -s "/tmp/${_pkgname}/logs" "${pkgdir}/opt/${_pkgname}/logs"
#	ln -s "/tmp/${_pkgname}/GPUCache" "${pkgdir}/opt/${_pkgname}/GPUCache"

	msg2 "Installing Application icons..."
	# Obviously not working without root rights.
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 "${pkgdir}/opt/${_pkgname}/graphics/DV_Resolve.png" DaVinci-Resolve 2>&1 >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 "${pkgdir}/opt/${_pkgname}/graphics/DV_ResolveProj.png" DaVinci-ResolveProj 2>&1 >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 --context mimetypes "${pkgdir}/opt/${_pkgname}/graphics/DV_ResolveProj.png" application-x-resolveproj 2>&1  >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/mime/packages" xdg-mime install --novendor "${pkgdir}/opt/${_pkgname}/share/resolve.xml" 2>&1  >> /dev/null
	install -D -m644 graphics/DV_Resolve.png "${pkgdir}/usr/share/icons/hicolor/64x64/apps/DV_Resolve.png"
	install -D -m644 graphics/DV_ResolveProj.png "${pkgdir}/usr/share/icons/hicolor/64x64/apps/DV_ResolveProj.png"

	install -D -m644 share/resolve.xml "${pkgdir}/usr/share/mime/packages/resolve.xml"
	
	msg2 "Setting the right permissions..."

	if [ ! "$(logname 2>&1 >/dev/null)" ]; then
		_user=$(logname)
		_group=$(id -g -n ${_user})
	else
		_user=root
		_group=root
	fi

	chown -R ${_user}:${_group} "${pkgdir}/opt/${_pkgname}/"{*,.*}
	chown -R ${_user}:root "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,logs,Media,'Resolve Disk Database',.crashreport,.license,.LUT}

	msg2 "Done!"
}

# vim: fileencoding=utf-8 sts=4 sw=4 noet

Beitrag geändert von Leon (08.05.2021 20:26:42)

Offline

#6 08.05.2021 20:48:15

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Klar. Am Ende.

Dein PKGBUILD aus dem letzten Post ist identisch zu meinem.

Ich mache folgendes:

[gerhard@ws01 vinci]$ patch --verbose --ignore-whitespace PKGBUILD diff -o PKGBUILD.new
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/PKGBUILD b/PKGBUILD
|index ec09c3b..0e1476d 100644
|--- a/PKGBUILD
|+++ b/PKGBUILD
--------------------------
patching file PKGBUILD.new (read from PKGBUILD)
Using Plan A...
patch: **** malformed patch at line 6: prepare()

Das ist, weil die o.a. Fehler im Diff aus den AUR-Kommentaren sind.

Ich editiere nun das Diff, indem ich ein Leerzeichen in Zeile 6 (prepare()) uhd 7 ({) dazugebe. Danach:

[gerhard@ws01 vinci]$ patch --verbose --ignore-whitespace PKGBUILD diff -o PKGBUILD.new
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/PKGBUILD b/PKGBUILD
|index ec09c3b..0e1476d 100644
|--- a/PKGBUILD
|+++ b/PKGBUILD
--------------------------
patching file PKGBUILD.new (read from PKGBUILD)
Using Plan A...
Hunk #1 succeeded at 96.
Hunk #2 succeeded at 123 (offset 1 line).
Hunk #3 succeeded at 159 with fuzz 2 (offset 1 line).
done

Der Patch läuft also durch, beim Hunk #3 muß patch allerdings etwas "nachdenken" (fuzz 2), entscheidet aber das die zu patchende Stelle korrekt ist (wohl weitere Leerstellen o.ä.)
In PKGBUILD.new ist nun der Code, ergänzt/editiert um die Stellen aus dem Diff.

Hier nun das Diff (schon mit Leerstellen) was ich aus dem AUR-Kommentar verwende. Damit solltest du genausoweit kommen wie ich:

diff --git a/PKGBUILD b/PKGBUILD
index ec09c3b..0e1476d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -96,7 +96,7 @@ source=("${_archive}"::"$_srcurl")
 prepare()
 {
    # Remove udev rules (The official installer does not remove these files. This leads to the conflict "exists in the file system".)
-   confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules 2> /dev/null | awk -F/ '{print $NF}'
+   confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules -o -name 75-davincikb.rules 2> /dev/null | awk -F/ '{print $NF}'
        find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}'
        )
    if [ "${confiles}" ]; then
@@ -122,6 +122,12 @@ package()
    cd squashfs-root
    ./installer -i -y -n -a -C "${pkgdir}/opt/${_pkgname}" "$PWD"

+   msg2 "Panel API..."
+   cd "${srcdir}/squashfs-root/share/panels"
+   tar xvzf dvpanel-framework-linux-x86_64.tgz
+   install -Dm644 libDaVinciPanelAPI.so "${pkgdir}/usr/lib/libDaVinciPanelAPI.so"
+   install -Dm644 libFairlightPanelAPI.so "${pkgdir}/usr/lib/libFairlightPanelAPI.so"
+   
    msg2 "Add lib symlinks..."
    cd "${pkgdir}/opt/${_pkgname}/" || exit
    ln -s /usr/lib/libcrypto.so.1.0.0 libs/libcrypto.so.10
@@ -152,7 +158,14 @@ package()
    msg2 "Creating and installing udev rules..."
    echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-davincipanel.rules"
    echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1edb", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-sdx.rules"
-   chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules}
+   cat > ${pkgdir}/usr/lib/udev/rules.d/75-davincikb.rules <<EOF
+SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="\$attr{bInterfaceNumber}"
+# Editor Keyboard
+SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0b", ENV{.LOCAL_ifNum}=="04", MODE="0666"
+# Speed Editor Keyboard
+SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0e", ENV{.LOCAL_ifNum}=="02", MODE="0666"
+EOF
+   chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules,75-davincikb.rules}

#   Not sure we need it
#   msg2 "Any final tweaks..."

Damit erhalte ich folgendes gepatchtes PKGBUILD.new

# Maintainer: Alex S. <shantanna_at_hotmail_dot_com>
# Contributor: Jonathon Fernyhough <jonathon_at_manjaro_dot_org>

# Hardware support is limited. Nvidia cards should work fine.
# If you're running a hybrid setup, try with primusrun/optirun.

# This was originally written by Daniel Bermond in blackmagic-decklink-sdk pkgbuild
# It is sufficient to just replace _downloadid to correspond new release version
# It can be obtained from chromium -> Developer Tools -> Network -> XHR -> click latest-version and copy downloadId
_downloadid='bf8c4f6eac894d4c84cfe9ba8518d388'
_referid='697bfa693faa49fbb785b2aedb584a8b'
_siteurl="https://www.blackmagicdesign.com/api/register/us/download/${_downloadid}"

_useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
                        AppleWebKit/537.36 (KHTML, like Gecko) \
                        Chrome/77.0.3865.75 \
                        Safari/537.36"

_reqjson="{ \
    \"firstname\": \"Arch\", \
    \"lastname\": \"Linux\", \
    \"email\": \"someone@archlinux.org\", \
    \"phone\": \"202-555-0194\", \
    \"country\": \"us\", \
    \"state\": \"New York\", \
    \"city\": \"AUR\", \
    \"product\": \"DaVinci Resolve Studio\" \
}"

_reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
_useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
_useragent_escaped="${_useragent// /\\ }"

_srcurl="$(curl \
            -s \
            -H 'Host: www.blackmagicdesign.com' \
            -H 'Accept: application/json, text/plain, */*' \
            -H 'Origin: https://www.blackmagicdesign.com' \
            -H "$_useragent" \
            -H 'Content-Type: application/json;charset=UTF-8' \
            -H "Referer: https://www.blackmagicdesign.com/support/download/${_referid}/Linux" \
            -H 'Accept-Encoding: gzip, deflate, br' \
            -H 'Accept-Language: en-US,en;q=0.9' \
            -H 'Authority: www.blackmagicdesign.com' \
            -H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \
            --data-ascii "$_reqjson" \
            --compressed \
            "$_siteurl")"

DLAGENTS=("https::/usr/bin/curl \
              -gqb '' -C - --retry 3 --retry-delay 3 \
              -H Host:\ sw.blackmagicdesign.com \
              -H Upgrade-Insecure-Requests:\ 1 \
              -H ${_useragent_escaped} \
              -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
              -H Accept-Language:\ en-US,en;q=0.9 \
              -o %o \
              --compressed \
              %u")


pkgname=davinci-resolve-studio
_pkgname=resolve
resolve_app_name=com.blackmagicdesign.resolve
pkgver=17.1.1
pkgrel=1
arch=('any')
url="https://www.blackmagicdesign.com/support/family/davinci-resolve-and-fusion"
license=('Commercial')
depends=('glu' 'gtk2' 'gstreamer' 'libpng12' 'lib32-libpng12' 'ocl-icd' 'openssl-1.0' 'fuse2'
         'opencl-driver' 'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-webengine' 'qt5-websockets')
makedepends=('libarchive' 'xdg-user-dirs')
options=('!strip')
provides=('davinci-resolve')
install=davinci-resolve.install

if [ ${pkgname} == "davinci-resolve-studio" ]; then
# Variables for STUDIO edition
	pkgdesc='Professional A/V post-production software suite from Blackmagic Design. Studio edition, requires license key or license dongle.'
	_archive_name=DaVinci_Resolve_Studio_${pkgver}_Linux
	sha256sums=('22a1b294565d60933577c241a6c89b9d2826c4aa3da9897ca16937ee96958a4e')
	conflicts=('davinci-resolve-beta' 'davinci-resolve' 'davinci-resolve-studio-beta')
else
# Variables for FREE edition
	pkgdesc='Professional A/V post-production software suite from Blackmagic Design'
	_archive_name=DaVinci_Resolve_${pkgver}_Linux
	sha256sums=('7c1ef07b669f8d785a41fb2cfb530b2f43749424cf35b21e6df229445b2dcd7c')
	conflicts=('davinci-resolve-studio' 'davinci-resolve-beta' 'davinci-resolve-studio-beta')
fi

_archive=${_archive_name}.zip
_installer_binary=${_archive_name}.run

source=("${_archive}"::"$_srcurl")

prepare()
{
	# Remove udev rules (The official installer does not remove these files. This leads to the conflict "exists in the file system".)
   confiles=$(find /usr/lib/udev/rules.d -name 75-davincipanel.rules -o -name 75-sdx.rules -o -name 75-davincikb.rules 2> /dev/null | awk -F/ '{print $NF}'
               find /opt/resolve/configs -name log-conf.xml -o -name config.dat 2> /dev/null | awk -F/ '{print $NF}'
               )
	if [ "${confiles}" ]; then
		msg2 "The file(s) $(echo ${confiles} | xargs | sed 's/ /, /g') already exist in your filesystem."
		msg2 "This can lead to a conflict and the installation will fail."
		msg2 "Please restart the installation with the --overwrite option."
	fi
}

package()
{
	msg2 "Creating missing folders..."
	mkdir -p -m 0775 "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,GPUCache,logs,Media,"Resolve Disk Database",.crashreport,.license,.LUT}
	mkdir -p "${pkgdir}/usr/share/"{applications,desktop-directories,icons/hicolor,mime/packages}
#	mkdir -p "${pkgdir}/tmp/${_pkgname}/"{logs,GPUCache}
	mkdir -p "${pkgdir}/usr/lib/udev/rules.d"
	mkdir -p "${pkgdir}/etc/xdg/menus"

	msg2 "Extracting from bundle..."
	msg "Please wait, this take a while..."
	cd "${srcdir}" || exit
	./${_installer_binary} --appimage-extract
	rm -rf ${_installer_binary}
	cd squashfs-root
	./installer -i -y -n -a -C "${pkgdir}/opt/${_pkgname}" "$PWD"

   msg2 "Panel API..."
   cd "${srcdir}/squashfs-root/share/panels"
   tar xvzf dvpanel-framework-linux-x86_64.tgz
   install -Dm644 libDaVinciPanelAPI.so "${pkgdir}/usr/lib/libDaVinciPanelAPI.so"
   install -Dm644 libFairlightPanelAPI.so "${pkgdir}/usr/lib/libFairlightPanelAPI.so"
   
	msg2 "Add lib symlinks..."
	cd "${pkgdir}/opt/${_pkgname}/" || exit
	ln -s /usr/lib/libcrypto.so.1.0.0 libs/libcrypto.so.10
	ln -s /usr/lib/libssl.so.1.0.0 libs/libssl.so.10

	msg2 "Install launchers and configs..."
	cd "${pkgdir}/opt/${_pkgname}/" || exit
	install -Dm666 share/default-config.dat "${pkgdir}/opt/${_pkgname}/configs/config.dat"
	install -Dm666 share/log-conf.xml "${pkgdir}/opt/${_pkgname}/configs/log-conf.xml"
	install -Dm666 share/default_cm_config.bin "${pkgdir}/opt/${_pkgname}/DolbyVision/config.bin"
	install -Dm644 share/DaVinciResolve.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}.desktop"
	install -Dm644 share/DaVinciControlPanelsSetup.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-Panels-Setup.desktop"
	install -Dm644 share/DaVinciResolveInstaller.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-Installer.desktop"
	install -Dm644 share/DaVinciResolveCaptureLogs.desktop "${pkgdir}/usr/share/applications/${resolve_app_name}-CaptureLogs.desktop"
	install -Dm644 share/blackmagicraw-player.desktop "${pkgdir}/usr/share/applications/blackmagicraw-player.desktop"
	install -Dm644 share/blackmagicraw-speedtest.desktop "${pkgdir}/usr/share/applications/blackmagicraw-speedtest.desktop"
	install -Dm644 share/DaVinciResolve.directory "${pkgdir}/usr/share/desktop-directories/${resolve_app_name}.directory"
	install -Dm644 share/DaVinciResolve.menu "${pkgdir}/etc/xdg/menus/${resolve_app_name}.menu"

	for _file in $(find ${pkgdir}/usr/share ${pkgdir}/etc -type f -name *.desktop -o -name *.directory -o -name *.menu | xargs)
	do
		sed -i "s|RESOLVE_INSTALL_LOCATION|/opt/${_pkgname}|g" $_file
	done

	# This will help adding the app to favorites and prevent glitches on many desktops.
	echo "StartupWMClass=resolve" >> "${pkgdir}/usr/share/applications/${resolve_app_name}.desktop"

	msg2 "Creating and installing udev rules..."
	echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="096e", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-davincipanel.rules"
	echo 'SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ATTRS{idVendor}=="1edb", MODE="0666"' > "${pkgdir}/usr/lib/udev/rules.d/75-sdx.rules"
   cat > ${pkgdir}/usr/lib/udev/rules.d/75-davincikb.rules <<EOF
SUBSYSTEMS=="usb", ENV{.LOCAL_ifNum}="\$attr{bInterfaceNumber}"
# Editor Keyboard
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0b", ENV{.LOCAL_ifNum}=="04", MODE="0666"
# Speed Editor Keyboard
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1edb", ATTRS{idProduct}=="da0e", ENV{.LOCAL_ifNum}=="02", MODE="0666"
EOF
   chmod 644 "${pkgdir}/usr/lib/udev/rules.d/"{75-davincipanel.rules,75-sdx.rules,75-davincikb.rules}

#	Not sure we need it
#	msg2 "Any final tweaks..."
#	ln -s "/tmp/${_pkgname}/logs" "${pkgdir}/opt/${_pkgname}/logs"
#	ln -s "/tmp/${_pkgname}/GPUCache" "${pkgdir}/opt/${_pkgname}/GPUCache"

	msg2 "Installing Application icons..."
	# Obviously not working without root rights.
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 "${pkgdir}/opt/${_pkgname}/graphics/DV_Resolve.png" DaVinci-Resolve 2>&1 >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 "${pkgdir}/opt/${_pkgname}/graphics/DV_ResolveProj.png" DaVinci-ResolveProj 2>&1 >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/icons/hicolor" xdg-icon-resource install --size 64 --context mimetypes "${pkgdir}/opt/${_pkgname}/graphics/DV_ResolveProj.png" application-x-resolveproj 2>&1  >> /dev/null
#	XDG_DATA_DIRS="${pkgdir}/usr/share/mime/packages" xdg-mime install --novendor "${pkgdir}/opt/${_pkgname}/share/resolve.xml" 2>&1  >> /dev/null
	install -D -m644 graphics/DV_Resolve.png "${pkgdir}/usr/share/icons/hicolor/64x64/apps/DV_Resolve.png"
	install -D -m644 graphics/DV_ResolveProj.png "${pkgdir}/usr/share/icons/hicolor/64x64/apps/DV_ResolveProj.png"

	install -D -m644 share/resolve.xml "${pkgdir}/usr/share/mime/packages/resolve.xml"
	
	msg2 "Setting the right permissions..."

	if [ ! "$(logname 2>&1 >/dev/null)" ]; then
		_user=$(logname)
		_group=$(id -g -n ${_user})
	else
		_user=root
		_group=root
	fi

	chown -R ${_user}:${_group} "${pkgdir}/opt/${_pkgname}/"{*,.*}
	chown -R ${_user}:root "${pkgdir}/opt/${_pkgname}/"{configs,DolbyVision,easyDCP,Fairlight,logs,Media,'Resolve Disk Database',.crashreport,.license,.LUT}

	msg2 "Done!"
}

# vim: fileencoding=utf-8 sts=4 sw=4 noet

Ich drücke die Daumen, daß der Patch für dieses SpeedDingsbums auch funktioniert...
Die Änderungen im Patch sehen zumindest "glaubwürdig" aus ;-)

//Edit:
Vor dem Bauen mit dem neuen PKGBUILD würde ich an deiner Stelle noch die Zeile mit
pkgrel=1
um Eins erhöhen (also pkgrel=2). Das erleichtert dir das Update des bestehenden Paketes und du kannst ggf. wieder ein "Downgrade" auf die jetzige, funktionierende Version -1 machen wenn du das Paket noch (ggf. im Cache) hast.

Beitrag geändert von GerBra (08.05.2021 20:57:31)

Offline

#7 08.05.2021 21:00:50

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Ich danke dir erstmal für deine Mühe, das problem scheint leider noch zu bestehen. ich habe mit makepkg -fsi das paket neugebaut. Das sollte doch richtig sein oder?

Offline

#8 08.05.2021 21:15:43

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Ich baue mit makepkg eigentlich immer nur das Paket und installiere/upgrade es dann mit pacman. Also ohne die Optionen --force und --install.

Da durch den Patch udev-Regeln neu hinzugekommen sind: Hast du dich als User mal ab- und wieder angemeldet, zur Not den PC mal gestartet? Evtl. greifen diese erst dann.

Soweit ich den Patch verstanden habe werden v.a. udev-Regeln bzgl. Tastatur-Nutzung (Editor Keyboard /Speed Editor Keyboard) hinzugefügt und zwei Bibliotheken aus dem Originalpaket mit hinzugefügt (libDaVinciPanelAPI.so und libFairlightPanelAPI.so).

Beitrag geändert von GerBra (08.05.2021 21:16:18)

Offline

#9 08.05.2021 21:22:58

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Leider hat das auch nicht geholfen. Ich verstehe nicht, warum der Speed Editor als Root funktioniert und als user nicht?
Das schlimme ist, das dies mal lief und das ohne Patch. verstehe nicht wo das problem ist.

Beitrag geändert von Leon (08.05.2021 21:29:35)

Offline

#10 08.05.2021 21:30:17

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Da kann ich dir leider dann nicht weiterhelfen, ich weiß nicht mal was dieser SpeedEditor machen kann/soll.

Allgemein: Meist sind es fehlende Berechtigungen für Gerätezugriffe. Dieses Programm macht doch etwas mit Audio/Video, oder?
In welchen Gruppen ist dein User?
Evtl. diesen mal zu den Gruppen audio und video hinzufügen.

//Edit: Und evtl. auch mal mit einem komplett neuen User austesten. Dieser bekommt dann ja "aktuelle, neue" Configs verpaßt. Wenn es mit dem neuen User funktionieren sollte, dann liegt dein "Problem" im $HOME des Originalusers.

Beitrag geändert von GerBra (08.05.2021 21:34:06)

Offline

#11 08.05.2021 21:38:37

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Das ist eine gute Idee, aber das Problem habe ich auch mit neu installierten System, selbst auf Manjaro hatte ich das Problem. Der Speed Editor ist ein Keyboard für die Videobearbeitung: https://www.blackmagicdesign.com/de/med … 0201109-02
damit kannst du wenn man geübt ein schnelleren Schnitt schaffen. Der Workflow ist dadurch angehoben.

Mein User ist in wheel, audio, video.

Nachtrag: Du hattest recht, neuer Benutzer und davinci läuft mit Speed Editor.
Wie kann das sein und wie kann ich die Settings auch im meinem Nutzer verwenden?

Natürlich könnte man das so lassen aber... ?

Beitrag geändert von Leon (08.05.2021 21:45:37)

Offline

#12 08.05.2021 22:04:02

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Die Lösung ist eigentlich ganz einfach:

1. Neuer Benutzer Erstellen (Systemverwalter)
2. Abmelden
3. Mit neuem Benutzer Anmelden
4. Davinci mit eingestecktem Speed Editor Starten.
5. Wenn es funktioniert, wenn Abmelden.
6. Danach die Settings von dem davinci Benutzer /home/davincibenutzer/.cache und .locale nach seinem kopieren.
7. Fertig!

Ich danke dir für den Lehrreichen Tag, hab ne menge über Diffs gelernt.

Liebe Grüße
Leon

Offline

#13 08.05.2021 22:09:13

GerBra
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

//Edit: Habe gerade deinen "Erfolg" gesehen. Juchu <g>
Ja, User-Konfigs werden ja durch ein Paketupdate nicht aktualisiert. Normalerweise muß sich das Programm um sowas kümmern. Oftmals passiert es aber, daß "alte" Einträge ein Programm durcheinander bringen.
Deshalb gebe ich oft den Tip, es einfach mal mit einem neuen User zu versuchen, d.h. dieser bekommt dann auf jedefall "neue", hoffentlich passende Configs. Dient zur einfachen, "kostenlosen" Fehlereingrenzung...
Freut mich!

------------------------------------------

Gut, dann macht das im Diff mit den Udev-Regeln ja noch mehr "Sinn".

Nach der Installation des neuen Paketes hast du auch:
In /usr/lib/udev/rules.d/ die neuen 75-davincipanel.rules und 75-davincikb.rules ?
In /usr/lib/ sind die beiden libDaVinciPanelAPI.so und libFairlightPanelAPI.so ?
Nur um sicherzugehen, daß das neue Paket auch richtig installiert wurde.

Für dieses "Keyboard" müßte ja ein Device auftauchen, eigentlich unter:
/sys/class/hidraw/
Man könnte ggf. mit
udevadm monitor
mal ein an-/abstöpseln des Keyboards beobachten, ob da die Regeln greifen. Bin ich aber auch nicht sehr fit drin.

Deine Ausgaben im ersten Post zwischen User/Root zeigen IMHO auch nichts was beide unterscheiden würde (ich kann nirgendwo etwas rauslesen/finden was auf dieses SpeedEditor hinweisen würde.

Schon mal über eine Anfrage beim Hersteller nachgedacht? Ein lizenziertes Programm + Hardware sollte ja einen gewissen Support ermöglichen (Naivitäts-Modus!)

Ansonsten muß ich hier dann leider "passen", ich kann halt nix nachvollziehen... Sorry

Beitrag geändert von GerBra (08.05.2021 22:16:01)

Offline

#14 08.05.2021 22:49:56

Leon
Mitglied

Re: Davinci Resolve Studio - Speed Editor funktionieren nur als root

Ne alles gut, es läuft ja jetzt alles. Ich bin mit dem Ergebnis mehr als zufrieden smile
Endlich das merkwürdige Problem gelöst. Ja das mit dem neuen User ist ein Super tipp.

Ich hoffe das kommt jetzt nicht unverschämt rüber:
In meinem Post wegen der Grub.cfg: Habe ich am Ende beschrieben warum das ganze passiert ist.
vielleicht hast du ja auch eine Idee warum der Grub nicht im UEFI Bios gefunden wurden ist?

Das ganze schlaucht mich schon irgendwie. Es ist zwar toll das jetzt alles läuft, aber die Lösung ist nicht optimal...

Liebe Grüße
Leon

Offline

Schnellantwort auf dieses Thema

Schreibe deinen Beitrag und versende ihn
Deine Antwort

Fußzeile des Forums