eoyilmaz / displaycal-py3

DisplayCAL Modernization Project
https://eoyilmaz.github.io/displaycal-py3/
GNU General Public License v3.0
827 stars 59 forks source link

"Could not find platform independent libraries <prefix>" - DisplayCAL 3.9.14 with dogegen on Windows 11 x64 #446

Open SephirothFFKH opened 5 days ago

SephirothFFKH commented 5 days ago

Describe the bug

Error "Could not find platform independent libraries " is shown in the calibration window instead of "Patch x of 9" if setting "Display" to "Resolve" and using dogegen HDR pattern generator. If setting "Display" to "Generic PnP Monitor (Primary)" the issue is fixed but, this uses the DisplayCAL internal SDR pattern generator. (To check if a windows or pattern generator is HDR you can go to Windows 11 Settings -> Use HDR -> SDR content brightness, this slider should only affect SDR content therefore moving this slider should not affect the pattern generator if the pattern generator is HDR.)

To Reproduce

Steps to reproduce the behavior:

  1. Install Windows installerDisplayCAL-3.9.14-Setup.exe and change the install path to C:\DisplayCAL
  2. Extract dogegen.exe to C:\dogegen
  3. Launch DiplayCAL and change Display to Resolve
  4. Launch dogegen.exe and enter "resolve_hdr" in the dogegen command window
  5. Click Calibrate & profile in DisplayCAL
  6. Click Start measurement then Continue on to calibration in DisplayCAL
  7. dogegen will seem to be updating it's patterns but in the DisplayCAL calibration window there will be errors "Could not find platform independent libraries "
  8. The calibration fails

Expected behavior

Possibility to use dogegen HDR pattern generator for calibration or possibility to switch the DisplayCAL internal pattern generator to HDR mode.

Versions (please complete the following information):

Additional context Thank you very much for keeping DisplayCAL alive!

eoyilmaz commented 4 days ago

We currently have a bug with running executables through DisplayCAL.wexpect under Windows #424 it should be fixed with next release, but people are reporting mixed results. I'll try to do a release this week, so we can try with that one again.

EDIT: It could also be completely unrelated to that issue by the way, but let's try with the fixed version (later when I release it) first.

SephirothFFKH commented 3 days ago

Thank you very much for looking into this issue, I look forward to trying the upcoming releases. Alternatively, would it be possible to upgrade the DisplayCAL internal pattern generator to a HDR surface though, I definitely wander if there even is any librairies in Python that can leverage Windows HDR API.