News:

--

Main Menu

Compile error plugins

Started by mulder77, September 05, 2012, 10:56:46 AM

Previous topic - Next topic

Jan Gruuthuse

Done test, on same hard disk on sata 300 and sata 600 no difference. So confirm is not disk IO.
I don't use swap disk have 16 GB ram memory. On each used disks have on average 100 GB free.

Jan Gruuthuse

df -k
QuoteFilesystem     1K-blocks      Used Available Use% Mounted on
/dev/sda1      315004440  89716656 209286456  31% /
udev             8189848        12   8189836   1% /dev
tmpfs            3279500       892   3278608   1% /run
none                5120         0      5120   0% /run/lock
none             8198744        76   8198668   1% /run/shm
/dev/sdc5      780005704 411214464 329169252  56% /media/DataB_SATA3

mulder77

What I will do later, possibly over the weekend:
Setup a F17 installation within a VM and re-test encoding there.

mulder77

OK, I quickly setup F17 and compiled r8175 there.
Looks like performance stays stable there, although the VM layer reduces performance in general.

I really don't know what the difference might be.

One question: In my new installation I only see one option x264. On my regular system there two. Why is that?

mulder77

What I stumbled upon is my initial reason for this post.
On my fresh F17 installation I was able to compile r8175 w/o any modification. First I thought that you already fixed the issue in the source code.

But this morning I cleaned my whole (regular) installation to track down the difference. So I removed any bit of previous installations and unpacked a fresh r8175 snapshot.

I reinstalled every package mentioned in the wiki.

Still, my regular installation fails to build the plugins:

-- Build files have been written to: /home/markus/snapshot_8175/buildPluginsCommon
** Failed at make, result in /tmp/logbuildPluginsCommon**


I am not sure if this really reflects my situation with the dropping performance, but I guess I first should fix my installation so the compilation just runs fine.

Any idea what might be wrong so that compiling fails?

Jan Gruuthuse

#35
no, not me as I'm only user.
Answer could be if you look in this file /tmp/logbuildPluginsCommon
find *** and probably you should find some error?

regarding dependencies (ubuntu here, so could be other naming convention)
I have these:
sudo apt-get install build-essential fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libqt4-script libsdl-sound1.2-dev libsqlite3-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm

latest requirements:
libsamplerate0-dev (aka Secret Rabbit Code) is a library for audio rate conversion
libfribidi-dev algorithm implementation for Hebrew and/or Arabic languages.
libtwolame-dev MPEG Audio Layer 2 encoder (development files)
libopencore-amrwb-dev Adaptive Multi-Rate - Wideband speech codec
libopencore-amrnb-dev Adaptive Multi Rate speech codec
libsqlite3-dev
libqt4-script

also I did have to download source for cmake and build it local, seems to have some issues (2.8.7) was then 2.8.8
currently I'm now on cmake version 2.8.9
dpkg -l build-essential fakeroot g++ gcc gettext liba52-0.7.4-dev libaften-dev libasound2-dev libdca-dev libdts-dev libfaac-dev libfaad-dev libglib2.0-dev libgtk-3-dev libgtk2.0-dev libmad0-dev libmp3lame-dev libpng12-dev libqt4-dev libqt4-opengl libqt4-opengl-dev libqt4-script libsdl-sound1.2-dev libsqlite3-dev libvdpau-dev libvorbis-dev libx264-dev libxml2-dev libxv-dev libxvidcore-dev make libopencore-amrwb-dev libopencore-amrnb-dev libvpx-dev pkg-config subversion yasm
QuoteDesired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                        Version                     Description
+++-===========================-===========================-======================================================================
ii  build-essential             11.5ubuntu2                 Informational list of build-essential packages
ii  fakeroot                    1.18.2-1                    tool for simulating superuser privileges
ii  g++                         4:4.6.3-1ubuntu5            GNU C++ compiler
ii  gcc                         4:4.6.3-1ubuntu5            GNU C compiler
ii  gettext                     0.18.1.1-5ubuntu3           GNU Internationalization utilities
ii  liba52-0.7.4-dev            0.7.4-16build1              library for decoding ATSC A/52 streams (development)
ii  libaften-dev                0.0.8+git20100105-0ubuntu2  audio AC3 encoder - development files
ii  libasound2-dev              1.0.25-1ubuntu10.1          shared library for ALSA applications -- development files
ii  libdca-dev                  0.0.5-5                     decoding library for DTS Coherent Acoustics streams (development)
ii  libdts-dev                  0.0.5-5                     backward compatibility place-holder for libdca
ii  libfaac-dev                 1.28-0ubuntu2               AAC audio encoder (development)
ii  libfaad-dev                 2.7-7                       freeware Advanced Audio Decoder - development files
ii  libglib2.0-dev              2.32.3-0ubuntu1             Development files for the GLib library
ii  libgtk-3-dev                3.4.2-0ubuntu0.4            development files for the GTK+ library
ii  libgtk2.0-dev               2.24.10-0ubuntu6            development files for the GTK+ library
ii  libmad0-dev                 0.15.1b-7ubuntu1            MPEG audio decoder development library
ii  libmp3lame-dev              3.99.3+repack1-1            MP3 encoding library (development)
ii  libopencore-amrnb-dev       0.1.2-1                     Adaptive Multi Rate speech codec - development files
ii  libopencore-amrwb-dev       0.1.2-1                     Adaptive Multi-Rate - Wideband speech codec - development files
ii  libpng12-dev                1.2.46-3ubuntu4             PNG library - development
ii  libqt4-dev                  4:4.8.1-0ubuntu4.2          Qt 4 development files
ii  libqt4-opengl               4:4.8.1-0ubuntu4.2          Qt 4 OpenGL module
ii  libqt4-opengl-dev           4:4.8.1-0ubuntu4.2          Qt 4 OpenGL library development files
ii  libqt4-script               4:4.8.1-0ubuntu4.2          Qt 4 script module
ii  libsdl-sound1.2-dev         1.0.3-4                     Development files for SDL_sound
ii  libsqlite3-dev              3.7.9-2ubuntu1.1            SQLite 3 development files
ii  libvdpau-dev                0.4.1-3ubuntu1              Video Decode and Presentation API for Unix (development files)
ii  libvorbis-dev               1.3.2-1ubuntu3              The Vorbis General Audio Compression Codec (development files)
ii  libvpx-dev                  1.0.0-1                     VP8 video codec (development files)
ii  libx264-dev                 2:0.120.2151+gita3f4407-2   development files for libx264
ii  libxml2-dev                 2.7.8.dfsg-5.1ubuntu4.1     Development files for the GNOME XML library
ii  libxv-dev                   2:1.0.6-2build1             X11 Video extension library (development headers)
ii  libxvidcore-dev             2:1.3.2-6                   Open source MPEG-4 video codec (development)
ii  make                        3.81-8.1ubuntu1             An utility for Directing compilation.
ii  pkg-config                  0.26-1ubuntu1               manage compile and link flags for libraries
ii  subversion                  1.6.17dfsg-3ubuntu3         Advanced version control system
ii  yasm                        1.1.0-1                     modular assembler with multiple syntaxes support

mulder77

OK, I was able to fix the compile problem.
There were some local libs of xvid installed (from 2007 and 2009) which were used instead the regular libs in /lib64.

After removing them, compiling is now fine.
BTW, I now only have one x264 in the drop down menu, but I built w/o GTK version, so maybe this is why.

But still the performance is poor.

I will keep investigating into the libraries used by the plugins, maybe other crap will show up.

Jan Gruuthuse

#37
GTK would only be needed if you use avidemux GTK , Personally I'm only using QT.
Another issue could be videocard? Have you installed opengl for your video card? or VDPAU if nvidia. As I understand it, these would be geared up towards nvidia cards?

mulder77

Yes, I am using QT4 only as I experienced the GTK version to be somehow faulty.
No Nvidia card installed, thus no such setting. But I understand it in the way that it's used for local display only, but not for processing the data later.

Currently I do some experiments with an extra physical new installation of F17.

Maybe I will do a fresh start of F17 anyway, as I upgraded all the years starting from Fedore Core 3 or something.

Jan Gruuthuse

Not display alone, as you can enable openGl support and select other display option like: XVideo (best). (I could not use opengl display on intel core i5 internal GPU)
Some filters use openGl (OpenGl resize / rotate) and only developers can tell, but QT would use this to if available?

mulder77

Another update

I re-installed Fedora 17 to my regular system, busy setting up all services as they have been previously.
I upgraded completely via "yum upgrade".

What I observed now is:
- Initial installation with Kernel 3.3.4 is ok, no performance loss
- Upgraded kernel 3.5.3 (at least) results in the performance loss as I encountered it

Did anybody test and run avidemux 2.6 on a 3.5.x kernel?


Jan Gruuthuse

Not by me: ubuntu 12.04 LTS would be good for next 5 years. Current kernel 3.2.0-30-generic (x86_64).

mulder77

One more observation.

Reading from my RAID5 device and writing to an RAID10 device is fine on both kernels.

Reading from my RAID5 device and writing to the same RAID5 device will work ok on kernel 3.3.4. On 3.5.3, after aprox. 30 seconds performance will drop. After this initial drop of performance, writing to my RAID10 device will be poor, too.

So I assume something has changed from kernel 3.3 to 3.5, at least as long as the RAID5 device comes into play when writing out the stream.

I will test encoding with mencoder later to verify if the same behaviour occurs there.

For now, I will try to stay on that kernel version, although Fedora doesn't make it easy to keep old stuff.

mulder77

One more update:

I tested mencoder with equivalent settings and could observe the same performance breakdown with kernel 3.5.3 and the RAID5 involved.
No such behaviour with kernel 3.3.4.

As expected, it is not directly connected to avidemux then.

I will investigate further into my RAID setup and the changes which came with newer kernel versions.