No audio - was: Real time for Ubuntu Studio 10.04 amd64

Ralf Mardorf ralf.mardorf at alice-dsl.net
Thu Jul 29 07:46:33 BST 2010


On Thu, 2010-07-29 at 07:55 +0200, Ralf Mardorf wrote:
> On Thu, 2010-07-29 at 00:18 +0200, Gerhard Lang wrote:
> > Am 28.07.2010 18:22, schrieb Ralf Mardorf:
> > > Hi :)
> > >
> > > today I tried Ubuntu Studio again, but I had no time to work on the
> > > realtime kernel issue, because I got some new issues.
> > >
> > > 1.
> > >
> > > After updating apps and the non-realtime kernel, my manually edited
> > > grub.cfg was automatically overwritten by a completely grotesque
> > > grub.cfg, without an automatically backup of the original. So tomorrow
> > > I'll have to do a hard job to make all my really existing kernels and
> > > Linuxes bootable again and those who are already bootable needs to get
> > > rid of those annoying boot splashes, unfortunately I didn't backup it
> > > myself.
> > >
> > > 2.
> > >
> > > I tried to play a MP3 by Movie Player, the PA setting meters show
> > > output, optional for one or the other of my two Terratec EWX 24/96 sound
> > > cards, but there was no sound hearable or visible for Envy24 control.
> > >
> > > 3.
> > >
> > > I installed KMPlayer, set it up to use JACK, run JACK, launched
> > > KMPLayer, pushed play and play stand still.
> > >
> > > Any hints how to solve issue 2 and 3 are welcome.
> > >
> > > Cheers!
> > >
> > > Ralf
> > >
> > >    
> > hi Ralf
> > I'd recommend grub2. On my stationary machine it finds all hard-drives, 
> > partitions, oses and every single Linux kernel. You'll just have to edit 
> > /etc/default/grub for your needs on the Linux from where you updated 
> > grub i.e. for getting rid of splash and recovery mode, setting defaults 
> > etc..
> > I also have an ice1712 card, a hoontech dsp24, and it worked ootb in 
> > 10.04 64bit.
> > But just in the moment I have problems with sound/alsa in kernels 
> > 2.6.32.23 and 24 generic and preempt.
> > With rt kernel 2.6.33.26-rt and jack2 (available i.e. in falktx ppas) 
> > and  alsa updated to 1.0.23 all audio is fine.
> > Even if both your cards are selectable in PA I think your problem has to 
> > do with multiple sound-card setup which seems to be not trivial in 
> > Ubuntu. Can you select them  in Qjackctl too?
> > good luck
> > Gerhard
> > 
> 
> Yes, I'm able to select them by Qjackctl too. I didn't make both cards a
> single virtual card until now.
> I can't boot any kernel-rt. There at least is an issue for X. I'm unable
> to start GDM. There's no sound for the preempt kernels.
> 
> Because there isn't a xorg.conf anymore I'm unable to switch between
> drivers for the graphics ... right now I see there's a
> xorg.conf.failsafe using the vesa driver.
> 
> Hm, ASAP, not right now, I'll try to boot a kernel-rt in failsafe mode.
> 
> - Ralf

Booting a kernel-rt in recovery mode failed too.

spinymouse11.2 at suse11-2:~>
cat /media/ubuntu_studio/var/log/Xorg.failsafe.log
[snip]
(II) VESA(0): Total Memory: 4096 64KB banks (262144kB)
(II) VESA(0): Configured Monitor: Using hsync range of 31.50-0.00 kHz
(II) VESA(0): Configured Monitor: Using vrefresh range of 56.00-0.00 Hz
(WW) VESA(0): Unable to estimate virtual size
(II) VESA(0): Not using built-in mode "2048x1536" (no mode of this name)
(II) VESA(0): Not using built-in mode "1280x1024" (no mode of this name)
(II) VESA(0): Not using built-in mode "1024x768" (no mode of this name)
(II) VESA(0): Not using built-in mode "800x600" (no mode of this name)
(II) VESA(0): Not using built-in mode "640x480" (no mode of this name)
(II) VESA(0): Not using built-in mode "640x400" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x400" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x240" (no mode of this name)
(II) VESA(0): Not using built-in mode "320x200" (no mode of this name)
(WW) VESA(0): No valid modes left. Trying less strict filter...
(II) VESA(0): Configured Monitor: Using hsync range of 31.50-0.00 kHz
(II) VESA(0): Configured Monitor: Using vrefresh range of 56.00-0.00 Hz
(WW) VESA(0): Unable to estimate virtual size
(II) VESA(0): Not using built-in mode "2048x1536" (unknown reason)
(II) VESA(0): Not using built-in mode "1280x1024" (unknown reason)
(II) VESA(0): Not using built-in mode "1024x768" (unknown reason)
(II) VESA(0): Not using built-in mode "800x600" (unknown reason)
(II) VESA(0): Not using built-in mode "640x480" (unknown reason)
(II) VESA(0): Not using built-in mode "640x400" (unknown reason)
(II) VESA(0): Not using built-in mode "320x400" (unknown reason)
(II) VESA(0): Not using built-in mode "320x240" (unknown reason)
(II) VESA(0): Not using built-in mode "320x200" (unknown reason)
(WW) VESA(0): No valid modes left. Trying aggressive sync range...
(II) VESA(0): Configured Monitor: Using hsync range of 31.50-0.00 kHz
(II) VESA(0): Configured Monitor: Using vrefresh range of 50.00-0.00 Hz
(WW) VESA(0): Unable to estimate virtual size
(II) VESA(0): Not using built-in mode "2048x1536" (unknown reason)
(II) VESA(0): Not using built-in mode "1280x1024" (unknown reason)
(II) VESA(0): Not using built-in mode "1024x768" (unknown reason)
(II) VESA(0): Not using built-in mode "800x600" (unknown reason)
(II) VESA(0): Not using built-in mode "640x480" (unknown reason)
(II) VESA(0): Not using built-in mode "640x400" (unknown reason)
(II) VESA(0): Not using built-in mode "320x400" (unknown reason)
(II) VESA(0): Not using built-in mode "320x240" (unknown reason)
(II) VESA(0): Not using built-in mode "320x200" (unknown reason)
(EE) VESA(0): No valid modes
(II) UnloadModule: "vesa"
(II) UnloadModule: "int10"
(II) Unloading /usr/lib/xorg/modules/libint10.so
(II) UnloadModule: "vbe"
(II) Unloading /usr/lib/xorg/modules/libvbe.so
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
Please also check the log file at "/var/log/Xorg.failsafe.log" for
additional information.

 ddxSigGiveUp: Closing log

For the Ubuntu Karmic based 64 Studio 3.3 alpha this xorg.conf does
work:

spinymouse11.2 at suse11-2:~> cat /media/studio3.3/etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
  DisplaySize   305 230
  HorizSync     29-98
  Identifier    "Monitor0"
  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
EndSection

Section "Device"
    Identifier     "Device0"
   #Driver         "nv"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
	Depth	24
	Modes      "1152x864"
       #Virtual    3840 1200
    EndSubSection
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
EndSection

For the Ubuntu Hardy based 64 Studio 3.0-beta3 this xorg.conf does work:

spinymouse11.2 at suse11-2:~> cat /media/studio3.0/etc/X11/xorg.conf
Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"ro"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Boardname	"GeForce 7300 SE"
       #Busid		"PCI:1:5:0"
	Driver		"nv"
	Screen	0
	Option		"MergedFB"	"off"
EndSection

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
EndSection

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

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

Why isn't there any xorg.conf, exapted of the one for failsafe for
Ubuntu Studio?

- Ralf




More information about the Ubuntu-Studio-users mailing list