Re: [maemo-developers] Unresolved issues (Week 46)

2006-11-23 Thread Siarhei Siamashka
On Thursday 23 November 2006 22:19, Charles 'Buck' Krasic wrote:

> No, my dsp work was actually video related.I did reuse Siarhei
> Siamashka's mplayer code to decode/output mp3 directly, but that
> obviously doesn't help with speex.

Just a disclaimer before anybody starts bashing my ugly hack that allows to
use dspmp3sink for mp3 playback from mplayer :)

I know that it is improper use of gstreamer api for audio synchronization, but
anything that looked somewhat better (proper buffer timestamps, the use of
gstreamer pipeline clock instead of system time, ...) appeared to work even
worse in my tests. So the code that is currently used in mplayer is bad, but
the other options seemed to be even worse :(

Surely it was not the best experience to start getting familiar with gstreamer
and I'm surely not going to start looking for the one who is at fault here,
there is a high probability that I missed something important and it is me
after all ;) Anybody who can fix gstreamer based output module for mplayer 
is welcome to submit a patch.

The only excuse for keeping this bad code in maemo build of mplayer is that 
it provides some performance improvement and works quite acceptable
(audio/video sync is ok) most of the time.

Now as the sources of gstreamer plugins are available, they may provide 
some insights about how to use them better and what could be wrong.

> I'd suggest that the most practical approach for now would be to have
> an application that uses a speex dsp task to decode speex,  and then
> takes the output from that speex task and routes it to an existing
> gstreamer plugin for pcm output. This may be suboptimal, as the
> data will cross the dsp gateway boundary twice more than necessary,
> but it still might retain most of the benefit of offloading speex work
> to the dsp.I mean were talking something like 64KB/s of extra
> copying in the worst case (?), which I don't think will be a very
> significant cost even on the 770's OMAP processor.
>
> The marginal benefit of persuing a zero copy solution (direct from dsp
> to sound) just probably isn't work the effort.   Documentation for the
> software components of the 770 that use the dsp is virtually
> non-existent until now.   Aside from the mp3 decoder, I think all of
> the other stuff has been basically unavailable to developers outside
> of those working on Nokia's closed source multimedia applications.
> On the bright side, the gstreamer plugins for these various pieces has
> been made open source in maemo 2.1. I wouldn't hold my breath on
> the dsp side of these plugins ever becoming open source (although I
> would wholeheartedly welcome it!).

It would be very nice to have the sources (maybe some stripped down version)
of C55x stuff that is used by dsppcmsink as a template for implementing
thirdparty dsp based decoders. But maybe I'm asking for too much :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Scratchbox 1.x with scirocco/mistral

2006-11-23 Thread Ilpo Stenberg

Hi,

I have used scratchbox-1.0.6 (apophis) to compile couple of extra kernel 
modules
(for 2.6.16-2.6.16.rel kernel IST 2006?). I had lot of problems with 
installation -

binary tar balls didn't work, but .deb -packages did, and so on.

Finally I got it working with instructions here:

http://syslog.movial.fi/archives/38-Scratchbox-Apophis-R4-released.html

(though sb-conf didn't work, but sb-menu does)

--
Ilpo Stenberg

Tran Van Hoang wrote:

Hi all
I'm wondering if anyone has been using scratchbox 1.x , in stead of the
officially supported 0.9.x to play around with mistral/scirocco?

If you have, pls kindly drop me line on the problems you've had or
simply saying you have no problems at all. I'd really appreciate it

Thanks in advance,
BR,
Hoang,


___
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


Re: [maemo-developers] Unresolved issues (Week 46)

2006-11-23 Thread Charles 'Buck' Krasic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

No, my dsp work was actually video related.I did reuse Siarhei
Siamashka's mplayer code to decode/output mp3 directly, but that
obviously doesn't help with speex.

I'd suggest that the most practical approach for now would be to have
an application that uses a speex dsp task to decode speex,  and then
takes the output from that speex task and routes it to an existing
gstreamer plugin for pcm output. This may be suboptimal, as the
data will cross the dsp gateway boundary twice more than necessary,
but it still might retain most of the benefit of offloading speex work
to the dsp.I mean were talking something like 64KB/s of extra
copying in the worst case (?), which I don't think will be a very
significant cost even on the 770's OMAP processor.

The marginal benefit of persuing a zero copy solution (direct from dsp
to sound) just probably isn't work the effort.   Documentation for the
software components of the 770 that use the dsp is virtually
non-existent until now.   Aside from the mp3 decoder, I think all of
the other stuff has been basically unavailable to developers outside
of those working on Nokia's closed source multimedia applications.   
On the bright side, the gstreamer plugins for these various pieces has
been made open source in maemo 2.1. I wouldn't hold my breath on
the dsp side of these plugins ever becoming open source (although I
would wholeheartedly welcome it!).

- -- Buck


Simon Pickering wrote:

>
>
>>> If you want something free, I'd suggest using our speex
>>
>> codec, which
>>
>>> is technically comparable, completely open, and has no known
>>> patent issues. We don't have an omap dsp implementation, but it
>>> has been ported to the various TI DSPs.
>>>
>>> http://speex.org/
>>>
>>> -r
>>
>> I did quite a bit of experimentation with the 770 dsp back in
>> late august. As a point of clarification, the dsp in the OMAP
>> 1710 (used in the 770) is just a TI *C55x, *which is already
>> supported by speex as far as I can tell. Thus, getting speex
>> to work on the 770 should mostly be an issue of adapting the he
>> exisiting speex C55x port to the build process using the free dsp
>> tools, or TI's code composer; and writing appropriate wrappers to
>> move data back and forth across the ARM to DSP boundary using the
>> linux dsp gateway interfaces.
>>
>
> There's still the problem of getting the DSP to output sound
> directly though, is there not? Or did you work out what the
> functions in the avs_kernel do (or bypass them completely)?
>
>
> Simon
>
> ___ maemo-developers
> mailing list maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFZgI8PrrWIMa4SMsRAtwtAKCewZZX7kvSYuXizfLAuKHcT840QACfb1p+
Ch8kmyDqxZveYbJbpPSfBC0=
=ovMU
-END PGP SIGNATURE-

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


[maemo-developers] Re: Scratchbox 1.x with scirocco/mistral

2006-11-23 Thread Carlos Sanmartin Dominguez
Hi,

> I'm wondering if anyone has been using scratchbox 1.x , in stead of 
> the officially supported 0.9.x to play around with mistral/scirocco?

I was testing a bit the scirocco rootstrap with the apohis r4
scratchbox. You can read more about the light tests I've made at:
http://community.igalia.com/twiki/bin/view/Main/MaemoInScratchboxApophis

I wonder if you'd like to put in the wiki...

Br,
Carlos.

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


Re: [maemo-developers] Bluetooth headset?

2006-11-23 Thread George Farris
On Thu, 2006-23-11 at 20:31 +0200, Stefan Kost wrote:
> Hi George,
> 
> George Farris wrote:
> > On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote:
> >   
> >> On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote:
> >> 
> >>> On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote:
> >>>   
>  Here is a list of issues raised on this list I think have not been
>  concluded so far, in no particular order. The easiest way to get off the
>  list is to provide answers, but you can also try convincing me other
>  ways.
>  
> >>> Please also include working Bluetooth headset support or lack there of.
> >>> http://maemo.org/maemowiki/BluetoothHeadset
> >>>   
> >> Please try to phrase it as a question, the more specific the better (I
> >> don't really have any clue about Bluetooth and related issues.) To me it
> >> seems somewhat like an advertisement for a howto or something, which I
> >> don't believe is what you mean.
> >>
> >>
> >> 
> >
> > Well from the web page in the link:
> >
> > Note: It appears that, due to limitations in Nokia's current Bluetooth
> > driver on the 770, you can not actually use a bluetooth headset.
> > Everything will appear to work, except that you won't get any audio out:
> > [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html
> >
> > Please provide a working driver for bluetooth audio, both in and out.
> >   
> Please consider that we are not stupid. If it would be that easy we
> would have done it. Having working bluetooth headset support is so dead
> obviously useful, that it is impossible that we have overlooked it. Have
> you ever tried to get it running under linux? Yes it needs work. So
> please be patient, its done when its done. If you want to speed it up,
> join the bluez guys and help them out.

I'm sorry, did I insult someone here?  I didn't think so.  I merely
provided data and a link reference.  I at no time suggested or made any
personal or derogatory comments.  

You, said you didn't have any clue about bluetooth and I merely pointed
you to the information, which is what I thought you wanted.  In fact I
treated you with competence and intelligence to read the information and
go from there.






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


Re: [maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 46))

2006-11-23 Thread George Farris
On Thu, 2006-23-11 at 17:55 +0200, Tommi Komulainen wrote:
> On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote:
> >   * 
> > http://maemo.org/pipermail/maemo-developers/2006-November/006248.html
> > Bluetooth headset?
> > 
> > What are [we] doing to enable support for bluetooth headsets?
> 
> We don't have concrete plans at the moment. Please bring this up after
> next release, in case we forget it.
> 
> 

There have already been requests for the last three releases.  Is there
no way to push this forward a step so we can get this support in for the
NEXT release?

Thanks


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


Re: [maemo-developers] WMA streaming

2006-11-23 Thread Siarhei Siamashka
On Monday 13 November 2006 22:08, Andrew Barr wrote:

> What are my options for Windows Media Audio streams on the 770? Most
> Internet radio streams (I mean simulcasts of real broadcasts in this sense)
> are offered in (at least) this format, which is supported by free software
> (ffmpeg) up to version 2, the latest version I've ever seen anywhere.
> However, no one seems to have had any luck with third-party codecs on this
> device, much less for streaming. Is this device powerful enough to handle
> decoding audio streams using C or ARM-assembly codecs (from ffmpeg)? It's
> likely that the bitstream would be 16 to 24 kbps. I understand free tools
> for the DSP aren't quite there yet, so that may not be an option.

FFmpeg library contains WMA decoder and MPlayer supports it at least on 
x86 desktop PC. There are some problems with its support on ARM though.

First and the most easy to fix is that WMA decoder seems to have some
alignment problems, so it crashes on any attempt to play WMA files. This is
quite easy to workaround by running 'echo 3 > /proc/cpu/alignment' as root,
see https://maemo.org/maemowiki/PortingFromX86ToARM and the links at it 
for more information.

A major problem with WMA decoder is that it uses floating point math. And
having no FPU in hardware, Nokia 770 does not seem to be able to decode 
128kbps WMA files to play them in realtime (sound is skippy). So it is not
very useful unless somebody finds (or implements) a fixed point WMA decoder.

However I also tested 20kbps WMA sample and it worked fine with CPU load 
at about 60%. So if anybody would like to have such low bitrate WMA
files/streams supported, I can have a look at these alignment problems, fix 
them and release updated version of MPlayer for everyone to use.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Bluetooth headset?

2006-11-23 Thread Stefan Kost
Hi George,

George Farris wrote:
> On Tue, 2006-14-11 at 18:42 +0200, Tommi Komulainen wrote:
>   
>> On Mon, 2006-11-13 at 09:50 -0800, ext George Farris wrote:
>> 
>>> On Mon, 2006-13-11 at 11:47 +0200, Tommi Komulainen wrote:
>>>   
 Here is a list of issues raised on this list I think have not been
 concluded so far, in no particular order. The easiest way to get off the
 list is to provide answers, but you can also try convincing me other
 ways.
 
>>> Please also include working Bluetooth headset support or lack there of.
>>> http://maemo.org/maemowiki/BluetoothHeadset
>>>   
>> Please try to phrase it as a question, the more specific the better (I
>> don't really have any clue about Bluetooth and related issues.) To me it
>> seems somewhat like an advertisement for a howto or something, which I
>> don't believe is what you mean.
>>
>>
>> 
>
> Well from the web page in the link:
>
> Note: It appears that, due to limitations in Nokia's current Bluetooth
> driver on the 770, you can not actually use a bluetooth headset.
> Everything will appear to work, except that you won't get any audio out:
> [WWW]http://maemo.org/pipermail/maemo-developers/2005-December/002191.html
>
> Please provide a working driver for bluetooth audio, both in and out.
>   
Please consider that we are not stupid. If it would be that easy we
would have done it. Having working bluetooth headset support is so dead
obviously useful, that it is impossible that we have overlooked it. Have
you ever tried to get it running under linux? Yes it needs work. So
please be patient, its done when its done. If you want to speed it up,
join the bluez guys and help them out.

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


[maemo-developers] Java on 770 (was: Unresolved issues (Week 46))

2006-11-23 Thread Tommi Komulainen
On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote:
>   * http://maemo.org/pipermail/maemo-developers/2006-November/006188.html
> Java on the 770
> 
> "Now that Java will be put under the GPL is there any plan (from
> Nokia) to integrate it into the firmware?"

We don't have any plans at the moment.

On personal note, if someone makes nice packages it would be easier to
gather some community effort around Java. It would also make our lives
easier when the question about integrating Java comes up again.


-- 
Tommi Komulainen<[EMAIL PROTECTED]>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Bluetooth headset? (was: Unresolved issues (Week 46))

2006-11-23 Thread Tommi Komulainen
On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote:
>   * http://maemo.org/pipermail/maemo-developers/2006-November/006248.html
> Bluetooth headset?
> 
> What are [we] doing to enable support for bluetooth headsets?

We don't have concrete plans at the moment. Please bring this up after
next release, in case we forget it.


-- 
Tommi Komulainen<[EMAIL PROTECTED]>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] End-user roadmap? (was: Unresolved issues (Week 46))

2006-11-23 Thread Tommi Komulainen
On Mon, 2006-11-20 at 15:13 +0200, ext Tommi Komulainen wrote:
>   * http://maemo.org/pipermail/maemo-developers/2006-October/005787.html
> End-user roadmap?
> 5th mention
> 
> What's the future with the 770? When is the next Maemo or IT
> (2006) OS release planned? When are end users going to see an
> update?

We don't have a public roadmap at this point of time. I can not promise
any update on this but I hope we see something in the future.


-- 
Tommi Komulainen<[EMAIL PROTECTED]>
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Troubleshooting .desktop and .service file

2006-11-23 Thread Eero Tamminen
Hi,

> [Desktop Entry] 
> Encoding=UTF-8 
> Version=1.0 
> Type=Application 
> Name=RevSH Tunnel
> Exec=/usr/bin/revsh-tunnel-gui
> Terminal=false
> X-Osso-Service=invalid.too.revsh_tunnel_gui
> X-Osso-Type=application/x-executable
> X-HildonDesk-ShowInToolbar=true
> Icon=qgn_list_btno_gen_computer

If you don't ask your program to be started with D-BUS
i.e. remove the X-Osso-Service line, does it start?

(One of the benefits of D-BUS is that other programs don't
need to know whether your app is running, they can just
send messages to it with D-BUS auto-invocation flag and
D-BUS takes care that only one instance of your application
is running.)


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


[maemo-developers] Scratchbox 1.x with scirocco/mistral

2006-11-23 Thread Tran Van Hoang
Hi all
I'm wondering if anyone has been using scratchbox 1.x , in stead of the
officially supported 0.9.x to play around with mistral/scirocco?

If you have, pls kindly drop me line on the problems you've had or
simply saying you have no problems at all. I'd really appreciate it

Thanks in advance,
BR,
Hoang,


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


RE: [maemo-developers] Sardine is back

2006-11-23 Thread Carlos.Guerreiro


> -Original Message-
> From: ext Murray Cumming [mailto:[EMAIL PROTECTED]
> Sent: 23 November, 2006 10:39
> To: Guerreiro Carlos (Nokia-M/Helsinki)
> Cc: maemo-dev
> Subject: Re: [maemo-developers] Sardine is back
> 
> 
> On Wed, 2006-11-22 at 22:58 +0200, Carlos Guerreiro wrote:
> > Hi,
> > 
> > Sardine is back. The Sardine distro was restarted with the 
> newer Maemo 
> > 2.1 baseline and an older glib.
> > If you were following the disto before the restarting it 
> might be that 
> > an upgrade will work for you but
> > given that the same component versions were rebuilt  differently, a 
> > clean upgrade path might not exist.
> > So resetting rootstrasps / reflashing might be necessary to 
> get Sardine 
> > to work.
> > I just tried it on OS2006 with the latest SW update and it 
> worked fine 
> > for me. I still have to document
> > the detailed steps, but basically I followed Frantisek's 
> approach here: 
> > http://maemo.org/maemowiki/HowTo_GetStartedWithSardine
> 
> There's also this page (google found it):
> http://sardine.garage.maemo.org/getting_started.html
> 
> It would be less confusing if they were combined, with one 
> redirecting to the other.

Yes. Well, the latter points to a current issues pages which
points to the former (look for Maemo Wiki link), but yes
there's too much redundancy and these pages are not aligned.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


RE: [maemo-developers] Unresolved issues (Week 46)

2006-11-23 Thread Simon Pickering
 
> 
> > If you want something free, I'd suggest using our speex 
> codec, which 
> > is technically comparable, completely open, and has no known patent 
> > issues. We don't have an omap dsp implementation, but it has been 
> > ported to the various TI DSPs.
> >
> > http://speex.org/
> >
> > -r
> 
> I did quite a bit of experimentation with the 770 dsp back in late
> august.   As a point of clarification, the dsp in the OMAP 1710 (used
> in the 770) is just a TI *C55x, *which is already supported by speex
> as far as I can tell.Thus, getting speex to work on the 770 should
> mostly be an issue of adapting the he exisiting speex C55x 
> port to the build process using the free dsp tools, or TI's 
> code composer; and writing appropriate wrappers to move data 
> back and forth across the
> ARM to DSP boundary using the linux dsp gateway interfaces. 
> 

There's still the problem of getting the DSP to output sound directly
though, is there not? Or did you work out what the functions in the
avs_kernel do (or bypass them completely)?


Simon

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


Re: [maemo-developers] Sardine is back

2006-11-23 Thread Murray Cumming
On Wed, 2006-11-22 at 22:58 +0200, Carlos Guerreiro wrote:
> Hi,
> 
> Sardine is back. The Sardine distro was restarted with the newer Maemo 
> 2.1 baseline and an older glib.
> If you were following the disto before the restarting it might be that 
> an upgrade will work for you but
> given that the same component versions were rebuilt  differently, a 
> clean upgrade path might not exist.
> So resetting rootstrasps / reflashing might be necessary to get Sardine 
> to work.
> I just tried it on OS2006 with the latest SW update and it worked fine 
> for me. I still have to document
> the detailed steps, but basically I followed Frantisek's approach here: 
> http://maemo.org/maemowiki/HowTo_GetStartedWithSardine

There's also this page (google found it):
http://sardine.garage.maemo.org/getting_started.html

It would be less confusing if they were combined, with one redirecting to the 
other.

> Now that the packages and the build environment are in a good shape it's 
> time to get strict about the "one build for one version"
> policy.

-- 
Murray Cumming
[EMAIL PROTECTED]
www.murrayc.com
www.openismus.com

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