-
Notifications
You must be signed in to change notification settings - Fork 110
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
Segmentation fault on Manjaro Linux with Mediapipe #150
Comments
I have my own tracking software which routes into Unity which uses OpenCV and Mediapipe and although different versions of both Python and those two packages, it works fine, so I don't think it's a misconfiguration with my system atleast, although maybe I've made a mistake with the install on Blender. |
Did you start blender via the terminal? Unix sys and camera permissions can be an issue.. |
Trying a .mov file has the same issue as with the mp4 or the camera. I've been running it through the terminal, although trying to detect with blender running as sudo and also trying to detect when running blender from the start menu both also crash. The first log I attached is copied from the terminal as I ran. I've also tried adjusting the permissions of the files but that hasn't helped. |
Don't really know what's going on, maybe the dependency is corrupted. Can you run "pip freeze" within blender or via blenders python executable? Also, I'm working on a separate exe to pipe the data to blender in the future, maybe you want to join? If so, let me know, currently thinking on how to setup the inter process communication =) |
seems like the
but the version on the wiki doesn't seem to exist?
also definitely sounds interesting but don't have any time really, might get around to contributing something in the future to that though! definitely seems like a better way to go about this than integrating it directly into blender lol |
having two opencv versions available can also lead to issues. When there have been issues with opencv often the best way is to install opencv via the local package manager (remove blenders pip opencv versions before).. yea the internal dependencies are really annoying. especially as they can clash with other add-on dependencies and python versions.. |
ohh i didn't notice there were two. the other one might've come from something i was working on locally 😅 |
also tried uninstalling the other opencv through blender's python and installing it locally myself, still nothing :( |
The only thing I can think of is a python version/compatibility issue. The console says PYTHON INTERACTIVE CONSOLE 3.10.9 but the python on my system is 3.10.6. It is true that I have the packages already installed, but I'm not sure this is how it is supposed to be, though I also read somewhere that blender will import modules it needs if they are installed. Just describing all this in case it helps someone cleverer to pinpoint the issue. Some clarity on this too would be good, since the instructions insist that higher permissions are needed, but the addon recognises modules installed locally with lower permissions. Anyway, on the off-chance that it needed to be done via sudo even if the modules were present, I did as the instructions said. The install failed. BTW, for someone non-technical like me, this is terrifying. I tried to install it directly to the python folder, and it said I lacked permissions. I could try to force the issue with sudo, but given how this thing is going, chances are I'll break something important. So now what. I have only one opencv, not two, so maybe that isn't the issue. The opencv-contrib-python is 4.6.0.66 (so not too new), then I upgraded opencv. Also crash. So the version doesn't seem to be the issue either. Besides, the newer versions break freemocap's dependency, and given that we're expecting to use freemocap, this can't be the answer, I guess. Now what. Only possibility remaining to test seems to be a downloaded blender - it shouldn't need anything it doesn't have permissions for as an ordinary folder... Will try it and update here. |
hi, afraid not, the issue still occurs for me sadly. |
no luck through flatpak nor snap |
I was able to install dependencies for dream-textures by going to the addon folder and typing:
As per instructions for installing from source for linux here https://github.com/carson-katri/dream-textures/blob/main/docs/SETUP.md No higher permissions needed. Something similar could be done for BlendArMocap? I think specifying the target in the addon folder (as opposed to anything needing elevated permissions) seemed to do the trick. |
noticed something new today, when you run motion detection on a clip, blender very quickly uses up all the disk space before it crashes, i think that'd be something to do with it? 2023-12-01.10-58-54.mp4 |
Describe the bug
Blender completely segfaults out, regardless of what tracking type is being used, and if it's a webcam or mp4 file. I've installed the dependencies manually and used the button through sudo, and they all show up.
To Reproduce
Steps to reproduce the behavior:
Logs
Logs are from 3.5.0, as that's the only one which saves blender-crash.txt. For whatever reason, 3.6.0 seems to segfault so hard it never seems to get the chance to do so.
Desktop (please complete the following information):
6.1.19-1-MANJARO
The text was updated successfully, but these errors were encountered: