-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
[BUG] Segmentation fault when presenting slides #454
Comments
Hello! This is the first time I encounter this issue, so I do not know yet the solution. Are you running the command inside a Docker environment or WSL? Can you include the output of |
There is no output from that command... |
Very bizarre, can you put a screenshot of you writing that in the terminal and the output here? |
Does not make any sense to me… Is pip working with other subcommands? |
I reproduced this with the following virtual environment: annotated-types==0.7.0
av==12.2.0
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
click-default-group==1.2.4
cloup==3.0.5
decorator==5.1.1
glcontext==2.5.0
idna==3.7
isosurfaces==0.1.2
jinja2==3.1.4
lxml==5.2.2
manim==0.18.1
manim-slides==5.1.7
manimpango==0.5.0
mapbox-earcut==1.0.1
markdown-it-py==3.0.0
markupsafe==2.1.5
mdurl==0.1.2
moderngl==5.10.0
moderngl-window==2.4.6
multipledispatch==1.0.0
networkx==3.3
numpy==1.26.4
packaging==24.1
pillow==10.4.0
pycairo==1.26.1
pydantic==2.8.2
pydantic-core==2.20.1
pydantic-extra-types==2.9.0
pydub==0.25.1
pyglet==2.0.15
pygments==2.18.0
pyrr==0.10.3
pyside6==6.7.2
pyside6-addons==6.7.2
pyside6-essentials==6.7.2
python-pptx==0.6.23
qtpy==2.4.1
requests==2.32.3
rich==13.7.1
rtoml==0.11.0
scipy==1.14.0
screeninfo==0.8.1
shiboken6==6.7.2
skia-pathops==0.8.0.post1
srt==3.5.3
svgelements==1.9.6
tqdm==4.66.4
typing-extensions==4.12.2
urllib3==2.2.2
watchdog==4.0.1
xlsxwriter==3.2.0 Note Before the Python venv installation, I ran
This is the output I got when compiling the example: ❯ manim-slides BasicExample
[AVHWDeviceContext @ 0x3a34f00] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
[AVHWDeviceContext @ 0x3a37340] libva: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
QOpenGLFunctions created with non-current context
Segmentation fault (core dumped) I'm running Python 3.12.3 (main, Apr 15 2024, 18:25:56) [Clang 17.0.6 ] on Linux-6.8.0-31-generic-x86_64-with-glibc2.39. |
Downgrading to |
Hello @bswck, thanks for the update! However, PySide6 is not available on Python 3.12, at least not if installed via Pip, see the Python requires. What version are you using? |
Closing as no responses from author, feel free to re-open if you think this is still an issue. |
Hey @jeertmans, I think I am experiencing the same issue that is already identified in this thread. When I run $ manim-slides BasicExample
[h264 @ 0x563c0a901fc0] Failed to allocate a vaapi/nv12 frame from a fixed pool of hardware frames.
[h264 @ 0x563c0a901fc0] Consider setting extra_hw_frames to a larger value (currently set to -1, giving a pool size of 36).
[h264 @ 0x563c0a901fc0] get_buffer() failed
[h264 @ 0x563c0a901fc0] thread_get_buffer() failed
[h264 @ 0x563c0a901fc0] decode_slice_header error
[h264 @ 0x563c0a901fc0] no frame!
QOpenGLFunctions created with non-current context
zsh: segmentation fault (core dumped) manim-slides BasicExample The part about failing to allocate a vaapi/nv12 frame does not always appear (on my CachyOS machine it did not appear at all): $ manim-slides BasicExample
QOpenGLFunctions created with non-current context
zsh: segmentation fault (core dumped) manim-slides BasicExample It did not matter, whether I installed using
|
Hi @FloezeTv, thanks for reporting! I will re-open. Can you test if the issue persists PyQT6 instead of PySide6? And with version 6.7.*? |
Yes, the issue occurs with both |
@FloezeTv and what about version
Thanks for testing! EDIT: I just noticed that you use Python3.12, so version |
I downgraded python to qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load OpenSsl library
failed to get textures for frame; format: 44 textureConverter null
QOpenGLFunctions created with non-current context
zsh: segmentation fault (core dumped) manim-slides BasicExample |
Do you have See relevant thread: https://forum.qt.io/topic/150877/qt-multimedia-warnings-qt-6-6-0/8 |
Yes, |
If I remember correctly, 6.5.3 introduced some bugs. Does 6.6 and 6.7 versions work on Python 3.11? |
Description
I run the basic example file with the command including manim and
but then the interface crashed and the following error appeared:
I use python 3.12.3 in a virtual environment on Ubuntu 24.04.
Version
5.1.7
Platform
Ubuntu 24.04 linux
Screenshots
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: