Hi,
If you have a Xrite compatible colorimeter you probably can use ‘displaycal’ on Linux to create a color profile, but I don’t think you really need it
What is the build-in correction sensor? Is it an built-in calibration device (colorimeter) and supports self-calibration? And does your monitor support hardware calibration, which means it stores the color mapping table in the monitor hardware?
If both can be answered with an ‘yes’ then you don’t have to boot to windows and create full blown ICC profiles.
I used to think the same, as I have a dell monitor with an built-in colorimeter. But I was wrong, at least partially (see below [1]). And ‘yes’ you can do this as you describe, but because your monitor probably stores the calibration data internally you only need an ICC profile that contains the gamut information and not the whole color lookup table.
Thus you can use just a standard AdobeRGB ICC profile, either shipped in the ‘icc-profiles-free’ package or the one linked by @Leniwiec. Just set it up in your Gnome/KDE/Xfce4 color management settings, use ‘system-default’ in darktable and set your monitor to AdobeRGB color-space. As long as all your sRGB jpgs do have embedded color profile information all images will look fine on your monitor.
In the meantime I checked this workflow on multiple machines and all my Images exported from darktable with embedded sRGB profile do always look fine (no color deviations).
If you use very specific, in monitor manually defined, color space the related profile can be generated using ‘displaycal-synthprofile’ from ‘displaycal’ package. Again the only information that is stored in the profile is the gamut: white point, red, green, blue, luminance and gamma. In my dell monitor there are two configuration slots for self defined color-spaces, thus I had to use this process to create matching ICC profiles, but in the end I don’t use those slots as AdobeRGB more than enough for me and provides better compatibility among different systems and software packages. You can find more information about it here: https://www.dell.com/community/Monitors/UP2720Q-ICC-profiles-for-Linux-or-Mac/m-p/8179908#M141056
On the other hand, if you use an ICC profile with color lookup table on a self calibrating monitor you end up with double correction of the color data, by the system first and then by the monitor later. This certainly isn’t what you want.
[1] The calibration verification data for self-calibrating monitors is only necessary to validate the deviation between color-space definition and the actual colors displayed by your monitor. If the deviation is negligible the gamut information in the ICC profile is all you need. OTOH if the deviation starts to grow, you’ll need to calibrate your monitor, with for example ‘displaycal’, and create a proper ICC profile with a lookup-table.
-Milosz
Edit: sorry the AdobeRGB profile was linked by @ggbutcher