GTK+ on framebuffer



Using glib2.2,atk1.0.3,pango1.2.0,gtk+-2.2.0
 
I built gtk with
./configure --with-gdktarget=linux-fb
make
make install
 
I am logged into the console as root (no x windows)
I modified the pkg_config Makefile for Helloworld from
pkg-config gtk+-2.0 --cflags --libs
to
pkg-config gtk+-linux-fb-2.0 --cflags --libs
 
it appears to build properly
 
all I get is the screen cleared and
"gtk warning: cannot open display"
 
fbset returns
mode "1024x768-76"
  # D: 78.653 MHz, H: 59.949 kHz, V 75.694 Hz
geometry 1024 768 1024 4064 16
timings 12714 128 32 16 4
rgba 5/11,6/5,5/0,0/0
endmode
 
cat /proc/fb
0 VESA VGA
 
I've tried booting with append="..video=vesa:ywrap,mtrr"
and always the same results
 
also have tried setting the DISPLAY to 0.0
and FRAMEBUFFER=/dev/fb0
 
Any more suggestions please?
Maria
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]