Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.hardware > #2743 > unrolled thread

soundcard distortion bis

Started byHaines Brown <haines@engels.histomat.net>
First post2015-02-26 16:22 -0500
Last post2015-03-19 20:27 -0400
Articles 6 — 3 participants

Back to article view | Back to comp.os.linux.hardware


Contents

  soundcard distortion bis Haines Brown <haines@engels.histomat.net> - 2015-02-26 16:22 -0500
    Re: soundcard distortion bis Carpe Diem <carpe.diem@news.com> - 2015-02-27 07:36 +0100
    Re: soundcard distortion bis Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-02-27 06:37 +0000
      Re: soundcard distortion bis Haines Brown <haines@engels.histomat.net> - 2015-02-27 12:44 -0500
        Re: soundcard distortion bis Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2015-02-28 08:05 +0000
          Re: soundcard distortion bis [solved] Haines Brown <haines@engels.histomat.net> - 2015-03-19 20:27 -0400

#2743 — soundcard distortion bis

FromHaines Brown <haines@engels.histomat.net>
Date2015-02-26 16:22 -0500
Subjectsoundcard distortion bis
Message-ID<87a900wepe.fsf@engels.histomat.net>
I raised an issue some time ago about sound distortion, and at the time
thought I had fixed it adding the line

  options snd slots=snd-virtuoso,snd-hda-intel,snd-hda-intel

at the end of /etc/modrobe.d/alsa-base.conf. But sound still
stutters. 

When I start AlsaPlayer afresh and load a CD, chances are that it will
play satisfactorily. But normally can't get a second CD to play without
closing and reopening alsa-player.

If I try, typical is that the tracks of the new CD take rather longer
to display, the play button does not return to the first track unless I
wait for a long time such as ten minutes. It is usually hung, if it does
start playing, the sound stutters or drops out at points.

I'd like to know if this sounds like a driver issue and if so what is an
appropriate method to resolve it.

The audio card is an Asus Xonar DS PCI Express 7.1 running on Debian
Wheezy. I've installed the nvidia driver. In /etc/X11/xorg.conf.d I have
the stanza

    Section "Device"
        Identifier "GeForce GT 730"
        Driver "nvidia"
    EndSection

Am I correct to assume my problem is with ALSA drivers, and so I need
not worry about the nvidia driver? 

Here are the loaded ALSA modules, leaving out the USB modules for my
Logitek camera:

  $ lsmod | grep snd
  snd_ctxfi              62598  0    
  snd_hda_codec_hdmi     26352  1 
  snd_hda_intel          21786  0 
  snd_hda_codec          63477  2 snd_hda_intel,snd_hda_codec_hdmi 
  snd_hwdep              12943  2 snd_usb_audio,snd_hda_codec
  snd_virtuoso           33765  0 
  snd_oxygen_lib         27905  1 snd_virtuoso
  snd_mpu401_uart        13299  1 snd_oxygen_lib
  snd_seq_midi           12744  0 
  snd_seq_midi_event     13124  1 snd_seq_midi
  snd_rawmidi            22472  3 snd_seq_midi,snd_mpu401_uart, \
    snd_usbmidi_lib 
  snd_pcm                53461  6
  snd_oxygen_lib,snd_usb_audio,snd_hda_codec,snd_hda_intel, \
    snd_hda_codec_hdmi,snd_ctxfi
  snd_page_alloc         12867  3 snd_pcm,snd_hda_intel,snd_ctxfi
  snd_seq                39512  2 snd_seq_midi_event,snd_seq_midi
  snd_seq_device         13016  3 snd_seq,snd_rawmidi,snd_seq_midi
  snd_timer              22356  2 snd_seq,snd_pcm
  snd                    42761  15
  snd_timer,snd_seq_device,snd_seq,snd_pcm, \
    snd_rawmidi,snd_mpu401_uart,snd_oxygen_lib,snd_virtuoso,snd_hwdep,\ 
    snd_usbmidi_lib,snd_usb_audio,snd_hda_codec,snd_hda_intel, \
    snd_hda_codec_hdmi,snd_ctxfi
  soundcore              12921  1 snd

The ctxfi seems to be a fossil driver left over from a failed attempt to
install a Titanium card. The virtuoso is my Xonar card driver.

Haines Brown

[toc] | [next] | [standalone]


#2744

FromCarpe Diem <carpe.diem@news.com>
Date2015-02-27 07:36 +0100
Message-ID<mcp3a4$im9$1@speranza.aioe.org>
In reply to#2743
>

Please, don't start a new thread...!
Continue in the first one.

-- 
Carpe Diem
"Make things as simple as possible,
but not simpler" (Albert Einstein).

[toc] | [prev] | [next] | [standalone]


#2745

FromHenrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Date2015-02-27 06:37 +0000
Message-ID<54f01090$0$281$14726298@news.sunsite.dk>
In reply to#2743
On Thu, 26 Feb 2015 16:22:21 -0500, Haines Brown wrote:
> When I start AlsaPlayer afresh and load a CD, chances are that it will
> play satisfactorily. But normally can't get a second CD to play without
> closing and reopening alsa-player.
> 
> If I try, typical is that the tracks of the new CD take rather longer to
> display, the play button does not return to the first track unless I
> wait for a long time such as ten minutes. It is usually hung, if it does
> start playing, the sound stutters or drops out at points.
> 
> I'd like to know if this sounds like a driver issue and if so what is an
> appropriate method to resolve it.

It might be a driver or application problem, but to me it seems more 
likely to be a hardware problem: A bad cdrom drive or a scratched disc.

When you get this kind of behaviour, do you find any messages about cdrom 
read problems in the output of dmesg?

regards Henrik
-- 
The address in the header is only to prevent spam. My real address is:
hc351(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

[toc] | [prev] | [next] | [standalone]


#2746

FromHaines Brown <haines@engels.histomat.net>
Date2015-02-27 12:44 -0500
Message-ID<8761anw8os.fsf@engels.histomat.net>
In reply to#2745
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:

> On Thu, 26 Feb 2015 16:22:21 -0500, Haines Brown wrote:
>> When I start AlsaPlayer afresh and load a CD, chances are that it will
>> play satisfactorily. But normally can't get a second CD to play without
>> closing and reopening alsa-player.
>> 
>> If I try, typical is that the tracks of the new CD take rather longer to
>> display, the play button does not return to the first track unless I
>> wait for a long time such as ten minutes. It is usually hung, if it does
>> start playing, the sound stutters or drops out at points.

>> I'd like to know if this sounds like a driver issue and if so what is an
>> appropriate method to resolve it.
>
> It might be a driver or application problem, but to me it seems more 
> likely to be a hardware problem: A bad cdrom drive or a scratched disc.

Not a scratched disk because I play dozens of disks and they work on
another player. These are ordinary commercial CD audio disks. Never
occurred to me it could be a hardware problem. The audio card is
supposed to work well with my Debian Wheezy system. To shutdown my
machine to swap out the drive could be done but would be painful (I'm in
the middle of pressing work).

> When you get this kind of behaviour, do you find any messages about
> cdrom read problems in the output of dmesg?

Yes I did originally, but I was told they could be ignored. I get many
dozen of these:

  sr 4:0:0:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
  sr 4:0:0:0: [sr0]  Sense Key : Illegal Request [current] 
  ILI
  sr 4:0:0:0: [sr0]  Add. Sense: Illegal mode for this track
  sr 4:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00
  end_request: I/O error, dev sr0, sector 0

This seems an illegal sense mode because of disk security and I suppose
is driver rather than hardware related. In any case, does not correlate
with sound problems. I now insert disk, open alsaplayer, and click play
button to list the tracks and start playing a disk, and it leaves no
more of these lines in dmesg. 

I try this:

  $ cdplay -v -d /dev/sr0
  Playing from track 1 to 13

After this return cdplay exists and there's no sound out. I don't
know that I should expect sound out. I put the disk into an external USB
CD drive, and it is assigned a sr1 interface. I get same result with
cdplay: 

  $ alsaplayer -i /dev/sr1
  Failed to load interface /dev/sr1

I had delayed sending this message because this morning, about seven
hours and as many CDs ago, I did not have any a problem. But now,
without my having done anything or waited long, I insert a new CD, and
the alsaplayer does not go to beginning track, and nothing is played,
although in a few minutes it goes to the beginning and occasionally
moves a bit, but no sound. I check for error messages and dmesg and find
nothing. I close alsaplayer, and when I click again Play CD, it works as
it should.

Haines

[toc] | [prev] | [next] | [standalone]


#2747

FromHenrik Carlqvist <Henrik.Carlqvist@deadspam.com>
Date2015-02-28 08:05 +0000
Message-ID<54f176ac$0$284$14726298@news.sunsite.dk>
In reply to#2746
On Fri, 27 Feb 2015 12:44:35 -0500, Haines Brown wrote:
>   sr 4:0:0:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE sr
>   4:0:0:0: [sr0]  Sense Key : Illegal Request [current] ILI
>   sr 4:0:0:0: [sr0]  Add. Sense: Illegal mode for this track sr 4:0:0:0:
>   [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00 end_request: I/O
>   error, dev sr0, sector 0

I would suspect the cdrom drive rather than the soundcard or the 
soundcard driver.

If you think it is hard to replace the cdrom drive just to narrow down 
the problem, what about playing sound from some other sources? How does 
it sound if you play some mp3 file, internet radio from some place like 
www.di.fm or sound from video streaming like youtube? If those sources 
still give the same trouble you have a problem with your sound card or 
its driver. If those play fine I would say you have a problem with your 
cdrom or the software used to play from cdrom.

regards Henrik 
-- 
The address in the header is only to prevent spam. My real address is:
hc351(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

[toc] | [prev] | [next] | [standalone]


#2752 — Re: soundcard distortion bis [solved]

FromHaines Brown <haines@engels.histomat.net>
Date2015-03-19 20:27 -0400
SubjectRe: soundcard distortion bis [solved]
Message-ID<87619w343m.fsf_-_@engels.histomat.net>
In reply to#2747
Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:

> On Fri, 27 Feb 2015 12:44:35 -0500, Haines Brown wrote:
>>   sr 4:0:0:0: [sr0]  Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE sr
>>   4:0:0:0: [sr0]  Sense Key : Illegal Request [current] ILI
>>   sr 4:0:0:0: [sr0]  Add. Sense: Illegal mode for this track sr 4:0:0:0:
>>   [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 02 00 end_request: I/O
>>   error, dev sr0, sector 0
>
> I would suspect the cdrom drive rather than the soundcard or the 
> soundcard driver.

Henrick, I played with drivers until a replacement drive arrived and
then awaited until I had a chance to bring my machine down and replace
it. It's beginning to look like your guess is right. I've been using the
drive now steadily for two days and no signs of the old problem.

Thanks.

Haines

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.linux.hardware


csiph-web