X11 Randr gamma ramp support seems broken

Salut à tous,

Je suis sous debian jessie, et lorsque je tente de compiler
une source utilisant une lib partagée (opencl), j’obtiens cette erreur:

[ error ] ofAppGLFWWindow: 65544: X11: RandR gamma ramp support seems broken
[verbose] OpenCL::setup 4

J’utilise bumblebee pour activer ma 2d carte video sur un portable, et donc voici le fichier /etc/bumblebee/xorg.conf.nvidia auquel j’ai ajouté la section ‘Monitor’, en suivant le conseil de kripteks :

Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"

   BusID "PCI:01:00:0"

Option “ProbeAllGpus” “false”

    Option "NoLogo" "true"
    Option "UseEDID" "true"
    Option "UseDisplayDevice" "none"
EndSection

Section "Monitor"
    Identifier "GrgMonitor"
    Modeline "1280x720_60.00"  74.48  1280 1336 1472 1664  720 721 724 746  -HSync +Vsync
EndSection

Par ailleurs j’ai déjà compilé avec succès des sources du SDK cuda 7.5, donc l’install est bonne. Mais pour cet exemple qui n’a rien à voir avec cuda mais necessite opencl, j’ai cette curieuse erreur avec X11 !?

une portion du fichier config.make :

DFLT_P ?= /usr/lib64
CUDA_P ?= /usr/local/cuda-7.5
GL_P   ?= /usr/lib/x86_64-linux-gnu

var  = -I$/usr/include/GL
var += -I$/usr/include/GLES
var += -I$/usr/include/X11
var += -I$(CUDA_P)/bin
var += -I$(CUDA_P)/include
var += -I$(CUDA_P)/include/CL
var += -L$(CUDA_P)/lib64

PROJECT_CFLAGS = $(var)
PROJECT_LDFLAGS = -Wl,--start-group $(var) -Wl,--end-group

  CL_L  := $(shell find -L $(CUDA_P) $(DFLT_P) -name libOpenCL.so  -print 2>/dev/null)

 ifeq ("$(CL_L)","")
      $(info >>> WARNING - libOpenCL.so not found, refer to CUDA Getting Started Guide. <<<)
      SAMPLE_ENABLED := 0
else
#    override PROJECT_LDFLAGS += $(CL_LIB)
    PROJECT_LDFLAGS += $(CL_L)
  endif

  GLLIB  := $(shell find -L $(GL_P) $(DFLT_PATH) -name libGL.so  -print 2>/dev/null)
  GLULIB := $(shell find -L $(GL_P) $(DFLT_PATH) -name libGLU.so -print 2>/dev/null)
  X11LIB := $(shell find -L $(GL_P) $(DFLT_PATH) -name libX11.so -print 2>/dev/null)

  ifeq ("$(GLLIB)","")
      $(info >>> WARNING - libGL.so not found, refer to CUDA Getting Started Guide for how to find and install them. <<<)
      SAMPLE_ENABLED := 0
  else
    PROJECT_LDFLAGS += $(GLLIB)
  endif

  ifeq ("$(GLULIB)","")
      $(info >>> WARNING - libGLU.so not found, refer to CUDA Getting Started Guide for how to find and install them. <<<)
      SAMPLE_ENABLED := 0
   else
    PROJECT_LDFLAGS += $(GLULIB)
  endif

  ifeq ("$(X11LIB)","")
      $(info >>> WARNING - libX11.so not found, refer to CUDA Getting Started Guide for how to find and install them. <<<)
      SAMPLE_ENABLED := 0
   else
    PROJECT_LDFLAGS += $(X11LIB)
  endif

$(info >>> PROJECT_LDFLAGS ==== $(PROJECT_LDFLAGS) <<<)


# HEADERS 
GL_HP     ?= /usr/include/GL
X11_P    ?= /usr/include/X11

  GL_H  := $(shell find -L $(GL_HP) -name gl.h -print 2>/dev/null)
  GLU_H := $(shell find -L $(GL_HP) -name glu.h -print 2>/dev/null)
  X11_H := $(shell find -L $(X11_P) -name Xlib.h -print 2>/dev/null)

  ifeq ("$(GL_H)","")
      $(info >>> WARNING - gl.h not found. <<<)
      SAMPLE_ENABLED := 0
else
    #PROJECT_CFLAGS += $(GL_H)
  endif

  ifeq ("$(GLU_H)","")
      $(info >>> WARNING - glu.h not found, refer to CUDA Getting Started Guide for how to find and install them. <<<)
      SAMPLE_ENABLED := 0
else
    #PROJECT_CFLAGS += $(GLU_H)
  endif

  ifeq ("$(X11_H)","")
      $(info >>> WARNING - Xlib.h not found, refer to CUDA Getting Started Guide for how to find and install them. <<<)
      SAMPLE_ENABLED := 0
else
    #PROJECT_CFLAGS += $(X11_H)
  endif

Auriez-vous une idée ?
merci