-
Notifications
You must be signed in to change notification settings - Fork 61
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
Get rid of RealDisplaySizeMM
C-Extension
#16
Comments
Under Linux systems, import codecs
edid = codecs.decode(xrandr_edid_data, "hex") I have no experience with Wayland though, so I don't know if |
I think the main reason for using the C-Extension at the time was getting the proper display dimensions under macos, maybe that is obsolete now. |
Thanks for the link. It was delighting to read. Though, it is really not enough motivation to use a C-Extension as far as I'm concerned. We should definitely remove it. |
Let's do this... 😎 |
…related utility classes and functions.
…DisplaySizeMM` module. This needs a redesign and better implementation. But is a good proof of concept.
…related utility classes and functions.
…DisplaySizeMM` module. This needs a redesign and better implementation. But is a good proof of concept.
Good news, currently on my Macbook Pro running MacOS I can run DisplayCAL and do a full calibration and profiling without needing to build and use the extension. All the information is extracted from the But, under Linux, the Any help is appreciated. @p5k369 I think you were using a Linux machine, can you help me with this, please? |
Hey @eoyilmaz, edit: |
Great, many thanks @p5k369 |
@p5k369 can you also send me the output of |
Ah, I was able to mock the output of |
This should now work properly under Linux |
…ta()` now uses regular expressions to extract the data.
… output to extract EDID data. - [eoyilmaz#16] Fixed `DisplayCAL.RealDisplaySizeMM.Display.from_dispwin_data()` to expect and use `bytes` data instead of `str`. - [eoyilmaz#16] Updated `DisplayCAL.RealDisplaySizeMM.get_dispwin_output()` to return `bytes` instead of `str` to match the rest of the application.
…GitHub action.
… use predefined test data.
…and with `-d0` argument in `DisplayCAL.RealDisplaySizeMM`.
… utility to get the `xrandr` executable path under Linux.
…es of GitHub actions.
… of GitHub actions.
…ses of GitHub actions.
…ing purposes of GitHub actions.
…yCAL.dev.mocks` for a possible bug.
…ly with the mocked `xrandr` output.
…n_data()` and `DisplayCAL.RealDisplaySizeMM._enumerate_displays()` for ArgyllCMS<3.3.0 style output.
…an C-Extension.
…_output()` for Windows.
The
RealDisplaySizeMM
C-Extension seems to be doing something that can be done using pure Python. Though, this needs further investigation.Also, this ticket is related to #6, if this ticket is solved, there is no need to solve #6 .
The text was updated successfully, but these errors were encountered: