From: herve Bourricaud <herve.bourricaud@iaca-electronique.com>
To: buildroot@busybox.net
Subject: [Buildroot] QT application display problem
Date: Fri, 26 Oct 2012 08:42:01 -0700 (PDT) [thread overview]
Message-ID: <1351266121304-33621.post@n4.nabble.com> (raw)
In-Reply-To: <508AA9BF.8000704@gmail.com>
Hi zoltan
yes I'have compiled testapp and QT sample framebuffer app myself !
( just running the right qMake and then make with the right compiler :-)
running it I have 3 beautifuls rectangles Red,gree,blue on my LCD !
and this output on my console
# ./framebuffer
The framebuffer device was opened successfully.
Fixed screen info:
id:
smem_start: 0x23940000
smem_len: 261120
type: 0
type_aux: 0
visual: 2
xpanstep: 0
ypanstep: 1
ywrapstep: 0
line_length: 960
mmio_start: 0x700000
mmio_len: 4096
accel: 0
The framebuffer device was mapped to memory successfully.
Successfully switched to graphics mode.
Variable screen info:
xres: 480
yres: 272
xres_virtual: 480
yres_virtual: 272
yoffset: 0
xoffset: 0
bits_per_pixel: 16
grayscale: 0
red: offset: 0, length: 5, msb_right: 0
green: offset: 5, length: 6, msb_right: 0
blue: offset: 11, length: 5, msb_right: 0
transp: offset: 0, length: 0, msb_right: 0
nonstd: 0
activate: 0
height: 0
width: 0
accel_flags: 0x0
pixclock: 120816
left_margin: 2
right_margin: 2
upper_margin: 2
lower_margin: 2
hsync_len: 41
vsync_len: 10
sync: 3
vmode: 0
Frame Buffer Performance test...
Average: 6083 usecs
Bandwidth: 40.938 MByte/Sec
Max. FPS: 164.393 fps
Will draw 3 rectangles on the screen,
they should be colored red, green and blue (in that order).
Done.
#
so I suppose bit per pixels for frame buffer is 16 !
else how to check the frame buffer configuration ?
in buildroot
-> Package Selection for the target
? -> Graphic libraries and applications (graphic/text)
? -> Qt (BR2_PACKAGE_QT [=y])
? -> Gui Module (BR2_PACKAGE_QT_GUI_MODULE [=y])
? -> Pixel depths selected 8/15/16
must I only select 16 ?
thanks for your help !
herv?.
--
View this message in context: http://buildroot-busybox.2317881.n4.nabble.com/QT-application-display-problem-tp33619p33621.html
Sent from the Buildroot (busybox) mailing list archive at Nabble.com.
next prev parent reply other threads:[~2012-10-26 15:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-26 15:01 [Buildroot] QT application display problem herve Bourricaud
2012-10-26 15:18 ` Zoltan Gyarmati
2012-10-26 15:42 ` herve Bourricaud [this message]
2012-10-26 16:00 ` Zoltan Gyarmati
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351266121304-33621.post@n4.nabble.com \
--to=herve.bourricaud@iaca-electronique.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.