diagnostic tools to trace the reason xruns are happening?

Ralf Mardorf ralf.mardorf at alice-dsl.net
Sun Jun 5 16:30:49 UTC 2011

On Sun, 2011-06-05 at 18:02 +0200, bart deruyter wrote:
> Hey, thanks for the script.. the kernel is built, and I've booted
> using it, but I didn't test it yet. The nvidia driver does not work,
> but if I could set my screen resolution correctly, that would be
> enough for me. I then could switch between kernels for audio and
> graphic, 3D work. I hope I won't have to re-enable the nvidia driver
> each time I boot into the generic kernel, and disable it again when I
> boot into the realtime kernel.

You can edit two xorg.conf, one with the proprietary driver, another
with any other driver and switch them by a script copied to /etc/rcS.d,
see attachment. There're patches available to build the proprietary
driver with the kernel-rt, but I dunno where you can get those. Vanilla
kernel 2.6.39 shouldn't need a RT patch anymore.

> The resolution of my screen is not listed in the tool provided for
> modifying the resolution. It should be 1680 x 1050 at 109 Hz, but it's
> limited to 1400 x 1050 at 56 Hz.

As an example I attached my xorg.conf for Natty, but you need to figure
out what settings are needed for your monitor.

> Ralf, you mentioned the 2.6.39 kernel. You meant the real time
> features will be included in this generic kernel? That would be
> wonderfull, no need to have specialised kernels for it anymore, and
> with nvidia driver capabilities :-D. I hope will be released in a
> repository soon.

You can build it yourself ;).

-- Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: S69switch_xorg.conf
Type: application/x-shellscript
Size: 229 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-studio-users/attachments/20110605/21b4fe79/attachment.bin>
-------------- next part --------------
Section "InputDevice"
	Identifier  "Configured Mouse"
	Driver      "mouse"
	Option	    "CorePointer"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "ExplorerPS/2"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "true"
Section "Device"
	Identifier	"Configured Video Device"
	Boardname	"GeForce 7300 SE"
	Driver		"nvidia"
	#Driver		"nv"
	Screen	0
	Option		"MergedFB"	"off"

Section "Monitor"
  DisplaySize  305 230
  HorizSync    29-98
  Identifier	"Configured Monitor"
  Modelname	"Plug 'n' Play"
  Vendorname	"Plug 'n' Play"
  VertRefresh  50-120
  modeline 	"1152x864" 128.42 1152 1232 1360 1568 864 865 868 910
  Gamma	1.0

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	Defaultdepth	24
	SubSection "Display"
		Depth	24
		Modes      "1152x864"
                #Virtual    3840 1200

Section "ServerLayout"
	Identifier	"Default Layout"
  screen 0 "Default Screen" 0 0
Section "Module"
	Load		"glx"
	#Load		"GLcore"
	#Load		"v4l"
Section "ServerFlags"

More information about the Ubuntu-Studio-users mailing list