new Studio user writes

adam ahcnz at orcon.net.nz
Tue Jul 30 20:26:16 UTC 2013


> To ensure that the EMU card after each startup is the default card hw:0
> you can run
> 
> sudo echo "options snd slots=snd_emu10k1" >> /etc/modprobe.d/alsa-base.conf
> 
> or
> 
> gksudo gedit /etc/modprobe.d/alsa-base.conf

> and manually add

> options snd slots=snd_emu10k1
> 
> to the file.

OK. Yes this sounds a good idea. 


> Does QjackCtl display xruns or do you get any audible glitches, if you
> listen to audio when using Jack? You can see xruns, if you push the
> "Messages" button of QjackCtl or in the display of QjackCtl, it does
> show "number (number)", e.g. "0 (0)" when you don't get xruns.


OK. Will check the xruns displays or use the 'Messages' button next time. 
No, Audio has been good, no glitches. The low latency kernel is great.
AMD at 1.9 or 2 GHZ, I know I can expect them sooner or later.  


> What is the output of cat ~/.jackdrc ?

--- at ---:~$ cat ~/.jackdrc
/usr/bin/jackd -dalsa -dhw:1,0 -r44100 -p1024 -n2

--- at ---:~$ cat /proc/asound/cards
 0 [Live           ]: EMU10K1 - SB Live! [CT4620]
                      SB Live! [CT4620] (rev.4, serial:0x211102) at 0xd000, irq 16
 1 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with CMI9739 at 0xb800, irq 22


> Also post the output of 'service rtirq status'


:~$ service rtirq status

  PID CLS RTPRIO  NI PRI %CPU STAT COMMAND	
   46 FF      90   - 130  0.0 S    irq/8-rtc0	
  756 FF      85   - 125  0.0 S    irq/22-snd_via8	
   39 FF      80   - 120  0.0 S    irq/21-uhci_hcd	
   40 FF      79   - 119  0.0 S    irq/21-uhci_hcd	
   41 FF      78   - 118  0.0 S    irq/21-uhci_hcd	
   42 FF      77   - 117  0.0 S    irq/21-uhci_hcd	
   45 FF      75   - 115  0.0 S    irq/1-i8042	
   44 FF      74   - 114  0.0 S    irq/12-i8042	
   16 FF      50   -  90  0.0 S    irq/9-acpi	
   38 FF      50   -  90  0.0 S    irq/21-ehci_hcd	
  163 FF      50   -  90  0.0 S    irq/14-pata_via	
  164 FF      50   -  90  0.0 S    irq/15-pata_via	
  170 FF      50   -  90  0.0 S    irq/20-sata_via	
  193 FF      50   -  90  0.0 S    irq/6-floppy	
  206 FF      50   -  90  0.0 S    irq/17-firewire	
  519 FF      50   -  90  0.0 S    irq/7-parport0	
  747 FF      50   -  90  0.0 S    irq/16-snd_emu1	
  759 FF      50   -  90  0.0 S    irq/16-nouveau	
  896 FF      50   -  90  0.1 S    irq/18-eth0	
    3 TS       -   0  19  0.2 R    ksoftirqd/0	

:~$ 


Great. Yes, I am still studying /etc/modprobe.d/alsa-base.conf
 
Here it is currently, sorry for the wrapping; 


--- at ---:~$ cat /etc/modprobe.d//alsa-base.conf 
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS &&
{ /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe
--quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS &&
{ /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist
snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS &&
{ /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe
--quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist
snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist
snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it
anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS &&
{ /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
--- at ---:~$ 






More information about the ubuntu-studio-users mailing list