kxstudio-default-settings . no more sound and X11 crashes

Unofficial support for the KXStudio Linux distribution and applications.
More info at http://kxstudio.linuxaudio.org/

Moderators: MattKingUSA, khz

Post Reply
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

Hi,

I'm using the KXstudio repositories on top of a minimal Debian Sid installation. I followed the instructions provided by the official KXstudio Repositories page. Everything went fine.

Then I rebooted. No more sounds. And X “crashes”.

I'm quite positive the problem is due to the kxstudio-default-settings package as
  • I tested every intermediate steps on a fresh installation of Debian. By testing I mean:
    1. test sound output capability with ALSA's speaker-test
    2. proceed to a small incremental change
    3. redo the speaker-test
    4. reboot up to the gfx environment
    5. loop
  • I separately installed and tested the dependencies of this package without any problems
  • everything works fine if I purge the package
Here you can find a diff between the X log files, with or without the package:

Code: Select all

--- xorg.with   2016-09-01 07:45:34.729649908 +0200
+++ xorg.without        2016-09-01 07:45:39.453769569 +0200
@@ -13,7 +13,7 @@
 [] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
-[] (==) Log file: "/home/niol-783/.local/share/xorg/Xorg.0.log", Time: Thu Sep  1 07:26:45 2016
+[] (==) Log file: "/home/niol-783/.local/share/xorg/Xorg.0.log", Time: Thu Sep  1 07:31:27 2016
 [] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
 [] (==) No Layout section.  Using the first Screen section.
 [] (==) No screen section available. Using defaults.
@@ -38,7 +38,7 @@
 [] (==) ModulePath set to "/usr/lib/xorg/modules"
 [] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
-[] (II) Loader magic: 0x560841ba1dc0
+[] (II) Loader magic: 0x564aa78e7dc0
 [] (II) Module ABI versions:
 []     X.Org ANSI C Emulation: 0.4
 []     X.Org Video Driver: 20.0
@@ -399,25 +399,28 @@
 [] (**) TypeMatrix.com USB Keyboard: (accel) acceleration threshold: 4
 [] (II) input device 'TypeMatrix.com USB Keyboard', /dev/input/event2 is tagged by udev as: Keyboard
 [] (II) input device 'TypeMatrix.com USB Keyboard', /dev/input/event2 is a keyboard
-[] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event7)
+[] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event7)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Line Out Front (/dev/input/event8)
+[] (II) config/udev: Adding input device HDA Intel Line (/dev/input/event8)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Line Out Surround (/dev/input/event9)
+[] (II) config/udev: Adding input device HDA Intel Line Out Front (/dev/input/event9)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Line Out CLFE (/dev/input/event10)
+[] (II) config/udev: Adding input device HDA Intel Line Out Surround (/dev/input/event10)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Line Out Side (/dev/input/event11)
+[] (II) config/udev: Adding input device HDA Intel Line Out CLFE (/dev/input/event11)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event5)
+[] (II) config/udev: Adding input device HDA Intel Line Out Side (/dev/input/event12)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
-[] (II) config/udev: Adding input device HDA Intel Front Mic (/dev/input/event6)
+[] (II) config/udev: Adding input device HDA Intel Rear Mic (/dev/input/event6)
+[] (II) No input driver specified, ignoring this device.
+[] (II) This device may have been added with another device file.
+[] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
 [] (II) No input driver specified, ignoring this device.
 [] (II) This device may have been added with another device file.
 [] (**) TypeMatrix.com USB Keyboard: Applying InputClass "libinput keyboard catchall"
@@ -432,23 +435,3 @@
 [] (**) Option "xkb_model" "tm2030USB-102"
 [] (**) Option "xkb_layout" "fr"
 [] (**) Option "xkb_variant" "bepo"
-[] (**) Option "fd" "13"
-[] (**) Option "fd" "16"
-[] (**) Option "fd" "17"
-[] (**) Option "fd" "18"
-[] (**) Option "fd" "19"
-[] (**) Option "fd" "19"
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: not releasing fd for 13:66, still in use
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: releasing fd for 13:66
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: releasing fd for 13:65
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: releasing fd for 13:64
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: releasing fd for 13:67
-[] (II) UnloadModule: "libinput"
-[] (II) systemd-logind: releasing fd for 13:68
-[] (II) NOUVEAU(0): NVLeaveVT is called.
-[] (II) Server terminated successfully (0). Closing log file.
And here, the difference of result when applying alsa-info with or without the package:

Code: Select all

--- alsa.with	2016-09-01 12:03:00.805233174 +0200
+++ alsa.without	2016-09-01 12:03:22.073065603 +0200
@@ -3,7 +3,7 @@
 !!ALSA Information Script v 0.4.64
 !!################################
 
-!!Script ran on: Wed Aug 31 20:48:31 UTC 2016
+!!Script ran on: Wed Aug 31 20:45:55 UTC 2016
 
 
 !!Linux Distribution
@@ -42,7 +42,6 @@
 !!Loaded ALSA modules
 !!-------------------
 
-snd_aloop
 snd_hda_intel
 
 
@@ -55,9 +54,7 @@
 !!Soundcards recognised by ALSA
 !!-----------------------------
 
- 0 [Loopback       ]: Loopback - Loopback
-                      Loopback 1
- 1 [Intel          ]: HDA-Intel - HDA Intel
+ 0 [Intel          ]: HDA-Intel - HDA Intel
                       HDA Intel at 0xfdff8000 irq 28
 
 
@@ -82,19 +79,11 @@
 snd_atiixp_modem: index=-2
 snd_intel8x0m: index=-2
 snd_via82xx_modem: index=-2
-snd_seq_dummy: ports=16
 
 
 !!Loaded sound module options
 !!---------------------------
 
-!!Module: snd_aloop
-	enable : Y,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N,N
-	id : (null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)
-	index : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
-	pcm_notify : 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
-	pcm_substreams : 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8
-
 !!Module: snd_hda_intel
 	align_buffer_size : -1
 	bdl_pos_adj : -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1
@@ -140,25 +129,25 @@
   IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
 Node 0x02 [Audio Output] wcaps 0x11: Stereo
   Device: name="ALC889A Analog", type="Audio", device=0
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
 Node 0x03 [Audio Output] wcaps 0x11: Stereo
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
 Node 0x04 [Audio Output] wcaps 0x11: Stereo
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
     formats [0x1]: PCM
 Node 0x05 [Audio Output] wcaps 0x11: Stereo
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
@@ -170,7 +159,7 @@
   Control: name="IEC958 Playback Switch", index=0, device=0
   Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
   Device: name="ALC889A Digital", type="SPDIF", device=1
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   Digital:
   Digital category: 0x0
   IEC Coding Type: 0x0
@@ -483,7 +472,7 @@
   Connection: 11
      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
 Node 0x25 [Audio Output] wcaps 0x11: Stereo
-  Converter: stream=0, channel=0
+  Converter: stream=5, channel=0
   PCM:
     rates [0x560]: 44100 48000 96000 192000
     bits [0xe]: 16 20 24
@@ -503,27 +492,21 @@
 !!ALSA Device nodes
 !!-----------------
 
-crw-rw----+ 1 root audio 116,  2 Aug 31 22:47 /dev/snd/controlC0
-crw-rw----+ 1 root audio 116,  7 Aug 31 22:47 /dev/snd/controlC1
-crw-rw----+ 1 root audio 116, 13 Aug 31 22:47 /dev/snd/hwC1D2
-crw-rw----+ 1 root audio 116,  4 Aug 31 22:47 /dev/snd/pcmC0D0c
-crw-rw----+ 1 root audio 116,  3 Aug 31 22:47 /dev/snd/pcmC0D0p
-crw-rw----+ 1 root audio 116,  6 Aug 31 22:47 /dev/snd/pcmC0D1c
-crw-rw----+ 1 root audio 116,  5 Aug 31 22:47 /dev/snd/pcmC0D1p
-crw-rw----+ 1 root audio 116,  9 Aug 31 22:47 /dev/snd/pcmC1D0c
-crw-rw----+ 1 root audio 116,  8 Aug 31 22:47 /dev/snd/pcmC1D0p
-crw-rw----+ 1 root audio 116, 11 Aug 31 22:47 /dev/snd/pcmC1D1c
-crw-rw----+ 1 root audio 116, 10 Aug 31 22:47 /dev/snd/pcmC1D1p
-crw-rw----+ 1 root audio 116, 12 Aug 31 22:47 /dev/snd/pcmC1D2c
-crw-rw----+ 1 root audio 116,  1 Aug 31 22:47 /dev/snd/seq
-crw-rw----+ 1 root audio 116, 33 Aug 31 22:47 /dev/snd/timer
+crw-rw----+ 1 root audio 116,  2 Aug 31 22:40 /dev/snd/controlC0
+crw-rw----+ 1 root audio 116,  8 Aug 31 22:40 /dev/snd/hwC0D2
+crw-rw----+ 1 root audio 116,  4 Aug 31 22:40 /dev/snd/pcmC0D0c
+crw-rw----+ 1 root audio 116,  3 Aug 31 22:40 /dev/snd/pcmC0D0p
+crw-rw----+ 1 root audio 116,  6 Aug 31 22:40 /dev/snd/pcmC0D1c
+crw-rw----+ 1 root audio 116,  5 Aug 31 22:40 /dev/snd/pcmC0D1p
+crw-rw----+ 1 root audio 116,  7 Aug 31 22:40 /dev/snd/pcmC0D2c
+crw-rw----+ 1 root audio 116,  1 Aug 31 22:40 /dev/snd/seq
+crw-rw----+ 1 root audio 116, 33 Aug 31 22:40 /dev/snd/timer
 
 /dev/snd/by-path:
 total 0
-drwxr-xr-x 2 root root  80 Aug 31 22:47 .
-drwxr-xr-x 3 root root 340 Aug 31 22:47 ..
-lrwxrwxrwx 1 root root  12 Aug 31 22:47 pci-0000:00:1b.0 -> ../controlC1
-lrwxrwxrwx 1 root root  12 Aug 31 22:47 platform-snd_aloop.0 -> ../controlC0
+drwxr-xr-x 2 root root  60 Aug 31 22:40 .
+drwxr-xr-x 3 root root 240 Aug 31 22:40 ..
+lrwxrwxrwx 1 root root  12 Aug 31 22:40 pci-0000:00:1b.0 -> ../controlC0
 
 
 !!Aplay/Arecord output
@@ -532,63 +515,23 @@
 APLAY
 
 **** List of PLAYBACK Hardware Devices ****
-card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
-  Subdevices: 8/8
-  Subdevice #0: subdevice #0
-  Subdevice #1: subdevice #1
-  Subdevice #2: subdevice #2
-  Subdevice #3: subdevice #3
-  Subdevice #4: subdevice #4
-  Subdevice #5: subdevice #5
-  Subdevice #6: subdevice #6
-  Subdevice #7: subdevice #7
-card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
-  Subdevices: 8/8
-  Subdevice #0: subdevice #0
-  Subdevice #1: subdevice #1
-  Subdevice #2: subdevice #2
-  Subdevice #3: subdevice #3
-  Subdevice #4: subdevice #4
-  Subdevice #5: subdevice #5
-  Subdevice #6: subdevice #6
-  Subdevice #7: subdevice #7
-card 1: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
+card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
-card 1: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
+card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 
 ARECORD
 
 **** List of CAPTURE Hardware Devices ****
-card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
-  Subdevices: 8/8
-  Subdevice #0: subdevice #0
-  Subdevice #1: subdevice #1
-  Subdevice #2: subdevice #2
-  Subdevice #3: subdevice #3
-  Subdevice #4: subdevice #4
-  Subdevice #5: subdevice #5
-  Subdevice #6: subdevice #6
-  Subdevice #7: subdevice #7
-card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
-  Subdevices: 8/8
-  Subdevice #0: subdevice #0
-  Subdevice #1: subdevice #1
-  Subdevice #2: subdevice #2
-  Subdevice #3: subdevice #3
-  Subdevice #4: subdevice #4
-  Subdevice #5: subdevice #5
-  Subdevice #6: subdevice #6
-  Subdevice #7: subdevice #7
-card 1: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
+card 0: Intel [HDA Intel], device 0: ALC889A Analog [ALC889A Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
-card 1: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
+card 0: Intel [HDA Intel], device 1: ALC889A Digital [ALC889A Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
-card 1: Intel [HDA Intel], device 2: ALC889A Alt Analog [ALC889A Alt Analog]
+card 0: Intel [HDA Intel], device 2: ALC889A Alt Analog [ALC889A Alt Analog]
   Subdevices: 2/2
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
@@ -596,21 +539,13 @@
 !!Amixer output
 !!-------------
 
-!!-------Mixer controls for card 0 [Loopback]
-
-Card hw:0 'Loopback'/'Loopback 1'
-  Mixer name	: 'Loopback Mixer'
-  Components	: ''
-  Controls      : 96
-  Simple ctrls  : 0
-
-!!-------Mixer controls for card 1 [Intel]
+!!-------Mixer controls for card 0 [Intel]
 
-Card hw:1 'Intel'/'HDA Intel at 0xfdff8000 irq 28'
+Card hw:0 'Intel'/'HDA Intel at 0xfdff8000 irq 28'
   Mixer name	: 'Realtek ALC889A'
   Components	: 'HDA:10ec0885,1458a002,00100101'
-  Controls      : 59
-  Simple ctrls  : 23
+  Controls      : 60
+  Simple ctrls  : 24
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined
   Playback channels: Mono
@@ -623,6 +558,13 @@
   Mono:
   Front Left: Playback 64 [100%] [0.00dB] [on]
   Front Right: Playback 64 [100%] [0.00dB] [on]
+Simple mixer control 'PCM',0
+  Capabilities: pvolume
+  Playback channels: Front Left - Front Right
+  Limits: Playback 0 - 255
+  Mono:
+  Front Left: Playback 255 [100%] [0.00dB]
+  Front Right: Playback 255 [100%] [0.00dB]
 Simple mixer control 'Front',0
   Capabilities: pvolume pswitch
   Playback channels: Front Left - Front Right
@@ -752,1164 +694,6 @@
 !!--------------
 
 --startcollapse--
-state.Loopback {
-	control.1 {
-		iface PCM
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.2 {
-		iface PCM
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.3 {
-		iface PCM
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.4 {
-		iface PCM
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.5 {
-		iface PCM
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.6 {
-		iface PCM
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.7 {
-		iface PCM
-		subdevice 1
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.8 {
-		iface PCM
-		subdevice 1
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.9 {
-		iface PCM
-		subdevice 1
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.10 {
-		iface PCM
-		subdevice 1
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.11 {
-		iface PCM
-		subdevice 1
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.12 {
-		iface PCM
-		subdevice 1
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.13 {
-		iface PCM
-		subdevice 2
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.14 {
-		iface PCM
-		subdevice 2
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.15 {
-		iface PCM
-		subdevice 2
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.16 {
-		iface PCM
-		subdevice 2
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.17 {
-		iface PCM
-		subdevice 2
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.18 {
-		iface PCM
-		subdevice 2
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.19 {
-		iface PCM
-		subdevice 3
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.20 {
-		iface PCM
-		subdevice 3
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.21 {
-		iface PCM
-		subdevice 3
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.22 {
-		iface PCM
-		subdevice 3
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.23 {
-		iface PCM
-		subdevice 3
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.24 {
-		iface PCM
-		subdevice 3
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.25 {
-		iface PCM
-		subdevice 4
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.26 {
-		iface PCM
-		subdevice 4
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.27 {
-		iface PCM
-		subdevice 4
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.28 {
-		iface PCM
-		subdevice 4
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.29 {
-		iface PCM
-		subdevice 4
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.30 {
-		iface PCM
-		subdevice 4
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.31 {
-		iface PCM
-		subdevice 5
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.32 {
-		iface PCM
-		subdevice 5
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.33 {
-		iface PCM
-		subdevice 5
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.34 {
-		iface PCM
-		subdevice 5
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.35 {
-		iface PCM
-		subdevice 5
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.36 {
-		iface PCM
-		subdevice 5
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.37 {
-		iface PCM
-		subdevice 6
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.38 {
-		iface PCM
-		subdevice 6
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.39 {
-		iface PCM
-		subdevice 6
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.40 {
-		iface PCM
-		subdevice 6
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.41 {
-		iface PCM
-		subdevice 6
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.42 {
-		iface PCM
-		subdevice 6
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.43 {
-		iface PCM
-		subdevice 7
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.44 {
-		iface PCM
-		subdevice 7
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.45 {
-		iface PCM
-		subdevice 7
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.46 {
-		iface PCM
-		subdevice 7
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.47 {
-		iface PCM
-		subdevice 7
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.48 {
-		iface PCM
-		subdevice 7
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.49 {
-		iface PCM
-		device 1
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.50 {
-		iface PCM
-		device 1
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.51 {
-		iface PCM
-		device 1
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.52 {
-		iface PCM
-		device 1
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.53 {
-		iface PCM
-		device 1
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.54 {
-		iface PCM
-		device 1
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.55 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.56 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.57 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.58 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.59 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.60 {
-		iface PCM
-		device 1
-		subdevice 1
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.61 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.62 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.63 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.64 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.65 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.66 {
-		iface PCM
-		device 1
-		subdevice 2
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.67 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.68 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.69 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.70 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.71 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.72 {
-		iface PCM
-		device 1
-		subdevice 3
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.73 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.74 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.75 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.76 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.77 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.78 {
-		iface PCM
-		device 1
-		subdevice 4
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.79 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.80 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.81 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.82 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.83 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.84 {
-		iface PCM
-		device 1
-		subdevice 5
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.85 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.86 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.87 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.88 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.89 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.90 {
-		iface PCM
-		device 1
-		subdevice 6
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-	control.91 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Rate Shift 100000'
-		value 100000
-		comment {
-			access 'read write'
-			type INTEGER
-			count 1
-			range '80000 - 120000 (step 1)'
-		}
-	}
-	control.92 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Notify'
-		value false
-		comment {
-			access 'read write'
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.93 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Slave Active'
-		value false
-		comment {
-			access read
-			type BOOLEAN
-			count 1
-		}
-	}
-	control.94 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Slave Format'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 52 (step 1)'
-		}
-	}
-	control.95 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Slave Rate'
-		value 48000
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '0 - 192000 (step 1)'
-		}
-	}
-	control.96 {
-		iface PCM
-		device 1
-		subdevice 7
-		name 'PCM Slave Channels'
-		value 2
-		comment {
-			access read
-			type INTEGER
-			count 1
-			range '1 - 1024 (step 1)'
-		}
-	}
-}
 state.Intel {
 	control.1 {
 		iface MIXER
@@ -2651,6 +1435,23 @@
 			range '0 - 36'
 		}
 	}
+	control.60 {
+		iface MIXER
+		name 'PCM Playback Volume'
+		value.0 255
+		value.1 255
+		comment {
+			access 'read write user'
+			type INTEGER
+			count 2
+			range '0 - 255'
+			tlv '0000000100000008ffffec1400000014'
+			dbmin -5100
+			dbmax 0
+			dbvalue.0 0
+			dbvalue.1 0
+		}
+	}
 }
 --endcollapse--
 
@@ -2664,46 +1465,46 @@
 algif_skcipher
 af_alg
 dm_mod
-iTCO_wdt
-iTCO_vendor_support
 nouveau
-snd_hda_codec_realtek
 mxm_wmi
 wmi
 video
-ttm
-coretemp
+snd_hda_codec_realtek
 snd_hda_codec_generic
+ttm
+iTCO_wdt
 drm_kms_helper
-snd_seq_midi
-serio_raw
-drm
-i2c_i801
 snd_hda_intel
+iTCO_vendor_support
+snd_hda_codec
+drm
+snd_seq_midi
 snd_seq_midi_event
+snd_hda_core
 i2c_algo_bit
-snd_hda_codec
 snd_seq
+snd_hwdep
 snd_rawmidi
+coretemp
+snd_pcm
+pcspkr
 snd_seq_device
-snd_hda_core
-lpc_ich
+serio_raw
+snd_timer
+snd
+soundcore
+i2c_i801
 evdev
 joydev
-tpm_infineon
-snd_hwdep
-mfd_core
+lpc_ich
 sg
-snd_aloop
-snd_pcm
-snd_timer
 shpchp
-snd
-soundcore
+mfd_core
+tpm_infineon
 acpi_cpufreq
 tpm_tis
-button
 tpm
+button
 ecryptfs
 cbc
 hmac
@@ -2735,9 +1536,9 @@
 psmouse
 pata_it8213
 ata_piix
+firewire_ohci
 libata
 scsi_mod
-firewire_ohci
 firewire_core
 crc_itu_t
 ehci_pci
@@ -2754,7 +1555,7 @@
 !!Sysfs Files
 !!-----------
 
-/sys/class/sound/hwC1D2/init_pin_configs:
+/sys/class/sound/hwC0D2/init_pin_configs:
 0x14 0x01014410
 0x15 0x01011412
 0x16 0x01016411
@@ -2768,40 +1569,40 @@
 0x1e 0x014b6130
 0x1f 0x01cb7160
 
-/sys/class/sound/hwC1D2/driver_pin_configs:
+/sys/class/sound/hwC0D2/driver_pin_configs:
 0x1b 0x02214120
 0x1c 0x993301f0
 
-/sys/class/sound/hwC1D2/user_pin_configs:
+/sys/class/sound/hwC0D2/user_pin_configs:
 
-/sys/class/sound/hwC1D2/init_verbs:
+/sys/class/sound/hwC0D2/init_verbs:
 
-/sys/class/sound/hwC1D2/hints:
+/sys/class/sound/hwC0D2/hints:
 
 
 !!ALSA/HDA dmesg
 !!--------------
 
-[] floppy: error -5 while reading block 0
-[] snd_hda_codec_realtek hdaudioC1D2: autoconfig for ALC889A: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
-[] snd_hda_codec_realtek hdaudioC1D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
-[] snd_hda_codec_realtek hdaudioC1D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
-[] snd_hda_codec_realtek hdaudioC1D2:    mono: mono_out=0x0
-[] snd_hda_codec_realtek hdaudioC1D2:    dig-out=0x1e/0x0
-[] snd_hda_codec_realtek hdaudioC1D2:    inputs:
-[] snd_hda_codec_realtek hdaudioC1D2:      Rear Mic=0x18
-[] snd_hda_codec_realtek hdaudioC1D2:      Front Mic=0x19
-[] snd_hda_codec_realtek hdaudioC1D2:      Line=0x1a
-[] snd_hda_codec_realtek hdaudioC1D2:      CD=0x1c
-[] snd_hda_codec_realtek hdaudioC1D2:    dig-in=0x1f
-[] intel_powerclamp: No package C-state available
-[] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input8
-[] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input9
-[] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card1/input10
-[] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card1/input11
-[] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card1/input12
-[] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card1/input13
-[] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card1/input14
-[] nouveau 0000:01:00.0: NVIDIA G92 (092a80a2)
+[] iTCO_wdt: unable to reset NO_REBOOT flag, device disabled by hardware/BIOS
+[] snd_hda_codec_realtek hdaudioC0D2: autoconfig for ALC889A: line_outs=4 (0x14/0x15/0x16/0x17/0x0) type:line
+[] snd_hda_codec_realtek hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
+[] snd_hda_codec_realtek hdaudioC0D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
+[] snd_hda_codec_realtek hdaudioC0D2:    mono: mono_out=0x0
+[] snd_hda_codec_realtek hdaudioC0D2:    dig-out=0x1e/0x0
+[] snd_hda_codec_realtek hdaudioC0D2:    inputs:
+[] snd_hda_codec_realtek hdaudioC0D2:      Rear Mic=0x18
+[] snd_hda_codec_realtek hdaudioC0D2:      Front Mic=0x19
+[] snd_hda_codec_realtek hdaudioC0D2:      Line=0x1a
+[] snd_hda_codec_realtek hdaudioC0D2:      CD=0x1c
+[] snd_hda_codec_realtek hdaudioC0D2:    dig-in=0x1f
+[] wmi: Mapper loaded
+[] input: HDA Intel Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
+[] input: HDA Intel Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
+[] input: HDA Intel Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
+[] input: HDA Intel Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
+[] input: HDA Intel Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
+[] input: HDA Intel Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
+[] input: HDA Intel Line Out Side as /devices/pci0000:00/0000:00:1b.0/sound/card0/input15
+[] Adding 4194300k swap on /dev/sda5.  Priority:-1 extents:1 across:4194300k SSFS
Hope you can help. Thanks in advance!
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

First, as you suggested, I just upgraded whatever was pending

Code: Select all

# aptitude update
# aptitude full-upgrade
but to no avail.

Second, I monitored the processes when launching X manually. With the aforementioned package installed, my ~/.bash_aliases file was executed and that this caused an execution of a function definition that tripped the X server.
  • if I comment out this functions, X starts normally
  • without the package, I don't need to comment the function definition
It seems that the ~/.bash_aliases is triggered by the KXstudio-installed /etc/X11/Xsession.d/80kxstudio-vars script.

Third, despite having solved the startx problem, I still don't have any sound on my computer when the aforementioned package is installed. Examining my previously posted logs, it seems tha KXstudio enables snd_aloop and defaults to a PCM sound card, pushing the original HDA Intel to second place. I don't know well enough the Linux sound system intricacies to know what to do, next. So … help me if you can !
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

In my ~/.bash_aliases, I only have a bunch of "alias =" definition line and had one "function foo () { … }" definition. They never bothered me before but, after the package installation, I had to remove the function so I can startx. Don't know yet where I should put this definition back…

Could you explain me how/where I can configure JACK the manner you proposed?
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

Regarding the fresh installation I'm talking about,
  • At first, I haven't installed JACK at all. The speaker-test command works because it's an ALSA utils.
  • Then I installed the kxstudio-default-settings package and speaker-test stops working.
  • Then I purged this package, and the audio is back.
  • Then I installed SuperCollider. So I had to install JACK and did so along with QJackCtl that auto-configures it. I just used the following command to bring up the RT capabilities:

    Code: Select all

    # dpkg-reconfigure -p high jackd2
  • At this point, no problem with speaker-test nor SuperCollider but I have no idea if the speaker-test is routed through JACK or not.
  • Then I reinstalled kxstudio-default-settings and, again, no more sound.
So, except for using QJackCtl, I did not configure JACK.

Edit: (adding the following question)
Where and how I can change this setting? As I said, I'm quite illiterate regarding Linux sound management.
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

Ok, in the meantime, I continue to hack thru all this.

QJackCtl provided a few option that were on (Default) and could be changed to a specific piece of hardware. I changed all of them to hw1: HDA Intel and got sound back to lots of my apps but speaker-test, vlc and the like. While trying to determine what subset of options I could have changed to the same result, it occured that it could also works with hw0: Loopback. Then before determining the optimal subset, I got bored and installed Cadence and purged QJackCtl.

Cadence provided more and less settings at the same time, meaning I only had to change one setting in the Configure.Driver.ALSA tab to hw: Intel to get the same result as with QJackCtl. Then I found out that if I Started the ALSA -> Loop -> Jack bridge, I could get sound to most of the apps that didn't work 'till now … but speaker-test.

So, in a way, problem solved.

But I really would like to understand:
  1. what is this hw0: loopback device?
  2. why it didn't work on default but do with any of hw0 or hw1 ?
  3. what are the different bridges available? why are they mandatory for some apps?
  4. why speaker-test, which seems to be the sound simplest app available, still doesn't work?
Anybody could answer any of these questions?

@falkTX: Thanks for your help so far!
Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Been thanked: 1 time

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by Lyberta »

Why do you need kxstudio-settings-default? I've never had it installed and never had problems with making music. Debian Testing btw.
rotindo
Established Member
Posts: 22
Joined: Wed Aug 17, 2016 2:22 pm

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by rotindo »

@FaTony: I do not need it per se. It's just recommended for KXstudio repository users.

On the other hand it forced me to dive into the Linux sound stack and I'd definitely like to understand it better. So if you have answers to any question from my previous post, please, help yourself :wink: as most of them are not related to this particular package at all.
Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Been thanked: 1 time

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by Lyberta »

I use Debian Testing with KXStudio repos. I have some programs from those repos installed. I start JACK via QJackCtl, work and stop it when I'm done. When JACK is active, all non-JACK audio apps don't work.
Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Been thanked: 1 time

Re: kxstudio-default-settings . no more sound and X11 crashes

Post by Lyberta »

I don't need JACK when I'm not making music.
Post Reply