Re: new Studio user writes

2013-07-30 Thread Ralf Mardorf
Do you need both sound devices? If you only should need the EMU card,
you could disable the on-board sound device, by the BIOS settings.
Theoretically you could use both cards, there's a special bridge
available, but I guess it wouldn't make sense.


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: new Studio user writes

2013-07-30 Thread Ralf Mardorf
On Wed, 2013-07-31 at 08:26 +1200, adam wrote:
> /usr/bin/jackd -dalsa -dhw:1,0 -r44100 -p1024 -n2

You already know how to handle QjackCtl, at least a little bit :). Good!

Is hw:1,0 the EMU card?

Using the "slot" method (the echo command I recommended) you can add any
other card to position 1, aka hw:0 and keep the EMU at hw:1 if you
should prefer this, but I would make it the default device hw:0.



-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: new Studio user writes

2013-07-30 Thread Ralf Mardorf
On Wed, 2013-07-31 at 08:26 +1200, adam wrote:
> No, Audio has been good, no glitches

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

Then you can try to lower the "-p1024" value, by QjackCtl > Settings >
Frames/Periode. I recommend to use sample rate 48000 instead of -r44100,
also available by the settings.

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

That's bad :(. We can get the snd_emu1 at a better position in this
list, but the shared irq with the graphics is bad.

Show the output of

grep RTIRQ_NAME_LIST /etc/default/rtirq

Make it

RTIRQ_NAME_LIST="rtc snd_emu1

followed by the rest that is already between the " ".

Can you use another slot for the EMU sound card?

> Great. Yes, I am still studying /etc/modprobe.d/alsa-base.conf

It tries to handle unknown machines, most, if not everything is
irrelevant, but you can keep it, just add what I recommended at the
bottom of the list, the echo command does this automatically.

Regards,
Ralf


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: new Studio user writes

2013-07-30 Thread adam

> 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 ?

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

---@---:~$ 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 Sirq/8-rtc0   
  756 FF  85   - 125  0.0 Sirq/22-snd_via8  
   39 FF  80   - 120  0.0 Sirq/21-uhci_hcd  
   40 FF  79   - 119  0.0 Sirq/21-uhci_hcd  
   41 FF  78   - 118  0.0 Sirq/21-uhci_hcd  
   42 FF  77   - 117  0.0 Sirq/21-uhci_hcd  
   45 FF  75   - 115  0.0 Sirq/1-i8042  
   44 FF  74   - 114  0.0 Sirq/12-i8042 
   16 FF  50   -  90  0.0 Sirq/9-acpi   
   38 FF  50   -  90  0.0 Sirq/21-ehci_hcd  
  163 FF  50   -  90  0.0 Sirq/14-pata_via  
  164 FF  50   -  90  0.0 Sirq/15-pata_via  
  170 FF  50   -  90  0.0 Sirq/20-sata_via  
  193 FF  50   -  90  0.0 Sirq/6-floppy 
  206 FF  50   -  90  0.0 Sirq/17-firewire  
  519 FF  50   -  90  0.0 Sirq/7-parport0   
  747 FF  50   -  90  0.0 Sirq/16-snd_emu1  
  759 FF  50   -  90  0.0 Sirq/16-nouveau   
  896 FF  50   -  90  0.1 Sirq/18-eth0  
3 TS   -   0  19  0.2 Rksoftirqd/0  

:~$ 


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


---@---:~$ 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

Re: Real Time kernel US 13.04

2013-07-30 Thread Ralf Mardorf
On Tue, 2013-07-30 at 13:25 -0600, Gustin Johnson wrote:
> 
> On Mon, Jul 29, 2013 at 5:35 PM, nicola.di.marzo @vodafone.it
>  wrote:
> Thanks Ralf for the suggestions.
> 
> 
> Tomorrow i will experiment a little bit.
> 
> One strange thing that i don't understand is why does still
> compare the webcam (on the bus 2) in lsusb even if i
> blacklisted the uvcvideo e videodev drivers?
> 
> 
> 
> 
> lsusb enumerates the USB bus and then listing connected devices.
> Blacklisting the module just means that the module (driver) does not
> get loaded. The device is still actually physically connected to the
> USB bus so lsusb will still see it.  The same is true of pci devices
> with lspci.

True :D

lsmod

does show the loaded modules. So the OP likely doesn't need to add

rmmod uvcvideo
rmmod videodev

to rc.local.






-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: Real Time kernel US 13.04

2013-07-30 Thread Gustin Johnson
On Mon, Jul 29, 2013 at 5:35 PM, nicola.di.marzo @vodafone.it <
nicola.di.ma...@vodafone.it> wrote:

> Thanks Ralf for the suggestions.
>
> Tomorrow i will experiment a little bit.
> One strange thing that i don't understand is why does still compare the
> webcam (on the bus 2) in lsusb even if i blacklisted the uvcvideo e
> videodev drivers?
>
>
lsusb enumerates the USB bus and then listing connected devices.
 Blacklisting the module just means that the module (driver) does not get
loaded. The device is still actually physically connected to the USB bus so
lsusb will still see it.  The same is true of pci devices with lspci.


>
>
-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: new Studio user writes

2013-07-30 Thread Ralf Mardorf
On Tue, 2013-07-30 at 23:43 +1200, adam wrote:
> :~$ 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

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.

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.

What is the output of


cat ~/.jackdrc


?


Also post the output of


service rtirq status


Regards,
Ralf


-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users


Re: new Studio user writes

2013-07-30 Thread adam
Wow. Thank you gentlemen, Ralf, Abe, Adam, Kaj. Just great. 

The SB Live card is OK. I can distinguish between it and the 
onboard Via chipset. And load Soundfonts into it. I will leave 
Pulse Audio as-is for now. 

:~$ 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
:~$ 

After I wrote, late that night with some persistence, I set up 
Qtractor to play MIDI to Qsynth, and saved the Qtractor score 
as I went. 

Was so impressed, I tried to get Audacity to record via jack, but 
didn't quite manage that. 

So in general I guess we start with Qjackctrl first. 
Although; Session/Connect/PatchBay, I not sure how I'd save a 
working complex patch.   


It seems I am under way, folks. And know I can get back with specific 
questions if need be. Thank you again. 

Perhaps one neat trick is to start the applications from the 
command line, to get used to the Options and also the Error 
reports. 




-- 
Ubuntu-Studio-users mailing list
Ubuntu-Studio-users@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-users