Directfb 1.6.3 Could not set the gamma ramp --> Invalid argument

728 Views Asked by At

I am trying to run an application on a Debian Machine. The application is written in C and is using DirectFb. But the directfb part is not working. It gives an error saying "Could not set the gamma ramp --> Invalid argument".enter image description hereI have attached the screen shot.

1

There are 1 best solutions below

0
SKM On

Try to run your application with different arguments , It will provide you the actual reason , why It is giving segmentation fault: ./tkcoda -c /var/tk/tk.conf -d --dfb:pixelformat=ARGB,system=fbdev,depth=16,mode=1024x768

you can check differnt pixelformat e.g. ARGB , RGB32 etc, for system fbdev , omap etc, for depth=32 , 16 etc , mode is your display width e.g. 640x480 etc.

Try to check your Font directory also , your font file is present or not at specified location .