Moved from #457:
Here are the library versions found on each distro as of now (things do change, especially for unreleased distros like sid):
Distro | avcodec | avcodec version | x264 |
---|---|---|---|
Ubuntu 13.10 | libavcodec53 - 0.8.9-0ubuntu-0.13.10.1 | 53.35.0 | libx264-123 - 0.123.2189+git35cf912-1ubuntu1.1
|
Ubuntu 13.04 | libavcodec53 - 0.8.9-0ubuntu-0.13.04.1 | 53.35.0 | libx264-123 - 0.123.2189+git35cf912-1
|
Ubuntu 12.10 | libavcodec53 - 0.8.9-0ubuntu0.12.10.1 | 53.35.0 | libx264-123 - 0.123.2189+git35cf912-1
|
Ubuntu 12.04 | libavcodec53 - 0.8.9-0ubuntu0.12.04.1 | 53.35.0 | libx264-120 - 0.120.2151+gita3f4407-2
|
Debian Wheezy | libavcodec53 - 0.8.9-1 | 53.35.0 | libx264-123 - 0.123.2189+git35cf912-1
|
Debian Jessie | libavcodec54 - 9.10-1 | 54.35.0 | libx264-133 - 0.133.2339+git585324f-2
|
Debian Sid | libavcodec54 - 9.10-1 | 54.35.0 | libx264-133 - 0.133.2339+git585324f-2+b1
|
with 0.11 installed from source (circa r4957):
Distro | RES | SHR | Notes |
---|---|---|---|
Ubuntu 13.10 | 100 | 31 | |
Ubuntu 13.04 | 141 | 42 | |
Ubuntu 12.10 (32bit/64bit) | 85 / 100 | 29 / 31 | crashes reliably on decoder context freeing |
Ubuntu 12.04 | 47 | 15 | crashes reliably on decoder context freeing |
Debian Wheezy | 73 | 25 | crashes reliably |
Debian Jessie | 102 | 36 | |
Debian Sid | 55 | 20 |
with up to date 0.11 binary builds from beta area instead of compiled locally:
Distro | RES | SHR | Notes |
---|---|---|---|
Ubuntu 13.10 | 104 | 34 | |
Ubuntu 13.04 | 140 | 39 | |
Ubuntu 12.10 | 54 | 21 | crashes? |
Ubuntu 12.04 | 46 | 15 | crashes? |
Debian Wheezy | 75 | 27 | crashes |
Debian Jessie | 100 | 38 | |
Debian Sid | 91 | 32 |
And with 0.10.10 beta binaries (with the updated patch):
Distro | RES | SHR | Notes |
---|---|---|---|
Ubuntu 13.10 | 72 | 26 | |
Ubuntu 13.04 | 77 | 27 | |
Ubuntu 12.10 | 78 | 28 | crashes |
Ubuntu 12.04 | 47 | 15 | crashes |
Debian Wheezy | 60 | 22 | |
Debian Jessie | 64 | 25 | crash on resize - needs rebuild with new libav? |
(crash was also present in previous versions!?)
With 0.10.10 from source:
Distro | RES | SHR | Notes |
---|---|---|---|
Ubuntu 13.10 | 72 | 26 | |
Ubuntu 13.04 | 75 | 26 | |
Ubuntu 12.10 | 79 | 30 | crashes |
Ubuntu 12.04 | 42 | 14 | crashes |
Debian Wheezy | 59 | 22 | |
Debian Jessie | 67 | 26 |
It would be worth spending a bit more time to figure out why the figures vary so widely! Some small variation was expected as some of the tests were carried out on x86, others on x86_64. (could be related to which codecs we load - though I thought each VM had pretty much the same setup..)
We need to figure out where the differences come from, and whether Ubuntu 12.x and Wheezy can be made to work reliably or not.
As of r4989, we disable avcodec on libav versions older than 54... unfortunately, this will disable avcodec for all versions of Ubuntu indiscriminately since they all ship with the same public version number (53.35.0
).
This would seem to indicate that the fix against libav 0.8.9 does exist somewhere, since the version shipped in Ubuntu 13.04 and 13.10 *seems* to work ok, and the same fix should really be applied to Ubuntu 12.04, 12.10 and Debian Wheezy. (if an when they do, we can think about re-enabling libavcodec53
)
So, until then, at build time we apply the patch in r4991 to enable avcodec53 on distros that are known to have the fix (the ones I could not get to crash during testing): Ubuntu 13.04 and Ubuntu 13.10. Backport to 0.10.x in r4993 and r4994 - win32 "inline" #define compilation workaround in r4997
What a mess!
0.10.10 released with the fix after testing ok - closing
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/477