klogg / fl2000_drm

Linux kernel FL2000DX/IT66121FN dongle DRM driver
GNU General Public License v2.0
113 stars 30 forks source link

HW expects sRGB non-linear buffer #15

Closed klogg closed 4 years ago

klogg commented 4 years ago

According to https://github.com/FrescoLogic/FL2000/issues/42 there is no option to configure FL2000 to linear sRGB input. By default, Linux gives linear RGB buffers to DRI, this must be changed somehow. Asked for support https://lists.freedesktop.org/archives/dri-devel/2020-May/264870.html

klogg commented 4 years ago

Implemented workaround with forced compression XRGB8888 -> RGB565, this solve the issue and also helps reducing USB traffic.

klogg commented 4 years ago

How kmscube looks like when linear RGB888 supplied IMG_20200428_210657