<?xml version="1.0" encoding="ISO-8859-1"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>LinuxQuestions.org - Blogs - GlennsPref</title>
		<link>http://www.linuxquestions.org/questions/blog.php?u=112299</link>
		<description>LinuxQuestions.org offers a free Linux forum where Linux newbies can ask questions and Linux experts can offer advice. Topics include security, installation, networking and much more.</description>
		<language>en</language>
		<lastBuildDate>Wed, 25 Nov 2009 00:29:20 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://e1h7.simplecdn.net/lqcdn/images/questions/images/misc/rss.jpg</url>
			<title>LinuxQuestions.org - Blogs - GlennsPref</title>
			<link>http://www.linuxquestions.org/questions/blog.php?u=112299</link>
		</image>
		<item>
			<title>nvidia-installer -A Solved</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1591</link>
			<pubDate>Sat, 07 Feb 2009 00:36:57 GMT</pubDate>
			<description><![CDATA[Thank you Didier, nvidia-installer -A, shows the advanced options. 
 
 
---Quote (Originally by GlennsPref)--- 
Thank you Didier, that's it. 
 
...]]></description>
			<content:encoded><![CDATA[<div>Thank you Didier, nvidia-installer -A, shows the advanced options.<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				<div>
					Originally Posted by <strong>GlennsPref</strong>
					<a href="showthread.php?p=3432433#post3432433" rel="nofollow"><img class="inlineimg" src="http://e1h7.simplecdn.net/lqcdn/images/questions/images/buttons/viewpost.gif" border="0" alt="View Post" /></a>
				</div>
				<div style="font-style:italic">Thank you Didier, that's it.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 146px;
		text-align: left;
		overflow: auto"> -K, --kernel-module-only
      Install a kernel module only, and do not uninstall the existing driver.
This is intended to be used to install kernel modules for
additional kernels (in cases where you might boot between several 
different kernels).
To use this option, you must already have a
driver installed, and the version of the installed driver must match
the version of this kernel module.</pre>
</div>Thanks heaps, Glenn</div>
			
		</td>
	</tr>
	</table>
</div>Change heading for lookups and searches from &quot;Solved&quot; non-descriptive title. gw</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1591</guid>
		</item>
		<item>
			<title>nvidia graphics, 2 kernels, 2 window managers is it possible?</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1590</link>
			<pubDate>Sat, 07 Feb 2009 00:35:26 GMT</pubDate>
			<description>nvidia graphics, 2 kernels 
 
 
---Quote (Originally by GlennsPref)--- 
Hi, I have 2 kernels, one RT, the other is not. 
 
The newer kernel...</description>
			<content:encoded><![CDATA[<div>nvidia graphics, 2 kernels<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				<div>
					Originally Posted by <strong>GlennsPref</strong>
					<a href="showthread.php?p=3431382#post3431382" rel="nofollow"><img class="inlineimg" src="http://e1h7.simplecdn.net/lqcdn/images/questions/images/buttons/viewpost.gif" border="0" alt="View Post" /></a>
				</div>
				<div style="font-style:italic">Hi, I have 2 kernels, one RT, the other is not.<br />
<br />
The newer kernel (2.6.28.x.x mdv) is my main desktop, for normal every day tasks, <br />
<br />
but the other, RT kernel (2.6.26.x.rt mdv), is specifically for Real-Time <br />
<br />
monitoring of Audio when Recording sound (Multi-track) on my system.<br />
<br />
I have more system info available if required, But <br />
<br />
My main question is...<br />
<br />
<font color="Blue">Can I have 3d graphics acceleration installed on both kernels?</font><br />
<br />
I use the nvidia proprietary driver module, 177.82, but if I try to<br />
<br />
install it for the other kernel, nvidia-installer un-installs the<br />
<br />
current one.<br />
<br />
What I want to do is cut back on desktop fx when using the recorder by<br />
<br />
having a separate user, &quot;music&quot; with xfce, but still keep my usual set-up<br />
<br />
for everyday use without having to install the graphics all the time.<br />
<br />
I can get around this by editing the /etc/X11/xorg.conf file each time<br />
<br />
I change tasks, but I don't get the benefit of the hardware GPU and<br />
<br />
memory using vesa.<br />
<br />
I'm new to this kind of hacking, but I'm sure one of you <br />
<br />
know how to do it.<br />
<br />
<font color="SeaGreen">I wrote a tute for setting up RT monitoring</font>,<br />
<br />
<a href="http://www.linuxquestions.org/questions/mandriva-30/how-to-set-up-realtime-audio-mandriva-2009.0-ardour-qjackctl-ua-25ex-edirole.-699233/">http://www.linuxquestions.org/questi...irole.-699233/</a><br />
<br />
and am familiar with some of the configurations, but this is new to me.<br />
<br />
I use kde4 for everyday bling and computer work,<br />
<br />
like web-browsing and doc writing etc.<br />
<br />
Any tips?<br />
<br />
Thanks heaps, Glenn</div>
			
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1590</guid>
		</item>
		<item>
			<title>Heads-up, nVidia proprietary drivers with kde4 you may not need the options tweaks!!</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1589</link>
			<pubDate>Sat, 07 Feb 2009 00:31:44 GMT</pubDate>
			<description>Here is a test comparison, between rt (configured for audio, and my current kernel. 
 
 
---Quote (Originally by GlennsPref)--- 
music@GamesBox:~$...</description>
			<content:encoded><![CDATA[<div>Here is a test comparison, between rt (configured for audio, and my current kernel.<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				<div>
					Originally Posted by <strong>GlennsPref</strong>
					<a href="showthread.php?p=3432928#post3432928" rel="nofollow"><img class="inlineimg" src="http://e1h7.simplecdn.net/lqcdn/images/questions/images/buttons/viewpost.gif" border="0" alt="View Post" /></a>
				</div>
				<div style="font-style:italic">music@GamesBox:~$ startxfce4<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 226px;
		text-align: left;
		overflow: auto">music@GamesBox:~$ glxgears                                        (05-02 20:08)
62825 frames in 5.0 seconds = 12564.875 FPS
62331 frames in 5.0 seconds = 12466.195 FPS
63293 frames in 5.0 seconds = 12658.508 FPS
63464 frames in 5.0 seconds = 12692.744 FPS
63393 frames in 5.0 seconds = 12678.479 FPS
63259 frames in 5.0 seconds = 12651.711 FPS
63772 frames in 5.0 seconds = 12748.367 FPS
63624 frames in 5.0 seconds = 12724.737 FPS
63653 frames in 5.0 seconds = 12730.557 FPS
63435 frames in 5.0 seconds = 12684.970 FPS
music@GamesBox:~$ uname -a                                        (05-02 21:31)
Linux GamesBox.GlennsPref.net 2.6.28-Preempt-0.rc8.1mnb #2 SMP PREEMPT Fri Jan 30 09:33:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux</pre>
</div>Whooo Weee.<br />
<br />
Just double checking the RT kernel...<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 258px;
		text-align: left;
		overflow: auto">music@GamesBox:~$ uname -a                                        (05-02 21:50)
Linux GamesBox.GlennsPref.net 2.6.26-music.8-1.rt13.1mdv #3 SMP PREEMPT RT Wed Jan 14 20:45:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ GNU/Linux
music@GamesBox:~$ glxgears                                        (05-02 21:51)
46823 frames in 5.0 seconds = 9360.805 FPS
45941 frames in 5.0 seconds = 9180.539 FPS
45441 frames in 5.0 seconds = 9073.050 FPS
45150 frames in 5.0 seconds = 9018.174 FPS
45083 frames in 5.0 seconds = 9011.763 FPS
44879 frames in 5.0 seconds = 8975.763 FPS
45421 frames in 5.0 seconds = 9076.420 FPS
45611 frames in 5.0 seconds = 9122.151 FPS
44756 frames in 5.0 seconds = 8938.974 FPS
44224 frames in 5.0 seconds = 8827.179 FPS
45469 frames in 5.0 seconds = 9093.735 FPS
music@GamesBox:~$                                                 (05-02 21:52)</pre>
</div>Hope this helps some of you....<br />
<br />
Regards, Glenn</div>
			
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1589</guid>
		</item>
		<item>
			<title>Heads-up, nVidia proprietary drivers with kde4 you may not need the options tweaks!!</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1588</link>
			<pubDate>Sat, 07 Feb 2009 00:28:45 GMT</pubDate>
			<description>---Quote (Originally by GlennsPref)--- 
Heads up ppl. 
 
If you use the nvidia proprietary drivers with kde4 you may not need the options tweaks...</description>
			<content:encoded><![CDATA[<div><div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				<div>
					Originally Posted by <strong>GlennsPref</strong>
					<a href="showthread.php?p=3432618#post3432618" rel="nofollow"><img class="inlineimg" src="http://e1h7.simplecdn.net/lqcdn/images/questions/images/buttons/viewpost.gif" border="0" alt="View Post" /></a>
				</div>
				<div style="font-style:italic"><font color="Green">Heads up ppl.</font><br />
<br />
If you use the nvidia proprietary drivers with kde4 you may not need the options tweaks previously used in /etc/X11/xorg.conf.<br />
<br />
post #6 by txf<br />
<a href="http://www.nvnews.net/vbulletin/showthread.php?t=126835" target="_blank">http://www.nvnews.net/vbulletin/showthread.php?t=126835</a><br />
<br />
<br />
<br />
<br />
When I saw this last night, I could not believe it, Did I really need to # out about 10 lines of options,<br />
<br />
Well, glxgears is the only benchmark I used, but the improvements were devastatingly positive!<br />
<br />
/etc/X11/xorg.conf (Newly modified, I did not think it would even start!)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 498px;
		text-align: left;
		overflow: auto"># nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Nov  4 17:18:57 PST 2008

# File generated by XFdrake (rev 247269)
# File generated by XFdrake (rev 247269)

Section &quot;ServerLayout&quot;
    Identifier     &quot;Layout0&quot;
    Screen      0  &quot;Screen0&quot; 0 0
    InputDevice    &quot;Keyboard0&quot; &quot;CoreKeyboard&quot;
    InputDevice    &quot;Mouse1&quot; &quot;CorePointer&quot;
    InputDevice    &quot;Mouse2&quot; &quot;SendCoreEvents&quot;
EndSection

Section &quot;Files&quot;
    FontPath        &quot;/usr/share/fonts/default/Type1&quot;
EndSection

Section &quot;Module&quot;
    Load           &quot;dbe&quot;
    Load           &quot;extmod&quot;
    Load           &quot;type1&quot;
    Load           &quot;freetype&quot;
    Load           &quot;glx&quot;
EndSection

Section &quot;InputDevice&quot;
    Identifier     &quot;Mouse1&quot;
    Driver         &quot;mouse&quot;
    Option         &quot;Protocol&quot; &quot;ExplorerPS/2&quot;
    Option         &quot;Device&quot; &quot;/dev/mouse&quot;
EndSection

Section &quot;InputDevice&quot;
    Identifier     &quot;Mouse2&quot;
    Driver         &quot;evdev&quot;
    Option         &quot;device&quot; &quot;/dev/input/by-id/usb-Logitech_USB_Receiver-event-mouse&quot;
    Option         &quot;HWheelRelativeAxisButtons&quot; &quot;7 6&quot;
EndSection

Section &quot;InputDevice&quot;

    # generated from data in &quot;/etc/sysconfig/keyboard&quot;
    Identifier     &quot;Keyboard0&quot;
    Driver         &quot;kbd&quot;
    Option         &quot;XkbModel&quot; &quot;pc105&quot;
    Option         &quot;XkbLayout&quot; &quot;us&quot;
EndSection

Section &quot;Monitor&quot;
#&quot;DV177/SB&quot;
    Identifier     &quot;Monitor0&quot;
    VendorName     &quot;MEA&quot;
    ModelName      &quot;1280x1024 @ 50 Hz&quot;
    HorizSync       31.5 - 64.3
    VertRefresh     50.0 - 70.0
    Option         &quot;DPMS&quot;
EndSection

Section &quot;Device&quot;
    Identifier     &quot;Device0&quot;
    Driver         &quot;nvidia&quot;
    VendorName     &quot;GigaByte&quot;
    BoardName      &quot;GigaByte GeForce 9800gt (GTX+)&quot;
EndSection

Section &quot;Screen&quot;

    <font color="Red">#Option &quot;BackStoring&quot; &quot;True&quot; #&quot;1&quot;</font>
    Identifier     &quot;Screen0&quot;
    Device         &quot;Device0&quot;
    Monitor        &quot;Monitor0&quot;
    DefaultDepth    24
    Option         &quot;PixmapCacheSize&quot; &quot;1600000&quot;
    <font color="Red">#Option         &quot;AddARGBGLXVisuals&quot; &quot;True&quot;</font>
    Option         &quot;DPMS&quot;
    Option         &quot;BackStoring&quot; &quot;0&quot; #&quot;True&quot; #&quot;1&quot;
    <font color="Red">#Option         &quot;OnDemandVBlankInterrupts&quot; &quot;true&quot;
    #Option         &quot;DisableGLXRootClipping&quot; &quot;True&quot;
    #Option         &quot;DamageEvents&quot; &quot;1&quot;
    #Option         &quot;AllowSHMPixmaps&quot; &quot;0&quot;
    #Option         &quot;TripleBuffer&quot; &quot;1&quot;
    #Option         &quot;RenderAccel&quot; &quot;True&quot;
    #Option         &quot;UseEvents&quot; &quot;false&quot;</font>
    Option         &quot;HWCursor&quot;
    SubSection     &quot;Display&quot;
        Depth       24
    EndSubSection
EndSection

Section &quot;Extensions&quot;
    Option         &quot;Composite&quot;
    Option         &quot;RENDER&quot; &quot;Enable&quot;
EndSection</pre>
</div>Test results, comparison...<br />
using glxgears...<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 498px;
		text-align: left;
		overflow: auto">NoPat glxgears.

without nopat, normal xorg.conf  (I thought this was the best I could get, lol)
glenn@GamesBox:~$ glxgears                        (25-01 15:26)
19355 frames in 5.0 seconds = 3870.968 FPS
20132 frames in 5.0 seconds = 4025.476 FPS
19408 frames in 5.0 seconds = 3881.587 FPS
19533 frames in 5.0 seconds = 3898.408 FPS
18845 frames in 5.0 seconds = 3768.947 FPS
18656 frames in 5.0 seconds = 3731.070 FPS
18741 frames in 5.0 seconds = 3748.169 FPS
18556 frames in 5.0 seconds = 3707.013 FPS
18442 frames in 5.0 seconds = 3688.389 FPS
18633 frames in 5.0 seconds = 3726.489 FPS
glenn@GamesBox:~$


With nopat kernel boot param.  Nice improvement, but a bit jumpy/jittery

glenn@GamesBox:~$ glxgears                                                                                                      (25-01 15:34)
29822 frames in 5.0 seconds = 5963.993 FPS
32055 frames in 5.0 seconds = 6410.964 FPS
28150 frames in 5.0 seconds = 5629.852 FPS
28034 frames in 5.0 seconds = 5606.756 FPS
33237 frames in 5.0 seconds = 6647.276 FPS
32036 frames in 5.0 seconds = 6407.151 FPS
29417 frames in 5.0 seconds = 5882.160 FPS
27982 frames in 5.0 seconds = 5596.388 FPS
28162 frames in 5.0 seconds = 5632.326 FPS
27887 frames in 5.0 seconds = 5577.261 FPS
glenn@GamesBox:~$                                                                                                               (25-01 15:37)


with most mods removed from xorg.conf without nopat

music@GamesBox:~$ glxgears
47174 frames in 5.0 seconds = 9434.789 FPS
44911 frames in 5.0 seconds = 8980.790 FPS
46844 frames in 5.0 seconds = 9361.882 FPS
47305 frames in 5.0 seconds = 9460.989 FPS
48113 frames in 5.0 seconds = 9622.578 FPS
47165 frames in 5.0 seconds = 9432.910 FPS
47554 frames in 5.0 seconds = 9510.770 FPS
47433 frames in 5.0 seconds = 9486.521 FPS
47155 frames in 5.0 seconds = 9430.994 FPS
47329 frames in 5.0 seconds = 9465.761 FPS
music@GamesBox:~$                                                 (04-02 23:27)</pre>
</div>Just goes to show ya, that real improvements are being made.<br />
<br />
It has not fixed the resizing freeze, ie. grabing the corner of a window and draging to a different size.<br />
<br />
But new stuff is comming out all the time.<br />
<br />
By the time mandriva releases kde4.2 (not kde4.2mdv, which is 4.1.x in reality, see the errata of 2009.1rc) correct me if I'm wrong, please, I've read so much I might be confused,lol.<br />
<br />
It should be better. I guess that means mid year release of Mandriva 2010.0.<br />
<br />
Cheers, Glenn</div>
			
		</td>
	</tr>
	</table>
</div>But wait, there's more...</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1588</guid>
		</item>
		<item>
			<title>Real-Time Audio part 4, final.</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1554</link>
			<pubDate>Tue, 27 Jan 2009 05:16:38 GMT</pubDate>
			<description>Get set_rlimits...(set_rlimits is only one of a few programms that enables this type of functionallity) 
...</description>
			<content:encoded><![CDATA[<div>Get set_rlimits...(set_rlimits is only one of a few programms that enables this type of functionallity)<br />
<br />
<a href="http://www.physics.adelaide.edu.au/~jwoithe/set_rlimits-1.3.0.tgz" target="_blank">http://www.physics.adelaide.edu.au/~...mits-1.3.0.tgz</a><br />
<a href="http://www.physics.adelaide.edu.au/~jwoithe/" target="_blank">http://www.physics.adelaide.edu.au/~jwoithe/</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				“This file sets the maximum priorities which set_rlimits can set for <br />
a given program when executed by a given user or group. <br />
The program specified must include an absolute path.”
			
		</td>
	</tr>
	</table>
</div>Uncompress it with...<br />
tar xf *<br />
<br />
Run...<br />
<br />
make clean &amp;&amp; make<br />
<br />
and when your ready to install it, run...<br />
make install<br />
<br />
Now get ready with you favourite editor, with root privileges<br />
<br />
to edit some system files...<br />
<br />
vi is a good one. ;-)<br />
<br />
usually  /etc/set_rlimits.conf<br />
<br />
We want access to the @audio group and any of it's members (or a username), <br />
Note: you should be a member of that group.<br />
<br />
The next is the absolute address to the binary, then the nice level, real-time priority, <br />
and memlock for the binary to run in.<br />
<br />
/etc/set_rlimits.conf<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 146px;
		text-align: left;
		overflow: auto">@audio /usr/bin/jackd nice=-1 rtprio=80 memlock=100000
@audio /usr/bin/qjackctl nice=-1 rtprio=79 memlock=100000
@audio /usr/bin/ardour nice=-1 rtprio=78 memlock=400000
#@audio /	=-1	rtprio=		memlock=
@audio /usr/bin/hydrogen nice=-1 rtprio=76 memlock=100000
@audio /usr/bin/rosegarden nice=-1 rtprio=75 memlock=100000
@audio /usr/bin/vkeydb nice=-1 rtprio=74 memlock=100000
@audio /usr/bin/qsynth nice=-1 rtprio=73 memlock=100000</pre>
</div>/etc/security/limits.conf (if ardour complains about memory limits)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">@audio - rtprio 99
@audio - memlock 500000
@audio - nice -10</pre>
</div>/etc/sysctl.conf for …<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 98px;
		text-align: left;
		overflow: auto">#checking inotify max_user_watches... too small. For Real-time Audio...
#** /proc/sys/fs/inotify/max_user_watches is smaller than 524288
#** increase it by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
#   For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#sysctl.conf
fs.inotify.max_user_watches = 524288</pre>
</div>and any others mentioned in the perl script, like tmp fs listing.<br />
<br />
Set up the server path in qjackctl to read, set_rlimits jackd<br />
<br />
I also preceded the music programs commands with this as well, by editing the icon properties.<br />
<br />
Type in  set_rlimits jackd to start the server from a prompt.<br />
<br />
Check with the video and perl script to check everything is as it should be. There are references to<br />
some of the pages I have trolled through to assemble this document, and you can check those for<br />
configuring the kernel, Alsa, and checking the hardware.<br />
<br />
Repeated links from above...<br />
Kernel <a href="http://proaudio.tuxfamily.org/wiki/index.php?title=Howto_RT_Kernel" target="_blank">http://proaudio.tuxfamily.org/wiki/i...owto_RT_Kernel</a><br />
<br />
Alsa <a href="http://ubuntuforums.org/archive/index.php/t-908845.html" target="_blank">http://ubuntuforums.org/archive/index.php/t-908845.html</a><br />
 Contributed to by the Ubuntu community and Blablack in particular<br />
<br />
Note: The UA-4FX page has more command line utility examples for debugging.<br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-4FX" target="_blank">http://alsa.opensrc.org/index.php/Edirol_UA-4FX</a><br />
<br />
Which links to the previous ua-25 page.<br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-25" target="_blank">http://alsa.opensrc.org/index.php/Edirol_UA-25</a><br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-25EX" target="_blank">http://alsa.opensrc.org/index.php/Edirol_UA-25EX</a><br />
<br />
<br />
Outcomes<br />
Before starting with jackd<br />
<br />
jack with 64 frames per second and a buffer of 4 periods, at 44.1kHz 16bit<br />
latency is about 5.6msec but jack has drop-outs in the audio chain,<br />
X runs... :(<br />
<br />
After set_rlimits jackd<br />
<br />
jack with 64 frames per second and a buffer of 2 periods, at 44.1kHz 16bit<br />
gets about 2.6msec, with no x runs <br />
(x runs = audio-processing lock-ups causing drop-outs, caused by resource scheduling).<br />
<br />
I try to get in a habit of using one resolution most of the time, <br />
after all, CD quality is still 44.1kHz/16bit.<br />
:-)<br />
<br />
Check for basic system sounds, configure kernel for virtualBox and nVidia Graphics re-installation<br />
<br />
After going through all of this, you won't want Mandriva Automatically Upgrading<br />
your kernel for you.<br />
To change this behaviour for urpmi (and drakrpm?) go to /etc/urpmi/skip.list<br />
Use the config help in that file, /^kernel*/ you need to be root to save it.<br />
Smart has a version lock, where you can lock packages by version from the smart GUI, nice.<br />
<br />
<br />
So we have not covered installing the programs, but I figure there's other documents about that already.<br />
<br />
I used Audacity to check the audio recording and playback systems during the kernel configs.<br />
(without jackd running)<br />
<br />
Thank you to the contributors of Alsa, Ubuntu, Linux Journal Magazine, <a href="http://www.atomicmpc.com.au" target="_blank">www.atomicmpc.com.au</a><br />
and <a href="http://www.LinuxQuestions.org" target="_blank">www.LinuxQuestions.org</a> and you too (for reading).<br />
<br />
I have tried to reference others work where I could, and give credit where it is due.<br />
<br />
I apologise for any omissions, and accept any useful criticism, amendments will be made as they<br />
become available and or relevant.<br />
<br />
Thank you<br />
Regards Glenn (GlennsPref) 27/01/2009</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1554</guid>
		</item>
		<item>
			<title>Real-Time Audio part 3</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1553</link>
			<pubDate>Tue, 27 Jan 2009 05:15:36 GMT</pubDate>
			<description>Next is the rt kernel patch... 
	Note: You only need to do this if you have not installed the rt kernel source from the rpm, 
	as mentioned above, if...</description>
			<content:encoded><![CDATA[<div>Next is the rt kernel patch...<br />
	Note: You only need to do this if you have not installed the rt kernel source from the rpm,<br />
	as mentioned above, if you did you can skip this Patching section and continue on to the<br />
	configuring the kernel section of this document.<br />
<br />
Patch the kernel with the RT patch<br />
<br />
	manual patch method,<br />
<br />
	from the video. (includes applications rt permissions and access with set_rlimits)...<br />
	<a href="http://www.linuxjournal.com/video/hy...al-time-kernel" target="_blank">http://www.linuxjournal.com/video/hy...al-time-kernel</a><br />
<br />
	download and patch any rt diffs.<br />
	I could not find a real-time patch for the new 2.6.28.x-kernel at...<br />
	<a href="http://rt.et.redhat.com/download/" target="_blank">http://rt.et.redhat.com/download/</a><br />
<br />
<br />
	You might find that you need to revise what kernel .ver you need to use, as I did,<br />
	Once I realised this I used the rpm method instead. Same versions, less work and the<br />
	“Mandriva tweaks and proprietary drivers”.<br />
<br />
	Download the patch (a .bz2 file in this case)to an appropriate place...<br />
	/usr/src/linux/patch-2.6.26.8-rt13.bz2 (or whatever version you require)<br />
<br />
	cd to the src dir (or where you saved the file to)...<br />
	cd /usr/src/linux<br />
<br />
	run bzip2 -d for the .bz2 file to unpack it in the src directory...<br />
	bzip2 -d patch-2.6.26.8-rt13.bz2<br />
<br />
	Now patch the kernel by running...<br />
	patch -p1 &lt; patch-2.6.26.8-rt13<br />
<br />
	Now you're ready to configure the kernel, which will bring the patches to fruition<br />
	and allow for making other changes (the perl script suggestions).<br />
<br />
Configuring the kernel<br />
<br />
We'll need to configure further, We'll integrate the patch, type...<br />
cd /usr/src/linux<br />
<br />
running make oldconfig will only ask NEW questions not answered in the old (current) config<br />
file.(/boot/config)...<br />
make oldconfig<br />
<br />
say yes to the real-time preemption question, preempt_rcu and preempt_rcu_Boost and any deps<br />
(none I noticed).<br />
<br />
You can say no to the others or leave them as dynamic loading modules. (depending on the age of<br />
this document, Jan2009)<br />
<br />
Some questions may be debugging apps, but generally you really won't want a lot of low level <br />
apps running taking notes and writing reports while you're trying to record and sequence sounds. <br />
So you can probably leave the debugging and kernel hacking out or unchanged if you like.<br />
I turned off “Kernel_Debugging” as a whole.<br />
<br />
This Gentoo guide is concise, (ignoring distro centric commands and) look for the selections to change in the kernel.<br />
<a href="http://proaudio.tuxfamily.org/wiki/index.php?title=Howto_RT_Kernel" target="_blank">http://proaudio.tuxfamily.org/wiki/i...owto_RT_Kernel</a><br />
<br />
Once that is finished, you can run the build sequence...<br />
<br />
Another way to do this is with with a GUI, make xconfig or make menuconfig you can get right<br />
down to the nitty gritty of selections, with a search function, with your mouse and you can<br />
browse around. :-) <br />
<br />
cd /usr/src/linux<br />
<br />
Note: I would run “make oldconfig” first, answering the questions then save. Then...<br />
make xconfig or make menuconfig.<br />
<br />
check to see if rt has been enabled,<br />
Search for “real-time preemption” and “preempt_rcu” and any deps (preempt_rcu_Boost),<br />
<br />
you can probably leave the debugging and kernel hacking out or unchanged if you like.<br />
<br />
Make sure the snd_usb_audio module is loaded in the config.[USB_AUDIO]<br />
<br />
I also look for spcaxxx module for my webcam, and option module for usb_storage <br />
“usb hdspa modem”.<br />
I check to see if the agpgart modules are dynamic not static for my amd/nVidia combo.<br />
I also check for write access to ntfs file systems.<br />
<br />
Save your config then exit the xconfig app.<br />
make sure you save the config file with the save button/icon and exit xconfig program.  <br />
<br />
That should save the config file to the default place... /usr/src/linux/somewhere.<br />
You'll see on the shell, “saved config file to....”(Be sure you know where it is).<br />
<br />
Config complete.<br />
<br />
Compiling the kernel<br />
Note: The rolling of the kernel (compiling) takes longest, up to 2 hours on most machines<br />
It has been recommended to me not to run any other memory or filesystem intensive <br />
applications on the system while the compiling is being carried out.<br />
<br />
Otherwise type...<br />
make all &amp;&amp; make modules_install &amp;&amp; make install<br />
<br />
Note: make all, this does... make dep &amp;&amp; make clean bzImage modules<br />
<br />
Reboot selecting the new kernel, should be automatic with grub2 Mandriva system...<br />
Shutdown -r now<br />
<br />
Note: If you want this to run during the night, let say, and to shut down automatically <br />
when the process is complete, type this instead...<br />
make all &amp;&amp; make modules_install &amp;&amp; make install &amp;&amp; shutdown -h now<br />
<br />
Then go to work, or bed and check it when you return.<br />
<br />
If you get errors, or stoppages, please ask before you reboot to the new kernel, you can always<br />
fall back to the old kernel if you have booting problems.<br />
<br />
Other than the package manager references, this is a good guide for any distro...IMO<br />
Gentoo guide...<br />
<a href="http://proaudio.tuxfamily.org/wiki/index.php?title=Howto_RT_Kernel" target="_blank">http://proaudio.tuxfamily.org/wiki/i...owto_RT_Kernel</a><br />
<br />
Compile complete.<br />
<br />
I got this from a Linux-Journal video tutorial(.flv) called<br />
<br />
Hyper_Low-Latency_Audio_with_a_Real-Time_Kernel_Linux_Journa.flv<br />
ref. <a href="http://www.linuxjournal.com/video/hy...al-time-kernel" target="_blank">http://www.linuxjournal.com/video/hy...al-time-kernel</a><br />
<br />
To configure the system applications use the alsa examples...<br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-25#Assigning_audio_system_rights" target="_blank">http://alsa.opensrc.org/index.php/Ed..._system_rights</a></div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1553</guid>
		</item>
		<item>
			<title>Real-Time Audio Part 2</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1552</link>
			<pubDate>Tue, 27 Jan 2009 05:10:18 GMT</pubDate>
			<description>and added the Edirol patch to the RT kernel.... 
 
	vi is a handy editor, We need admin rights to “save these files here”... 
 
	su (enter root...</description>
			<content:encoded><![CDATA[<div>and added the Edirol patch to the RT kernel....<br />
<br />
	vi is a handy editor, We need admin rights to “save these files here”...<br />
<br />
	su (enter root password)<br />
<br />
	vi /usr/src/linux/Makefile<br />
<br />
	Quick vi tute<br />
	<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 162px;
		text-align: left;
		overflow: auto">vi is operated in a shell, like Konsole or term

	Quick keys...

	I = insert “edit mode”
	Esc = exit mode/s
	:w = write
	:q = quit
	:wq! = force write quit (does not always over-ride the admin permissions)</pre>
</div>	/usr/src/linux/Makefile  (Only showing the top 5 lines or so)...<br />
	<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 98px;
		text-align: left;
		overflow: auto">	VERSION = 2
	PATCHLEVEL = 6
	SUBLEVEL = 26
	EXTRAVERSION = -music.8-1.rt13.1mdv
	NAME = GamesBox.GlennsPref.net</pre>
</div>	uname -a reveals the details of the running kernel (reflected from the installed kernel),<br />
	I don't want them all named “x.x-x-custom-x.x”, <br />
	I like task names more than reference numbers in my boot loader, <br />
	less geeky, more task oriented.<br />
	<br />
	uname -a<br />
	<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 82px;
		text-align: left;
		overflow: auto">	glenn@GamesBox:~/bin$ uname -a                                                                  (22-01 13:33)
	Linux GamesBox.GlennsPref.net 2.6.26-music.8-1.rt13.1mdv #3 SMP PREEMPT RT Wed
	Jan 14 20:45:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual CoreProcessor 5600+
 	GNU/Linux glenn@GamesBox:~/bin$</pre>
</div>Patch the kernel with the Edirol patch.<br />
<br />
	Copy the lines from the code box below to a file named /usr/src/linux/sound/usb/Edirol<br />
	-patch.diff<br />
<br />
	Change to the directory and run the patch...<br />
<br />
	cd /usr/src/linux/sound/usb<br />
	sudo patch &lt; Edirol-patch.diff<br />
<br />
	Note:<br />
	When tested (25-01-2009, 12:09), the response was “patching file usbaudio.c<br />
	Reversed (or previously applied) patch detected!  Assume -R? [n]” <br />
	I [ctrl+c] to kill the process (exit). I believe the process of how and where to patch the<br />
	kernel is concise now.<br />
<br />
<br />
<br />
	The Edirol UA-25EX Patch code...<br />
	ref.  <a href="http://ubuntuforums.org/archive/index.php/t-908845.html" target="_blank">http://ubuntuforums.org/archive/index.php/t-908845.html</a><br />
<br />
Copy all text in the next frame...(except the words, code ;-)<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 498px;
		text-align: left;
		overflow: auto">Add Alsa support for Roland Edirol UA-25EX in Advanced mode
(for MIDI support and sample rates of 48 kHz and 96 kHz)
usbquirks.h
================================================== =================
diff -u sound/usb/usbquirks.h.00 sound/usb/usbquirks.h
--- sound/usb/usbquirks.h.00 2007-11-28 02:15:11.000000000 -0700
+++ sound/usb/usbquirks.h 2007-11-28 02:17:51.000000000 -0700
@@ -1311,6 +1311,37 @@
}
},
/* TODO: add Edirol MD-P1 support */
+{ /*
+ * This quirk is for the &quot;Advanced&quot; modes of the Edirol UA-25EX.
+ * If the switch is not in an advanced setting, the UA-25EX has
+ * ID 0x0582/0x00a4 and is standard compliant (no quirks), but
+ * offers only 16-bit PCM at 44.1 kHz and no MIDI.
+ */
+ USB_DEVICE_VENDOR_SPEC(0x0582, 0x00e6),
+ .driver_info = (unsigned long) &amp; (const struct snd_usb_audio_quirk) {
+ .vendor_name = &quot;EDIROL&quot;,
+ .product_name = &quot;UA-25EX&quot;,
+ .ifnum = QUIRK_ANY_INTERFACE,
+ .type = QUIRK_COMPOSITE,
+ .data = (const struct snd_usb_audio_quirk[]) {
+ {
+ .ifnum = 0,
+ .type = QUIRK_AUDIO_EDIROL_UA700_UA25
+ },
+ {
+ .ifnum = 1,
+ .type = QUIRK_AUDIO_EDIROL_UA700_UA25
+ },
+ {
+ .ifnum = 2,
+ .type = QUIRK_AUDIO_EDIROL_UA700_UA25
+ },
+ {
+ .ifnum = -1
+ }
+ }
+ }
+},
{
/* Roland SH-201 */
USB_DEVICE(0x0582, 0x00ad),</pre>
</div><br />
	Tip:<br />
	Always leave a blank line at the end of config files, so the shell program (zsh, bash, etc)<br />
	knows it's a valid end of file (eof). Ensure when you compile your kernel to activate the<br />
	module snd_usb_audio [USB_AUDIO]. When you lsmod, it should be in the list.<br />
<br />
	<br />
	If you have the RT kernel-source installed, your free to build the kernel, you may need to do<br />
 	this again, it's ok, it's just time. I had to do the config twice or more before I completed the<br />
 	exercise, but I think we'll just install each part once. You should still be in the /usr/src/linux<br />
 	directory.<br />
<br />
	Type...<br />
	make xconfig<br />
	go to Device Driver-&gt;Sound-&gt;Alsa-&gt;USB devices and activate the module USB-Audio<br />
	(by blablack)<br />
<br />
	Check with the perl script to be sure...<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				reference pages...<br />
Patch the kernel with the Edirol patch if required, by blablack,<br />
<a href="http://ubuntuforums.org/archive/index.php/t-908845.html" target="_blank">http://ubuntuforums.org/archive/index.php/t-908845.html</a><br />
The kernel patch Edirol FA-4x and UA-25ex From the Ubuntu forums...<br />
<a href="http://ubuntuforums.org/showthread.php?t=855327" target="_blank">http://ubuntuforums.org/showthread.php?t=855327</a><br />
<a href="http://ubuntuforums.org/archive/index.php/t-855327.html" target="_blank">http://ubuntuforums.org/archive/index.php/t-855327.html</a><br />
links to this alsa wiki page...<br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-4FX" target="_blank">http://alsa.opensrc.org/index.php/Edirol_UA-4FX</a><br />
Which links to the previous ua-25 page.<br />
<a href="http://alsa.opensrc.org/index.php/Edirol_UA-25#Device_information" target="_blank">http://alsa.opensrc.org/index.php/Ed...ce_information</a>
			
		</td>
	</tr>
	</table>
</div></div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1552</guid>
		</item>
		<item>
			<title>Making Real-Time Audio with Linux v0.3 part 1</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1551</link>
			<pubDate>Tue, 27 Jan 2009 05:05:34 GMT</pubDate>
			<description><![CDATA[Making Real-time audio with  
Mandriva Linux and Roland's  
Edirol UA-25ex (usb powered sound card), using   
jackd, qjackctl, Ardour, Hydrogen,...]]></description>
			<content:encoded><![CDATA[<div>Making Real-time audio with <br />
Mandriva Linux and Roland's <br />
Edirol UA-25ex (usb powered sound card), using  <br />
jackd, qjackctl, Ardour, Hydrogen, Rosegarden and fluidsynth.<br />
<br />
Topical Index<br />
	<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 258px;
		text-align: left;
		overflow: auto">	Objective
	Current system Hardware
	Find appropriate Kernel
	rpm's info and choice
	I used a perl script to check my system, ref. http://arnout.engelen.eu/files/dev/linuxmusicians/realTimeConfigQuickScan.pl
	Patching the kernel
		Preparations.
		Manual (diy) Edirol Patch by blablack, ref. http://ubuntuforums.org/archive/index.php/t-908845.html
		Manual (diy) RT Patch(Linux Journal video)ref. http://www.linuxjournal.com/video/hy...al-time-kernel
	Configure the kernel, (use Gentoo guide...)http://proaudio.tuxfamily.org/wiki/index.php?title=Howto_RT_Kernel
	Compile and install the Kernel
	Give apps real time access, install and configure set_rlimits
	Run perl script check edit files to comply with script
	Reconfigure and compile if required.
	Test recording in Ardour with Hydrogen Drums controlled by jackd (not documented yet, but it works for me)</pre>
</div>Objective<br />
<br />
To achieve real time monitoring of multi track sound recording on a personal computer with <br />
Open Source Software. We will probably have to compile twice or more, until all the <br />
requirements are met, so don't worry if you miss something the first time through. <br />
<br />
Current System Hardware<br />
<br />
My system, Mandriva 2009.0 official release kde4.1.3(mdv)<br />
Asus M3n78-EH AM2 motherboard, <br />
2x 1gig kingston 800mHz DDR2, AMD64x2 5600+,<br />
Edirol UA-25EX (24/96) usb sound. <br />
nVidia 9800gt 512Mb ddr3 (pci-e x16), Zalman ZM750-HP PSW<br />
numerous usual storage devices.<br />
<br />
Find appropriate Kernel, rpm's info and choice<br />
<br />
First thing I had to do was get a kernel that supported the new usb audio card.<br />
<br />
<a href="http://www.edirol.net/products/en/UA-25EX/index.html" target="_blank">http://www.edirol.net/products/en/UA-25EX/index.html</a><br />
<br />
I started with the newest available, from Mandriva cooker, 2.6.28 rc...x86_64.(2009.1)<br />
<br />
Once I turned off the on-board sound chip in bios, this kernel allowed the device to work out of <br />
the box. (start-up music found it's way to the speakers, without configuring)<br />
<br />
But I want Real-Time support!<br />
<br />
The new kernel has the Edirol devices already installed. But I want Real-Time support.<br />
I could not get a real-time patch for the new kernel, and to make one is out of my league.<br />
<br />
Mandriva has RT type kernels available in .rpm packages from the contrib<br />
and contrib/updates repositories. The real-time patched vanilla kernel...<br />
kernel-rt-source-2.6.26.8-1.rt13.1mdv<br />
<br />
The tmb kernel has Mandriva patches and third-party drivers I generally use so I'll start there as a<br />
configuration basis, kernel-tmb-desktop-2.6.26.3-1mdv<br />
<br />
Then I will patch the rt-kernel-source with the Edirol patch to get the usb-audio module to<br />
recognise my new sound card.<br />
<br />
rpm's info and choice...<br />
<br />
The RT kernel is vanilla and has no Mandriva tweaks, so to keep the tweaks I configured the RT<br />
source from the old tmb config file. The versions overlapped in the right order.<br />
<br />
kernel-rt-source-2.6.26.8-1.rt13.1mdv.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 114px;
		text-align: left;
		overflow: auto">kernel-rt-source-2.6.26.8-1.rt13.1mdv - The source code for the Linux kernel&#65279;                                                                                                                        
The kernel-rt-source package contains the source code files for the Linux kernel. The source files
are only needed if you want to build your own custom kernel that is better tuned to your particular
hardware. 
NOTE: This kernel has no Mandriva patches and no third-party drivers, only Ingo Molnar 
-rt (real-time) series patches applied to vanilla kernel.org kernels.</pre>
</div>kernel-tmb-desktop-2.6.26.3-1mdv.<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 194px;
		text-align: left;
		overflow: auto">kernel-tmb-desktop-2.6.26.3-1mdv - Linux Kernel for desktop use with x86_64&#65279;                                                                                                                        
The kernel package contains the Linux kernel (vmlinuz), the core of your Mandriva Linux 
operating system.  The kernel handles the basic functions of the operating system:  memory
allocation, process allocation, device input and output, etc. This kernel is compiled for desktop 
use, single or multiple x86_64 processor(s)/core(s), using voluntary preempt, CFS cpu scheduler
and cfq i/o scheduler. This kernel relies on in-kernel smp alternatives to switch between up &amp; smp
mode depending on detected hardware. To force the kernel to boot in single processor mode, 
use the &quot;nosmp&quot; boot parameter. 
The tmb kernels is an experimental kernel based on the kernel.org kernels with added patches.
Some of them may/will never end up in the main kernels due to their experimental nature. 
Some refer to this kernel as a 'hackkernel' ... Use these kernels at your own risk !!</pre>
</div>you can do this (install) on a Mandriva system with smart or urpmi, if you have a current rpm <br />
and urpmi database...(for smart too?) Smart is a package manager, like synaptic, <br />
available from the MDE repos. Ref. <a href="http://www.mde.djura.org/index.html" target="_blank">http://www.mde.djura.org/index.html</a>  (I like it a lot)<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">smart install kernel-tmb-desktop-2.6.26.3-1mdv kernel-rt-source-2.6.26.8-1.rt13.1mdv</pre>
</div><div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 34px;
		text-align: left;
		overflow: auto">urpmi kernel-tmb-desktop-2.6.26.3-1mdv kernel-rt-source-2.6.26.8-1.rt13.1mdv</pre>
</div>Note: I did not install the rt-kernel rpm, just the tmb-kernel and rt-kernel-source rpms, <br />
to save on downloads and to keep the “Mandriva tweaks and proprietary drivers”.<br />
<br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				RT= to bring hard real-time scheduling capabilities to the Linux Kernel, <br />
with worst case latency and code execution in the tens of micro seconds.
			
		</td>
	</tr>
	</table>
</div> (Linux Journal video)ref. <a href="http://www.linuxjournal.com/video/hy...al-time-kernel" target="_blank">http://www.linuxjournal.com/video/hy...al-time-kernel</a><br />
<br />
<br />
Note: I use the video also in manually patching the kernel with an rt patch and <br />
setting rt access for the programs. I used that video and this perl script (next) to set up <br />
my system for jackd.<br />
<br />
<br />
I used a perl script to check my system, <br />
<br />
By following this perl program, I found what I needed to change for optimum Audio Response<br />
<br />
Check the system with “realTimeConfigQuickScan.pl” (found here)...<br />
<br />
<a href="http://arnout.engelen.eu/files/dev/linuxmusicians/realTimeConfigQuickScan.pl" target="_blank">http://arnout.engelen.eu/files/dev/l...igQuickScan.pl</a><br />
<br />
perl script to report if you need to adjust ticks, or smp, etcetera.<br />
<br />
you can run it from another shell terminal, (Konsole has tabs like firefox) <br />
and it just reports to screen what needs to be done. Beautiful!<br />
<br />
You can use the shift+PageUp or shift+uparrow to scroll back up the page.<br />
Make a list, although they wont all be kernel config changes, It checks for several things,<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				Checking for Ingo Molnar's Real-Time Preemption, Checking for tick less time support<br />
Checking for 1000hz clock, Checking for High Resolution Timers,<br />
Checking filesystem types, Checking tmpfs mounted on /tmp<br />
Checking filesystem 'noatime' parameter, Checking the ability to prioritize processes <br />
with (re)nice, Checking whether you're in the 'audio' group, Checking for multiple 'audio' groups<br />
Checking sysctl settings (inotify max_user_watches), Checking for resource-intensive background<br />
processes, like kpowersave.
			
		</td>
	</tr>
	</table>
</div>We'll run this check again later to be sure we have everything in it's list. “to be sure, to be sure!”<br />
<br />
Patching the kernel...<br />
<br />
Preparations.<br />
Patch the kernel with the Edirol patch.<br />
Patch the kernel with the RT patch.<br />
<br />
Preparations<br />
<br />
	Before I configured the kernel it needed to be patched and hacked a bit, <br />
<br />
	I edited the lines in the new Makefile to reflect the name I wanted to use for my kernel...</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1551</guid>
		</item>
		<item>
			<title>Making Realtime audio, with Mandriva Linux and Rolands Edirole UA-25ex (usb powered s</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1537</link>
			<pubDate>Thu, 22 Jan 2009 10:02:47 GMT</pubDate>
			<description>Making Realtime audio, with Mandriva Linux and Rolands Edirole UA-25ex (usb powered sound card), using Ardour, Hydrogen, Rosegarden, jackd and...</description>
			<content:encoded><![CDATA[<div>Making Realtime audio, with Mandriva Linux and Rolands Edirole UA-25ex (usb powered sound card), using Ardour, Hydrogen, Rosegarden, jackd and qsynth.<br />
<br />
First thing I had to do was get a kernel that supported the new usb audio card.<br />
<br />
I started with the newest available, from Mandriva ccooker, 2.6.28 rc...x86_64.<br />
<br />
This kernel allowed the device to work out of the box, once I turned off the onboard sound chip in bios.<br />
<br />
But I could not get a realtime patch for the new kernel, and to make one is out of my league.<br />
<br />
By following this perl program, I found what I needed to change,<br />
<br />
I found this wiki very helpful...Suggested reading,<br />
<a href="http://wiki.linuxmusicians.com/doku.php?id=system_configuration#installing_a_real-time_kernel" target="_blank">http://wiki.linuxmusicians.com/doku....al-time_kernel</a><br />
<br />
realTimeConfigQuickScan.pl<br />
<br />
<a href="http://arnout.engelen.eu/files/dev/linuxmusicians/realTimeConfigQuickScan.pl" target="_blank">http://arnout.engelen.eu/files/dev/l...igQuickScan.pl</a><br />
<br />
<br />
Make a list, they wont all be kernel config changes.<br />
<br />
It checks for several things,<br />
Checking for Ingo Molnar's Real-Time Preemption, Checking for tickless time support, Checking for 1000hz clock, Checking for High Resolution Timers,<br />
Checking filesystem types, Checking tmpfs mounted on /tmp, Checking filesystem 'noatime' parameter, Checking the ability to prioritize processes with (re)nice, Checking whether you're in the 'audio' group, Checking for multiple 'audio' groups, Checking sysctl settings (checking inotify max_user_watches), Checking for resource-intensive background processes.<br />
<br />
<br />
So, I went back to the last version of the Mandriva RT kernel, and to get the mandriva settings I installed the tmb flavour, 2.6.26.3-1(mdv) via rpm, and restarted the system with that tmb kernel.<br />
<br />
then I installed the source for the RT kernel<br />
<br />
2.6.26.8-1rt13.1(mdv) (I edited the lines in the makefile to reflect the name I wanted to use)...<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 98px;
		text-align: left;
		overflow: auto">VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 26
EXTRAVERSION = -music.8-1.rt13.1mdv
NAME = GamesBox.GlennsPref.net</pre>
</div><br />
<br />
<br />
<br />
uname -a reveals the details, I don't want them named all “custom”<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">glenn@GamesBox:~/bin$ uname -a                                                                          (22-01 13:33)
Linux GamesBox.GlennsPref.net 2.6.26-music.8-1.rt13.1mdv #3 SMP PREEMPT RT Wed Jan 14 20:45:45 EST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual CoreProcessor 5600+ GNU/Linux
glenn@GamesBox:~/bin$</pre>
</div>rpm's...<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 146px;
		text-align: left;
		overflow: auto">kernel-rt-source-2.6.26.8-1.rt13.1mdv - The source code for the Linux kernel&#65279;                                                                                                                        
The kernel-rt-source package contains the source code files for the Linux kernel. The source files are only needed if you want to build your own custom kernel that is better tuned to your particular hardware. 

If you only want the files needed to build 3rdparty (nVidia, Ati, dkms-*,...) drivers against, install the *-devel-* rpm that is matching your kernel. 

For instructions for update, see: http://www.mandriva.com/en/security/kernelupdate 

NOTE: This kernel has no Mandriva patches and no third-party drivers, only Ingo Molnar -rt (realtime) series patches applied to vanille kernel.org kernels.</pre>
</div><br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 114px;
		text-align: left;
		overflow: auto">kernel-tmb-desktop-2.6.26.3-1mdv - Linux Kernel for desktop use with x86_64&#65279;                                                                                                                        
The kernel package contains the Linux kernel (vmlinuz), the core of your Mandriva Linux operating system.  The kernel handles the basic functions of the operating system:  memory allocation, process allocation, device input and output, etc. This kernel is compiled for desktop use, single or multiple x86_64 processor(s)/core(s), using voluntary preempt, CFS cpu scheduler and cfq i/o scheduler. This kernel relies on in-kernel smp alternatives to switch between up &amp; smp mode depending on detected hardware. To force the kernel to boot in single processor mode, use the &quot;nosmp&quot; boot parameter. 

For instructions for update, see: http://www.mandriva.com/en/security/kernelupdate 

The tmb kernels is an experimental kernel based on the kernel.org kernels with added patches. Some of them may/will never end up in the main kernels due to their experimental nature. Some refer to this kernel as a 'hackkernel' ... Use these kernels at your own risk !!</pre>
</div>But the RT kernel is vanila and has no Mandriva tweaks, so to keep the tweaks I configured the RT source from the old tmb config file. The versions overlapped in the right order.<br />
<br />
Change to the new source dir (link to actual kernel)<br />
<br />
You will need to be root when you install the kernel, but until then as a normal user go through the config and make processes.<br />
<br />
cd /usr/src/linux<br />
<br />
2 ways to do this, either type …<br />
<br />
make menuconfig  and load the /boot/config as the starting place, make sure you save it...<br />
or<br />
make oldconfig (will only ask NEW questions not answered in the old config file. (/boot/.config)<br />
<br />
say yes to the realtime preemption question, and preempt_rcu_Boost and any deps (none I noticed).<br />
<br />
and no to the others or leave them as dynamic loading modules. <br />
Some of it will be debugging apps, but you really won't want a lot of low level apps running while trying to record. So you can leave the debugging and kernel hacking out if you like.<br />
<br />
<br />
<br />
Check with the <a href="http://arnout.engelen.eu/files/dev/linuxmusicians/realTimeConfigQuickScan.pl" target="_blank">http://arnout.engelen.eu/files/dev/l...igQuickScan.pl</a><br />
<br />
script if you need to adjust ticks, or smp, x86_64, any graphics tweaks, etcetera. <br />
And make sure the snd_usb_audio module is loaded in the config.<br />
<br />
(I also look for spca561 support for my webcam, and option for usb hdspa modem)<br />
I check to see if the agpgart modules are dynamic not static for my amd/nVidia combo.<br />
<br />
make all &amp;&amp; make modules_install &amp;&amp; make install<br />
<br />
Reboot to the new kernel.<br />
<br />
I got this from a Linux-Journal tutorial (.flv) called<br />
<br />
Hyper_Low-Latency_Audio_with_a_Real-Time_Kernel_Linux_Journa.flv<br />
<br />
For the life of me, I can't find it on the web, it's about 16Mb, I have a copy here.<br />
<br />
I'm going to split it to make 3 smaller clips and post it up on Google groups, unless I can find a link....<br />
<br />
<br />
Get set_rlimits...<br />
<br />
<a href="http://www.physics.adelaide.edu.au/~jwoithe/set_rlimits-1.3.0.tgz" target="_blank">http://www.physics.adelaide.edu.au/~...mits-1.3.0.tgz</a><br />
<a href="http://www.physics.adelaide.edu.au/~jwoithe/" target="_blank">http://www.physics.adelaide.edu.au/~jwoithe/</a><br />
<br />
<div style="margin:20px; margin-top:5px; ">
	<div class="smallfont" style="margin-bottom:2px">Quote:</div>
	<table cellpadding="3" cellspacing="0" border="0" width="100%">
	<tr>
		<td class="bbcodeblock" style="border:1px inset">
			
				“This file sets the maximum priorities which<br />
set_rlimits can set for a given program when executed by a given user or<br />
group.  The program specified must include an absolute path.”
			
		</td>
	</tr>
	</table>
</div>Uncompress it with <br />
tar xf *<br />
<br />
Run,<br />
<br />
make clean<br />
make<br />
<br />
and when your ready to install it, run<br />
make install<br />
<br />
Now get ready with you favourite editor, with root privleges<br />
<br />
to edit some system files...<br />
<br />
vi is a good one.<br />
<br />
usually  /etc/set_rlimits.conf<br />
<br />
We want access to the @audio group and any of it's members (or a username), you should be a member of that group.<br />
<br />
The next is the absolute address to the binary, then the nice level, realtime priority, and memlock for the binary to run in.<br />
<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 146px;
		text-align: left;
		overflow: auto">@audio /usr/bin/jackd nice=-1 rtprio=80 memlock=100000
@audio /usr/bin/qjackctl nice=-1 rtprio=79 memlock=100000
@audio /usr/bin/ardour nice=-1 rtprio=78 memlock=400000
#@audio /
@audio /usr/bin/hydrogen nice=-1 rtprio=76 memlock=100000
@audio /usr/bin/rosegarden nice=-1 rtprio=75 memlock=100000
@audio /usr/bin/vkeydb nice=-1 rtprio=74 memlock=100000
@audio /usr/bin/qsynth nice=-1 rtprio=73 memlock=100000</pre>
</div>/etc/security/limits.conf<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 66px;
		text-align: left;
		overflow: auto">@audio - rtprio 99
@audio - memlock 500000
@audio - nice -10</pre>
</div>Edit sysctl.conf for …<br />
<div style="margin:20px; margin-top:5px">
	<div class="smallfont" style="margin-bottom:2px">Code:</div>
	<pre class="bbcodeblock" dir="ltr" style="
		margin: 0px;
		margin-right: -99999px;
		padding: 3px;
		border: 1px inset;
		width: 98%;
		height: 98px;
		text-align: left;
		overflow: auto">#checking inotify max_user_watches... too small. For Realtime Audio...
#** /proc/sys/fs/inotify/max_user_watches is smaller than 524288
#** increase it by adding 'fs.inotify.max_user_watches = 524288' to /etc/sysctl.conf and rebooting
#   For more information, see http://wiki.linuxmusicians.com/doku.php?id=system_configuration#sysctl.conf
fs.inotify.max_user_watches = 524288</pre>
</div>and any others mentioned in the perl script, like tmp fs listing.<br />
<br />
Set up the server path in qjackctl to read, set_rlimits jackd<br />
<br />
Type in  set_rlimits jackd to start the server.<br />
<br />
You should see (and hear) some difference in how smoothly it ticks along.<br />
<br />
<br />
Before starting with jackd<br />
<br />
jack with 64 frames per second and a buffer of 4 periods, at 44.1kHz 16bit<br />
latency is about 5.6msec but jack has dropouts in the audio chain,<br />
Xruns...<br />
<br />
After set_rlimits jackd<br />
<br />
jack with 64 frames per second and a buffer of 2 periods, at 44.1kHz 16bit<br />
gets about 2.6msec, with no xruns.<br />
<br />
<br />
Try to get in a habit of using one resolution most of the time.<br />
<br />
<br />
Check for basic system sounds, configure kernel for virtualBox and nVidia Graphics re-instalation.<br />
<br />
Done.</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1537</guid>
		</item>
		<item>
			<title>About me.</title>
			<link>http://www.linuxquestions.org/questions/blog.php?b=1200</link>
			<pubDate>Wed, 24 Sep 2008 00:20:08 GMT</pubDate>
			<description>Currently studying maths and science at Griffith uni.(defered 6months) 
 
I went to The Gap High school (Brisbane), among others, and left in 1978 to...</description>
			<content:encoded><![CDATA[<div>Currently studying maths and science at Griffith uni.(defered 6months)<br />
<br />
I went to The Gap High school (Brisbane), among others, and left in 1978 to take up work at Better Brakes as a junior labourer.<br />
<br />
I am divorced (2003 ) and have a lovely daughter who is currently 12yo.<br />
<br />
I subscribe to a few forums, LQ of course and Atomicmpc (<a href="http://www.atomicmpc.com.au" target="_blank">www.atomicmpc.com.au</a>) magazine.<br />
Before I found out about Atomicmpc, I used to sub to &quot;boot&quot; magazine from the US, which later became &quot;MaximumPC&quot; magazine, I soon dropped that sub, because atomicmpc was better, relevant to Aust. and easier to sub to. But the content and attitudes were very similar.<br />
<br />
In the past I have worked in manufacture of transport air-conditioning, Building small (upto 18T) pick and carry cranes (I assembled and fitted the jib)<br />
<br />
Also, in no particular order, as a storeman and packer (with fork ticket)<br />
<br />
as show crew for high profile AudioVisual companies, SEQld (southeast Queensland)<br />
<br />
as a lecturer at the School of audio engineering, Brisbane.<br />
<br />
As a sound and lighting technician for several hotels and clubs around SEQld<br />
<br />
As a radio tech at CHUBB, fixing fastfood drivethrough comms, or anything from high powered amplifiers to large mixing desks, to security pir's and cameras,<br />
and pagers and pagerbase systems for hospitals and nursing homes.<br />
<br />
I have also work in the manufacture of telemetry equipment, In case you don't know, this is the electronics used to open and close dam gates, valves and all sorts of monitoring devices remotely.<br />
<br />
Got my first PC 1994, a packardbell 486sx with 8mb ram and a 256mb hd.<br />
<br />
Started overclocking the A7v (with a soldering iron) I ended up having 5 of these, -m -e -133 ,<br />
<br />
but it's no fun now, with easy bios settings.<br />
<br />
I like to play counterstrike (css) against my bots on the pc.<br />
<br />
I play and write with my guitars and what audio equipment I have left. I have a 1973 Fender Quadreverb (mods, black-face, valve insert send and return, 2 12&quot; celestians 75W, and a reactive volume-reducer (which also gives a post amp line out, hp out and 3db pad.) also a switch to turn off half the output stage.<br />
<br />
I have also designed and built a valve amp, called &quot;DUALLY&quot;, 2 input sections (like a mesaboggie) and dual output stage (this is an AB amp, but also class A, by a switch). One real love, adrenaline pumping power, especially when the chasis is on the bench, and a DVM, signal generator and crow setup, to monitor a 400Hz square wave and watch how fast it heats up, with the soldering iron and a bag of caps and resistors at the ready.<br />
<br />
I have a Black US 1991 fender stratocaster, with a monster switch (10 combinations, want a schem, pm me)<br />
and a Maton cedar top EMJ-620c acoustic guitar.</div>

]]></content:encoded>
			<dc:creator>GlennsPref</dc:creator>
			<guid isPermaLink="true">http://www.linuxquestions.org/questions/blog.php?b=1200</guid>
		</item>
	</channel>
</rss>
