Xfce Skydome problem in Compiz

I'm using compiz under XFCE, installed from the ports.

uname -a
Code:
FreeBSD dagobah 10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 03:51:29 UTC 2016     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  i386

pkg info compiz
Code:
compiz-0.8.8_3
Name           : compiz
Version        : 0.8.8_3
Installed on   : Tue May  3 16:32:47 2016 EDT
Origin         : x11-wm/compiz
Architecture   : freebsd:10:x86:32
Prefix         : /usr/local
Categories     : x11-wm
Licenses       : 
Maintainer     : freebsd-ports@dan.me.uk
WWW            : http://www.go-compiz.org/
Comment        : Compiz Composite/Window Manager
Options        :
    DBUS           : on
    FUSE           : off
    GTK2           : on
    METACITY       : on
    SVG            : on
Shared Libs required:
    libdbus-glib-1.so.2
    libgtk-x11-2.0.so.0
    libGLU.so.1
    libXext.so.6
    libxslt.so.1
    libpango-1.0.so.0
    libfreetype.so.6
    libcairo.so.2
    libwnck-1.so.22
    libICE.so.6
    libxml2.so.2
    libatk-1.0.so.0
    libSM.so.6
    libXcomposite.so.1
    libgdk_pixbuf-2.0.so.0
    libgio-2.0.so.0
    libXfixes.so.3
    libX11.so.6
    libpangoft2-1.0.so.0
    libglib-2.0.so.0
    libgobject-2.0.so.0
    libgconf-2.so.4
    libGL.so.1
    libXrender.so.1
    libstartup-notification-1.so.0
    libdbus-1.so.3
    libXdamage.so.1
    libgdk-x11-2.0.so.0
    librsvg-2.so.2
    libpng16.so.16
    libXrandr.so.2
    libintl.so.8
    libfontconfig.so.1
    libXinerama.so.1
    libpangocairo-1.0.so.0
Shared Libs provided:
    libscale.so
    libpng.so
    libminimize.so
    libdbus.so
    libgnomecompat.so
    libobs.so
    libcube.so
    libclone.so
    libwater.so
    libannotate.so
    libcommands.so
    libblur.so
    libwobbly.so
    libswitcher.so
    libgconf.so
    libglib.so
    libregex.so
    libplace.so
    librotate.so
    libsvg.so
    libini.so
    libfade.so
    libresize.so
    libzoom.so
    libvideo.so
    libmove.so
    libdecoration.so
    libdecoration.so.0
    libscreenshot.so
Annotations    :
Flat size      : 6.97MiB
Description    :
Compiz is an OpenGL compositing manager that use GLX_EXT_texture_from_pixmap
for binding redirected top-level windows to texture objects. It has a flexible
plug-in system and it is designed to run well on most graphics hardware. 

WWW: http://www.go-compiz.org/

When I enable Skydome, the image I specify loads, but its blue channel is maxed out, giving it an overall bluish hue. No matter what image I load into Skydome, the same glitch remains. It doesn't seem to affect the red and green channels. My XFCE background image is not affected either. Has anyone seen this or knows the problem and a fix?
 
This may not be a popular topic, but I thought I'd share a workaround anyway. The issue had to do something with the JPEG library Skydome uses. This problem persisted across multiple FreeBSD installations through the years, until I noticed that if I change the Skydome image to PNG, it renders correctly. I still don't know what goes on with JPEG, and the same setup works well under Linux... But I'm happy with what I get with PNG.
 
Back
Top