Woody Wu
2013-07-29 03:39:02 UTC
Hi, List
I am trying to run some directfb examples programs on ARM platform. The
directfb libraries and examples binaries are come from buildroot and
also built by builtroot. None of these examples can run with success,
they all reported the same error on my target machine: No supported
modes found in /etc/fb.modes.
I tried to dump my 'fbset' output the the /etc/fb.modes:
mode "800x480-535209"
# D: 250000.000 MHz, H: 283125.708 kHz, V: 535209.278 Hz
geometry 800 480 800 480 32
timings 4 19 37 10 26 27 13
accel false
rgba 8/16,8/8,8/0,0/0
endmode
But, the error still the same. I also tried to input some basic settings
in /etc/directfbrc, also got the same error.
On the other hand, my frame buffer device /etc/fb0 should be okay, since
I can run other graphic programs on it, such as fbv (a framebuffer
picture viwer).
What's the most possible reason to cause the error? I enclosed in the
email the whole 'strace' output when I run the example program, hope
someone can have a look into it.
Another relative question: why I saw that directfb trying to open
/dev/tty0? What does /dev/tty0 mean to frame buffer?
Thanks in advance.
I am trying to run some directfb examples programs on ARM platform. The
directfb libraries and examples binaries are come from buildroot and
also built by builtroot. None of these examples can run with success,
they all reported the same error on my target machine: No supported
modes found in /etc/fb.modes.
I tried to dump my 'fbset' output the the /etc/fb.modes:
mode "800x480-535209"
# D: 250000.000 MHz, H: 283125.708 kHz, V: 535209.278 Hz
geometry 800 480 800 480 32
timings 4 19 37 10 26 27 13
accel false
rgba 8/16,8/8,8/0,0/0
endmode
But, the error still the same. I also tried to input some basic settings
in /etc/directfbrc, also got the same error.
On the other hand, my frame buffer device /etc/fb0 should be okay, since
I can run other graphic programs on it, such as fbv (a framebuffer
picture viwer).
What's the most possible reason to cause the error? I enclosed in the
email the whole 'strace' output when I run the example program, hope
someone can have a look into it.
Another relative question: why I saw that directfb trying to open
/dev/tty0? What does /dev/tty0 mean to frame buffer?
Thanks in advance.
--
I can't go back to yesterday - because I was a different person then
I can't go back to yesterday - because I was a different person then