-
-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AvCodec Error -22 #2142
Comments
2019-02-10 04:21:38: DevynCJohnson uploaded file
|
FYI:
So AFAICT, your command line should just be:
There are separate issues in this ticket.
Prior to launching the client, the HTML5 interface would never load I have also used the below environment variables as suggested in other bug reports relating to the h264 codec. |
2019-02-11 01:11:50: DevynCJohnson commented
|
2019-02-11 01:12:31: DevynCJohnson uploaded file
|
2019-02-11 01:12:57: DevynCJohnson uploaded file
|
2019-02-11 02:31:54: antoine commentedTILs:
All you need to do at this point is to run: As for the codec issues, this does not happen with a clean installation of xpra on a standard Ubuntu system, so either re-install both or at least remove the xpra package before installing from source.
It should be stable, but being a beta channel, things do break occasionally. |
2019-02-15 20:06:55: DevynCJohnson commented
|
2019-02-15 20:07:22: DevynCJohnson uploaded file
|
Your session must be taking forever to launch - could be caused by #2091. Is this an underpowered CPU? |
Also note that there are no codec errors in the logs. |
2019-02-16 15:03:18: DevynCJohnson commented
|
I find that a little bit hard to believe seeing that I did a clean install test as part of testing for comment:3.
|
2019-02-22 02:15:18: DevynCJohnson commented
|
2019-02-22 02:15:55: DevynCJohnson uploaded file
|
2019-02-22 02:16:22: DevynCJohnson uploaded file
|
Looks like the crash is in the vpx decoder, you can try running xpra with:
This should avoid the crash.
You were pretty close, try: (as per Debugging) |
2019-02-22 14:32:02: DevynCJohnson commented
|
2019-02-22 14:32:30: DevynCJohnson uploaded file
|
2019-02-22 14:33:00: DevynCJohnson uploaded file
|
Please grab a backtrace from gdb by typing |
2019-02-22 14:46:10: DevynCJohnson uploaded file
|
2019-02-22 14:46:37: DevynCJohnson commented
|
Ah, ubuntu's gdb doesn't give you very useful backtraces, does it have a That said, some things immediately stand out from this stacktrace:
The fact that you are seeing crashes and errors with multiple codecs, and that those errors look like library version issues, and that I am not seeing that on a fresh install, this all makes me think that you are either using the wrong package (wrong repository configured?) or building it wrong yourself or you have the wrong libraries installed.
|
2019-02-22 16:23:37: DevynCJohnson commented
|
2019-02-22 16:24:19: DevynCJohnson uploaded file
|
2019-02-22 16:27:39: DevynCJohnson commented
|
That's mostly superfluous: features that are disabled aren't loaded into memory (see #1861 and #1838 for details), just disable them instead.
AFAIK, the benefits of this are very limited.
That's usually a bad idea. Don't mix distribution packages with pip installed packages.
You could always nuke the problematic codecs from the filesystem, ie: |
2019-02-28 23:54:55: DevynCJohnson commented
|
How so?
The nvidia driver would allow for the nvenc codec to be used. (awesome performance - highly recommended)
Yes, use the 2.5 beta builds.
My guess is that there is something wrong with your installation. |
2019-03-03 00:18:34: DevynCJohnson commented
|
2019-03-03 00:19:02: DevynCJohnson uploaded file
|
2019-03-03 00:20:54: DevynCJohnson commented
|
You're not including the backtrace from gdb, you need to run
Just in case, also try the python2 version. Can you connect with the regular client instead of the html5 client?
This module is generally required. It is also used by the new websockets code: #2121. The only crash we've ever had in xor was related to unaligned 64-bit access on older CPUs: #1749. Which is why we now use 32-bit access everywhere and added extra code to align addresses in the target buffer. |
2019-03-03 03:45:57: DevynCJohnson commented
|
2019-03-03 03:46:24: DevynCJohnson uploaded file
|
TILs:
So it is the new Please post the |
2019-03-03 12:48:44: DevynCJohnson commented
|
2019-03-03 12:49:18: DevynCJohnson uploaded file
|
Right, at this point I am pretty sure that the problem is with your system. Unless you can provide me with steps to reproduce the problem reliably (ie: dockerfile, virtual machine image, etc) then I will have to close this ticket as invalid. |
2019-03-04 05:07:10: DevynCJohnson commented
|
2019-03-04 06:19:44: antoine uploaded file
|
I mean that no-one else has reported any problems with the codecs and that every time I have seen errors like these reported it ended up being a mistake during system setup. (wrong arch, wrong distro version, mixed source installation, etc)
As per comment:8, I had already done a test install in a VM 3 weeks ago.
As per the installation instructions, the beta repo should not be installed without also installing the stable repo.
The dependencies should be installed automatically when you install xpra, and
Are you sure that those instructions are actually used?
Unless gcc does something really weird with vectorization, all accesses are 32-bit only and 4-byte aligned.
We don't release the GIL in this particular module. Adding nogil would definitely not help, if anything it can cause more problems. So, like I said: if I can't reproduce the problem, I can't fix it. |
2019-03-09 18:41:16: DevynCJohnson commented
|
Please keep a log of every terminal command you run to get it installed, so this can be reproduced somewhere else if need be.
Please create a separate ticket for that, for more information see Performance (out of date) and #620: you need to use the profiling tools to identify the locations that may need optimizing then the automated tests (#2112) to validate changes. |
2019-03-16 01:47:43: DevynCJohnson commented
|
2019-03-16 01:48:14: DevynCJohnson uploaded file
|
2019-03-16 01:48:40: DevynCJohnson uploaded file
|
2019-03-16 01:48:59: DevynCJohnson uploaded file
|
2019-03-16 01:49:16: DevynCJohnson uploaded file
|
As I suspected all along, there is something fundamental and non-standard that you're modifying on your system. More information here: What does Python optimization (-O or PYTHONOPTIMIZE) do? As of r22087 we will now print a big warning when the flag is set. |
2019-03-17 09:43:51: DevynCJohnson commented
|
Xpra works here, as soon as I remove it from the dockerfile. |
2019-03-17 10:41:31: DevynCJohnson commented
|
There are 2 of them, not just one. Remove all of them.
Not with your dockerfile and script, because |
Issue migrated from trac ticket # 2142
component: server | priority: major | resolution: invalid | keywords: avcodec,h264
2019-02-10 04:20:59: DevynCJohnson created the issue
The text was updated successfully, but these errors were encountered: