-
Notifications
You must be signed in to change notification settings - Fork 523
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
Openshot crashes at file import and project open / save on Ubuntu 22.04.2 with AMD graphics card #5181
Comments
Hello @dmkUK. Please download v3.1.0-release-candidate-11128 AppImage and give it a try. |
After downloading a bunch of appimages I had to go back to https://github.com/OpenShot/openshot-qt/releases/download/daily/OpenShot-v2.6.1-dev-daily-10243-854a3aa3-46255e46-x86_64.AppImage to get one which would be launched. But I guess that's a separate issue. |
Hello @dmkUK. Thank you for all the information. I need to escalate this to the technical leads to see why you are having this issue. |
Had a hefty update from Ubuntu and the OpenShot repo's today. System Details
Downloaded OpenShot-v3.1.0-release-candidate-11205-18328995-8eb23127-x86_64.AppImage The April 1 daily Appimage still won't launch and the repository version crashes as before. |
Hello @dmkUK. Was this resolved? If not, I would like you to try this:
Let me know if Openshot starts now. |
Ok so down loaded another 2 appimages : OpenShot-v3.1.1-daily-11406-8ab0cb4c-75076545-x86_64.AppImage and OpenShot-v3.1.1-x86_64.AppImage. As before no launch.
I think libfuse 2 is installed on my system by flatpak and the flatpak plugin for gnome software center (at least that's what was removed when I uninstalled it and then reinstalled libfuse2 the other week. The daily repo version still crashes when you trigger the add files window.
|
Hello @dmkUK v3.1.1 production release has been released. Let's see if we can run the latest release (couple of different ways) to see if we can resolve your issues. Run the latest AppImage
Install v3.1.1 using PPA. First we are going to perform an uninstall just in case you had ever installed a previous PPA or via software manager and then we will install v3.1.1 PPA. From a terminal please run the following:
|
Hi @Colorjet3 thanks for the message. I did try purge and install openshot-qt from both the daily and stable repos they were the same on Sunday afternoon. I think I have tried most of your list but I will try again shortly. Unfortunately my psu exploded last night so I'm a bit stuck, not to mention a bit shaken! |
Hello @dmkUK That sucks abut your PSU. Hopefully no other damage. Keep me posted once you are back up and running. |
Hi @Colorjet3 , I'm back up and running. Thankfully just a PSU blow out. I've gone through your suggestions with the same results unfortunately. Oh and I think
|
Just tried the daily appimage
|
Hello @dmkUK Glad to see that your computer is back up and running. My apologies for the incorrect PPA installation command. I am going to escalate this to the technical support team since this is beyond my expertise. |
This is very interesting. The moment everything starts to break for you (in the AppImage) is when I introduced some experimental GLIBC wrapping into libopenshot-audio and libopenshot. I'm going to revert this code and get a new daily build for testing... so we can see what happens. |
@dmkUK Please try our latest daily build https://www.openshot.org/download#daily. This has a few changes related to GLIBC, and I'm thinking it should work, or at least give us a new error message. If it does not work, please copy/paste the installer URL you downloaded, so we can verify you installed the correct build. Thx! |
@jonoomph thanks for messaging. Downloaded:
Sorry but...
Tried purge openshot-qt and removing .openshot_qt but got no change either on the appimage issue or the deb issue. Tried moving to the daily build repository and got an upgradeable message on libopenshot-audio9, libopenshot25, python3-openshot so I purged these and autoremoved no longer required packages, but this didn't help either. So reverted to openshot-qt (3.1.1+dfsg2+1650+202304212058~ubuntu22.04.1) from the stable ppa, still with issues. |
@dmkUK Can you please let me know what Linux distro and version you are currently experiencing this issue on? |
@jonoomph Ubuntu 22.04 LTS which should be up to date. I'm not at my pc right now, but I think the only other non standard repositories are for darktable and opencl video drivers plus amdgpu downloaded from amd, which is not bang up to date because it is a pain in the....... |
Okay, thanks for sharing that! I have personally tested on Ubuntu 22.04 LTS (in a VM) with no issues, and I know we have many users on that OS without this issue. So, it leads me to think this might be related to one of your non standard repos... or perhaps something AMD related. The next troubleshooting step is to run this in a debugger or trace the execution to see which of your non-standard libraries is causing the issue. For example:
Hopefully one of these methods might reveal a useful tidbit of info, such as which library is responsible (or involved) in the crash. |
@jonoomph
and that was it. I'm totally new to gdb so I'm unsure if this answers anything or even if I've asked any relevant questions. |
|
@dmkUK Thanks for sharing this output. Unfortunately, this is not obvious where the crash is actually coming from. If I was you, and was not willing to give up, I would probably setup a VM with Ubuntu 22.04, verify OpenShot 3.1.1 works fine, and then add in your custom repos (to the VM) one by one... as slowly as possible, and keep launching OpenShot between each repo. Eventually you will determine which repo is breaking things. But to be honest, OpenShot depends on a ton of standard / system libraries. Our AppImage includes many libraries that are linked against standard libraries we expect to find at runtime. If a single one of these libraries is modified in a "breaking" way by one of your custom repos (i.e. a function adds a new required param, or a function is deleted) - it will hard crash OpenShot, and these types of crashes are very difficult to resolve. The resolution will almost always be either A) remove all custom repos, or B) build OpenShot from source code (i.e. which "should" link against your custom libraries). Instructions for building from source code: Just don't get lost down this rabbit hole!!! |
@jonoomph Thanks for the advice. At least I have a working openshot 2.61. I have used a vm so I may try this weekend when I have some time. It might be useful because if I can do without some of the graphics card stuff I will gladly bin it. Is there a sensible way of working out what files a repository has added and then removing them? I'm thinking synaptic package manager. If I setup a vm, add ubuntu and add a repo it would be useful to be able to remove it and the files it has added before adding the next one rather than reinstalling ubuntu again. |
On the upside though
has launched.
I was able to add files to the open project by clicking the import files button. |
InstallationThe issue is still present on Ubuntu 22.04.2 LTS. I have installed OpenShot following the ppa installation steps. Reproduction
LogsInformation
Errors
Warnings
Stack trace
|
@SzilvasiPeter, I think you are describing a different issue. For me the crash happens between clicking on the button or menu item and the file dialogue window opening. I never get the opportunity to select a file. It appears to be down to my amd graphics driver, but I haven't the time just now or technical understanding to experiment further. |
I can confirm it was the amdgpu drivers from amd causing my crashes at file open. I have uninstalled and instantly the |
That's the all open version plus ROCr OpenCL stack, I might have installed the pro workstation version before with Workstation OpenGL (Proprietary) rather than Mesa OpenGL.
Hugin and openshot find and use opengl. But darktable not getting opencl.
I think I need opencl=legacy for my rx550 card but
(no --usecase option defaults to
Legacy opencl is proprietary so enabling the repository:
as I had already run
clinfo reports:
and
.......AND SO FAR ALL IS GOOD! |
Describe the bug
Clicking 'import file', 'save project' or 'open project' crashes openshot immediately. Could not launch the daily build appimage to confirm.
Steps to reproduce the behaviour:
Expected behaviour
A file dialogue should open to allow files to be imported into the project files section.
Files can be added via drag and drop and the video files exported successfully,
System Details
Log Files
Exception / Stacktrace
The text was updated successfully, but these errors were encountered: