Re: [maemo-developers] SDL, Re: SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Tapani Pälli wrote: As for the manual vs automatic updates, that brings another question. How often is the screen really updated? I saw in the kernel source there is manual vs automatic update mode but which one is actualy We are updating areas (dirty-rects), it would hog the memorybus if we w

Re: [maemo-developers] SDL, Re: SDL vertical blank (vbl) sync.

2006-05-30 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Eero Tamminen wrote: >> Hi, >> >>> Yes. So to draw without tearing effect either X of framebuffer driver >>> should report when to draw (vblank period or which line is currently >>> drawn by hardware) >> >> Another possibility is that (SDL) application could ask X serve

[maemo-developers] SDL, Re: SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Eero Tamminen wrote: Hi, Yes. So to draw without tearing effect either X of framebuffer driver should report when to draw (vblank period or which line is currently drawn by hardware) Another possibility is that (SDL) application could ask X server to ask Framebuffer to flush the framebuffer c

[maemo-developers] Backlight life when always on

2006-05-30 Thread Erik Walthinsen
I'm starting to build a set of applications that will turn one or more 770's into control panels for all the lighting in my church's sanctuary, which as of this last week are all on DMX-512 controlled dimmer packs. An Art-Net (http://www.artisticlicence.com/dwnart.htm) to DMX-512 bridge will allo

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Eero Tamminen
Hi, > Yes. So to draw without tearing effect either X of framebuffer driver > should report when to draw (vblank period or which line is currently > drawn by hardware) Another possibility is that (SDL) application could ask X server to ask Framebuffer to flush the framebuffer contents to the LCD

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Tapani Pälli wrote: I think there's no guarantee that you will get "HW surface" from SDL, it will silently fallback to SW surface if it cannot have HW one. SDL draws to X, X draws to the framebuffer mapped by kernel which then updates that data to the lcd controller where screen gets finally u

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Tapani Pälli
ext Frantisek Dufka wrote: > Visti Andresen wrote: > >> My "flashingTest" reports that: >> It got a hardware surface (I should be writing directly to "video >> memory" accordingly to the SDL docs) >> And the surface is double buffered. >> >> The size of the surface is 800x480 16 bit (R5G6B5) >> So

[maemo-developers] Re: Toolchain still not working...new clues

2006-05-30 Thread Eero Tamminen
Hi, > im using "localhost", as it cant accept the display > without it. there must be some workaound. I had a bug about that in the Maemo bugzilla and it's fixed in the newer SDK version. Just remove the "exit" line after the "DISPLAY" check in the af-sb-init.sh. - Eero __

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Frantisek Dufka
Visti Andresen wrote: My "flashingTest" reports that: It got a hardware surface (I should be writing directly to "video memory" accordingly to the SDL docs) And the surface is double buffered. The size of the surface is 800x480 16 bit (R5G6B5) So there should be at least 1536000 bytes of video

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Kuisma Salonen
My "flashingTest" reports that: It got a hardware surface (I should be writing directly to "video memory" accordingly to the SDL docs) And the surface is double buffered. Don't trust SDL, SDL is a liar. In X backend the SDL trusts what X says so "HW surface" could mean actually "server si

Re: [maemo-developers] SDL vertical blank (vbl) sync.

2006-05-30 Thread Visti Andresen
On Mon, 29 May 2006 16:50:50 +0200 Frantisek Dufka <[EMAIL PROTECTED]> wrote: > Juha Yrjölä wrote: > > > Unfortunately we don't provide user-space with the vsync information (or > > "Tearing Effect" signal, as it's called in LCD land). > > > > If there's large enough need for this, we might con

RE: [maemo-developers] Certificate Manager

2006-05-30 Thread Jakub.Pavelek
>-Original Message- >From: [EMAIL PROTECTED] >Hi, >Is there is any open source code available for Certificate >manager application in maemo? If yes, from where in maemo >repository can I download the source? >I tried using apt-get, but it always throws error. > >Thanks & rgrds, >shridevi