[Решено] Не работает cinelerra

Софт под Linux, разные программы, но только связанные с Linux

Модератор: /dev/random

Ответить
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

[Решено] Не работает cinelerra

Сообщение Yaros »

Собрал cinelerra из репозитория. При попытке запустить - ничего не происходит. Т.е. софт вроде как и запускается, но ничего на экране не отображается. При попытке запустить из терминала:

Код: Выделить всё

 $ cinelerra
Cinelerra 2.2CV  Gentoo - 20120707
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2011 The CinelerraCV Community
External ffmpeg
Compiled on Пн апр 13 13:21:57 MSK 2015

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.

и висит. Прерывается по ^C, Интерфейс не отображается, вообще вся программа не отображается, хотя ps находит процесс. В чем может быть проблема и как ее вылечить?
Немного о системе:

Код: Выделить всё

 $ uname -a
Linux DragonReborn 3.18.9-gentoo #2 SMP Wed Apr 1 02:52:49 MSK 2015 x86_64 Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz GenuineIntel GNU/Linux
 $ emerge -vp cinelerra
[ebuild   R    ] media-video/cinelerra-20120707  USE="alsa opengl (-altivec) -css -ieee1394 -oss" CPU_FLAGS_X86="mmx -3dnow" 0 KiB
 $ xmonad --version
xmonad 0.11
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

Запуск под отладчиком выдал следующее:

Код: Выделить всё

 $ gdb cinelerra
GNU gdb (Gentoo 7.7.1 p1) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cinelerra...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/cinelerra
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Cinelerra 2.2CV  Gentoo - 20120707
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2011 The CinelerraCV Community
External ffmpeg
Compiled on Пн апр 13 13:21:57 MSK 2015

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.
[New Thread 0x7fffec97c700 (LWP 4585)]

=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Аватара пользователя
igor_ubuntu
Сообщения: 20
Контактная информация:

Re: [Решено] Не работает cinelerra

Сообщение igor_ubuntu »

Cinelerra 2.2CV Gentoo - 20120707
У вас очень старая версия в репах.

Соберите программу из официального git
https://github.com/cinelerra-cv-team/cinelerra-cv

git clone https://github.com/cinelerra-cv-team/cinelerra-cv.git cinelerra-cv
git pull
./autogen.sh
./configure --prefix=/opt/cv_main_git --with-buildinfo=git/recompile
make
make install
Последний раз редактировалось igor_ubuntu 08.07.2020 23:52, всего редактировалось 1 раз.
Спасибо сказали:
Аватара пользователя
igor_ubuntu
Сообщения: 20
Контактная информация:

Re: [Решено] Не работает cinelerra

Сообщение igor_ubuntu »

Дабы не возникало вопросов совместимости, лучше собирать ее с --prefix=/opt/cincv_main_git
Тогда, после make install, все ее каталоги будут находиться в /opt/cincv_main_git (вы можете назначить любое имя вместо cincv_main_git) и оттуда ее можно будет запускать
$ /opt/cincv_main_git/bin/cinelerra

Это я не столько вам, опытному пользователю, сколько вообще...
:-)
Кстати, поступая таким образом, вы можете иметь неограниченное количество сборок программы в одной системе.
Не забывайте только удалять каталог настроек (при необходимости)
/home/user/.bcast
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

Попробовал и версию из git, и 20140710 из ~amd64.
Поведение такое же =(
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
NickLion
Сообщения: 3408
Статус: аватар-невидимка
ОС: openSUSE Tumbleweed x86_64

Re: [Решено] Не работает cinelerra

Сообщение NickLion »

gdb cinelerra
подождать немного и Ctrl+C
info threads
bt
(для каждого другого (который не был отмечен *) потока:)
thread # (вместо # — Id из списка, который был выдан info threads)
bt

PS и да, собирайте лучше с отладочной информацией и не strip'айте.
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

Код: Выделить всё

(gdb) run
Starting program: /usr/bin/cinelerra
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Cinelerra-CV 2.2  Gentoo - 20140710
(C) 2006 Heroine Virtual Ltd.
(C) 2006-2014 The CinelerraCV Community
External ffmpeg
Compiled on Tue Apr 14 13:17:06 MSK 2015

Cinelerra-CV 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-CV.
[New Thread 0x7fffe9743700 (LWP 14419)]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff259696d in poll () from /lib64/libc.so.6
(gdb) info threads
  Id   Target Id         Frame
  2    Thread 0x7fffe9743700 (LWP 14419) "cinelerra" 0x00007ffff2d6a53f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
* 1    Thread 0x7ffff7fb2800 (LWP 14415) "cinelerra" 0x00007ffff259696d in poll () from /lib64/libc.so.6
(gdb) bt 2
#0  0x00007ffff259696d in poll () from /lib64/libc.so.6
#1  0x00007fffeca19932 in ?? () from /usr/lib64/libxcb.so.1
(More stack frames follow...)
(gdb) thread 2
[Switching to thread 2 (Thread 0x7fffe9743700 (LWP 14419))]
#0  0x00007ffff2d6a53f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fb2800 (LWP 14415))]
#0  0x00007ffff259696d in poll () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff259696d in poll () from /lib64/libc.so.6
#1  0x00007fffeca19932 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fffeca1b537 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ffff03868f8 in _XReadEvents () from /usr/lib64/libX11.so.6
#4  0x00007ffff0375c28 in XNextEvent () from /usr/lib64/libX11.so.6
#5  0x00007ffff7227b0c in BC_DisplayInfo::test_window(int&, int&, int&, int&, int, int) () from /usr/lib64/libguicast.so.1
#6  0x00007ffff7227cac in BC_DisplayInfo::init_borders() () from /usr/lib64/libguicast.so.1
#7  0x00007ffff7227cf9 in BC_DisplayInfo::get_left_border() () from /usr/lib64/libguicast.so.1
#8  0x00007ffff7257706 in BC_WindowBase::create_window(BC_WindowBase*, char const*, int, int, int, int, int, int, int, int, int, int, char const*, int, BC_Pixmap*, int) () from /usr/lib64/libguicast.so.1
#9  0x00007ffff72520c3 in BC_Window::BC_Window(char const*, int, int, int, int, int, int, int, int, int, int, char const*, int) () from /usr/lib64/libguicast.so.1
#10 0x0000000000630104 in SplashGUI::SplashGUI(VFrame*, int, int) ()
#11 0x00000000005c53b8 in MWindow::show_splash() ()
#12 0x00000000005c8b28 in MWindow::create_objects(int, int, char*) ()
#13 0x00000000004f7143 in main ()

Кажется, его чем-то иксовые библиотеки не устраивают.
P.S. Не понял что Вы в постскриптуме имели в виду =)
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

Так же, по просьбе NickLion, пересобрал с USE-флагом debug.

Код: Выделить всё

(gdb) thread 1
[Switching to thread 1 (Thread 0x7ffff7fb2800 (LWP 22486))]
#0  0x00007ffff259696d in poll () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff259696d in poll () from /lib64/libc.so.6
#1  0x00007fffeca19932 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fffeca1b537 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ffff03868f8 in _XReadEvents () from /usr/lib64/libX11.so.6
#4  0x00007ffff0375c28 in XNextEvent () from /usr/lib64/libX11.so.6
#5  0x00007ffff7227b5c in BC_DisplayInfo::test_window(int&, int&, int&, int&, int, int) () from /usr/lib64/libguicast.so.1
#6  0x00007ffff7227cfc in BC_DisplayInfo::init_borders() () from /usr/lib64/libguicast.so.1
#7  0x00007ffff7227d49 in BC_DisplayInfo::get_left_border() () from /usr/lib64/libguicast.so.1
#8  0x00007ffff72577e6 in BC_WindowBase::create_window(BC_WindowBase*, char const*, int, int, int, int, int, int, int, int, int, int, char const*, int, BC_Pixmap*, int) () from /usr/lib64/libguicast.so.1
#9  0x00007ffff72521a3 in BC_Window::BC_Window(char const*, int, int, int, int, int, int, int, int, int, int, char const*, int) () from /usr/lib64/libguicast.so.1
#10 0x0000000000630104 in SplashGUI::SplashGUI(VFrame*, int, int) ()
#11 0x00000000005c53b8 in MWindow::show_splash() ()
#12 0x00000000005c8b28 in MWindow::create_objects(int, int, char*) ()
#13 0x00000000004f7143 in main ()
(gdb) thread 2
[Switching to thread 2 (Thread 0x7fffe9743700 (LWP 22490))]
#0  0x00007ffff2d6a53f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
(gdb) bt
#0  0x00007ffff2d6a53f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007ffff725df6b in Condition::lock(char const*) () from /usr/lib64/libguicast.so.1
#2  0x000000000061e73a in RemoveThread::run() ()
#3  0x00007ffff7266f36 in Thread::entrypoint(void*) () from /usr/lib64/libguicast.so.1
#4  0x00007ffff2d66204 in start_thread () from /lib64/libpthread.so.0
#5  0x00007ffff259f5bd in clone () from /lib64/libc.so.6
(gdb)

Код: Выделить всё

$ equery belongs  /usr/lib64/libguicast.so.1
 * Searching for /usr/lib64/libguicast.so.1 ...
media-video/cinelerra-20140710 (/usr/lib64/libguicast.so.1 -> libguicast.so.1.0.0)
media-video/cinelerra-20140710 (/usr/lib64/libguicast.so.1.0.0)
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Аватара пользователя
igor_ubuntu
Сообщения: 20
Контактная информация:

Re: [Решено] Не работает cinelerra

Сообщение igor_ubuntu »

Yaros, отправьте, пожалуйста, описание проблемы и вывод терминала по этому адресу.
Это рассылка и место общения разработчиков и тестеров cinelerra-cv.
:-) Там и встретимся.

Обычно вопросы компиляции рассматриваются и фиксятся вне очереди.

Целесообразнее будет отправить вывод версии с git

Ну и конечно потормошить Alexis Ballier aballier@gentoo.org
Это-ж он собирает ее для генто.
https://packages.gentoo.org/package/media-video/cinelerra
Последний раз редактировалось igor_ubuntu 08.07.2020 23:49, всего редактировалось 1 раз.
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

Постараюсь, но мой инглиш ужасен, письмо придется всю ночь сочинять))
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Аватара пользователя
igor_ubuntu
Сообщения: 20
Контактная информация:

Re: [Решено] Не работает cinelerra

Сообщение igor_ubuntu »

Кажется, его чем-то иксовые библиотеки не устраивают.

Cinelerra - это она. И характер у неё тоже женский.
Спасибо сказали:
Аватара пользователя
igor_ubuntu
Сообщения: 20
Контактная информация:

Re: [Решено] Не работает cinelerra

Сообщение igor_ubuntu »

но мой инглиш ужасен, письмо придется всю ночь сочинять))

Гуглотранслятор.
Простыми предложениями - обратный перевод аддоном - сами поняли ? - смело отправляйте.
Главное - вывод терминала.
Спасибо сказали:
Аватара пользователя
Yaros
Сообщения: 501
ОС: Debian Wheezy / Gentoo

Re: [Решено] Не работает cinelerra

Сообщение Yaros »

В некотором роде - проблема решена.
При запуске Cinelerra создает окно, которое пытается просчитать свои координаты. Тайловые менеджеры (в моем случае - Xmonad) - изменяют размеры этого окна, чем мешают Cinelerra нормально отработать.
Лечится это указанием "не трогать" это окно.
Вот вывод xprop этого окна:

Код: Выделить всё

 $ xprop
_NET_WM_DESKTOP(CARDINAL) = 6
WM_STATE(WM_STATE):
        window state: Normal
        icon window: 0x0
WM_NORMAL_HINTS(WM_SIZE_HINTS):
        program specified location: 0, 0
        program specified size: 128 by 128
WM_ICON_NAME(STRING) = "x"
WM_NAME(STRING) = "x"
Я добавил строку

Код: Выделить всё

     , title =? "x"                    --> doFloat
в свой xmonad.hs и проблема решилась (заодно поднят вопрос о более удобном идентификаторе).
Думаю, можно перенести этот топик в раздел о тайловых WM.
=========
=Мой блог. =
=========
Gentoo-ниасилятар
Спасибо сказали:
Ответить