Discussion:
[directfb-users] Can't get "layer-rotate:90" to work...
Karim 'Kasi Mir' Senoucci
2012-08-09 13:04:25 UTC
Permalink
Hello all,
I have tried (with 1.3.2 and 1.4.17) to get the "layer-rotate" parameter
to work for a 90-degree rotation, but somehow, this doesn't seem to
work. I'm calling my program with
--dfb:layer-rotate=90,mode=1280x1024,depth=32,pixelformat=RGB32
using the uvesafb frame buffer. I have only a few graphics and text on
my display so I don't really need hw acceleration, plus I have three
different Mini-ITX boards in use here with three different Intel Atoms
(410, 525, and 2500).

Unfortunately, the "layer-rotate" parameter does not work here; I get
~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.4.17 |~~~~~~~~~~~~~~~~~~~~~~~~~~
(c) 2001-2012 The world wide DirectFB Open Source Community
(c) 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2012-08-07 16:21) [ DEBUG ]
(*) Direct/Thread: Started 'VT Switcher' (14581) [CRITICAL OTHER/OTHER
0/0] <8388608>...
(*) Direct/Thread: Started 'VT Flusher' (-1) [DEFAULT OTHER/OTHER 0/0]
<8388608>...
(*) DirectFB/FBDev: Found 'VESA VGA' (ID 0) with frame buffer at
0xd0000000, 8128k (MMIO 0x00000000, 0k)
(*) Direct/Thread: Started 'Hotplug with Linux Input' (-1) [INPUT
OTHER/OTHER 0/0] <8388608>...
(*) DirectFB/Input: Hot-plug detection enabled with Linux Input Driver
(*) Direct/Thread: Started 'Keyboard Input' (14586) [INPUT OTHER/OTHER
0/0] <8388608>...
(*) DirectFB/Input: Keyboard 0.9 (directfb.org)
(*) DirectFB/Genefx: MMX detected and enabled
(*) DirectFB/Graphics: MMX Software Rasterizer 0.7 (directfb.org)
(*) DirectFB/Core/WM: Default 0.3 (directfb.org)
(!!!) *** UNIMPLEMENTED [dfb_surface_create] *** [surface.c:179]
(!!!) *** UNIMPLEMENTED [dfb_surface_reconfig] *** [surface.c:525]
(*) FBDev/Mode: Setting 1280x1024 RGB16
(*) FBDev/Mode: Switched to 1280x1024 (virtual 1280x1024) at 16 bit
(RGB16), pitch 2560
(*) FBDev/Mode: Setting 1280x1024 RGB16
(*) FBDev/Mode: Switched to 1280x1024 (virtual 1280x1024) at 16 bit
(RGB16), pitch 2560
(!!!) *** WARNING [letting unprivileged
IDirectFBDisplayLayer::GetSurface() call pass until cooperative level
handling is finished] *** [idirectfbdisplaylayer.c:182 in
IDirectFBDisplayLayer_GetSurface()]
(*) FBDev/Mode: Setting 1280x1024 RGB32
(*) FBDev/Mode: Switched to 1280x1024 (virtual 1280x1024) at 32 bit
(RGB32), pitch 5120
(*) Direct/Interface: Loaded 'PNG' implementation of
'IDirectFBImageProvider'.
(*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.
It this parameter working at all? If so, what am I doing wrong?

The program is written in C++ and uses DFB++, by the way. If you need
any further information, just ask.

Thanks in advance
Kasi Mir

Loading...