Re: Jaunty Alpha 5 and linux-rt (ppa)

2009-03-07 Thread Asmo Koskinen
Eric Hedekar kirjoitti:

> On Sat, Mar 7, 2009 at 2:12 PM, Asmo Koskinen  > wrote:
> 
> cannot use real-time scheduling (FIFO at priority 10) [for thread
> -1211418944, from thread -1211418944] (1: Operation not permitted)
> cannot create engine
> 
> Hmm, strange.  When you boot into the vanilla kernel, do you get this 
> same error?

No - when I use it without -R option. Jackd works without -R, but then 
there is lots of xruns, when you play with Ardour2.

1.
stu...@ubuntu-studio:~$ uname -a
Linux ubuntu-studio 2.6.28-8-generic #28-Ubuntu SMP Thu Mar 5 21:49:36 
UTC 2009 i686 GNU/Linux
stu...@ubuntu-studio:~$

2.
stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread 
-1212401984, from thread -1212401984] (1: Operation not permitted)
cannot create engine
stu...@ubuntu-studio:~$

3.
stu...@ubuntu-studio:~$ /usr/bin/jackd -dalsa -dhw:0 -r44100 -p256 -n2
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
loading driver ..
apparent rate = 44100
creating alsa driver ... hw:0|hw:0|256|2|44100|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 44100Hz, period = 256 frames (5.8 ms), buffer = 2 periods
ALSA: final selected sample format for capture: 32bit integer little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit integer little-endian
ALSA: use 2 periods for playback

 alsa_pcm: xrun of at least 0.777 msecs
 alsa_pcm: xrun of at least 0.576 msecs
 alsa_pcm: xrun of at least 5.540 msecs
 alsa_pcm: xrun of at least 0.118 msecs
 alsa_pcm: xrun of at least 2.678 msecs
 alsa_pcm: xrun of at least 6.053 msecs

4.
stu...@ubuntu-studio:~$ ardour2
Ardour/GTK 2.7.1
(built using 4296 and GCC version 4.3.3)


So rt-linux is still broken, maybe some day.

Only stable Studio with rt-linux is Hardy.

Best Regards Asmo Koskinen.

-- 
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: Jaunty Alpha 5 and linux-rt (ppa)

2009-03-07 Thread Asmo Koskinen
Susan Cragin kirjoitti:

> BIG WARNING -- 
> VERY BAD THINGS occur, including data loss. 

Yes, I know. This was just a test.

Best Regards Asmo Koskinen.

-- 
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: Jaunty Alpha 5 and linux-rt (ppa)

2009-03-07 Thread Eric Hedekar
On Sat, Mar 7, 2009 at 2:12 PM, Asmo Koskinen wrote:

>
> I installed Jaunty Studio Alpha 5 (update&upgrade) and then installed
> only linux-rt from ppa.
>
> https://launchpad.net/~ubuntustudio-dev/+archive/ppa
>
> I can use/play M-Audio Keystation 49e with jackd and qsynth, but only as
> root/sudo user.
>
> http://www.arkki.info/howto/Ubuntu_Studio/Jaunty/Kuvakaappaus.png
>
> If I try same as a user, I get this. I have modified all necessary files.
>
> stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2
> no message buffer overruns
> jackd 0.116.1
> Copyright 2001-2005 Paul Davis and others.
> jackd comes with ABSOLUTELY NO WARRANTY
> This is free software, and you are welcome to redistribute it
> under certain conditions; see the file COPYING for details
>
> JACK compiled with System V SHM support.
> cannot use real-time scheduling (FIFO at priority 10) [for thread
> -1211418944, from thread -1211418944] (1: Operation not permitted)
> cannot create engine
> stu...@ubuntu-studio:~$
> 


Hmm, strange.  When you boot into the vanilla kernel, do you get this same
error?  PPA archives are for dev testing only, they really shouldn't be used
actively.

-Eric



-- 
___
http://greyrockstudio.blogspot.com
-- 
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: Jaunty Alpha 5 and linux-rt (ppa)

2009-03-07 Thread Susan Cragin
>I installed Jaunty Studio Alpha 5 (update&upgrade) and then installed 
>only linux-rt from ppa.
>
>https://launchpad.net/~ubuntustudio-dev/+archive/ppa

BIG WARNING -- 
Do not install Linux-rt and then try to compile any of the experimental 
alsa-drivers on top of it. VERY BAD THINGS occur, including data loss. 
Susan




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


Jaunty Alpha 5 and linux-rt (ppa)

2009-03-07 Thread Asmo Koskinen

I installed Jaunty Studio Alpha 5 (update&upgrade) and then installed 
only linux-rt from ppa.

https://launchpad.net/~ubuntustudio-dev/+archive/ppa

I can use/play M-Audio Keystation 49e with jackd and qsynth, but only as 
root/sudo user.

http://www.arkki.info/howto/Ubuntu_Studio/Jaunty/Kuvakaappaus.png

If I try same as a user, I get this. I have modified all necessary files.

stu...@ubuntu-studio:~$ /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p256 -n2
no message buffer overruns
jackd 0.116.1
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details

JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread 
-1211418944, from thread -1211418944] (1: Operation not permitted)
cannot create engine
stu...@ubuntu-studio:~$


"Interview: the return of the realtime preemption tree
By Jonathan Corbet February 16, 2009"

http://lwn.net/Articles/319544/

Best Regards Asmo Koskinen.

-- 
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: Getting M-Audio Delta 66 working

2009-03-07 Thread Asmo Koskinen
Asmo Koskinen kirjoitti:

> Use "alsamixer" for every four channel, lift (arrow keys) them near to 
> 77 - all should be in green, not red anywhere. Then quit qiwt "q".

Use "esc" for quit, not "q", sorry.

Best Regards Asmo Koskinen.

-- 
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: Getting M-Audio Delta 66 working

2009-03-07 Thread Asmo Koskinen
dennism...@gmx.net kirjoitti:

> So let's begin with the details. I disabled the on-board soundcard in BIOS 
> and rebooted.

Good.

> 02:07.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] 
> PCI Multi-Channel I/O Controller (rev 02)

Yes. I have exactly same line.

06:01.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 
[Envy24] PCI Multi-Channel I/O Controller (rev 02)

> "oss-linux-4.1-1051_amd64.deb" -- installed it. So far, so good.

> $ ossinfo
> $ ossxmix
> $ osstest

I strongly believe that you really do not need these, we play with alsa 
(+jackd, +pulseaudio) here, not with oss.

I use for both computers Ubuntu Studio 8.04 AMD64. You are using Ubuntu 
Studio 8.04 AMD64, right?

So I (and you) have the driver (module) on right place. No need for 
anything else.

$ lsmod | grep ice1712

snd_ice171268644  1
snd_ice17xx_ak4xxx 11648  1 snd_ice1712
snd_ak4xxx_adda16512  2 snd_ice1712,snd_ice17xx_ak4xxx
snd_cs8427 16256  1 snd_ice1712
snd_ac97_codec111652  1 snd_ice1712
snd_pcm83204  4 
snd_usb_audio,snd_ice1712,snd_ac97_codec,snd_pcm_oss
snd_i2c13440  2 snd_ice1712,snd_cs8427
snd_mpu401_uart15360  1 snd_ice1712
snd63268  18 
snd_usb_audio,snd_ice1712,snd_ak4xxx_adda,snd_hwdep,snd_cs8427,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_i2c,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

Use "alsamixer" for every four channel, lift (arrow keys) them near to 
77 - all should be in green, not red anywhere. Then quit qiwt "q".

$ alsamixer

http://www.arkki.info/howto/Ubuntu_Studio/04.png
http://www.arkki.info/howto/Ubuntu_Studio/05.png

Same with "envy24control".

$ envy24control

http://www.arkki.info/howto/Ubuntu_Studio/06.png
http://www.arkki.info/howto/Ubuntu_Studio/07.png
http://www.arkki.info/howto/Ubuntu_Studio/07.png

Now you plug your monitors to the break out box - OUTS 1 and 2.

If play some mp3 files with vlc/rhythmbox/younameit, there should be 
noise/sound/music.

Audacity works at this point, too.

http://www.arkki.info/howto/Ubuntu_Studio/20.png



So play first with "alsamixer" and physical OUTS, then we go deeper - to 
the world of the Jackd.

Best Regards Asmo Koskinen.

-- 
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: [usersUbuntuStudio] Jack lags...

2009-03-07 Thread Robert Klaar
Update, so after a nights configuring I think I know wherein the problem
lies. :), I added Jack to the tray and now, when I start it, it gets
completely red. I checked this up and supposedly it has to do with xruns(?).
I also noticed that it helps changing the frames/period setting, but only to
a degree(even at highest it's no good). I see now that this is not strange
at all since it's the xruns that are causing it to slow down in the first
place... Now all I have to figure out is why the xruns are being sent. Also
I noticed something when starting alsamixer, I only have the masterbar.
//paco

On Fri, Mar 6, 2009 at 10:21 PM, Robert Klaar  wrote:

> Hi there again!
> Been configuring audio now for the most of my friday-evening, everything
> works fine except it doesn't :(. Pulseaudio works, mediaplayers routing to
> pulseaudio too, but things like Ardour, Hydrogen, everything Jack-based
> doesn't. It lags when I try to use any samples and everything that's not
> working can in one way or another be related to Jack. When I started up a
> new project in Ardour, a notice came up stating that I had locked my memory
> or something, I looked up how to unlock this and now the notice is gone but
> nothing has changed with how it sounds, allthought it seemed reasonable(I'm
> sitting on a dual core 2.3 ghz with a ram of 3 g so I find it hard to think
> anything's wrong with the hardware per sey), I also checked with system
> monitor and it is hardly working it would seem when running jack. Also Jack
> shows, in the Jack-ctrl window something like 1(249), "249 is increasing",
> don't know if this is normal or not since I'm new to the whole thing. Anyone
> care to take a guess?... so that I might go out and get oen or two beers at
> least this friday evening :)...
> //paco
>
-- 
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


Getting M-Audio Delta 66 working

2009-03-07 Thread DennisMail
Hello list,

I just got my M-Audio Delta 66 soundcard today and I got it in my system. Now, 
I tried to get it work, but I just can get something out of the card.

So let's begin with the details. I disabled the on-board soundcard in BIOS and 
rebooted. So lets see:

$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:02.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express 
Graphics Port 0)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 14)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address 
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM 
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] 
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8800 GT (rev a2)
02:07.0 Multimedia audio controller: VIA Technologies Inc. ICE1712 [Envy24] PCI 
Multi-Channel I/O Controller (rev 02)
02:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 
Controller (PHY/Link)
02:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8110SC/8169SC 
Gigabit Ethernet (rev 10)

I am not quite sure, but there is a PCI Multi-Channel card which should be 
mine. As I saw on the m-audio site that drivers for this card are available 
from opensound.com, I downloaded the file " oss-linux-4.1-1051_amd64.deb" there 
and installed it. So far, so good.

Now, next goal would be that the soundcard is giving out something via one of 
the 4 outputs. And this is were I fail. So lets see:

$ ossinfo
Version info: OSS 4.1 (b 1051/200812302211) (0x00040100) 
Platform: Linux/x86_64 2.6.24-23-rt #1 SMP PREEMPT RT Mon Jan 26 02:32:55 UTC 
2009 (mick-recstudio)

Number of audio devices:10
Number of audio engines:10
Number of mixer devices:2


Device objects
 0: osscore0 OSS core services
 1: oss_envy240 M Audio Delta 66 interrupts=1704919 (1704919)
 2: oss_usb0 USB audio core services
 3: usb046d08b2-0 Logitec Quickcam Pro 4000 (mic)
 4: usb046d08b2-1 Logitec Quickcam Pro 4000 (mic)


Mixer devices
 0: M Audio Delta 66 (Mixer 0 of device object 1)
 1: Logitec Quickcam Pro 4000 (mic) (Mixer 0 of device object 3)

Audio devices
M Audio Delta 66 out1/2   /dev/oss/oss_envy240/pcm0  (device index 0)
M Audio Delta 66 out3/4   /dev/oss/oss_envy240/pcm1  (device index 1)
M Audio Delta 66 S/PDIF out   /dev/oss/oss_envy240/spdout  (device index 2)
M Audio Delta 66 in1/2/dev/oss/oss_envy240/pcmin0  (device index 3)
M Audio Delta 66 in3/4/dev/oss/oss_envy240/pcmin1  (device index 4)
M Audio Delta 66 S/PDIF in/dev/oss/oss_envy240/spdin  (device index 5)
M Audio Delta 66 input from mon. mixer   /dev/oss/oss_envy240/mon  (device 
index 6)
M Audio Delta 66 (all outputs)/dev/oss/oss_envy240/10ch_out  (device index 
7)
M Audio Delta 66 (all inputs) /dev/oss/oss_envy240/12ch_in  (device index 8)
Logitec Quickcam Pro 4000 (mic) rec  /dev/oss/usb046d08b2-1/pcmin0  (device 
index 9)

Ah, the soundcard is correctly detected. So I start

$ ossxmix

and, in another bash

$ osstest

In ossxmix, I see that something is happening, but I can't hear something via 
speakers or headphones. I guess it has to do something with jackd, but as I am 
not quite into the basics, perhaps somebody could tell me what I am doing 
wrong? Thanks a lot

Regards,
Dennis


-- 
Pt! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: 
http://www.gmx.net/de/go/multimessenger01

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