Found a really fun one.
Plug in or unplug my headphone, and my computer locks up. This is with hda-intel with msi-enable.
Apparently the headphone plugging/unplugging generates an interrupt. I am using msi-enable. When the thing sleeps and comes back from sleep, sometimes the kernel, the BIOS, ACPI, and the snd-hda-intel driver aren't in agreement as to what IRQ the thing is on. Sometimes I end up with this:
16: 1321610 IO-APIC-fasteoi uhci_hcd:usb5, i915@pci:0000:00:02.0, HDA Intel
218: 2 none-edge
219: 3063329 none-edge
I've got RT kernel, and the IRQ-219 is set to highest priority.
1673 FF 85 - 125 0.2 S< IRQ-219
Now, if I am careless enough to generate an interrupt by plugging in the headphone, the system will lock-up, hard-core.
I can avoid the problem by whacking the snd-hda-intel driver with a ball-peen hammer until it decides to go back onto the correct IRQ again:
sudo modprobe -r snd-hda-intel
sudo modprobe snd-hda-intel
Yay,
16: 1337804 IO-APIC-fasteoi uhci_hcd:usb5, i915@pci:0000:00:02.0
219: 3063459 PCI-MSI-edge HDA Intel
And no problem.
:-)
-ken
here's an article on how to use Live's MIDI scripting (compiles to a
Python scrpt) functionality to
set up and change the behavior of a nanoKontrol:
http://createdigitalmusic.com/2009/07/29/ableton-live-midi-remote-scripting…
so if someone can find the sysex data for the nano-series an editor
patch could be made on PD in Linux...although I don't know how trivial a
task that would be
I must apologise after reading all this..
My intention was not to start a distro flame war.. My intention was to get people
thinking .. what do you want from your distro... as opposed to "I want my debian
based distro to do this".. (reading back I did harp on too much about my own distro)
It was meant to be provocative and get people thinking but not inflamatory ...
Sorry again..
On Thu Jul 30 9:47 , Ken Restivo sent:
>On Wed, Jul 29, 2009 at 10:29:58PM +0100, Harry Van Haaren wrote:
>> Hey,
>>
>> Just to clarify: I was expressing my expericences of AvLinux, and my
>> intention was far
>> from trying to start a flame war. Perhaps I should have worded my opinion
>> differently as
>> to avoid a misunderstanding.
>
>No, you're great, I was referring to the more provacative "why debian?" question
of the O.P., which you wisely side-stepped.
>
>>
>> -Harry van Haaren
>>
>>
>>
>> On Wed, Jul 29, 2009 at 9:21 PM, Ken Restivo ken(a)restivo.org> wrote:
>>
>> > On Wed, Jul 29, 2009 at 01:18:46PM +0100, Harry Van Haaren wrote:
>> > > Hey,
>> > >
>> > > I wont answer your question on "Why Debian?", but i will say that AV
>> > linux
>> > > is amazing!
>> > > I'm really impressed with it because:
>> > > - FFADO "just worked". ie: modprobe raw1394, chmod /dev/raw1394, start
>> > jack.
>> > > Record 12 channels at 8ms for 1/2 n hour with 1 xrun.
>> > > -XFCE: Although i downgraded to stable (4.4) despite having the testing
>> > 4.6
>> > > installed, it was not much effort, and not half as bloat as KDE/full
>> > gnome.
>> > > -RemasterSys: Click the button, answer some questions (that are newbie
>> > > freindly) and have an ISO made of your exact current system. (I know
>> > other
>> > > distros have this feature, but they never seemed to work so well.
>> > > -Wine: For windows -> linux people its great: pre installed. if you dont
>> > > need it, its only a click away in Synaptic!
>> > > -I could go on, but networking, internet browsing, typing (Abiword :-)
>> > etc
>> > > all works well too, installing is a doddle, and if i take a DVD around, i
>> > > can get my entire system up & running in under 2 mins! (Upload edited
>> > files
>> > > to a git repo on Github when developing, my own site if its an update on
>> > > music.)
>> > >
>> > > GMac, the "Author" of AV really done a great job in my opinion, very much
>> > > recommended!
>> >
>> > I'm not taking the distro flamewar-bait either.
>> >
>> > AVLinux does look very tasty. I'm happy with Lenny for now, but as it gets
>> > further and further out of date over the next year or two, I might consider
>> > trying something different.
>> >
>> > -ken
>> >
>_______________________________________________
>Linux-audio-user mailing list
>Linux-audio-user(a)lists.linuxaudio.org
>http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
>)
First, want to say thanks to all who have given assistance directly and on more than one occasion asked a question before I did and still helped me anyway. Also appreciate the patience on all this, not to mention the friendships around the world.
Second, still working on getting my own kernel going with the following as had been suggested last week:
preempt_RCU
No_Hz
HZ_1000
and the other Rock-solid low-latency audio tweaks
99 ff migration
99 ff posixcputmr
98 ff IRQ-8 (real-time clock)
97 ff audio IRQ
80 rr Jack
Found the preempt_RCU and HZ_1000 spots in the debian/ubuntu kernel hack, still looking for the rest please.
Third, is how do we get Ardour to add effects and other psychoacoustics? I have some cool stuff am redoing from the now former redmond mess and cannot figure that part out. Would love to post something once I get these and a few other things figured out.
Continued and appreciated all assistance
Paul
Looking at the various sources online giving advice about setting up
realtime pre-emption in /etc/security/limits.conf, I found this mildly
amusing list of recommendations from various sources. I've changed the
group to 'realtime' in all cases just because that's what I use.
# Gentoo:
* hard rtprio 0
* soft rtprio 0
@realtime hard rtprio 20
@realtime soft rtprio 10
# Gentoo (Pro-Audio Overlay):
@realtime - rtprio 90
@realtime - nice -5
@realtime - memlock 500000
# Arch:
@realtime - rtprio 70
@realtime - nice -10
@realtime - memlock 250000
# Suse:
@realtime - rtprio 100
@realtime - nice -10
@realtime - memlock 400000
# Debian:
@realtime - rtprio 99
@realtime - nice -15
@realtime - memlock 250000
# Ubuntu:
@realtime - memlock 0
@realtime - rtprio 99
# Jack:
@realtime - rtprio 99
@realtime - memlock unlimited
# Alsa:
@realtime - rtprio 95
@realtime - memlock 512000
@realtime - nice -19
Hey, with concensus like this, how can you go wrong! :)
These are the main questions this brought up for me:
- Hard and soft limits: Most of these examples don't set separate hard
and soft limits for anything, with the exception of the generic Gentoo
realtime docs at the top. Since the soft limit is defined in the
kernel.org documentation for pam_limits as "default values, for normal
system usage", does this mean that if my account is in a group that
sets a "soft" rtprio of 10 as shown in that example, that every
process I launch gets that setting? A program with such permission
still has to specifically request realtime, doesn't it, even with this
"default" soft limit being present? It makes it kind of meaningless
if your text editor, your desktop clock, and your file manager can all
get that priority too automatically just because it's a "default", or
so I'd guess anyway...
- For most of the other examples, the '-' symbol is being used to set
the hard and soft limits to be the same. Presumably this makes the
"default for normal system usage" as sky-high as the maximum, as in
the cases where a rtprio of 99 and unlimited memory locking is shown.
This makes me think (hope?) even more that this is something an app
needs to specifically request by asking the kernel for realtime, even
under an account that has the PAM permissions!
- Many sources actually say in their accompanying texts that allowing a
negative niceness is not necessary, and thus do not. Others set a
mild one ('-5' in the Gentoo Pro-Audio Overlay), and some like the
Alsa Project documentation recommend scary-looking ones like '-19'
that seem bound to get in the way of kernel services, if I'm not
misinterpreting. How "not nice" should we allow a recording app to
get? Or are the sources that don't set this on the right track?
- Memlock is fairly self-explanatory to me. I'd presume you want to
allow an app to memlock as much resident space as you expect your
largest pro-audio app to take. I was wondering if there was anything
to fear from non-pro-audio apps though in cases where the setting was
"unlimited". This seems a possible loss of stability should one of
your desktop programs go crazy for some reason...or is this, again,
something that a program would have to request via a special call to
the kernel, which wouldn't be likely from random errant behavior?
What I'd really like to be able to do is run Qsampler/LinuxSampler
with very large Gigasampler format libraries, and have it work well.
I have 8GB of memory on my system, so should I memlock say 4-6GB or
so?
The common factor in all these questions is:
Do these abilities have to be requested by a process through an
extraordinary call the kernel, or does this open your whole desktop up
to rampant memory usage, process priority elevation, etc. all the time?
I'd mainly like only my pro-audio apps to make use of these abilities,
even if I do grant them to my user account.
--
+ Brent A. Busby + "We've all heard that a million monkeys
+ UNIX Systems Admin + banging on a million typewriters will
+ University of Chicago + eventually reproduce the entire works of
+ Physical Sciences Div. + Shakespeare. Now, thanks to the Internet,
+ James Franck Institute + we know this is not true." -Robert Wilensky
I'm using Ardour 2.7.1 on Ubuntu and just hooked up my Korg nanokontrol
control surface
I assigned the faders and buttons to the mixer faders and solo/mute buttons
with the ctrl+middle click
no problem
works like a charm
I then assigned the play and stop buttons
again no problem
it starts and stops the playback as expected
the problem:
when I assign the 'go to start of session' on the transport section to
the return button on the nanokontrol it didn't work
ditto on the 'go to end of session' assign and usage
an 'operate controller now' box did come up
and when I pressed the 'rewind' button on the nano it disappeared
but neither the 'return' or 'end of session' buttons function when pushed
anyone know what I'm doing wrong here?
I am reposting the thread because:
1. I noticed that the LAM description that I copy/pasted didn't appear in
the post
2. I decided on a more descriptive title so more people can join
3. I will cross-post it on LAM, LAU & LAD
-----------------------------------------------------------------------------------------------
Here, http://dis-dot-dat.net/mailman/listinfo/lam_dis-dot-dat.net
I read this:
"...About LAM
LAM is a mailing list for posting you Linux-made music, getting feedback and
finding collaborators.
Software trouble should be discussed in LAU and the coding side of things
should be sent to LAD...."
But there it seems that only one person (Julian) posts his music in the last
two years.
I see that music is been posted on all LA- lists occasionally, but I was
never sure whether it was the right place for posting (the various LA-
lists)
It would be nice to have a place where Linux music is posted and people
(audiophiles/musicians/linux geeks) make comments about it and generally,
hang out, say like http://www.zoxsy.com/
Any ideas, suggestions about it?
Viktor
============================
Mark Knecht
to Viktor, Linux-audio-us.
Frankly, I've never heard of this list.
- Mark
=================================
Thorsten Wilms
to linux-audio-us.
On Sun, 2009-07-26 at 01:52 +0100, Viktor Mastoridis wrote:
> Here, http://dis-dot-dat.net/mailman/listinfo/lam_dis-dot-dat.net
> I see that music is been posted on all LA- lists occasionally, but I
> was never sure whether it was the right place for posting (the various
> LA- lists)
At some point someone on the LAU list wondered with all the rather
technical discussions going on: where's the music?
So a few people started to post about their music made with Linux now
and then.
James Shuttleworth, who was likely the most productive of all of us for
a while, thought it would be good to have a dedicated list for that. So
he set one up. But assuming not that many people subscribed, some
started to post to both LAM and LAU about their music. Others continued
to post to LAU only.
(See http://dis-dot-dat.net/index.cgi?item=music/)
> It would be nice to have a place where Linux music is posted and
> people (audiophiles/musicians/linux geeks) make comments about it and
> generally, hang out, say like http://www.zoxsy.com/http://lam.fugal.net/ used to be a place where you could leave links to
tracks with short descriptions. No comments, AFAIR, though.
archive.org has an "open-source" music section and there is a "Linux"
keyword in use. I'm afraid you will find lots of podcasts and such
there, though:
http://www.archive.org/search.php?query=subject%3A"Linux" AND collection
%3Aopensource_audio
We could agree on a more specific keyword, but things like this tend to
not spread as they should.
Regarding the "it would be nice", sure, it's always the same: you need
someone to take care of it ;)
--
Thorsten Wilms
thorwil's design for free software:
http://thorwil.wordpress.com/
(forwarding an interesting development)
I've actually been thinking about creating a website exactly like what
you're looking for. Would there be interest in this?
What I'm seeing is a community-driven site where people can upload their
stuff, and can discuss, rate, categorize, critique others' work. Open to all
so long as the music is made with FOSS.
Just throwing out some other ideas I was thinking of maybe having the option
to only let people download a sample and then charge to let people hear the
whole thing. Maybe for that option have a base price for setting that option
and then the uploader can mark up to whatever they wish. Maybe also have the
option to just download a sample and then link to where the user could buy
the track.
Is there interest in this? I can do it, but I can do it a lot faster if I
know people might use it.
Philip Schleihauf
======================================================
Reply
Good to hear that!
Actually, I started thinking of creating a website too. And I also stopped
at the question of interest.
Thus, let me throw my ideas here.
I saw the future website as info-only. Thus, people put their stuff there
(samples or whole songs) which then can be listened or downloaded. Other
people comment. One page per song.
But I also thought about forums. a place where we can discuss production
tricks and hints. Where we can discuss new (and old) software from a
musician's point of view.
so, the first think I would like to see whether there are any websites that
I don't know about. also, see what interest such an idea generates. Also,
see whether other people (like you) have similar ideas, so as not to clash
or make a double (and useless) effort.
Or maybe unite the efforts? I was thinking on doing it on Drupal 6. I have a
basic knowledge in that. What CMS were you thinking to use?
Viktor
===============================================================
Reply
|
Philip Schleihauf
(This is the same phil, right email address this time I think) Yep, sounds
li...
Reply
Follow up message
(This is the same phil, right email address this time I think)
On Mon, Jul 27, 2009 at 4:04 AM, Viktor Mastoridis <viktor(a)mastoridis.co.uk>
wrote:
On Sun, Jul 26, 2009 at 3:11 PM, Phil <windermere(a)magnustudios.com>
wrote:
I've actually been thinking about creating a website exactly like
what you're looking for. Would there be interest in this?
But I also thought about forums. a place where we can discuss production
tricks and hints. Where we can discuss new (and old) software from a
musician's point of view.
Yep, sounds like we're on the same track.
Or maybe unite the efforts? I was thinking on doing it on Drupal 6. I
have a basic knowledge in that. What CMS were you thinking to use?
D6 is what I was going to use.
Setting this up in Drupal would be such a cinch, I think I might in the next
few days just get the basic stuff working, put it on a subdomain on my
hosting package and then if there's interest, I'll go and properly theme it
all, etc.
Viktor, if I get it up I'll give you an admin account if you want as we seem
to be on the same track.
Now, I can't find, don't know of any website that does all this yet. There's
some old list-type sites, but nothing really user-driven and dynamic that
has potential for forming a community. I think that's for one of two
reasons:
1) Nobody's done it yet.
2) one or more sites like this DOES exist, but there really isn't an
interest, hence why I can't find it.
Either way I think the only way to find out if there's interest is to
actually set one up. For the small amount of effort it would take to do this
in Drupal I think it's worth the risk.
And hey, I'm pretty interested in it, maybe it follows that many others
probably are as well.
Philip Schleihauf
===================================================
Reply
Ok, this sounds great.
Philip, let's talk it over.
I am ready to provide a net domain.
I bought limuxic.net. This is a name I was using with my kids at the school
that I am teaching, to tell them that it's about music made in Linux. They
loved it.
I can transfer this domain to you, if you want (unlock it etc).
Also, would you have enough space? If all goes good, you might need 5-10gb?
I can also set it up and give you admin rights, but I don't mind either
ways.
also, I was thinking on putting this mp3 player:
http://drupal.org/project/mp3player
One uploads a track and it turns into a player (doesn't work with ogg:-()
Or you have something better in mind?
when there are two or more people, this thing might actually work!
Viktor
===============================================
I just opened an account on HostPapa, one of those "Unlimited" storage and
transfer ones. I'm sure that will be fine starting out at least.
That domain sounds fine for now at least, much better than using a subdomain
on one of mine. I had a few other ideas but that can come later, if this
proves to actually go anywhere. Actually the more I look at it the more I
like that one.
I've used the "audio" module in the past, http://drupal.org/project/audio,
but it's still listed unstable. I can't remember if it does ogg, but that
mp3 player module looks good enough to give it a shot.
I can't actually spend much time on this today as I need to get a lot of
work done on another website for a client. Probably tomorrow I can really
get going.
Philip Schleihauf
================================================
Phillip,
I tried to install the mp3 player watching the video link provided - works
perfect. the best part is, users only need to attach a song to their node
and the player appears automagically. Thus they could have the option to
attach a song, if they want to give it for free.
As for the domain, just tell me where to point it, and I will do so (name
and mail servers).
Also, I was thinking of implementing a kind of gig calendar. so active
musicians could post their gigs. Have a look at
http://drupal.org/project/calendar sounds proising. Haven't tried it, but
watched the video as well.
I can't actually spend much time on this today
Of course, time was my biggest fear. On one side, what if no one joins? On
the other, what if too many people join? But uniting the efforts is such a
great relief.
So, as you a web-designer (am I right?), I let you lead and will help
whatever I can (I am a musician).
VM