Thread: [Xmms-embedded-devel] 0.00006 Zaurus5600 issue
Status: Beta
Brought to you by:
pnis
From: Joel N. <ne...@ne...> - 2003-04-21 09:04:01
|
I manually untar the data.tar.gz from xmms-e 0.00006 ipk on a Zaurus 5600. The only filesystem issue when doing this as root is that it attempts to create symlink /root/.xmms which is read-only directory. The 5600 relocates to /home/root instead. However, when trying to run I get the: Allocating memory! 529200000 bytes GLib-ERROR **: could not allocate 529200000 bytes error. 529mb is a bit much to allocate... ;^) Any ideas/suggestions? I downloaded the CVS source, will get required libs in order tomorrow and try to build. BTW, found this: INCPATH = -I. -I../.. -I$(INC_PATH) -I$(OPIE_INC) -I$(QTDIR)/include -I/home/pnis/OZ.build/build/opie/mkspecs/qws/linux-sharp-g++ LINK = arm-linux-gcc LFLAGS = $(LFLAGS_EXTRA) -shared -Wl,-soname,libQPEgui.so.1 -Wl,-rpath,/home/pnis/OZ.build/build/xmms-e/compiled/xmms/General in xmms/General/QPEgui/Makefile... ;^) j --- "Not all those who wander are lost." - JRR Tolkien |
From: Balatoni D. <pn...@co...> - 2003-04-21 17:57:26
|
Hi! It is trying to allocate that amount of mem, because it can not find ~/.xmms/config . If you are saying that cannot be created at all, than the source has to be modified. If you want to builx xmms from source, a known working way to do that is with the help of the oz buildroot - I build with that too. However, it might not be necessary, if you change something I will build it= =20 for you if you want (I already have oz-buildroot etc.) Denes On 2003. =E1prilis 21. 11.03, Joel Newkirk wrote: > I manually untar the data.tar.gz from xmms-e 0.00006 ipk on a Zaurus > 5600. The only filesystem issue when doing this as root is that it > attempts to create symlink /root/.xmms which is read-only directory. > The 5600 relocates to /home/root instead. > > However, when trying to run I get the: > > Allocating memory! 529200000 bytes > GLib-ERROR **: could not allocate 529200000 bytes > > error. 529mb is a bit much to allocate... ;^) > > Any ideas/suggestions? > > I downloaded the CVS source, will get required libs in order tomorrow > and try to build. BTW, found this: > > INCPATH =3D -I. -I../.. -I$(INC_PATH) -I$(OPIE_INC) -I$(QTDIR)/include > -I/home/pnis/OZ.build/build/opie/mkspecs/qws/linux-sharp-g++ > LINK =3D arm-linux-gcc > LFLAGS =3D $(LFLAGS_EXTRA) -shared -Wl,-soname,libQPEgui.so.1 > -Wl,-rpath,/home/pnis/OZ.build/build/xmms-e/compiled/xmms/General > > in xmms/General/QPEgui/Makefile... ;^) |
From: Joel N. <ne...@ne...> - 2003-04-21 20:57:19
|
On Mon, 2003-04-21 at 13:54, Balatoni Denes wrote: > Hi! > > It is trying to allocate that amount of mem, because it can not > find ~/.xmms/config . If you are saying that cannot be created at all, > than the source has to be modified. > > If you want to builx xmms from source, a known working way to do that > is with the help of the oz buildroot - I build with that too. > However, it might not be necessary, if you change something I will build it > for you if you want (I already have oz-buildroot etc.) > > Denes I'll pass on building for now then... :^) Here's where I stand at the moment: I copied /opt/QtPalmtop/lib/xmms/.xmms to /home/root/.xmms and I am able to run xmms as root from console, both local or through ssh. However, playback is garbled. Takes roughly twice as long, and it's very 'choppy'. I've recorded a sample (3mb wav) to demonstrate, posted at: http://live.newkirk.us/recording02.wav - that's Led Zeppelin, Kashmir, but it's hard to recognize. As a 'control', the Zaurus Media Player bundled with the 5600 (along with the vorbis codec plugin) plays fine. This is with both vorbis and wav playback, haven't tried mp3 but would expect the same problem. If I try to run as user zaurus from console (after copying /home/root/.xmms to /home/zaurus/.xmms and changing ownership) it appears to work (IE console messages ok, does not exit) but it does not open the GUI. I tried "chmod ugo+rwx" for all associated files, no difference. For now I'll concentrate on getting playback from root console launch, and work on user zaurus issues later. If you can listen to the sample recording and see if you can understand what it is doing I would appreciate it. j |
From: Balatoni D. <pn...@co...> - 2003-04-21 21:17:03
|
Hi! Thanks for the sample, it surely is broken :) In the next few days I will try to find out what the problem could be - xmms opening /dev/dsp with unsupported samplerate, or format, etc. > However, playback is garbled. Takes roughly twice as long, and it's very > 'choppy'. I've recorded a sample (3mb wav) to demonstrate, posted at: > http://live.newkirk.us/recording02.wav - that's Led Zeppelin, Kashmir, but > it's hard to recognize. As a 'control', the Zaurus Media Player bundled > with the 5600 (along with the vorbis codec plugin) plays fine. > > This is with both vorbis and wav playback, haven't tried mp3 but would > expect the same problem. bye Denes |
From: Joel N. <ne...@ne...> - 2003-05-12 05:44:53
|
On Mon, 2003-04-21 at 17:14, Balatoni Denes wrote: > Hi! > > Thanks for the sample, it surely is broken :) > In the next few days I will try to find out what the problem could be - xmms > opening /dev/dsp with unsupported samplerate, or format, etc. Have you had any insights on this? j > > However, playback is garbled. Takes roughly twice as long, and it's very > > 'choppy'. I've recorded a sample (3mb wav) to demonstrate, posted at: > > http://live.newkirk.us/recording02.wav - that's Led Zeppelin, Kashmir, but > > it's hard to recognize. As a 'control', the Zaurus Media Player bundled > > with the 5600 (along with the vorbis codec plugin) plays fine. > > > > This is with both vorbis and wav playback, haven't tried mp3 but would > > expect the same problem. > > bye > Denes --- "Not all those who wander are lost." - J.R.R. Tolkien |
From: Joel N. <ne...@ne...> - 2003-05-12 08:04:36
|
On Mon, 2003-04-21 at 17:14, Balatoni Denes wrote: > Hi! > > Thanks for the sample, it surely is broken :) > In the next few days I will try to find out what the problem could be - xmms > opening /dev/dsp with unsupported samplerate, or format, etc. Wanted to let you know - I successfully installed the Debian environment on the 5600 this evening, and xmms (included with it) has the same playback problem there. j --- You know you have ADD when...You often have 20 minute conversations (one sided) on a tangent of a tangent of your origional conversation |
From: Balatoni D. <pn...@co...> - 2003-05-12 08:38:40
|
Hi! Thanks for the info. I have one idea, try renaming /dev/dsp1 to something else, maybe that helps. Unfortunatelly i am bbusy in the next 1-2 months as i have f***ing exam period, so I won't have much time to spend on xmms. > > Thanks for the sample, it surely is broken :) > > In the next few days I will try to find out what the problem could be - > > xmms opening /dev/dsp with unsupported samplerate, or format, etc. > > Wanted to let you know - I successfully installed the Debian environment > on the 5600 this evening, and xmms (included with it) has the same > playback problem there. > > j bye Denes |
From: Joel N. <ne...@ne...> - 2003-05-15 05:51:45
|
On Mon, 2003-05-12 at 04:35, Balatoni Denes wrote: > Hi! > > Thanks for the info. I have one idea, try renaming /dev/dsp1 to something > else, maybe that helps. > Unfortunatelly i am bbusy in the next 1-2 months as i have f***ing exam > period, so I won't have much time to spend on xmms. It surely did! I'm going to wipe the 5600 in a few days and reinstall everything, I'll document precisely what I do in getting xmms back in again. (and yes, I'll certainly backup first! ;^) BTW, xmms in the zaurus-debian distro has the same playback issue, haven't had a chance to see if the same thing resolved it yet... Seems likely though. (debian runs happily on the 5600 :^) j --- There are only 10 types of people in the world: those who understand binary notation, and those who don't. |
From: Balatoni D. <pn...@co...> - 2003-05-15 13:19:08
|
Hi! On 2003. m=E1jus 15. 07.53, Joel Newkirk wrote: > On Mon, 2003-05-12 at 04:35, Balatoni Denes wrote: > > Hi! > > > > Thanks for the info. I have one idea, try renaming /dev/dsp1 to somethi= ng > > else, maybe that helps. > > Unfortunatelly i am bbusy in the next 1-2 months as i have f***ing exam > > period, so I won't have much time to spend on xmms. > > It surely did! I'm going to wipe the 5600 in a few days and reinstall Great - when I have time in thext few weeks I will fix that in xmms (f***in= g=20 exam period right now). > everything, I'll document precisely what I do in getting xmms back in > again. (and yes, I'll certainly backup first! ;^) BTW, xmms in the If you do, I will put it on the homepage naturaly - if you agree that is :)= =2E=20 > zaurus-debian distro has the same playback issue, haven't had a chance > to see if the same thing resolved it yet... Seems likely though. > (debian runs happily on the 5600 :^) Is it xmms-e or the original xmms running under X ?=20 best reagards Denes |
From: Joel N. <ne...@ne...> - 2003-05-15 13:39:05
|
On Thu, 2003-05-15 at 09:09, Balatoni Denes wrote: > Hi! > > > everything, I'll document precisely what I do in getting xmms back in > > again. (and yes, I'll certainly backup first! ;^) BTW, xmms in the > If you do, I will put it on the homepage naturaly - if you agree that is :). Of course! :^) > > zaurus-debian distro has the same playback issue, haven't had a chance > > to see if the same thing resolved it yet... Seems likely though. > > (debian runs happily on the 5600 :^) > Is it xmms-e or the original xmms running under X ? According to Klaus: "That's the standard binary off the Debian arm port, I didn't recompile it." It's running under X11. X runs great, even X forwarding via SSH. (after Klaus suggested 'xhosts +localhost') I can run Gimp on my server via SSH with its gui on the Z! j --- You know you have ADD when...You write notes to remind you to read previous notes. |
From: Balatoni D. <pn...@co...> - 2003-05-15 13:47:27
|
Hi! Than it's kind of interesting, as it should not be opening /dev/dsp1 (afaik only xmms-e does that). Maybe it does, you can check with fuser /dev/dsp1 perhaps - actually you can check that any time sound is broken, to see if /dev/dsp1 is the cause, or something else not yet known. > > Is it xmms-e or the original xmms running under X ? > > According to Klaus: "That's the standard binary off the Debian arm port, > I didn't recompile it." It's running under X11. X runs great, even X > forwarding via SSH. (after Klaus suggested 'xhosts +localhost') I can > run Gimp on my server via SSH with its gui on the Z! > > j bye Denes |
From: Joel N. <ne...@ne...> - 2003-05-15 14:13:28
|
On Thu, 2003-05-15 at 09:44, Balatoni Denes wrote: > Hi! > > Than it's kind of interesting, as it should not be opening /dev/dsp1 (afaik > only xmms-e does that). Maybe it does, you can check with fuser /dev/dsp1 > perhaps - actually you can check that any time sound is broken, to see if > /dev/dsp1 is the cause, or something else not yet known. fuser won't work - reports "/proc is empty (not mounted ?)" under Debian. An artifact of the chroot arrangement? Could that arrangement be leading to a problem with 'normal' /dev/dsp and /dev/dsp under the chroot environment? I renamed /dev/dsp1 in both places to make it inaccessible. Update - ssh'd to the Z while Debian was running. /dev/dsp is unused, /dev/dsp1 doesn't exist, /mnt/card/dev/dsp1 also doesn't exist, /mnt/card/dev/dsp lists 5 PIDs, all of them xmms. j > > > Is it xmms-e or the original xmms running under X ? > > > > According to Klaus: "That's the standard binary off the Debian arm port, > > I didn't recompile it." It's running under X11. X runs great, even X > > forwarding via SSH. (after Klaus suggested 'xhosts +localhost') I can > > run Gimp on my server via SSH with its gui on the Z! > > > > j > > bye > Denes --- Documentation is like sex: when it's good, it's very very good; when it's bad, it's still better than nothing. |
From: Balatoni D. <pn...@co...> - 2003-05-15 14:21:33
|
Hi! > fuser won't work - reports "/proc is empty (not mounted ?)" under > Debian. An artifact of the chroot arrangement? Could that arrangement > be leading to a problem with 'normal' /dev/dsp and /dev/dsp under the > chroot environment? I don't know, if they exist and look like normal /dev/dsp that should be ok. > I renamed /dev/dsp1 in both places to make it > inaccessible. Update - ssh'd to the Z while Debian was running. > /dev/dsp is unused, /dev/dsp1 doesn't exist, /mnt/card/dev/dsp1 also > doesn't exist, /mnt/card/dev/dsp lists 5 PIDs, all of them xmms. And I take it sound is broken? I have no idea why - if it disapperad for good with xmms-e maybe I fixed it somehow, if this will come back with xmms-e than the solution is not yet known neither for xmms nor xmms-e. If it comes back - or for more info - strace could help. strace -o /mnt/ram/xmmsbrokensound.log -e trace=open,close,ioctl,read,write xmms strace is in OZ feed, and most probably in debian too. > j bye Denes |