oyranos-cms / oyranos

Colour Management System
https://gitlab.com/oyranos/oyranos
Other
19 stars 6 forks source link

Oyranos-config-fltk can't work without EDID? #75

Open Randrianasulu opened 1 year ago

Randrianasulu commented 1 year ago
bash-5.1$ oyranos-config-fltk
Oyranos Configuration 21
[2023-06-01T23:01:01.988+0300] send_native_update_event
oyStartDBusObserver ID: 1
5+97,2147483638x2147483504
WARNING 0,102351: [-1] oyGetPathFromProfileName_(oyranos_io.c:178) profile not found in color path: ISOcoated_v2_bas.ICC
WARNING 0,103116: [-1] oyGetPathFromProfileName_(oyranos_io.c:178) profile not found in color path: ISOcoated_v2_bas.ICC
 0
 0
Policy 6
5+97,2147483638x2147483504
5+97,2147483638x2147483504
10+124,2147483628x2147483469
Editing XYZ 11
Editing Lab 11
Editing Rgb 11
Editing Cmyk 12
Editing Gray 12
10+124,2147483628x2147483469
Assumed XYZ source 18
Assumed Lab source 18
Assumed Rgb source 18
Assumed Web source 18
sRGB.icc 8
Assumed Cmyk source 19
Assumed Gray source 19
5+97,2147483638x2147483504
10+124,2147483628x2147483469
Rendering Intent 16
Use Black Point Compensation 28
Gamut Warning 13
10+124,2147483628x2147483469
No Image profile 16
On Rgb Mismatch 15
On Cmyk Mismatch 16
10+124,2147483628x2147483469
Size too small for a ICC profile: 0
Size too small for a ICC profile: 0
Size too small for a ICC profile: 0
 0,256207 oyranos_monitor_x11.c:838 oyX1GetMonitorInfo()
  no EDID available from X properties:
  "XFree86_DDC_EDID1_RAWDATA"/"EDID_DATA"
  Can not read hardware information from device.
WARNING 0,256276: oyOptions_s[1454]="" oyX1DeviceFromName_(oyranos_cmm_disp.c:361)
  Could not complete "properties" call.
  oyX1GetMonitorInfo_lib returned with issue(s); device_name: ":0.0"
WARNING 0,256590: oyOptions_s[1454]="" oyDeviceFillInfos(oyranos_monitor.c:146)   No EDID matrix found; device_name: ":0.0"
WARNING 0,256995: oyOptions_s[1454]="" oyX1Configs_Modify(oyranos_cmm_disp.c:1075)
  Could not obtain XCM_X11 device(_xxx) information for :0.0
WARNING 0,258080: oyOptions_s[1454]="" oyX1Configs_Modify(oyranos_cmm_disp.c:1075)
  Could not obtain XCM_X11 device(_xxx) information for :0.0
Display White Point 19
Display White Point Daemon 26
Proofing 8
Proofing Rendering Intent 25
SoftProof 9
Hardproof 9
10+124,2147483628x2147483469
Effect 6
Use Effect 10
10+124,2147483628x2147483469
For Screen 10
For Print 9
5+97,2147483638x2147483504
CMM Core 8
CMM Renderer 12
oyCallbackDBus():1515 0,000000 start 4/1
oyCallbackDBus():1515 0,100000 oyWatchDBus():1512 --->
org/freedesktop/openicc 4/1
WARNING 0,285882: [-1] oyGetPathFromProfileName_(oyranos_io.c:178) profile not found in color path: ISOcoated_v2_bas.ICC
WARNING 0,286628: [-1] oyGetPathFromProfileName_(oyranos_io.c:178) profile not found in color path: ISOcoated_v2_bas.ICC
Size too small for a ICC profile: 0
Size too small for a ICC profile: 0
Size too small for a ICC profile: 0
 0,331086 oyranos_monitor_x11.c:838 oyX1GetMonitorInfo()
  no EDID available from X properties:
  "XFree86_DDC_EDID1_RAWDATA"/"EDID_DATA"
  Can not read hardware information from device.
WARNING 0,331142: oyOptions_s[1780]="" oyX1DeviceFromName_(oyranos_cmm_disp.c:361)
  Could not complete "properties" call.
  oyX1GetMonitorInfo_lib returned with issue(s); device_name: ":0.0"
WARNING 0,331479: oyOptions_s[1780]="" oyDeviceFillInfos(oyranos_monitor.c:146)   No EDID matrix found; device_name: ":0.0"
WARNING 0,331848: oyOptions_s[1780]="" oyX1Configs_Modify(oyranos_cmm_disp.c:1075)
  Could not obtain XCM_X11 device(_xxx) information for :0.0
WARNING 0,332840: oyOptions_s[1780]="" oyX1Configs_Modify(oyranos_cmm_disp.c:1075)
  Could not obtain XCM_X11 device(_xxx) information for :0.0
^C
bash-5.1$

It just hangs without displaying anything ...

Situation is, my VGA cable apparently cut EDID somehow, so I must use xrandr for setting my native panel resolution.

xrandr Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192 VGA-0 connected primary 1440x900+0+0 (normal left inverted right x axis y axis) 0mm x 0mm 1024x768 60.00 800x600 60.32 56.25 848x480 60.00 640x480 59.94 1440x900_60.00 59.89* HDMI-0 disconnected (normal left inverted right x axis y axis)

For some weird reason this old integrated GPU (radeon HD3000 - r600 mesa driver/radeon kernel driver with deep_color=1 option set) allow me to start second X server with 30bpp depth (10bpc). Not sure if anything can display full 10 bit there ..

But I can clearly see some problems with wxgtk3, gs (ghostscript X11 preview) and sdl1 apps. qt3 (Tqt from TDE project), gtk2/3 and qt5 all seems to work. Imagemagick's "display" program also work and can display xwd dumps (GIMP' 2.10.32 xwd plugin choke on 1024 colormap entry).

So, I guess I have some setup for troubleshooting some of those 30bpp problems (I looked into compicc source, it apparently can't do regions on 30bpp servers ..? And anyway very few programs used than ... but it will be interesting to try, if this edid bug can be worked around!)

beku commented 2 months ago

Main hosting moved to GitLAB: https://gitlab.com/oyranos/oyranos

You could try $ oyranos-config --dump-db # to see raw JSON output $ oyranos-config -lv # to see all key/value pairs

The CompICC project was developed on a 30bit setup. But this setup is not any more used. So no follow up from my side ATM.