maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Testers needed] New pulseaudio package (https://talk.maemo.org/showthread.php?t=60788)

MohammadAG 2010-08-21 11:23

[Testers needed] New pulseaudio package
 
This is a new pulseaudio package, not sure if this is the full patch http://www.mail-archive.com/pulseaud.../msg07401.html but it should solve stuttering.

For some reason, it does NOT work on the stock kernel, you'll need to install kernel-power.

Doing some tests yesterday it didn't stutter, today it did, so I'm not sure if it's working or not, so I'll release this to the community and leave you to decide.

Packages available here, download all.tar.gz and install all packages except the -dev package.
http://mohammadag.xceleo.org/public/maemo/test/

To pin the package (so it won't be upgraded by apt-get upgrade):
Code:

for x in pulseaudio libpulse-mainloop-glib0 libpulse0 pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done

Need some feedback, this is not a perfect fix, it just seems to reduce stuttering.

CepiPerez 2010-08-21 23:32

Re: [Testers needed] New pulseaudio package
 
Testing...

EDIT: No more stuttering when I lock the screen pressing twice the power button... thanks for this!

ToJa92 2010-08-21 23:50

Re: [Testers needed] New pulseaudio package
 
Installs ok, playing a internet radio stream and browsing with MicroB doesn't cause any stuttering. I have not tried any FLAC files though(they stuttered with the old PulseAudio, not sure about the new one).

hawaii 2010-08-21 23:50

Re: [Testers needed] New pulseaudio package
 
Subscribed.

DrWilken 2010-08-22 00:01

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by hawaii (Post 794480)
Subscribed.

There's a button for that on top of first post... :)

"Thread Tools" -> "Subscribe to this Thread"

hawaii 2010-08-22 00:25

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by DrWilken (Post 794488)
There's a button for that on top of first post... :)

"Thread Tools" -> "Subscribe to this Thread"

Oh holy crap. I actually never knew that was there.

Thanks duders :D

Bratag 2010-08-22 01:34

Re: [Testers needed] New pulseaudio package
 
all.tar.gz is corrupted. However installed the packages one at a time - pulseaudio-dev gives dependency errors so removed. Can confirm it seems to fix the stuttering and I could be crazy but also seems louder...

wumpwoast 2010-08-22 02:20

Re: [Testers needed] New pulseaudio package
 
Just reading the developer's changelog brought a big smile to my face, and I wasn't disappointed! MohammadAG, the stuttering has literally disappeared when using the media widget right after startup, and when playing FLACs. These account for most of the recurring stutter I've experienced.

Your packaging these latest versions of N900 system software has literally solved my worst issues with this device. Between this, hildon-desktop, and your transitions.ini, it's made a world of difference! Thanks for going out of your way to prepare these debs.

adhrie 2010-08-22 03:46

Re: [Testers needed] New pulseaudio package
 
really want to try this...
but i can't seem to install it...
the all.tar.gz file was corrupted

arora.rohan 2010-08-22 05:35

Re: [Testers needed] New pulseaudio package
 
For me... i downloaded the all.tar.gz
extracted it and then tried to install each .deb file... but HAM says incompatible package..i need to install them via Xterm? sorry ..but i really wanted o try this as i listen to FLAC a lot and wanted to try this!

bigdarkmad 2010-08-22 06:10

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 793851)
This is a new pulseaudio package, not sure if this is the full patch http://www.mail-archive.com/pulseaud.../msg07401.html but it should solve stuttering.

For some reason, it does NOT work on the stock kernel, you'll need to install kernel-power.

Doing some tests yesterday it didn't stutter, today it did, so I'm not sure if it's working or not, so I'll release this to the community and leave you to decide.

Packages available here, download all.tar.gz and install all packages
http://mohammadag.xceleo.org/public/maemo/test/

Need some feedback, this is not a perfect fix, it just seems to reduce stuttering.

Great job mate.
I will test your new pulseaudio driver too.
Can you add volume boost for ringtones?

sony123 2010-08-22 07:34

Re: [Testers needed] New pulseaudio package
 
Do you know if we need to pin the version to prevent apt-get from restoring to the official one?

rcull 2010-08-22 07:43

Re: [Testers needed] New pulseaudio package
 
Billiant

I cant get it to stutter at all now. ( running at 1000 ulv )

Thanks for this :) :)

stickymick 2010-08-22 08:01

Re: [Testers needed] New pulseaudio package
 
Like to see this available for the stock kernel, if it's poss. :D

eitama 2010-08-22 08:09

Re: [Testers needed] New pulseaudio package
 
Yo Yo,

Mohammad You have done it again my friend.

I still have stuttering for FLAC though :
1. Played Massive Attack FLAC in media player
2. Opened MICROb to TMO, music stuttered badly.
3. After browser was done loading, no more stuterring.
4. I did reboot my phone before testing, after install.

Cheers!

Trestry 2010-08-22 08:09

Re: [Testers needed] New pulseaudio package
 
Does it also reduce stutter with MPlayer and VLC?

adhrie 2010-08-22 08:11

Re: [Testers needed] New pulseaudio package
 
solved my corrupted all.tar.gz..
somehow the archive cannot be opened/extracted through n900, so i downloaded it using my ubuntu laptop & extracted it, then copied it to my n900

installation successfull

no stuttering so far...

nice work MohammadAG

eitama 2010-08-22 08:15

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by adhrie (Post 794688)
solved my corrupted all.tar.gz..
somehow the archive cannot be opened/extracted through n900, so i downloaded it using my ubuntu laptop & extracted it, then copied it to my n900

installation successfull

no stuttering so far...

nice work MohammadAG

Just to clarify for others, It's not corrupted, it's compressed.
You have to decompress it and put the files somewhere on the n900 and then run :
Code:

"dpkg -i *.deb"

adhrie 2010-08-22 08:31

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by eitama (Post 794690)
Just to clarify for others, It's not corrupted, it's compressed.
You have to decompress it and put the files somewhere on the n900 and then run :
Code:

"dpkg -i *.deb"

i did try to decompress it on n900 xterm
i tried using

tar -xzvf [file location]

and i get the following response
tar: corrupted octal value in tar header

i got it decompress using my laptop ubuntu archive manager
after that i copied it to my n900 and do the installation

Jaffa 2010-08-22 08:36

Re: [Testers needed] New pulseaudio package
 
Yes, for some reason Busybox's tar can't read the tarball once uncompressed. It might work with gnutar, but the simplest is to extract on a PC and copy to your device.

gregoranderson 2010-08-22 08:41

Re: [Testers needed] New pulseaudio package
 
Busybox tar doesn't like the tarball.

Install gnu-tar and use that instead ; eg

apt-get install gnu-tar
gtar zxvf all.tar.gz

eitama 2010-08-22 08:44

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by adhrie (Post 794702)
i did try to decompress it on n900 xterm
i tried using

tar -xzvf [file location]

and i get the following response
tar: corrupted octal value in tar header

i got it decompress using my laptop ubuntu archive manager
after that i copied it to my n900 and do the installation

That is odd!
I just assumed you tried installing the tar.gz file using app man, my apologies.
I just used 7zip before SCPing.

eitama 2010-08-22 08:47

Re: [Testers needed] New pulseaudio package
 
Say, is the version that exists inside the all.tar.gz deb files is up-to-date?
I just ran apt-get update / upgrade and it upgraded all sort of pulseaudio files.
I am wondering, did it overwrite your new pulse audio package?

Code:

Nokia-N900:/# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libsdl-mixer1.2 libsdl-ttf2.0-0
The following packages will be upgraded:
  libpulse-mainloop-glib0 libpulse0 live-wallpaper pulseaudio
  pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra
  pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11
  pulseaudio-utils sleepanalyser
12 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 5992kB of archives.
After this operation, 291kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://repository.maemo.org fremantle/free live-wallpaper 0.8.2 [4891kB]
Get:2 https://downloads.maemo.nokia.com ./ libpulse0 0.9.15-1maemo38+0m5 [150kB]
Get:3 https://downloads.maemo.nokia.com ./ libpulse-mainloop-glib0 0.9.15-1maemo38+0m5 [25.4kB]
Get:4 https://downloads.maemo.nokia.com ./ pulseaudio-module-bluetooth 0.9.15-1maemo38+0m5 [88.1kB]
Get:5 https://downloads.maemo.nokia.com ./ pulseaudio 0.9.15-1maemo38+0m5 [355kB]
Get:6 https://downloads.maemo.nokia.com ./ pulseaudio-esound-compat 0.9.15-1maemo38+0m5 [39.0kB]
Get:7 https://downloads.maemo.nokia.com ./ pulseaudio-module-extra 0.9.15-1maemo38+0m5 [138kB]
Get:8 https://downloads.maemo.nokia.com ./ pulseaudio-module-gconf 0.9.15-1maemo38+0m5 [24.2kB]
Get:9 https://downloads.maemo.nokia.com ./ pulseaudio-module-hal 0.9.15-1maemo38+0m5 [25.3kB]
Get:10 https://downloads.maemo.nokia.com ./ pulseaudio-utils 0.9.15-1maemo38+0m5 [58.3kB]
Get:11 https://downloads.maemo.nokia.com ./ pulseaudio-module-x11 0.9.15-1maemo38+0m5 [17.5kB]
Get:12 http://repository.maemo.org fremantle/free sleepanalyser 1.6-23 [180kB]
Fetched 5992kB in 36s (165kB/s)
(Reading database ... 29385 files and directories currently installed.)
Preparing to replace libpulse0 0.9.15-1maemo38+0m5 (using .../libpulse0_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement libpulse0 ...
Preparing to replace libpulse-mainloop-glib0 0.9.15-1maemo38+0m5 (using .../libpulse-mainloop-glib0_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement libpulse-mainloop-glib0 ...
Preparing to replace live-wallpaper 0.8 (using .../live-wallpaper_0.8.2_armel.deb) ...
Unpacking replacement live-wallpaper ...
Preparing to replace pulseaudio-module-bluetooth 0.9.15-1maemo38+0m5 (using .../pulseaudio-module-bluetooth_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-module-bluetooth ...
Preparing to replace pulseaudio 0.9.15-1maemo38+0m5 (using .../pulseaudio_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio ...
Preparing to replace pulseaudio-esound-compat 0.9.15-1maemo38+0m5 (using .../pulseaudio-esound-compat_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-esound-compat ...
Preparing to replace pulseaudio-module-extra 0.9.15-1maemo38+0m5 (using .../pulseaudio-module-extra_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-module-extra ...
Preparing to replace pulseaudio-module-gconf 0.9.15-1maemo38+0m5 (using .../pulseaudio-module-gconf_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-module-gconf ...
Preparing to replace pulseaudio-module-hal 0.9.15-1maemo38+0m5 (using .../pulseaudio-module-hal_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-module-hal ...
Preparing to replace pulseaudio-utils 0.9.15-1maemo38+0m5 (using .../pulseaudio-utils_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-utils ...
Preparing to replace pulseaudio-module-x11 0.9.15-1maemo38+0m5 (using .../pulseaudio-module-x11_0.9.15-1maemo38+0m5_armel.deb) ...
Unpacking replacement pulseaudio-module-x11 ...
Preparing to replace sleepanalyser 1.6-15 (using .../sleepanalyser_1.6-23_all.deb) ...
Unpacking replacement sleepanalyser ...
Setting up libpulse0 (0.9.15-1maemo38+0m5) ...
Setting up libpulse-mainloop-glib0 (0.9.15-1maemo38+0m5) ...
Setting up live-wallpaper (0.8.2) ...
Setting up pulseaudio-utils (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio-module-x11 (0.9.15-1maemo38+0m5) ...
Setting up sleepanalyser (1.6-23) ...
Setting up pulseaudio-module-bluetooth (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio-esound-compat (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio-module-extra (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio-module-gconf (0.9.15-1maemo38+0m5) ...
Setting up pulseaudio-module-hal (0.9.15-1maemo38+0m5) ...
Nokia-N900:/#


MohammadAG 2010-08-22 09:04

Re: [Testers needed] New pulseaudio package
 
Yes, should've provided instructions on pinning it, it's cause the new package uses the old version number as PR1.2 depends on it.

Reinstall then pin it.

Code:

for x in pulseaudio libpulse-mainloop-glib0 libpulse0 pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done


eitama 2010-08-22 09:15

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 794728)
Yes, should've provided instructions on pinning it, it's cause the new package uses the old version number as PR1.2 depends on it.

Reinstall then pin it.

Code:

for x in pulseaudio libpulse-mainloop-glib0 libpulse0 pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done


You think this can be packed and put into extras-devel?
I can do it if you think it's possible, just don't wanna work on it for nothing.

MohammadAG 2010-08-22 09:46

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by eitama (Post 794739)
You think this can be packed and put into extras-devel?
I can do it if you think it's possible, just don't wanna work on it for nothing.

It can be packaged, I'll do it when I get more feedback on this, and I'm currently looking for ways to get it running on the stock kernel.

bigdarkmad 2010-08-22 10:34

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 793851)
To pin the package (so it won't be upgraded by apt-get upgrade):
Code:

for x in pulseaudio libpulse-mainloop-glib0 libpulse0 pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done


Am I need to execute this code in X terminal?

eitama 2010-08-22 10:37

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 794762)
It can be packaged, I'll do it when I get more feedback on this, and I'm currently looking for ways to get it running on the stock kernel.

Cheers buddy.

MohammadAG 2010-08-22 11:06

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by bigdarkmad (Post 794810)
Am I need to execute this code in X terminal?

Yes, would be easier over ssh :)

atilla 2010-08-22 11:11

Re: [Testers needed] New pulseaudio package
 
mohammad you are really great.
and i thing......i love you:)

bigdarkmad 2010-08-22 11:24

Re: [Testers needed] New pulseaudio package
 
Ok guys
I download and decompress all.tar.gz in Windows.
And after upload to my N900.
But App Manager gives me Operation Failed and Unable to update Incompatible application package
What I'm supposed to do?

Thank you

ToJa92 2010-08-22 11:24

Re: [Testers needed] New pulseaudio package
 
I've noticed that when my N900 starts to get slow and you click on something that triggers a sound, you often get multiple sounds(especially when pressing 'X', it sounds like someone hits a drum fast or something). I don't think that happened with the old version.

maxximuscool 2010-08-22 11:36

Re: [Testers needed] New pulseaudio package
 
Can you somehow get this to work with stock kernel as well Mohammad? It kind of bad that if someone want to use this have to go through power kernel mode

maxximuscool 2010-08-22 11:37

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by ToJa92 (Post 794853)
I've noticed that when my N900 starts to get slow and you click on something that triggers a sound, you often get multiple sounds(especially when pressing 'X', it sounds like someone hits a drum fast or something). I don't think that happened with the old version.

Trust me happened to stock pulse audio too. Once you've opening too many apps or the device been on for more than 1day you might get this symtom.

MohammadAG 2010-08-22 11:42

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by maxximuscool (Post 794863)
Can you somehow get this to work with stock kernel as well Mohammad? It kind of bad that if someone want to use this have to go through power kernel mode

I'm looking at the kernel power patches, I seem to have found where st_enable is defined, but I'll need some time to compile this, laptop's X crashes a lot for some reason and the remote scratchbox I was using died.

maxximuscool 2010-08-22 11:47

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 794868)
I'm looking at the kernel power patches, I seem to have found where st_enable is defined, but I'll need some time to compile this, laptop's X crashes a lot for some reason and the remote scratchbox I was using died.

Good to know that you're getting to it :) many users here still haven't touched Power Kernel. I personally touched it and found that it doesn't really benefiting my every usage other gaming, so I went back to stock by full reflashed and I hope this pulse audio patch may help fix the random stuttering.

Can you confirm on the CPU usage of this new patch? Stock pulse eat quite a lot with built-in speakers.

bigdarkmad 2010-08-22 11:57

Re: [Testers needed] New pulseaudio package
 
Ok I installed it.
Stereo speakers and EarSpeakers max volume levels increased.
Crackling descreased.
Stuttering don't know.

Thank you man

eitama 2010-08-22 12:13

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by MohammadAG (Post 794728)
Yes, should've provided instructions on pinning it, it's cause the new package uses the old version number as PR1.2 depends on it.

Reinstall then pin it.

Code:

for x in pulseaudio libpulse-mainloop-glib0 libpulse0 pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11 pulseaudio-utils
do echo -e "Package: $x
Pin: release a=unstable
Pin-Priority: 1001\n" >> /etc/apt/preferences
done


I know you know what you already know that you told me to do works, but just to confirm :)
Code:

The following packages have been kept back:
  libpulse-mainloop-glib0 libpulse0 libsdl-mixer1.2 libsdl-ttf2.0-0 pulseaudio
  pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-extra
  pulseaudio-module-gconf pulseaudio-module-hal pulseaudio-module-x11
  pulseaudio-utils
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.

Cheers mate.

joerg_rw 2010-08-22 12:17

Re: [Testers needed] New pulseaudio package
 
Quote:

Originally Posted by gregoranderson (Post 794710)
Busybox tar doesn't like the tarball.

Install gnu-tar and use that instead ; eg

apt-get install gnu-tar
gtar zxvf all.tar.gz

It's no tarball, it's a gzip file, as you can tell from *.gz
Afaik messybox tar doesn't know how to implicitly invoke unzip

get decent tools, you got 32G empty space for those on N900 ;-P
nuke crappybox

/j

neboja 2010-08-22 13:33

Re: [Testers needed] New pulseaudio package
 
ok, so is there gonna be a installable package in some repositories when test are done?


All times are GMT. The time now is 06:54.

vBulletin® Version 3.8.8