-
Notifications
You must be signed in to change notification settings - Fork 222
Draft
Conversation
raldone01
force-pushed
the
dummy-monitor
branch
2 times, most recently
from
June 17, 2023 18:49
e0779d7 to
be9bd64
Compare
Merged
raldone01
force-pushed
the
dummy-monitor
branch
from
January 9, 2024 09:45
dd907e6 to
32d05c8
Compare
pradyvrp
commented
Dec 12, 2024
does this support wayland?
raldone01
commented
Dec 12, 2024
Contributor
Author
What do you mean exactly?
The dummy monitor program itself has no issue with wayland as it uses PySide6.
evdi should also not have any issues with wayland as I have used a displaylink docking station yesterday with plasma wayland.
But just try it out?
(削除) Hey, im wondering what version of python and pyside6 you are using, since I am getting the following error: (削除ここまで)
Oh I just relealized this is might be casued by a mismatched pyevdi version - Could you please update this pr the latest?
Traceback (most recent call last):
File "/home/eshark/stuff/evdi/evdi/pyevdi/examples/dummy_monitor/dummy_monitor.py", line 201, in <lambda>
card_timer.timeout.connect(lambda: card.handle_events(0))
~~~~~~~~~~~~~~~~~~^^^
File "/home/eshark/stuff/evdi/evdi/pyevdi/examples/dummy_monitor/dummy_monitor.py", line 186, in <lambda>
card.acquire_framebuffer_handler = lambda buffer: framebuffer_handler(
~~~~~~~~~~~~~~~~~~~^
buffer, my_app
^^^^^^^^^^^^^^
)
^
File "/home/eshark/stuff/evdi/evdi/pyevdi/examples/dummy_monitor/dummy_monitor.py", line 151, in framebuffer_handler
app.image_buffer_widget.update_image(buffer)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/home/eshark/stuff/evdi/evdi/pyevdi/examples/dummy_monitor/dummy_monitor.py", line 103, in update_image
image = QImage(buffer.bytes, buffer.width, buffer.height, QImage.Format_RGB32)
TypeError: 'PySide6.QtGui.QImage.__init__' called with wrong argument types:
PySide6.QtGui.QImage.__init__(PyCapsule, int, int, Format)
Supported signatures:
PySide6.QtGui.QImage.__init__()
PySide6.QtGui.QImage.__init__(PySide6.QtGui.QImage, /)
PySide6.QtGui.QImage.__init__(PySide6.QtCore.QSize, PySide6.QtGui.QImage.Format, /)
PySide6.QtGui.QImage.__init__(str, int, int, PySide6.QtGui.QImage.Format, /)
PySide6.QtGui.QImage.__init__(str, int, int, int, PySide6.QtGui.QImage.Format, /)
PySide6.QtGui.QImage.__init__(Iterable, /)
PySide6.QtGui.QImage.__init__(Union[bytes, bytearray, memoryview], int, int, PySide6.QtGui.QImage.Format, /, Optional[Callable[..., Any]] = None, Optional[int] = None)
PySide6.QtGui.QImage.__init__(Union[bytes, bytearray, memoryview], int, int, int, PySide6.QtGui.QImage.Format, /, Optional[Callable[..., Any]] = None, Optional[int] = None)
PySide6.QtGui.QImage.__init__(Union[str, bytes, os.PathLike[str]], /, Union[bytes, bytearray, memoryview, NoneType] = None)
PySide6.QtGui.QImage.__init__(int, int, PySide6.QtGui.QImage.Format, /)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
This pr is an extension to #421.
It adds a working dummy_monitor script.
It currently requires an edid file.
I would like it to work with just
<width>x<height>@<fps>.