Skip to content

Navigation Menu

Sign in
Sign up

Dummy monitor - #423

Draft
raldone01 wants to merge 4 commits into
DisplayLink:main from
raldone01:dummy-monitor
Draft

Dummy monitor #423
raldone01 wants to merge 4 commits into
DisplayLink:main from
raldone01:dummy-monitor

Conversation

@raldone01

@raldone01 raldone01 commented Jun 14, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

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>.

raldone01 force-pushed the dummy-monitor branch 2 times, most recently from e0779d7 to be9bd64 Compare June 17, 2023 18:49
@raldone01 raldone01 mentioned this pull request Nov 21, 2023

Copy link
Copy Markdown

does this support wayland?

Copy link
Copy Markdown
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?

ESHARK22 commented Mar 18, 2025
edited
Loading

Copy link
Copy Markdown

(削除) 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, /)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /