Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Frantisek Dufka
Huang Gao (Gmail) wrote: Dear all Maemo fans: I just noticed that Maemo used a different mechanism in LCD driver from normal FB drivers. It seemed that Maemo does not use the automatic DMA refresh in the driver, which is replaced by an ioctl named OMAPFB_UPDATE_WINDOW, and a

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
Hi, Frantisek: Thank you for your reply! But I am still wondering why the screen will not flicker if the DMA only refreshes when the data changed. Does Nokia uses something like smart panel? Best Regards Huang Gao(黄杲) -邮件原件- 发件人: Frantisek Dufka

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
Hi, On Tue, 2009-01-13 at 17:21 +0800, ext Huang Gao (Gmail) wrote: But I am still wondering why the screen will not flicker if the DMA only refreshes when the data changed. Does Nokia uses something like smart panel? There is an external HW framebuffer between omap and the lcd --

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Siarhei Siamashka
On Tue, Jan 13, 2009 at 10:56 AM, Frantisek Dufka duf...@seznam.cz wrote: BTW, there is kernel ioctl to set automatic refresh and the refresh rate can be tweaked in kernel source but the results are suboptimal. Maybe at least for Nokia 770 it would be possible to use tearsync flag for such

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will refresh itself from this hardware FB by its controller automatically, without

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Igor Stoppa
On Tue, 2009-01-13 at 12:23 +0200, ext Felipe Contreras wrote: On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
Hi, Igor Stoppa: Thank you for your reply! So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will refresh itself from this hardware FB by its controller automatically, without the help of OMAP DMA channel? Best Regards Huang Gao(黄杲)

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Felipe Contreras
On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I understand that this hardware FB is not contained in SDRAM or SRAM, and LCD will

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Siarhei Siamashka
On Tue, Jan 13, 2009 at 12:23 PM, Felipe Contreras felipe.contre...@gmail.com wrote: On Tue, Jan 13, 2009 at 12:05 PM, Igor Stoppa igor.sto...@nokia.com wrote: Hi, On Tue, 2009-01-13 at 18:06 +0800, ext Huang Gao (Gmail) wrote: Hi, Igor Stoppa: Thank you for your reply! So can I

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Huang Gao (Gmail)
Hi, Frantisek: I now understand. Thank you for your explanation! Best Regards Huang Gao(黄杲) -邮件原件- 发件人: Frantisek Dufka [mailto:duf...@seznam.cz] 发送时间: 2009年1月13日 18:49 收件人: ext Huang Gao (Gmail) 抄送: igor.sto...@nokia.com; maemo-developers@maemo.org 主题: Re: Does anyone

RE: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Simon Pickering
Would the manual mode help to avoid tearing? Yes, and it does help to avoid tearing. At least this works fine for XV extension. But getting tearfree scrolling/panning in GTK applications for example is a bit more challenging. I can provide a more detailed explanation if anybody is

Re: Does anyone know the mechanism in Nokia's LCD driver?

2009-01-13 Thread Frantisek Dufka
Siarhei Siamashka wrote: XV should make a perfect backend for SDL, because it maps fine on SDL API (SDL_SetVideoMode/SDL_Flip/...). In general, XV is a good backend for anything that uses double-buffered or triple-buffered fullscreen/fullwindow blits. It is possible to get ~27.5 frames per

Sandbox Works!

2009-01-13 Thread Dr. Nicholas Shaw
I am one happy dude! Sandbox is working (4.1.2)! Now I can finally get my program compiled within sandbox and my database (SQLite3) sent over to my 810. Yes, this is a good day (hopefully). Nick. ___ maemo-developers mailing list

Need Help With Xephyr

2009-01-13 Thread Dr. Nicholas Shaw
Ok, I've run hello world (yay). I'm following the install instructions for the rest, e.g. Xephyr. I've run apt-get install ./xserver-xephyr_1.4.2-10_arm.deb and get the following: Reading package lists... Done Building dependency tree... Done W: Couldn't stat source package list

Re: Need Help With Xephyr

2009-01-13 Thread Antonio Aloisio
Hi, If you want to install a deb file you have to run dpkg -i file.deb Antonio On Tue, Jan 13, 2009 at 8:59 PM, Dr. Nicholas Shaw d...@docharley.comwrote: Ok, I've run hello world (yay). I'm following the install instructions for the rest, e.g. Xephyr. I've run apt-get install

Re: Need Help With Xephyr

2009-01-13 Thread Ville M. Vainio
On Tue, Jan 13, 2009 at 8:59 PM, Dr. Nicholas Shaw d...@docharley.com wrote: the rest, e.g. Xephyr. I've run apt-get install ./xserver-xephyr_1.4.2-10_arm.deb and get the following: ... I first tried apt-get install xserver-xephyr outside scratchbox without success. What went wrong? Did

Re: Need Help With Xephyr

2009-01-13 Thread Denis Dimick
try this: sudo apt-get install xserver-xephyr Drop the version numbers, apt-get will install the latest. HtH, Denis -- sik vis paw kem, para bellum -- oderint dum metuant -- Our Country

RE: Need Help With Xephyr

2009-01-13 Thread Dr. Nicholas Shaw
Thanks, Antonio, tried that as well. The results were: Dpkg: error processing xserver-xephyr_1.4.2-10_arm.deb (--install): package architecture (arm) does not match system (i386) Errors were encountered while processing: xserver-xephyr_1.4.2-10_arm.deb I also tried _i386.deb with the

RE: Need Help With Xephyr

2009-01-13 Thread Dr. Nicholas Shaw
What went wrong? Did you forget to use sudo? This is where it *should* be installed. You have no use for arm xephyr (unless you are doing something very esoteric). I wish I had done something as simple as that but, no. I'm simply following the (or trying to anyway) INSTALL.txt. What I'm

Re: Need Help With Xephyr

2009-01-13 Thread Denis Dimick
Not to compile, you just need to enter into scratch box and compile away. Denis -- sik vis paw kem, para bellum -- oderint dum metuant -- Our Country won't go on forever, if we stay soft as

Re: Need Help With Xephyr

2009-01-13 Thread Ville M. Vainio
On Tue, Jan 13, 2009 at 10:57 PM, Dr. Nicholas Shaw d...@docharley.com wrote: What I'm trying to do is compile my C++ program and latest SQLite3 them move them to the N810. Do I even need Xephyr? No, you only need xephyr to run your code in an emulated graphical environment. If your program