Alsa causes lockup/freeze (link)

Started by golinux, December 14, 2015, 08:29:41 PM

Previous topic - Next topic

Jan Gruuthuse

#15
you do select an installed (Alsa) audio device in avidemux?
Avidemux Menu -> Edit -> Preferences -> [Audio] -> AudioDevice

Press OK, exit avidemux, then check in avidemux if selection is kept. Test if the issue is gone.

golinux

#16
Quote from: Jan Gruuthuse on December 23, 2015, 05:20:52 AM
you do select an installed (Alsa) audio device in avidemux?
Avidemux Menu -> Edit -> Preferences -> [Audio] -> AudioDevice

Press OK, exit avidemux, then check in avidemux if selection is kept. Test if the issue is gone.

Yes, I have done all that several times.  I have it set to AlsaDefault.  AlsaHw0 and all the other options do not work.

Perhaps it has to do with this?

And that I had to create an .asoundrc file to get the sound to work on this board?  Maybe that needs to be tweaked?

Jan Gruuthuse


golinux

Quote from: Jan Gruuthuse on December 23, 2015, 05:02:26 PM
Quote from: golinux on December 23, 2015, 03:09:42 PM
Perhaps it has to do with this?
probably: yes

But now that I think about it, avidemux2_gtk worked on wheezy with that same .asoundrc file so it must be something in the current qt version.

Any chance of bringing back the gtk interface?  The qt version is not a pretty sight . . .

Jan Gruuthuse

#19
you could try
cd ~/avidemux2 && bash bootStrap.bash --deb --without-qt4 --with-gtk --with-cli
cd ~/avidemux2 && bash bootStrap.bash --rpm --without-qt4 --with-gtk --with-cli

No idea what works or doesn't work

or if you have Qt5 on your system: Compiling Avidemux 2.6.x
- Build .deb for debian/ubuntu, core + Qt5 + plugins
- Requirement list (debian/ubuntu): For Qt 5

Alternative:
- install ubuntu on separate partition (4GB)
- install ubuntu alongside debian (on same partition). Check with google if this would cause any issue, before doing so.

golinux

Quote from: Jan Gruuthuse on December 24, 2015, 08:47:04 AM
you could try
cd ~/avidemux2 && bash bootStrap.bash --deb --without-qt4 --with-gtk --with-cli
No idea what works or doesn't work

I finally got around to trying this from my desktop with:

:~/Desktop$ cd avidemux-2.6.8 && bash bootStrap.bash --deb --without-qt4 --with-gtk --with-cli

After installing several packages that couldn't be found, It failed with the following message.  sqlite3 is installed so what am I missing?

-- Checking for sqlite
-- *******************
Could not find sqlite3.h
CMake Error at /home/xxxxxr/Desktop/avidemux-2.6.8/cmake/admConfigHelper.cmake:16 (MESSAGE):
  Could not find SQLite
Call Stack (most recent call first):
  CMakeLists.txt:57 (PRINT_LIBRARY_INFO)

-- Configuring incomplete, errors occurred!
See also "/home/xxxxx/Desktop/avidemux-2.6.8/buildCore/CMakeFiles/CMakeOutput.log".
See also "/home/xxxxx/Desktop/avidemux-2.6.8/buildCore/CMakeFiles/CMakeError.log".
** Failed at cmakeZ**


Those logs are rather incomprehensible.  Should I post them?  Any suggestions?

Jan Gruuthuse


golinux

Quote from: Jan Gruuthuse on December 28, 2015, 10:38:52 AM
you installed: libsqlite3-dev to?

Ah, no I hadn't. I did that and then it needed yasm too.  Tried again. It's now failing at CPack but almost there, I hope:

Run CPack packaging tool...
/usr/bin/cpack --config ./CPackConfig.cmake
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: admCore
CPack: - Install project: admCore
CPack: Create package
CPack Error: Problem running tar command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz  ./usr
Please check /home/xxxxxx/Desktop/avidemux-2.6.8/buildCore/_CPack_Packages/Linux/DEB/Deb.log for errors
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: avidemux3-core
Makefile:110: recipe for target 'package' failed
make: *** [package] Error 1
** Failed at package**


Appreciate your nursemaiding me through this process. :)

Jan Gruuthuse

#23
cmake --version
Quotecmake version 2.8.12.2
cpack --version
Quotecpack version 2.8.12.2

If you get more messages with reference to a log like (Please check /home/xxxxxx/Desktop/avidemux-2.6.8/buildCore/_CPack_Packages/Linux/DEB/Deb.log for errors). Get that log and compress to zip and and attach the zipped file to your message. Time permitting  developer(s) could have a peek at it and provide feedback.

Hope you getting there, running out of ideas here.


golinux

Quote from: Jan Gruuthuse on December 28, 2015, 06:42:41 PM
cmake --version
Quotecmake version 2.8.12.2
cpack --version
Quotecpack version 2.8.12.2

If you get more messages with reference to a log like (Please check /home/xxxxxx/Desktop/avidemux-2.6.8/buildCore/_CPack_Packages/Linux/DEB/Deb.log for errors). Get that log and compress to zip and and attach the zipped file to your message. Time permitting  developer(s) could have a peek at it and provide feedback.

Hope you getting there, running out of ideas here.

I have newer versions installed.

cmake --version
cmake version 3.0.2


cpack --version
cpack version 3.0.2


Will now go search for logs but may get distracted so be patient.

golinux

Here's the complete log.  No need to zip since it is so brief:

# Run command: /usr/bin/fakeroot "/usr/bin/cmake" -E tar cfz data.tar.gz  ./usr
# Working directory: /home/xxxxxx/Desktop/avidemux-2.6.8/buildCore/_CPack_Packages/Linux/DEB/avidemux3-core-2.6.8-Linux
# Output:
fakeroot: FAKEROOTKEY set to 1691422654
fakeroot: nested operation not yet supported

Jan Gruuthuse

Possible a path issue? You're not building from git? And from desktop?
Can you try from ~/avidemux2 (home/current user/avidemxu2)
cd ~
git clone https://github.com/mean00/avidemux2.git

you should now have a folder avidemux2
for next update:
cd ~/avidemux2 && git pull
build:
cd ~/avidemux2 && bash bootStrap.bash --deb --without-qt4 --with-gtk --with-cli


golinux

#27
I just downloaded the source from the devuan merged repos (not from git) to my desktop.

Well cd ~
git clone https://github.com/mean00/avidemux2.git


didn't work.  Git remains a mystery to me . . .

~$ git clone https://github.com/mean00/avidemux2.git
bash: git: command not found


I imagine I'd have to set up an account there with the key and all that before this will work.  I tried to set things up on Devuan git but never could quite figure it out . . .

*edit*  I went to https://github.com/mean00/avidemux2 and downloaded the zip.  Maybe that will work from my user directory.

golinux

I think I'm missing some GTK or other pkgs.  buildCli and buildCore succeeded but then failed at buildGtk:

-- Build files have been written to: /home/xxxxxx/avidemux2/buildGtk
** Failed at make, result in /tmp/logbuildGtk**


This is the end of the log:

make[2]: Leaving directory '/home/xxxxxx/avidemux2/buildGtk'
/usr/bin/cmake -E cmake_progress_report /home/xxxxxx/avidemux2/buildGtk/CMakeFiles  87 88 89 90
[ 57%] Built target ADM_videocodec6
make[1]: Leaving directory '/home/xxxxxx/avidemux2/buildGtk'
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


At least I'm getting closer . . .

mean

Build the Qt version, the Gtk one does not really work anymore