/srv/irclogs.ubuntu.com/2018/05/07/#ubuntustudio.txt

paddyOvenWerks: sorry, I try to fix it myself which involves restarting the laptop. I live in Australia so completely different times01:06
paddyI'll ask again: after installing jack my headphones play audio fine but when I unplug the headphones no sound comes from my speakers01:07
OvenWerkspaddy, the internal audio needs to have the levels changed for headphones vs speakers. pulse does this automatically. Jack doesn't control any levels/mutes/etc.01:08
OvenWerksso you would have to do these things manually using alsamixer or qasmixer01:09
OvenWerkspaddy: if you understand some minimal programming, it would be possible to build a daemon in python that looks at the headphone (un)plugged signal and change levels accordingly01:12
paddyOvenWerks: I'm looking at qasmixer now and there's no control for speakers only for headphones (jack sink?)01:14
OvenWerkswith respect to the GUI for eq10q, that is the generic GUI displayed by the host, not the GUI from the plugin itself. I am not sure which host you arte using it with01:14
OvenWerksI think the sopeaker level might be called "Front"01:15
OvenWerks*speaker01:15
OvenWerkspaddy: the thing to do is to watch the levels with with jack turned off and pulse doing the controlling.01:17
paddyI'm looking at Volume control and there's no front speaker only jack sink, in qasmaster there's only master and I've looked for other options01:17
OvenWerksvolume control? that is pulse's gui.01:18
OvenWerksit won't tell you much01:18
OvenWerksin a terminal type alsamixer01:18
OvenWerksalsa mixer will show you the sound cards controls01:19
OvenWerksin pulse, one control that you see may control 3 or more sound card controls.01:20
OvenWerksgreat for desktop :) not for trouble shooting or pro audio01:20
paddyActually, how do I restore pulse/alsa and restart (i.e. remove jack)? I want to know what I'm doing before doing stuff01:22
OvenWerkskillall -9 jackd jackdbus01:22
OvenWerkspulseaudio -k01:22
OvenWerksin that order01:22
OvenWerks(the second may not be needed, but doesn't hyrt)01:23
paddyokay, this is where I think I stuffed something along the way. after running pulseaudio -k I get no audio output, even the tray icon is greyed out01:24
OvenWerksrun pavucontrol in a terminal.01:25
OvenWerksHave you added some pulse control file to your home directory or installed some falktx's stuff?01:25
OvenWerks(kxstudio stuff)01:26
OvenWerkspulseaudio -k should kill and restart pulse.01:26
OvenWerksbut will not restart if respawn has been tturned off01:27
paddyohhhhh, I think I disabled repawn01:27
OvenWerksrunning pavucontrol should also restart pulse.01:28
OvenWerks(if dbus is set up right)01:28
paddypulseaudio -k01:30
paddyE: [pulseaudio] main.c: Failed to kill daemon: No such process01:30
OvenWerksthats ok if pulse is already stopped01:30
paddypavucontrol doesn't reload pulse01:31
OvenWerkstry start-pulseaudio-x1101:31
OvenWerks(from /etc/xdg/autostart/pulseaudio.desktop)01:32
paddystart-pulseaudio-x1101:32
paddyConnection failure: Connection refused01:32
paddypa_context_connect() failed: Connection refused01:32
OvenWerksyou may have to logout and back in then.01:32
paddyokay, I'll be back.01:33
OvenWerksSo jack is still stopped?01:35
paddyokay, when I log in the default is jack sink, when killall -9 jackd jackdbus01:36
paddyjackd: no process found01:36
paddy start-pulseaudio-x1101:36
paddyFailure: Module initialisation failed01:36
paddywhen I kill jackdbus all I get is dummy output01:36
OvenWerksyou shouldn't have to do that.01:36
OvenWerksdo you have jack starting at session start?01:37
OvenWerkspulse audio should already be running if you can see jack sink01:37
paddyyeah, I must, I'll check candenace01:37
OvenWerkscandence does that01:37
OvenWerksthat is from kxstudio01:38
paddyyeah auto-start jack or ladish is ticked01:38
OvenWerksthats ok01:38
OvenWerksin this case we are just trying to findout what controls pulse plays with when the phones are un/plugged.01:38
OvenWerksso we want jack stopped so that pulse can play with the audio directly.01:39
OvenWerksThe actual startup command for pulse according to ps x on my system is: /usr/bin/pulseaudio --start --log-target=syslog01:41
OvenWerksif starting from a terminal you _may_ need to add a & at the end.01:41
OvenWerksbut pulse in this case should be running01:41
OvenWerksfrom pavucontrol you should be able to see your output audio is going to either speakers or headphones01:42
* OvenWerks can't check this cause he has no headphones to try... or even easy access to the back of the computer and no audio plugs on the front... the case is too old :)01:43
OvenWerksI'm just remembering as best I can from my old netbook and by looking at what I can see in the mixer01:44
paddyhttps://pastebin.com/F5SRQi0b this is my ps x. Pavucontrol only has the jack sink as output. did I somehow stupidly disable the speakers?01:44
OvenWerksno when jackdbus runs it grabs the audio card and pulse can't see it.01:45
OvenWerksjack_control stop01:46
paddyokay, only dummy output now01:46
OvenWerksGa! so candence disables the pulse audio cards as well.01:47
OvenWerksI don't have cadence installed on this partition so I can't look01:47
OvenWerksI don't use it, but you should be able to revert to normal desktop operation from within cadence01:48
OvenWerks(as I recall)01:48
paddywhat kind of setting is normal desktop?01:49
paddyDevice/Interface?01:50
OvenWerkspulseaudio takes care of all audio, jack is not running is normal desktop.01:50
OvenWerkspulse should see all devices and allow you to choose. Pulse will also monitor physical plugins to detect phones plugged and unplugged.01:51
OvenWerkscadence seems to have turned all that off in pulse when using jack01:52
OvenWerks(which normally would be a good thing)01:52
OvenWerksIf you don't choose a device it will use default or hw:0,0,001:53
paddywhat's the difference between hw:PCH,0 [ALC3232 Analog] and hw:HDMI,3 [HDMI 0}?01:56
OvenWerksin cadence in the Jack status box there are four buttons: Start, Stop, Force restart and Configure01:56
OvenWerksthere may be no difference, hw:PCH,0 may be the same as hw:0,001:57
OvenWerksI would try the force restart followed by the Stop and see if that sets pulse to normal operation01:58
paddyI did: Force Restart -> Stop now dummy audio is the only option in pavu. Under PulseAudio Heading in Cadence it says "PulseAudio is started but not bridged"02:00
OvenWerksok02:00
OvenWerks so he has not set up a desktop I guess. under the configure tab does you audio show?02:01
OvenWerks(mine says no cards available... bla bla) but I have pulse not looking for them :)02:02
paddy no cards available for configuration (we talking about pavu right?)02:02
OvenWerksmaybe trying to figure this out with pulse is not a great idea02:02
OvenWerkssame as herew02:02
OvenWerkswhen you run alsamixer from the command line, what is on the bottom row?02:03
OvenWerks(master, Headphon PCM Front Front mi frontmi Surround Center ... in my case02:04
paddys/pdif s/pdif 1 ... s/pdif 4 is the most bottom thing02:04
OvenWerksthird row down say [playback]?02:04
paddyyes02:05
OvenWerkscard: HDA Intel PCH at top? or is that hdmi?02:05
paddy Card: HDA Intel HDMI                                 F1:  Help               │02:05
paddy│ Chip: Intel Haswell HDMI02:05
OvenWerksuse F6 to select pch02:06
OvenWerksdoes that change things?02:06
OvenWerksF6 should give you a list of cards use up/down keys to enter to select02:07
paddyyes lots up up/down I see speaker there02:08
OvenWerksuse right/left keys to move red box there02:08
paddyyep02:08
OvenWerksthe blevel may be all the way down or you may see MM at the bottom.02:09
OvenWerkspress M to remove the MM (mute)02:09
OvenWerksor use the up key to move the level up.02:09
paddyyay! thank you!02:10
OvenWerkswith jack running (in cadence) you should get audio out to your speakers02:10
paddythank you so much!02:10
paddyreally, thank you02:10
OvenWerksI could have done that in 2 sec if I was there much harder in irc02:10
OvenWerks :)02:10
OvenWerksUse cadence and jack and be happy.02:11
paddyat least I learnt a lot :)02:11
paddybut really, thank you!02:11
OvenWerksno problem02:11
paddyIs there a book/resources to learn this thing proper?02:11
OvenWerkslinux audio in some things has some "gottchas"02:11
OvenWerks sadlly no.02:11
OvenWerksthere are some web pages around... but so much is out dated or just wrong for most people02:12
OvenWerkscadence tries to just do the right thing for most people but speaker switching is not included...02:13
OvenWerksI am working on something sinmilar to cadence for Studio that will allow pluggin in a USB mic and having it show up in jack on it's own.02:14
OvenWerksI should look at doing plug detect as I would guess that will show up again02:14
paddyI can imagine the non-switching being handy but yeah02:14
paddydoes that involve python programming?02:15
OvenWerksWhat I am doing is mostly in python (not my favourite) and some bash.02:15
OvenWerksI would do it in c++ if I could, but packaging binaries is much harder that scripts02:16
=== JTa1 is now known as JTa
studio-user627 live distro lock screen password?04:39
krytarikJust hit enter.04:40
studio-user627is this some sort of joke? All live linux distros lock the screen and no mention of default password on their sites. Username?04:41
studio-user627suggestion: If you want people to try your distro, either don't lock the screen or put the username and password on yr web site in plain sight04:43
=== studio-user078 is now known as uguraktas
uguraktashi14:34
studio-user232Do ineed a firewall to install?19:20
ErichEickmeyer5 minutes is not enough time to get an answer.19:26
krytarikWell, to be fair, they timed out. :>19:31
ErichEickmeyerOh, I need to fix my background color. Not enough contrast. XD19:32
ErichEickmeyerThere we go. :)19:33
=== ubott2 is now known as ubottu
=== SlidingH1rn is now known as SlidingHorn

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!