Support for frame buffer in N800

2007-03-21 Thread Sampath Goud

Hi,

I want to know if there is frame buffer support in N800.
I have written a simple application (drawing a pixel) on frame buffer and
tried to execute it on N800 in root mode.
But it prompts the message permission denied.
Please let me know if there is support for frame buffer in N800. If there is
support then how can I use it?

Thanks and Regards,
Sampath
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Support for frame buffer in N800

2007-03-21 Thread Frantisek Dufka

Sampath Goud wrote:

Hi,

I want to know if there is frame buffer support in N800.


Yes. No support for console on framebuffer but generic framebuffer 
support shoud be there. Check /proc/fb.  Maybe you are using wrong 
device? There are three on N800 (one on N770). Not sure why it is like 
this and why there is difference between N770 and N800 but try the one 
with higher number (2?).


I have written a simple application (drawing a pixel) on frame buffer 
and tried to execute it on N800 in root mode.

But it prompts the message permission denied.


It should work but there is one small problem, see below :-)

Please let me know if there is support for frame buffer in N800. If 
there is support then how can I use it?


Problem is that the videochip is external so you won't see any output 
until you either issue proper update ioctl to update rectangle after you 
write your pixels or set the update mode to automatic (which is waste of 
resources, default is manual).


Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Support for frame buffer in N800

2007-03-21 Thread Siarhei Siamashka
On Wednesday 21 March 2007 09:58, Sampath Goud wrote:

 I want to know if there is frame buffer support in N800.
 I have written a simple application (drawing a pixel) on frame buffer and
 tried to execute it on N800 in root mode.
 But it prompts the message permission denied.
 Please let me know if there is support for frame buffer in N800. If there
 is support then how can I use it?

Yes, it is available. You should use /dev/fb0 if you want RGB color format
(/dev/fb1 and /dev/fb2 are used for video planes generally in YUV color
format).

But do you absolutely need to use framebuffer? Using framebuffer directly
introduces a lot of problems synchronizing access to it with xserver (and it
can't be done in a completely right way currently as far as I know).
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


FW: 770 auto shutdown problem

2007-03-21 Thread Cass, John P
 
From: Jose Maria Alonso [mailto:[EMAIL PROTECTED] 
Sent: 16 March 2007 22:01
To: Cass, John P
Subject: RE: 770 auto shutdown problem

Hi,

I found your post googling a bit because I have the same problem. I
couldn't 
post directly at:

http://www.mail-archive.com/maemo-developers%40maemo.org/msg08919.html

My N770 shutdowns randomly, sometimes it is possible to get it back, but
most 
of the time I have to switch it on again. It is very annoying.

I think the trick here is that the N770 shuts down after a while if
there is 
nothing to do. I've noticed that if I play music, the nokia does not
dies and 
behaves correctly all the time. Perhaps it is not ypur case.

Probably creating a 'stay-alive' app to the dbus could fix the
problem I 
have to take a look at this.

In case I find something new I'll let you know.

Thanks for the post!



RE: 770 auto shutdown problem
Cass, John P
 Thu, 15 Mar 2007 01:47:02 -0800
 
Dear All,

Thanks for your comments on my shutdown problem, sorry its taken a while
to get back to you but I was waiting for a new battery and being on
holiday!

So: I reflashed the unit (latest 2006) and put it in RD mode (green
info text on startup) and I was still seeing the same problem, namely
the 770 decides to turn itself off rather than entering a low power
standby state after a period of inactivity.

I bought a new battery and have tried that too and I am getting the same
problem.

Even with the old battery, energy levels are not low, I can use the
device for ages on constant usage its just if I close it, when I come
back (even after a short time, say 10 minutes) the device is dead.

Apart from monitoring the dbus, does anyone have an idea on how I can
try to trace what's happening when it shuts down?  Are there any clever
ways of recording the sequence of events that would lead to a shutdown?
Does anyone know the logic that leads to shutdowns or stanby actions?
Is the code that governs this open?  Could someone point me to it?


Thanks

John
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Support for frame buffer in N800

2007-03-21 Thread Eero Tamminen
Hi,

ext Siarhei Siamashka wrote:
 I want to know if there is frame buffer support in N800.
 I have written a simple application (drawing a pixel) on frame buffer and
 tried to execute it on N800 in root mode.
 But it prompts the message permission denied.
 Please let me know if there is support for frame buffer in N800. If there
 is support then how can I use it?
 
 Yes, it is available. You should use /dev/fb0 if you want RGB color format
 (/dev/fb1 and /dev/fb2 are used for video planes generally in YUV color
 format).
 
 But do you absolutely need to use framebuffer? Using framebuffer directly
 introduces a lot of problems synchronizing access to it with xserver (and it
 can't be done in a completely right way currently as far as I know).

Using framebuffer is completely acceptable solution if one doesn't
use Xserver and rest of the UI.  I.e. wants to replace the whole
UI framework.  I don't think there's much sense in this, but hey,
it's an option.  :-)


- Eero
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Asking for information

2007-03-21 Thread magda chelly
   Hi,
   
   I want to ask please for help, in fact, I doing
 a
   project on the N800, and I develop a simple
   application in C. But, when trying to run it on
  the
   device it tells me Permission Denied. I copy the
   file
   on the device and the same thing!! Can you
 advice
  me
   what to do?
   Thanks,
   Magda,







___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Asking for information

2007-03-21 Thread T Taneli Vahakangas
On Wed, 21 Mar 2007, magda chelly wrote:

application in C. But, when trying to run it on
   the
device it tells me Permission Denied. I copy the
file
on the device and the same thing!! Can you
  advice
   me
what to do?

Try this:
chmod +x file
./file

Taneli

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


FW: Maemo

2007-03-21 Thread Alma Prlja

Hi,

I have created an application for Nokia 770
using pygtk and glade. I tested it in the scratchbox and it all work
well. Then I tried to install the app_arm.deb file on the Nokia 770
and that also went well. The problem is that the application doesn't
start on the Nokia. I think that it must be the link to the .glade
file or something. When I create the deb package I have 6 files
app.py
app.glade
app.service
app.desktop
Makefile
setup.py
in setup file I put the files in these directories
('share/applications/hildon',   [ 'dbc.desktop' ]),
('share/dbc',   [ 'dbc.glade' ]),
('share/dbus-1/services',   [ 'dbc.service' ])
In the .service and .desktop files I put the Exec file in
/usr/bin/app
and in the .py file I connect the python code with the glade file with
/usr/share/app/app.glade
What changes do I have to do to get the application running on Nokia 770?

Best regards
Alma

_
Motionera roligare med MSN Hälsa http://e-health.msn.se/

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Developping C application on maemo without scratchbox

2007-03-21 Thread magda chelly
Hello,

I'm trying to run a simple program on my device nokia
N800, without scratchbox and it doesn't work!! It
tells me Permission Denied when I use ./, after doing
chmod +x, and I can't use gcc to run it !! I already
install a gcc package gcc3.4.4, but I don't have the
possibility to use it!
Please could someone help me!!
Thank you very much for reply!!

Best regards,
Magda,






___ 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur 
Yahoo! Questions/Réponses 
http://fr.answers.yahoo.com
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: FW: Maemo

2007-03-21 Thread Luciano Miguel Wolf

Hi Alma,

Have you tried to run your application from terminal? I think it will 
show some more information.


Regards,
Luciano Wolf


ext Alma Prlja wrote:

Hi,

I have created an application for Nokia 770
using pygtk and glade. I tested it in the scratchbox and it all work
well. Then I tried to install the app_arm.deb file on the Nokia 770
and that also went well. The problem is that the application doesn't
start on the Nokia. I think that it must be the link to the .glade
file or something. When I create the deb package I have 6 files
app.py
app.glade
app.service
app.desktop
Makefile
setup.py
in setup file I put the files in these directories
('share/applications/hildon', [ 'dbc.desktop' ]),
('share/dbc', [ 'dbc.glade' ]),
('share/dbus-1/services', [ 'dbc.service' ])
In the .service and .desktop files I put the Exec file in
/usr/bin/app
and in the .py file I connect the python code with the glade file with
/usr/share/app/app.glade
What changes do I have to do to get the application running on Nokia 770?

Best regards
Alma


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Converting PDFs toN770's Resolution

2007-03-21 Thread Amichai Rotman

Hello all,

I have a bunch of PDF files I would like to read on my 770.

These PDFs are an eZine and consist of purely heavy graphics set to a normal
PC screen resolution.

The internal PDF reader was unable to coupe with the heavy task, so I've
tried Evince and had better luck, but still, it's slow turning pages and to
read it I need to zoom in and then the navigation is very uncomfortable...

I am running an Ubuntu Edgy box at home, and I though I could convert the
files to the 770's screen resolution - optimized screen resolution and
smaller file size (some of them get as big as 14 MB(!)

Is there something similar to the Media Converter script for PDF's?

Any pdf-tool I can run on the file from a console on my Ubuntu box?

Thanks!

--
.::.

Amichai Rotman

UIN#: 6401746
Registered Linux User#: 201192 [http://counter.li.org/]



PLEASE READ: http://www.gnu.org/philosophy/no-word-attachments.html



.::.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Developping C application on maemo without scratchbox

2007-03-21 Thread Sergio Villar Senin
magda chelly wrote:
 Hello,
 
 I'm trying to run a simple program on my device nokia
 N800, without scratchbox and it doesn't work!!

Well the scratchbox is not used to run applications in the device, it's
used to develop applications outside the device.

 It
 tells me Permission Denied when I use ./, after doing
 chmod +x, and I can't use gcc to run it !! I already
 install a gcc package gcc3.4.4, but I don't have the
 possibility to use it!

Have you tried to run it with run-standalone.sh? I mean, try the following

$ run-standalone.sh ./name_of_your_program

Br
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: Developping C application on maemo without scratchbox

2007-03-21 Thread Karoliina.T.Salminen
Hi,
 
Hello,

I'm trying to run a simple program on my device nokia N800, 
without scratchbox and it doesn't work!!

First of all what are you trying to do?
Are you trying to set up compilation environment on the device in order
to be able to compile
programs without scratchbox? This is very complicated thing to do. The
reason is simply that
the development libraries, gcc etc. takes a lots of space and you may be
in trouble in trying to fit that
on the internal flash. This would be pretty cool thing to have if there
was plenty of resources on
the device to allow that, but with the restrictions the device sets, it
is going to be hard and
I am not sure if you was going to attempt this.

Or maybe you trying to do something else like execute your hello.c on
your device. If the case
is the latter, it sounds like you don't have your compilation
environment, in other words, Scratchbox, correctly setted up on your PC
and you are trying something else which will not work.

 It tells me 
Permission Denied when I use ./, after doing chmod +x, and I 
can't use gcc to run it !!

I guess you know gcc is not used to run c-programs but to compile them
to machine language.
The C is compiled language and is not an interpreted language where you
could run
something with gcc. I hope you are not meaning chmod +x hello.c and then
attempt
./hello.c which will of course never work.

 I already install a gcc package 
gcc3.4.4, but I don't have the possibility to use it!

Where did you install it? On the device or on your computer?

Please could someone help me!!
Thank you very much for reply!!

If you want to do a simple C application for N800, you have to:
1. install scratchbox according to the instructions on the Meamo site
2. install rootstraps according to the instructions on the Maemo site
3. _Inside_ the scratchbox on arm-target, compile your program, for
example:
gcc hello.c -o hello
4. Copy your compiled executable to the device by e.g. copying to the
memory card.
5. Go to x-terminal and cd e.g. /media/mmc2/ (depending on which memory
card you did put your
file, is it in the internal slot or on the external slot)
6. Then you can execute your hello by typing ./hello

And surely it works and it doesn't say Permission Denied. It can say
this if you haven't
compiled your binary properly, e.g. if you have compiled in on the PC
without the cross compilation
environment, namely Scratchbox. 

Best Regards,
Karoliina Salminen
http://www.karoliinasalminen.com/blog

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Converting PDFs toN770's Resolution

2007-03-21 Thread Mika Yrjölä

Amichai Rotman wrote:


I have a bunch of PDF files I would like to read on my 770.

These PDFs are an eZine and consist of purely heavy graphics set to a normal
PC screen resolution.



I am running an Ubuntu Edgy box at home, and I though I could convert the
files to the 770's screen resolution - optimized screen resolution and
smaller file size (some of them get as big as 14 MB(!)


Hi,

one way to do this might be to use ImageMagick tools to first convert
the PDF to a series of images, scale them to the desired resolution
and then rebuild the PDF from the images.

That would go something like the following:

convert -scale new_widthxnew_height my-original.pdf individual-pages.png

This should result to a series of images that are scaled down to the
specified size.

Then you can rebuild the pdf with

convert individual-pages*.png my-new.pdf

Actually, it seems to be possible to do an one-step scaling  conversion with

convert -scale new_widthxnew_height my-original.pdf my-new.pdf

but the intermediate step might be handy if you want to do some other
kind of cosmetic changes to the images in addition to the scaling.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Paul F. Sehorne


Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon 
program (the sample) compiled and ready to run.  Next is to get Xephyr 
running.  I'm running Redhat which uses RPMs.  How do I install the 
Xephyr DEB file?


Thanks,

--
Paul


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Igor Stoppa
On Wed, 2007-03-21 at 09:33 -0600, ext Paul F. Sehorne wrote:
 Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon 
 program (the sample) compiled and ready to run.  Next is to get Xephyr 
 running.  I'm running Redhat which uses RPMs.  How do I install the 
 Xephyr DEB file?
 
 Thanks,

what about alien?
 
-- 
Cheers, Igor

Igor Stoppa [EMAIL PROTECTED]
(Nokia Multimedia - CP - OSSO / Helsinki, Finland)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Paul Klapperich

On 3/21/07, Igor Stoppa [EMAIL PROTECTED] wrote:


On Wed, 2007-03-21 at 09:33 -0600, ext Paul F. Sehorne wrote:
 Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon
 program (the sample) compiled and ready to run.  Next is to get Xephyr
 running.  I'm running Redhat which uses RPMs.  How do I install the
 Xephyr DEB file?

 Thanks,

what about alien?



That, or you can just get the Xephyr package for your system. If you have
yum setup, I am sure it is in one of the repositories. Otherwise, you can
search for the RPMs you need on something like rpmfinder.net

--Paul
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Vladislav Grinchenko
try 'sudo yum install xorg-x11-serer-Xephyr'

--Vlad

On Wed, 2007-03-21 at 09:33 -0600, Paul F. Sehorne wrote:
 Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon 
 program (the sample) compiled and ready to run.  Next is to get Xephyr 
 running.  I'm running Redhat which uses RPMs.  How do I install the 
 Xephyr DEB file?
 
 Thanks,
 

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Developping C application on maemo without scratchbox

2007-03-21 Thread Santtu Lakkala
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 5. Go to x-terminal and cd e.g. /media/mmc2/ (depending on which memory
 card you did put your
 file, is it in the internal slot or on the external slot)
 6. Then you can execute your hello by typing ./hello
 
 And surely it works and it doesn't say Permission Denied. It can say
 this if you haven't

Given that the mmcs use (v)fat (by default), chmod +x is a noop, and as
they're mounted noexec, Permission Denied is exactly what you get. So
in order to test the program, one needs to copy it to rootfs, then chmod
+x and then run-standalone ./foobar.

- --
Santtu Lakkala
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFGAV03X9Rc0+po4p0RAnaoAJwM0sboqSgeFZtlfIAwhR04Ll8B1QCfcRc6
CiHMSY9LPzb7zdWj6YOsUp8=
=WUfw
-END PGP SIGNATURE-
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Launch maemo browser in fullscreen mode

2007-03-21 Thread Johan Bilien
On Tue, Mar 20, 2007, Frantisek Dufka wrote:
 Tomàs Jiménez Lozano wrote:
 
 There is really no way to maximize an application in general (and maemo
 browser in particular) emulating the HW Key press?
 
 
 Yes this brute force approach could work too. You could use uinput 
 kernel driver (used with serial bluetooth keyboards) to feed proper 
 F-key to the kernel input subsystem to emulate such key press. Could be 
 quite easy but you need kernel module not present by default on the device.

Using the XTest extension should work, something like
XTestFakeKeyEvent (display, keycode, TRUE, CurrentTime);
XTestFakeKeyEvent (display, keycode, FALSE, CurrentTime);

-- 
Johan Bilien
[EMAIL PROTECTED]
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Xephyr dependencies stop progress...

2007-03-21 Thread Paul F. Sehorne
Thanks to Paul Klapperich's suggestion, I was able to use 'alien' to 
create an RPM file out of the DEB file.  Now I am back in dependency 
hell.  Xephyr depends on

error: Failed dependencies:
   libXau.so.6 is needed by xserver-xephyr-1.1.1-21
   libXdmcp.so.6 is needed by xserver-xephyr-1.1.1-21
   libfontenc.so.1 is needed by xserver-xephyr-1.1.1-21
even after installing libXdmcp-1.0.1

--
Paul


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Xephyr dependencies stop progress...

2007-03-21 Thread Paul Klapperich

On 3/21/07, Paul F. Sehorne [EMAIL PROTECTED] wrote:


Thanks to Paul Klapperich's suggestion, I was able to use 'alien' to
create an RPM file out of the DEB file.  Now I am back in dependency
hell.  Xephyr depends on
error: Failed dependencies:
 libXau.so.6 is needed by xserver-xephyr-1.1.1-21
libXdmcp.so.6 is needed by xserver-xephyr-1.1.1-21
libfontenc.so.1 is needed by xserver-xephyr-1.1.1-21
even after installing libXdmcp-1.0.1



Actually, I still think you should have used yum. Yum is akin to Debian's
aptitude and will resolve dependencies and download packages automagically.
I really don't feel you should be using RHE or Fedora without Yum
configured. Once Yum is setup properly--use Google or your Redhat, Redhat
support, or some of the Redhat community guides that I'm sure
exist--Vladislav provided the yum commandline that will install xephyr and
all required dependencies in his post to your message titled. I'm not sure
which Redhat your using, so I don't feel confident giving you specific
instructions myself--I've never used Redhat on a regular basis.

If you really don't want to setup yum, you'll have to manually track down
the required libraries on a site like rpmfinder.net. To start you off,
here's libXau[1]. Besure you grab the right one for your distribution.
Repeat with the next library. Yum would have done this for you.

[1]http://rpmfind.net/linux/rpm2html/search.php?query=libXau.so.6

--Paul
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: Xephyr dependencies stop progress...

2007-03-21 Thread Paul F. Sehorne

Paul (Klapperich)
Sorry for the confusion.  My statement BTW, the message indicates Red 
Hat Linux 3.2.3-56 should have been BTW, the _error_ message _below_ 
indicates Red Hat Linux 3.2.3-56.  The version had not been mentioned 
in any prior post.


Paul (Sehorne)


Paul Klapperich wrote:
On 3/21/07, *Paul F. Sehorne* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Paul Klapperich wrote:
 Actually, I still think you should have used yum.
I agree, but  my installation of yum is not working either (because of
dependencies).  I tried to install xephyr using rpm hoping for
success,
wishful thinking I know.  I guess my time would be better spent
getting
yum working.  Right now when I execute yum I am greeted with the
following:  (BTW, the message indicates Red Hat Linux 3.2.3-56)


Sorry, I missed that because you keep creating new posts instead of 
just continuing a single thread. Neither of the threads I read 
indicated a version.


Is that RHEL 3.2, or an old Redhat 3.2? Regardless, even RHEL 3.2 is 
pretty old--that might give you some problems right there. But like I 
said, I don't really know Redhat...



 yum error msg follows==
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.2.3 (#1, Sep 26 2006, 18:12:26)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-56)]

If you cannot solve this problem yourself, please send this
message to  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED].
= end of yum error msg 


A quick search revealed this post[1], which looks similar to your 
situation. The reply says to look at questions 7 and 10 from the YUM 
faq[2]. (10 is how to search the yum mailing list).


[1] https://lists.dulug.duke.edu/pipermail/yum/2005-October/007831.html
[2] http://wiki.linux.duke.edu/YumFaq#Q10

Hope that help
--Paul




--
Paul

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: N800 Video playback

2007-03-21 Thread Siarhei Siamashka
On Tuesday 20 March 2007 15:03, Klaus Rotter wrote:

  On Tue, Mar 20, 2007 at 09:31:00AM +0100, ext Klaus Rotter wrote:
  The memory bandwidth to the N800 LCD framebuffer is 3 times slower that
  the bandwidth in the N770? Is it really _that_ big?
 
  Siarhei's calculations were correct, so, yes.

 Bad... the N770 interface wasn't the fasted either. So we have even a
 more slow down. 

There is one important thing to note. Screen updates are asynchronous and 
are performed simultaneously with CPU doing some other useful things at 
the same time. Screen updates do not introduce any overhead or affect 
performance (at least I did not notice any such effect). So insanely boosting
graphics bus performance will not provide any improvements at all once it is 
capable to sustain acceptable framerate. And what is acceptable depends
on applications. Video may require higher framerate, but it is both high
resolution and high framerate movies that may exceed graphics bus 
capabilities, in this case video will be still played (if cpu is fast enough
to decode it, that's another story) but with some frames skipped and 
many people will not even notice any problems. Quite a lot of people 
are even satistied with 15fps transcoded video, so getting maybe 20-25fps
(random guess) on some videos instead of 30fps is not so bad.

Tearing at the bottom is most likely caused by screen update time being 
longer than two LCD refresh cycles. With tearsync enabled, both screen 
update and refresh cycle start at the same time, refresh is faster, so we
still see the previous frame on the screen. When the first refresh cycle
completes, screen buffer is slightly less than half updated at that moment.
The second LCD refresh cycle starts displaying the data from the new image,
while screen buffer still continues to get updated, but not fast enough to
complete before this second LCD refresh cycle catches up not too far 
from the bottom part of the screen. If the screen update was faster than two
refresh cycles, there would be no tearing visible. Screen update only needs 
to be 15-20% faster to achieve this. If improving graphics bus performance
does  not work, I wonder if it is possible to to reduce LCD refresh rate
instead?

Anyway, I think it is better to believe Daniel and wait for the new
firmware update :)

 On the N770 there was the feature (with SDL games) of 
 doubling the pixels by hardware with a X-server extension. Will this
 feature be available in the new kernel / X11 server for the N800? It
 would be great if it would use the same API.

Doubling pixels will definitely reduce the load on the graphics bus so that
its bandwidth should become not an issue.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Paul F. Sehorne

I now have yum working (Installed version 2.0.8.) BUT.

Unfortunately the command suggested in the post below does not work 
(even with the typo corrected).  I suspect the reason is that there is 
no rpm for xephyr (only deb) except for the one I created with alien.  
(Another reason could be that list of repositories in the yum.conf is 
out of date)


I have added a stanza to yum.conf that points to a directory on my 
machine where I have placed a (dummy) header.info file.  yum finds the 
header.info file, but of course complains about its format.  So I now 
have to know the format to put in the header.info file.  (I just want to 
write code!)  I'm searching the Internet and have learned that later 
versions of yum no longer use the header.info file.  They now use xml.  
Of course, I would still have to know the format of the xml if there is 
no public repository for xephyr that is compatible with yum (meaning an 
rpm repository I assume). 



Thanks,
Paul


Vladislav Grinchenko wrote:

try 'sudo yum install xorg-x11-serer-Xephyr'

--Vlad

On Wed, 2007-03-21 at 09:33 -0600, Paul F. Sehorne wrote:
  
Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon 
program (the sample) compiled and ready to run.  Next is to get Xephyr 
running.  I'm running Redhat which uses RPMs.  How do I install the 
Xephyr DEB file?


Thanks,






  



--
Paul


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: How to install Xepphyr deb file on Redhat which uses rpms?

2007-03-21 Thread Paul Klapperich

On 3/21/07, Paul F. Sehorne [EMAIL PROTECTED] wrote:


I now have yum working (Installed version 2.0.8.) BUT.

Unfortunately the command suggested in the post below does not work
(even with the typo corrected).  I suspect the reason is that there is
no rpm for xephyr (only deb) except for the one I created with alien.
(Another reason could be that list of repositories in the yum.conf is
out of date)



Did you do a # yum update or $ sudo yum update before  the yum install
command? If that doesn't help, then you're missing whichever repository
contains xephyr. It's extremely rare to find something in DEB but not RPM.
The reverse is much more common.

It is, apparently, in the FC6 repositories, at least[1]. Here's a link to
that RPM[2]. From what I can tell, it's not in any of the RHEL repositories.
At least you may be able to resolve the dependencies using yum install
library-name use yum search query to see if package query exists in your
repository set.


[1]http://www.bytebot.net/blog/archives/2007/03/01/maemo-30-on-fedora-core-6-n800-development-environment
[2]download.fedora.redhat.com/pub/fedora/linux/core/updates/6/i386/
xorg-x11-server-Xephyr-1.1.1-47.6.fc6.i386.rpmhttp://rpm.pbone.net/index.php3/stat/4/idpl/3946355/com/xorg-x11-server-Xephyr-1.1.1-47.6.fc6.i386.rpm.html

--Paul

I have added a stanza to yum.conf that points to a directory on my

machine where I have placed a (dummy) header.info file.  yum finds the
header.info file, but of course complains about its format.  So I now
have to know the format to put in the header.info file.  (I just want to
write code!)  I'm searching the Internet and have learned that later
versions of yum no longer use the header.info file.  They now use xml.
Of course, I would still have to know the format of the xml if there is
no public repository for xephyr that is compatible with yum (meaning an
rpm repository I assume).


Thanks,
Paul


Vladislav Grinchenko wrote:
 try 'sudo yum install xorg-x11-serer-Xephyr'

 --Vlad

 On Wed, 2007-03-21 at 09:33 -0600, Paul F. Sehorne wrote:

 Thanks to advice from Kimmo Hämäläinen, I now have my first Hildon
 program (the sample) compiled and ready to run.  Next is to get Xephyr
 running.  I'm running Redhat which uses RPMs.  How do I install the
 Xephyr DEB file?

 Thanks,








--
Paul


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


SoC update

2007-03-21 Thread Quim Gil
Hi,

Things are going not-bad in the Summer of Code project. We currently
have 7 project proposals, 8 community mentors, 8 backup mentors (Nokia
employees) and 1 administrator (myself, Nokia employee too). You can see
titles and names at http://maemo.org/maemowiki/GoogleSoC2007

PROJECT PROPOSALS
The deadline for student proposals is in 4 days (March 26; applications
must be received by 5:00 PM Pacific time (12:00 AM UTC March 27, 2007).
I haven't looked in depth to the proposals yet and I still haven't got
an opinion about their quality and feasibility. We don't know either if
there are more proposals being worked on, hopefully yes. In general I
think it would be good to have more proposals to choose from and rank.

COMMUNITY MENTORS
I have been approving all the candidates that went through the Google
form. No reliability checked. Mentor reliability depends a lot on the
quality/feasibility of the project a mentor is tied, so it is a bit of
chicken and egg game to see which projects+mentors need to be promoted
at the top of the list. Currently 3 mentors have requested ownership of
1 of the 7 projects proposed. We will have 10 days or so to discuss all
this internally, between all mentors.

BACKUP MENTORS
We will follow the plan, and these backup mentors working at Nokia won't
take ownership of any project. They are there now in order to help
studying proposals, provide background info etc. They will be there to
help in the case a project has problems delivering. Let's leave just a
2cm open door to a possibility of an ideal project proposal having their
ideal mentor counterpart in a backup mentor, and everybody agrees that
it would be stupid not to take this opportunity. Hopefully we don't need
to use these 2cm, though.

ORGANIZATION ADMINS
Currently we have just one: myself. I volunteered to bootstrap this
process in order to get a SoC opportunity for maemo and the mission is
accomplished now. We need one or more community administrators and I
would stay as backup admin, just in case help is needed. A first rule of
this game was that maemo @ SoC is a community driven initiative. The
idea was brought by community people, and the best way to keep this aim
is having community people in the key positions. Conclusion: we need 2
administrators, can you please decide which ones?

SoC CASH
There are still no candidates to get the cash paid by Google to the
organizations taking part in the SoC. Just think of a cool project/group
around maemo needing some cash to do great things and we will redirect
the Google money there. Maemo hasn't got an entity by its own, as for
today is a Nokia owned brand. Another fundamental rule of the game was
Nokia or Nokia employees won't receive a cent from this program. Propose
alternatives, Google doesn't need to save that money.  ;)

-- 
Quim Gil - http://maemo.org

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers