Comments (13)
This is because you need Qt bindings, and you can install them using extras. Read more about this here: https://manim-slides.eertmans.be/latest/installation.html#when-you-need-a-qt-backend.
I hope it helps!
from manim-slides.
@jeertmans Well i installed Qt bindings but new problem arose. manim slides application was successfully runned but it only contained 4 black screens and nothing more. can you help me out?
[04/05/24 22:18:52] WARNING You are using API = 'pyqt6', QT_VERSION = '6.6.1', but we recommend installing 'PySide6==6.5.2', mainly to avoid flashing __init__.py:23
screens between slides, see issue https://github.com/jeertmans/manim-slides/issues/293. You can do so with `pip install
'manim-slides[pyside6]'`.
qt.qpa.window: QtWindows::DpiAwareness::PerMonitorVersion2 is not supported by current system.
QWindowsVistaStylePrivate: Load OpenThemeDataForDpi in uxtheme.dll failed
No QtMultimedia backends found. Only QMediaDevices, QAudioDevice, QSoundEffect, QAudioSink, and QAudioSource are available.
Failed to create QVideoSink "Not available"
Failed to initialize QMediaPlayer "Not available"
Failed to create QVideoSink "Not available"
Failed to create QVideoSink "Not available"
Failed to initialize QMediaPlayer "Not available"
this was the cmd output until the manim-slides started running
from manim-slides.
Hello, can you try to install PySide6 instead? As you can see, there is a warning that is here for a reason :)
However, this does not explain your issue in #402…
from manim-slides.
@jeertmans already tried installing pySide6, this didnt solved the problem!
from manim-slides.
@jeertmans already tried installing pySide6, this didnt solved the problem!
You need to uninstall PyQt6 so PySide6 is actually used :)
from manim-slides.
@jeertmans
@jeertmans
It didnt solved the problem i ran this two commands
pip uninstall pyqt6
and
pip install pyqt6
even tho i have pyside6=6.5.2 version it still gives same error
from manim-slides.
But do you still get that warning?
[04/05/24 22:18:52] WARNING You are using API = 'pyqt6', QT_VERSION = '6.6.1', but we recommend installing 'PySide6==6.5.2', mainly to avoid flashing __init__.py:23
screens between slides, see issue https://github.com/jeertmans/manim-slides/issues/293. You can do so with `pip install
'manim-slides[pyside6]'`.
from manim-slides.
@jeertmans yes
from manim-slides.
This means you either (1) did not uninstall PyQT6 correctly or (2) manim-slides
is installed on a separate Python environment. This is probably because pip
command is not using the same Python as python
. You can solve that by using python -m pip ...
instead.
You can also change the QT API for the current session with:
set QT_API=pyside6
python -m manim_slides rectangle
But you will need to do that every time you restart your shell.
from manim-slides.
@jeertmans when running
set QT_API=pyside6
python -m manim_slides rectangle
it gave me the same error with same warning
from manim-slides.
@jeertmans when running
set QT_API=pyside6 python -m manim_slides rectangle
it gave me the same error with same warning
Humm, I guess this is because you did not (un)install PyQT6 and PySide6 correctly.
Can you run:
python -m pip uninstall pyqt6
python -m pip install -U "manim-slides[pyside6-full]"
python -m manim_slides render .\example_scenes.py rectangle
python -m manim_slides rectangle
And put the output here?
from manim-slides.
@jeertmans alr so it outputed this:
qt.qpa.window: SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2) failed: COM error 0x57: The parameter is incorrect.
Qt's default DPI awareness context is DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2. If you know what you are doing you can overwrite this default using qt.co
nf (https://doc.qt.io/qt-6/highdpi.html#configuring-windows)
QWindowsVistaStylePrivate: Load OpenThemeDataForDpi in uxtheme.dll failed
failed to get textures for frame; format: 172 textureConverter null
Device loss detected in Present()
Failed to create srv: COM error 0x887a0005: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
Failed to initialize QRhiTexture wrapper for native texture object 2337814336080
and after that it rendered part of animation and went non responding
from manim-slides.
See #315 (and #402 (comment)).
from manim-slides.
Related Issues (20)
- [BUG] Manim Slides Showing Black Screen Only HOT 7
- [DOC] Add a known / common issues page
- [CHORE] Update issues and PR templates
- [DOC] Add example gallery HOT 2
- Force re-render in manim-slides HOT 1
- [BUG] Background color is not correctly detected/used when using `manim-slides convert`
- [DOC] Add performance tips for large presentations
- [FEATURE] Drop opencv-python
- [BUG] Flickering at slide change for stand alone html HOT 4
- [BUG] Slides are shuffled when exporting mutliple files to revealjs format HOT 5
- [BUG] Non monotonically increasing dts HOT 5
- [BUG] 'OpenGLCamera' object has no attribute 'background_color' when rendering using manim.opengl HOT 3
- [BUG] Problem about Rust during installation. HOT 1
- [BUG] `utils.reverse_video_file` causes excessive RAM usage HOT 11
- [BUG] `manim-slides present` and `wizard` immediately crash HOT 10
- [FEATURE] Allow for waiting until loop is complete before switching slide HOT 5
- [FEATURE] Provide a `htmlzip` export format for zipped HTML
- [FEATURE] Add `--offline` option for HTML convert
- [FEATURE] Allow class-level configuration of slides rendering
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from manim-slides.