You are not logged in.

#1 2006-06-06 18:10:31

DBerest
Member
Registered: 2006-02-15
Posts: 46

XMMS only plays the first few seconds of each... [solved]

Hi

I have no clue where to start looking:

I have XMMS running and installed the xmms-cdparanoia package.
From within xmms, I can browse to /mnt/cd, where the content of my audio cd is displayed (nothing in /media or anywhere else). I add all the files to the play list, but when I try to play them from there, only a few seconds (1 to 6, depending on the track) gets played.

If I try to play the same track several times in succession, the part that get played is always the same length. If I try another track and come back to the previous one, it still gets played for the same length of time as before....

I can play mp3 from thye same drive, or saved to the hard drive without any problem.

Anyone got an idea of where I should start looking? A Wiki search didn't throw anything (that I could see), same for the forum....

Thx

Damien

Offline

#2 2006-06-09 03:47:46

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: XMMS only plays the first few seconds of each... [solved]

try debugging this..
run (xmms or xmms -d in an xterm/gterminal/kterm..w/e) and then play the cd.. look for the message that is left and then post it here.. could be some i/o error.. but this is very weird


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#3 2006-06-10 17:27:18

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: XMMS only plays the first few seconds of each... [solved]

right
The only messages I get are reffering to a missing font.

However, the problem is not limited to Arch.... I dual booted the puter with Xubuntu, and the same problem appears in the default player, with 1 difference: If I launch a track, I will get one or 2 seconds of it, but if I let it carry on, after about 45 seconds, the rest of the tracks play. (This does not happens in Arch xmms)

Furthermore, in Xubuntu, I installed Xmms. There, the player goes through the motion of playing the track (progress bar avances, and the sound "bars" move), but no sound is actually comming.

What gets me, is taht I know that the previous version of Ubuntu did not show this behaviour.

Any idea? (I am considering installing Ubuntu Dapper, to see if it works with Gnome)...


Damien

Offline

#4 2006-06-10 18:43:09

russianpirate
Member
Registered: 2006-05-17
Posts: 161

Re: XMMS only plays the first few seconds of each... [solved]

Umm.. is your CD/DVD player producing digital or analog output (is there a wire coming out of the cd player that is connected to the sound card?)


Darkstar:
Athlon 64 3500+ (OC ~2.49ghz)
Leadtek GeForce 6800 128mb (unlocked/OC)
Rosewill Value DDR400 1GB
WDC SE 80GB
NEC 3550 DVDRW DL 16X

Offline

#5 2006-06-11 08:55:52

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: XMMS only plays the first few seconds of each... [solved]

Hi

Thanks for the suggestion

The wire to the sound card wasn't plugged in. Did so, the same thing happens.
Changed the drive in the puter to a CD only drive (and plugged the soundcard cable...:-) ),  same thing happens.

what would you suggest?


Damien

Offline

#6 2006-06-11 13:17:20

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: XMMS only plays the first few seconds of each... [solved]

Do you have more CD drives? The CD drive might be broken... Also, have you tried other CD players than XMMS? Does it happen with all CDs or can it be that you're using a scratched CD? And is it a MP3 CD, since audio CDs aren't mounted...

Offline

#7 2006-06-11 16:08:10

Global Havok
Member
Registered: 2006-02-20
Posts: 79

Re: XMMS only plays the first few seconds of each... [solved]

I'm probably way off, but did you make sure  DMA is enabled?

Offline

#8 2006-06-11 17:41:29

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: XMMS only plays the first few seconds of each... [solved]

jaboua wrote:

Do you have more CD drives? The CD drive might be broken... Also, have you tried other CD players than XMMS? Does it happen with all CDs or can it be that you're using a scratched CD? And is it a MP3 CD, since audio CDs aren't mounted...

There is a CD drive and a DVD drive in that puter, though I can only plug one of them at a time. I get the same thing with both. Tried several CDs. They were all commercial audio CDs (ie, not copies), with no DRM. There are no visible scratch on them.

Also, the fact that I get the same issue in Xubuntu, seems to exonerate Xmms....


The fact that I can find the content of the CDs in /mnt/cd has more to do with the fact that this is where my fstab sets it to be (if I understand that process properly:

/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/floppy/0          /mnt/fl   vfat      user,noauto             0      0
/dev/sda               /mnt/usb  vfat      noauto,user             0  0
/dev/sda1              /mnt/usb  vfat      noauto,user,umask=0000  0  0
/dev/hdc               /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/hdc               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
Global Havok wrote:

I'm probably way off, but did you make sure  DMA is enabled?

Noob here, so not 100% certain, but isn't DMA (that's the Direct Memory Access, that you are reffering to, right?) ennabled by default in the Arch stock kernel? If not, how is it ennabled?

Damien

Offline

#9 2006-06-11 20:48:56

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: XMMS only plays the first few seconds of each... [solved]

DBerest wrote:

The fact that I can find the content of the CDs in /mnt/cd has more to do with the fact that this is where my fstab sets it to be (if I understand that process properly)

Yes, where fstab sets CDs with a iso9660 filesystem to be... There isn't any filesystem on audio CDs AFAIK (at least not a iso9660) - just raw audio data.

DMA is also not always enabled by default - I always get some errors in my logs, that for some weird reason disables DMA on hard drives (yes they work fine with DMA). If you install "hdparm", you can use it to check if DMA is on. Though, if DMA is off I noticed lagging with DVD's but it didn't skip anthing - but it might be worth a shot anyway.

Offline

#10 2006-06-12 06:40:28

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: XMMS only plays the first few seconds of each... [solved]

why not try mplayer?? or something else to see if the prob is with hardware or software, During my BSD days, I had a problem with KsCD but cdplayer of gnome could sort it out


Be yourself, because you are all that you can be

Offline

#11 2006-06-12 06:48:50

ScriptDevil
Member
From: In Front of My PC
Registered: 2006-04-06
Posts: 253

Re: XMMS only plays the first few seconds of each... [solved]

Also the Audio CDs have a file system which is not mountable( Many presume it has no filesystem but they are dead wrong!)
http://www.tldp.org/HOWTO/Filesystems-H … html#ss8.8

iso9660 is for data discs


Be yourself, because you are all that you can be

Offline

#12 2006-06-12 09:38:00

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: XMMS only plays the first few seconds of each... [solved]

Audio CD's have just tracks of RAW datastreams, and no real filesystem. cdfs mentioned in the previous post is a virtual filesystem ( just like audiocd:/ under KDE is ).

You can change
/dev/hdc               /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/hdc               /mnt/dvd  udf       ro,user,noauto,unhide   0      0

To just
/dev/hdc               /mnt/cd   auto   ro,user,noauto,unhide   0      0

...although this won't change behaviour with audio CD's.

You can also comment/remove the first two lines,
/dev/cdroms/cdrom0     /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/cdroms/cdrom0     /mnt/dvd  udf       ro,user,noauto,unhide   0      0

They obviously point to /dev/hdc and can be omitted, unless an application explicitly needs the CD-ROM being defined as /dev/cdroms/cdrom0 ( not very likely ).


Microshaft delenda est

Offline

#13 2006-06-13 22:32:25

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: XMMS only plays the first few seconds of each... [solved]

scarecrow wrote:

You can change  [...]
To just
/dev/hdc               /mnt/cd   auto   ro,user,noauto,unhide   0      0
[...]
You can also comment/remove the first two lines,
[...].

Done

Global Havok wrote:

I'm probably way off, but did you make sure  DMA is enabled?

it is enabled on both hda (hard drive) and hdc (cd drive)

/dev/hda:
 using_dma    =  1 (on)
/dev/hdc:
 using_dma    =  1 (on)

I have also been advised to check  /temp and /var/temp, in case they were full

# du -sh /tmp /var/tmp 
8.0K    /tmp
4.0K    /var/tmp

issue is still there... :-(
What would be a good GUI based alternative to Xmms, that I could try (preferably without having to install all the Gnome / KDE libraries...)

I have tried audacious, but it doesn't seem to find the content of the audio CDs...  :-(

Would it be worth trying to install Ubuntu, as opposed to Xubuntu on my second HD, to see if that works?


Damien

Offline

#14 2006-06-14 10:38:49

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: XMMS only plays the first few seconds of each... [solved]

In audacious settings you are sure that CD playing is set to digital extraction and not analog output?

Offline

#15 2006-06-14 21:53:51

DBerest
Member
Registered: 2006-02-15
Posts: 46

Re: XMMS only plays the first few seconds of each... [solved]

jaboua wrote:

In audacious settings you are sure that CD playing is set to digital extraction and not analog output?

Thanx, this allows me to use Audacious for CD playback.

Still don't know what has gone wrong with Xmms, but I'll drop the issue for the moment, as I get the fonctionality I am after...

Thanks, everyone, for your help. If I ever figure it out, I'll post the solution is.


Damien

Offline

#16 2006-08-07 21:03:46

dedhart
Member
Registered: 2006-07-02
Posts: 123

Re: XMMS only plays the first few seconds of each... [solved]

I have this problem as well, but it seems to work ok in my dvd drive, it just plays about 5 seconds into the song then stops if I put the disc in my cdrom drive though.

Offline

Board footer

Powered by FluxBB