Now that the slowness in the UI has been addressed, I have two small issues running latest UB19 static user builds on Pop!_OS 19.10:
1. I don't see PulseAudio among Audio Driver option in PlayBack settings, and sound output does not work using "default" output, only if I pick one of the sound devices. But then changing the volume using the system does't affect CinGG, it always play with the same level. Using the latest static Arch build on Manjaro works tho, so I guess it is something related to Pop_OS/Ubuntu.
2. Enabling vaapi in "Use HW Device" in Performance section causes an error when loading JPG and PNG images (it works if I disable temporary "ffmpeg first" in program window), the error I see in terminal is:
Cinelerra Infinity - built: Apr 6 2020 20:16:15
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
init plugin index: /home/lfom/Applications/cinelerra_testing/plugins
init lv2 index:
init ladspa index: /home/lfom/Applications/cinelerra_testing/ladspa
FFStream::decode: avcodec_send_packet failed.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFStream::decode: failed
HW device init failed, using SW decode.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
Some more info that may help troubleshooting:
$ vainfo --display drm
libva info: VA-API version 1.5.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.5 (libva 2.5.0)
vainfo: Driver version: Intel i965 driver for Intel(R) CherryView - 2.3.0
$ inxi -F
System:
Host: miix320-pop Kernel: 5.3.0-7642-generic x86_64 bits: 64
Desktop: Gnome 3.34.3 Distro: Pop!_OS 19.10
Machine:
Type: Detachable System: LENOVO product: 80XF v: Lenovo MIIX 320-10ICR
serial: <root required>
Mobo: LENOVO model: LNVNB161216 v: SDK0J91196WIN serial: <root required>
UEFI: LENOVO v: 5HCN39WW date: 05/11/2018
Battery:
ID-1: BAPM charge: 33.3 Wh condition: 33.3/33.3 Wh (100%)
CPU:
Topology: Quad Core model: Intel Atom x5-Z8350 bits: 64 type: MCP
L2 cache: 1024 KiB
Speed: 480 MHz min/max: 480/1920 MHz Core speeds (MHz): 1: 480 2: 480 3: 578
4: 583
Graphics:
Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated
Graphics
driver: i915 v: kernel
Display: wayland server: X.Org 1.20.5 driver: i915 resolution: 1280x800~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (Cherrytrail) v: 4.5 Mesa 19.2.8
Audio:
Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series
Imaging Unit
driver: intel_atomisp2_pm
Sound Server: ALSA v: k5.3.0-7642-generic
Network:
Device-1: Intel Wireless 3165 driver: iwlwifi
IF: wlp1s0 state: up mac: 74:70:fd:90:af:e7
IF-ID-1: anbox0 state: unknown speed: N/A duplex: N/A mac: 3a:8d:59:d1:97:b6
IF-ID-2: virbr0 state: down mac: 52:54:00:03:91:59
IF-ID-3: virbr0-nic state: down mac: 52:54:00:03:91:59
Drives:
Local Storage: total: 116.48 GiB used: 94.51 GiB (81.1%)
ID-1: /dev/mmcblk0 model: DF4128 size: 116.48 GiB
Partition:
ID-1: / size: 41.81 GiB used: 36.18 GiB (86.5%) fs: ext4 dev: /dev/mmcblk0p8
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 252 Uptime: 13h 53m Memory: 3.71 GiB used: 1.61 GiB (43.3%)
Shell: zsh inxi: 3.0.36
$ pulseaudio --version
pulseaudio 12.2-2
1. Ubuntu19 is not LTS and so has been just built for use when it was requested so when Pulse Audio became available the standard Operating Systems used for builds had another library loaded in conjunction. Ubuntu19 was only on a SanDisk and not upgraded. Anyway, gg added Pulse Audio and created a static tar which now includes it and you will see it as available in Settings->Preferences, Playback A. It is at:
https://www.cinelerra-gg.org/download/testing/cinelerra-5.1-ub19-x86_64-static.txz
The good news is that more improvements to the "line drawing" are included in this tar also. The previous tar is still available in case the line drawing has problems -- hopefully, audio waveforms will be slightly better when drawing but we are not sure if this is true.
2. Your vaapi driver is at 1.5.0. Mine is at 1.6.0 and png's load correctly (not black blobs) as a fallback with "use ffmpeg first". I do not know if the level of the driver is the cause of this problem. I did note that in the previous UI/UX speed problem, MatN stated that it also loaded OK for him. However, there is some debug you can turn on to help us determine if there is some problem that we might be able to workaround. For debugging problems, modify in the Cinelerra ffmpeg subdirectory, the file: decode.opts by temporarily changing the line from "loglevel =fatal" to "loglevel =verbose" and restarting Cinelerra from a terminal window where a lot of messages will be shown. Let us know what these are.
The "err: Invalid argument" that you are showing is strange as it says it is " using SW decode" so should work. Will wait for more information.
Great! PulseAudio works as expected in the testing build. Alsa still does not work using the "default" output, but as PulseAudio works (with system volume), and you said that non LTS versions aren't officially supported, than I guess it is not important. Just for the record, the error that is shown when I try to play something in the timeline with Alsa set to default:
Cinelerra Infinity - built: Apr 7 2020 19:11:20
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
init plugin index: /home/lfom/Applications/cinelerra_testing_pulseaudio/plugins
init lv2 index:
init ladspa index: /home/lfom/Applications/cinelerra_testing_pulseaudio/ladspa
FFMPEG::open_decoder: some stream times estimated: /home/lfom/Music/SUNSET_BEACH.m4a.513024.proxy.mkv
[AVIOContext @ 0x7f84c4252100] Statistics: 65656 bytes read, 2 seeks
FFMPEG::open_decoder: some stream times estimated: /home/lfom/Music/SUNSET_BEACH.m4a.513024.proxy.mkv
[AVIOContext @ 0x7f84c424b8c0] Statistics: 65656 bytes read, 2 seeks
FFMPEG::open_decoder: some stream times estimated: /home/lfom/Music/SUNSET_BEACH.m4a.513024.proxy.mkv
[opus @ 0x7f84bc043ac0] Could not update timestamps for skipped samples.
FFMPEG::open_decoder: some stream times estimated: /home/lfom/Music/SUNSET_BEACH.m4a.513024.proxy.mkv
[opus @ 0x7f84bc2230c0] Could not update timestamps for skipped samples.
[AVIOContext @ 0x7f84bc1e1940] Statistics: 65656 bytes read, 2 seeks
[AVIOContext @ 0x7f84bc1e5d00] Statistics: 65656 bytes read, 2 seeks
FFMPEG::open_decoder: some stream times estimated: /home/lfom/Music/SUNSET_BEACH.m4a.513024.proxy.mkv
[opus @ 0x7f8468041dc0] Could not update timestamps for skipped samples.
AudioALSA::write_buffer err -32(Broken pipe) at sample 16384
AudioALSA::write_buffer err -32(Broken pipe) at sample 32768
AudioALSA::write_buffer err -32(Broken pipe) at sample 49152
AudioALSA::write_buffer err -32(Broken pipe) at sample 65536
AudioALSA::write_buffer err -32(Broken pipe) at sample 81920
AudioALSA::write_buffer err -32(Broken pipe) at sample 98304
For some reason, now PNG works with the latest UB19 testing builds, as well as some JPGs. The one I used for the slow UI bug report still doesn't work, but as PNG works now I tested with another JPG and CingGG showed a warning about the dimensions but displayed it correctly. This is the log when I tried to load the problematic JPG and some other PNG:
Cinelerra Infinity - built: Apr 7 2020 19:11:20
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.
[AVIOContext @ 0x7fc75c1f77c0] Statistics: 217045 bytes read, 0 seeks
[AVIOContext @ 0x7fc75c1ef6c0] Statistics: 217045 bytes read, 0 seeks
[AVIOContext @ 0x7fc790017040] Statistics: 217045 bytes read, 0 seeks
[AVHWDeviceContext @ 0x7fc79000bd00] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x7fc79000bd00] libva: VA-API version 1.5.0
[AVHWDeviceContext @ 0x7fc79000bd00] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x7fc79000bd00] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
[AVHWDeviceContext @ 0x7fc79000bd00] libva: Found init function __vaDriverInit_1_4
[AVHWDeviceContext @ 0x7fc79000bd00] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x7fc79000bd00] Initialised VAAPI connection: version 1.5
[AVHWDeviceContext @ 0x7fc79000bd00] VAAPI driver: Intel i965 driver for Intel(R) CherryView - 2.3.0.
[AVHWDeviceContext @ 0x7fc79000bd00] Driver not found in known nonstandard list, using standard behaviour.
[mjpeg @ 0x7fc790017700] Codec mjpeg profile 194 not supported for hardware decode.
[mjpeg @ 0x7fc790017700] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
[mjpeg @ 0x7fc790017700] Invalid return from get_format(): vaapi_vld not in possible list.
FFStream::decode: avcodec_send_packet failed.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFStream::decode: failed
HW device init failed, using SW decode.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/App-Chromium-icon.png
[AVIOContext @ 0x7fc72c360bc0] Statistics: 4995 bytes read, 0 seeks
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/App-Chromium-icon.png
[AVIOContext @ 0x7fc72c3587c0] Statistics: 4995 bytes read, 0 seeks
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/App-Chromium-icon.png
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/App-Chromium-icon.png
Decoder png does not support device type vaapi.
[AVIOContext @ 0x7fc75c1de7c0] Statistics: 4995 bytes read, 0 seeks
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFStream::decode: failed
HW device init failed, using SW decode.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
[AVIOContext @ 0x7f84e000d700] Statistics: 217045 bytes read, 0 seeks
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/100877_microsoft_512x512.png
[AVIOContext @ 0x7f84681da7c0] Statistics: 3853 bytes read, 0 seeks
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/100877_microsoft_512x512.png
[AVIOContext @ 0x7f84681d4040] Statistics: 3853 bytes read, 0 seeks
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/100877_microsoft_512x512.png
Decoder png does not support device type vaapi.
[AVIOContext @ 0x7f8484099380] Statistics: 217045 bytes read, 0 seeks
[AVHWDeviceContext @ 0x7f8484091200] Trying to use DRM render node for device 0.
[AVHWDeviceContext @ 0x7f8484091200] libva: VA-API version 1.5.0
[AVHWDeviceContext @ 0x7f8484091200] libva: va_getDriverName() returns 0
[AVHWDeviceContext @ 0x7f8484091200] libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
[AVHWDeviceContext @ 0x7f8484091200] libva: Found init function __vaDriverInit_1_4
[AVHWDeviceContext @ 0x7f8484091200] libva: va_openDriver() returns 0
[AVHWDeviceContext @ 0x7f8484091200] Initialised VAAPI connection: version 1.5
[AVHWDeviceContext @ 0x7f8484091200] VAAPI driver: Intel i965 driver for Intel(R) CherryView - 2.3.0.
[AVHWDeviceContext @ 0x7f8484091200] Driver not found in known nonstandard list, using standard behaviour.
[mjpeg @ 0x7f8484095ec0] Codec mjpeg profile 194 not supported for hardware decode.
[mjpeg @ 0x7f8484095ec0] Failed setup for format vaapi_vld: hwaccel initialisation returned error.
[mjpeg @ 0x7f8484095ec0] Invalid return from get_format(): vaapi_vld not in possible list.
FFStream::decode: avcodec_send_packet failed.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFStream::decode: failed
HW device init failed, using SW decode.
file:/home/lfom/Pictures/dog-838281_1920.jpg
err: Invalid argument
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/100877_microsoft_512x512.png
Decoder png does not support device type vaapi.
FFMPEG::open_decoder: some stream have bad times: /home/lfom/Pictures/App-Chromium-icon.png
Decoder png does not support device type vaapi.
Last but not least, I also saw a little improvement with the wave forms with the new version. Amazing!
Thanks a lot for the working PulseAudio version!
Regards
Hello!
I just wanted to report that the latest ub20 build from 20200531 (non-static) works very well on Pop!_OS 20.04 (based on focal fossa): ALSA sound output works fine, as well as importing images (both PNG and JPG in my tests) even with VAAPI enabled. I am still trying to get used to Cinelerra GG since it is so powerful, but still have some issues with the workflow, hopefully it will improve after some more time using it. Thanks again for all the replies I got here.
Regards,
LFOM