SHARE
TWEET

#Alsa Channel is Based

FringeWizard Dec 2nd, 2015 102 Never
  1. <debianuser> Aebian: it mostly happened here and in #winehq :) I'm almost not reading winehq these days. And only with people using irc clients doing rotating tab completion (there's also prompting completion, it's a bit more friendly to similar nicknames)
  2. <debianuser> fringe: comparing it with your previous alsa-info, trying to spot the differences...
  3. <Aebian> ah lol no I see
  4. <Aebian> *now
  5. <Aebian> debianuser: got swtiched with debdog
  6. <Aebian> but since I contacted you so often my irssi remembers if I type in deb or de he completes to debianuser
  7. <Aebian> :D
  8. <debianuser> fringe: Hm... Yeah, it still doesn't work right. Ok, let's try our old hack. Mute both "HP/Speaker" and "HP/Speaker Auto Detect", then start some player and check that you hear sound from speakers. If you do - run:
  9. <debianuser>   sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0xc0
  10. <debianuser> and check if you hear the sound from both speakers AND headphones.
  11. <fringe> Tfw just got banned from #linuxmint for 7 days...
  12. <debianuser> They just didn't know how to help you and were too shy to admit that :)
  13. <fringe> Is there any difference at all in audio quality between a 144p youtube video and a 720p one?
  14. <fringe> Also is there any difference in audio quality between MP4 and FLV?
  15. <debdog> youtube-dl --list-formats
  16. <debdog> depends on clip
  17. <fringe> welp just used a random firefox add-on to download an hour of nightcore in 360p for testing purposes
  18. <fringe> I wonder if there's a way to strip the music out of the video and just have the audiotrack only.
  19. <debdog> youtube-dl -f FORMAT URL
  20. <debdog> FORMAT as listed by youtube-dl --list-formats URL
  21. <fringe> tfw devnull is banning me from everything he can right now kek
  22. <debdog> are you the DDoSer? :D
  23. <fringe> No, I just called the mods "hotpockets" and that inspired him to ban me from everywhere he could. http://img.4plebs.org/boards/s4s/image/1402/69/1402693491425.jpg
  24. <fringe> Why does this video have no audio at all? https://media.8ch.net/vis/src/1449005984354.png I am playing it and I can't hear a thing. I can only hear the video when playing it through the firefox browser on youtube.
  25. <Aebian> gnarf opening links in my remote tmux terminal don't pass them to chromium
  26. <debianuser> fringe: does it actually have the audio? Can you run `mplayer  "Nightcore MIX 3 Hours HD Part 1.mp4"` and copy its output to some pastebin?
  27. <fringe> debianuser: Just a moment, going to try downloading the same video again but with a different program, and try playing that. If I still don't get audio I will try what you have suggested.
  28. <fringe> Oh goodness I can't find the add-ons panel in firefox... they moved it.
  29. <fringe> ah hotkey is ctrl + shift + a
  30. <debianuser> fringe: actually youtube-dl suggested above is a nice program, if you don't mind a command-line (and firefox's Video DownloadHelper is probably the most popular gui addon for that)
  31. <fringe> https://addons.mozilla.org/en-US/firefox/addon/flash-video-downloader/ this thing should work
  32. <Aebian> sound in games is still crap. aplay -v -fdat -d1 -Ddefault /dev/zero --> https://gist.github.com/Aebian/855b01f149e051ced803
  33. <debianuser> Aebian: ah, yeah, I've seen it. It plays through pulseaudio and I don't know how to troubleshoot sound quality there. :( You can try asking in #pulseaudio or if you don't need any of pulseaudio features we can temporarily remove pulse and check if the problem goes away.
  34. <Aebian> debianuser: well how can I check if my sound is able to play trough alsa? It worked 4 hours before and my sound was just fine ingame. now for some reason it stopped working
  35. <Aebian> and I didn't changed something I would be aware of. My sound in the music app is still excellent
  36. <fringe> Video DownloadHelper is nicest thing so far, I am trying it out right now.
  37. <fringe> oh cool it even has a "start capturing browsing session" thing.
  38. <fringe> http://www.downloadhelper.net/why-converter-needed-aggregation.php
  39. <fringe> http://www.downloadhelper.net/about-licensing.php
  40. <fringe> argh so stupid
  41. <debianuser> Yeah you'll need libav-tools or ffmpeg for it to merge files. youtube-dl uses that too
  42. <debianuser> Aebian: Well, we can do `sudo apt-get purge pulseaudio` (just remember the list of packages that get removed or save that list somewhere so that you could install them back later, and check that nothing important is removed)
  43. <fringe> This is too much for me to bother with right now...
  44. <Aebian> debianuser: hopefully nothing gets broken otherwise I'm gonna morder someone lol
  45. <Aebian> debianuser: but I'll do it now
  46. <Aebian> The following packages will be REMOVED: cinnamon* cinnamon-control-center* libcanberra-pulse* pulseaudio* pulseaudio-module-jack* pulseaudio-module-x11*
  47. <Aebian> oh yes gg
  48. <fringe> debianuser: I have downloaded 3 videos of different resolutions with different programs, in all cases, I do not hear audio. So I'm just going to do what you suggested now.
  49. <Aebian> la
  50. <Aebian> ups
  51. <fringe> debianuser: what is it doing? https://media.8ch.net/vis/src/1449007717702.png
  52. <debianuser> Aebian: "cinnamon" is probably just a meta package, having no files but bringing all other cinnamon packages as dependencies. Not sure about cinnamon-control-center... But if you can live without it during our test then we can try.
  53. <debianuser> fringe: It's waiting for you to close the quote :)
  54. <debianuser> "... and no closing quote
  55. <debianuser> fringe: Just Ctrl+C it, then press "Up" and add a trailing "
  56. <fringe> https://media.8ch.net/vis/src/1449007945088.png
  57. <Aebian> debianuser: why the f* I can't just switch to alsa and just shut down the pulse service? Is a removal rly neccaserry? ^^
  58. <Aebian> debianuser: I removed pulseaudio once and my deskktop enviroment was gone and I had to reinstall it via recovery shell
  59. <Aebian> *desktop
  60. <debianuser> Aebian: Yes. :( Pulseaudio is very persisting. It redirects all the sound to itself unless you remove some specific file which is a part of "pulseaudio" package.
  61. <fringe> debianuser: Should I download mplayer? It seems Linux Mint uses this for playing videos: https://media.8ch.net/vis/src/1449008110118.png
  62. <epictetus> mplayer is in my opinion the best media player software ever
  63. <epictetus> and its associated ffmpeg codec == best/tightest/most optimized codec package
  64. <debianuser> fringe: it's not that you "should" it's just you can :) mplayer is a nice command-line swiss army knife player. It's good for troubleshooting and for people who likes command-lines. Not that good for those preferring GUI players.
  65. <fringe> debianuser: just tried VLC and still got no audio! https://media.8ch.net/vis/src/1449008264312.png
  66. <epictetus> mplayer lets you manually specify a zillion different audio output plugins with -ao (option)
  67. <epictetus> and yeah the mplayer gui kidna sucks, it has one but thats not where its strength is
  68. <fringe> debianuser: why does every videoplayer I try have no audio? Only firefox and Minecraft seem to produce any audio output at all.
  69. <debianuser> Aebian: Can you copy full output of `sudo apt-get purge pulseaudio` to some pastebin? (you can say "No" to it and then just copy its output)
  70. <epictetus> fringe: a lot of them are probably still looking for pulseaudio / esound and not realizing you want to use alsa instead
  71. <Aebian> debianuser: yes I can https://gist.github.com/Aebian/7b8b8ef492f04dfcdf54
  72. <debianuser> Aebian: Ah, you can say yes to those, just 6 packets there, nothing critical, and we can install them back when we finish the test in a few minutes. You don't even have to reboot
  73. <Aebian> hmm okay I do then
  74. <Aebian> Aebian: done, music player still plays sound
  75. <debianuser> fringe: Well, that's why I suggested to try mplayer and copy its output. :) It's a bit more verbose, it says what and how it plays. :)
  76. <fringe> debianuser: How should I proceed from here? https://media.8ch.net/vis/src/1449008588327.png
  77. <Aebian> debianuser: done, music player still plays sound
  78. <debianuser> Aebian: Are you still playing sound to Plantronics GameCom 780?
  79. <Aebian> debianuser: yesh
  80. <debianuser> Aebian: Ok. Let's make sure pulseaudio is killed: `killall -9 pulseaudio`. Then put these two lines into ~/.asoundrc:
  81. <debianuser>     defaults.pcm.!card P780
  82. <debianuser>     defaults.ctl.!card P780
  83. <debianuser> then check if you hear the sound with, for example, `speaker-test -c2 -twav`
  84. <debianuser> fringe: `sudo apt-get install mplayer`
  85. <debianuser> fringe: and `sudo apt-get install alsa-tools`
  86. <epictetus> i think mplayer has -ao alsa (manually tells mplayer to use alsa for audio instead of whatever default)
  87. <fringe> debdog: https://media.8ch.net/vis/src/1449008740112.png
  88. <Aebian> debianuser: yes I can hear them
  89. <fringe> debianuser: did it just screw up https://media.8ch.net/vis/src/1449008838457.png ?
  90. <debianuser> Aebian: Ok, good! Now check some audio player if it plays sound (you may need to restart that player).
  91. <epictetus> fringe: the error at the bottom is related to an Atheros wireless driver package
  92. <Aebian> debianuser: my music player don't atm but teamspeak works mic/phones
  93. <Aebian> debianuser: I just tested with a friend
  94. <debianuser> fringe: No, it installed mplayer. Then it attempted to build some ath10k module and failed (it's not related to mplayer, I guess it tries that on every apt-get install command)
  95. <Aebian> debianuser: ah music player works again
  96. <Aebian> debianuser: now I'll check a game
  97. <fringe> debianuser: ath10k is my wireless card
  98. <debianuser> fringe: Try `sudo apt-get install alsa-tools` too and check if it attempts to build that ath10k module again
  99. <fringe> https://media.8ch.net/vis/src/1449009302059.png this is after installing alsa-tools.
  100. <Aebian> debianuser: still not 100% awesome @games but 98%. before it was maybe 40% | you're lifesaver, thanks
  101. <debianuser> fringe: Yeah, it tried to build it again. Not sure why it fails... It says the reason must be in /var/lib/dkms/ath10k/1.0/build/make.log... Anyway, both mplayer and hda-verb are installed. Hm... Maybe our old hack would work again? Try again:
  102. <fringe> debianuser: I just noticed something weird, I can completely mute audio here as in pic related, and yet I still hear audio from the video on firefox: https://media.8ch.net/vis/src/1449009648169.png why is this so?
  103. <debianuser>   sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0xc0
  104. <debianuser> and check if you hear the sound from both speakers AND headphones.
  105. <debianuser> Aebian: You're welcome! I'm glad it sounds better now. I still don't know why it sounded bad before however. :(  You can try installing "libasound2-plugins" (`sudo apt-get install libasound2-plugins`), just install it, restart the game and check if you hear any differences.
  106. <fringe> It is now playing through both headset and the laptop speakers... all the while that the audio appears muted in Linux Mint's audio control thing... odd. https://media.8ch.net/vis/src/1449009805726.png
  107. <fringe> debianuser: https://media.8ch.net/vis/src/1449009858068.png
  108. <debianuser> fringe: Oh, then our old hack should work again:
  109. <debianuser>    enable speakers: sudo hda-verb /dev/snd/hwC1D0 0x0b SET_PIN_WIDGET_CONTROL 0x40
  110. <debianuser>    disable speakers: sudo hda-verb /dev/snd/hwC1D0 0x0b SET_PIN_WIDGET_CONTROL 0x0
  111. <debianuser>    enable headphones: sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0xc0
  112. <debianuser>    disable headphones: sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0x0
  113. <fringe> Yes those commands are working. Do you know what exactly they are doing and why they work?
  114. <fringe> Also, do you know how I could make a script that disables the speakers and enables headphones automatically when I start up the computer?
  115. <Aebian> debianuser: SOS. since cinnamon got deinstalled with pulse audio autoremove now tells me that a bunch of cinnamon packages can be removed. thats wrong because if I would remove them now my DE would crash. BUT.. if I try to install cinnamon "scmi cinnamom" scmi stands for sudo command install [sudo apt-get install] ^^ he also tries to install pulseaudio with it =(
  116. <Aebian> to stop scmi confusion: alias scmi='sudo apt-get install
  117. <debianuser> Aebian: What packages does it want to remove? Can you copy that list to a pastebin?
  118. <debianuser> Aebian: Also can you copy `apt-cache show cinnamon` to some pastebin too?
  119. <fringe> debianuser: What can I do to get mic working so I can actually talk to someone over skype for once?
  120. <debianuser> fringe: Yes, I know what those commands do (they directly control soundcard codec to disable/enable pin nodes 0x0b and 0x0f, speakers are wired to pin node 0x0b and headphones jack is wired to 0x0f). And they're just a workaround, kernel is supposed to do that for you. But you need to report that as a bug to your distribution bugzilla so that it could be fixed in kernel. :)
  121. <debianuser> I mean it should be fixed, but to fix it devs must know that there's a bug. Someone must report it. :)
  122. <debianuser> fringe: About scripting... I remember we used to put shell scripts on your desktop that you clicked later to enable/disable speakers/headphones. We can do that again. In terminal run these 4 lines:
  123. <debianuser>   echo sudo hda-verb /dev/snd/hwC1D0 0x0b SET_PIN_WIDGET_CONTROL 0x40 > ~/Desktop/enable-speakers.sh
  124. <debianuser>   echo sudo hda-verb /dev/snd/hwC1D0 0x0b SET_PIN_WIDGET_CONTROL 0x0 > ~/Desktop/disable-speakers.sh
  125. <debianuser>   echo sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0xc0 > ~/Desktop/enable-headphones.sh
  126. <debianuser>   echo sudo hda-verb /dev/snd/hwC1D0 0x0f SET_PIN_WIDGET_CONTROL 0x0 > ~/Desktop/disable-headphones.sh
  127. <fringe> debianuser: I'm still getting absolutely no audio btw with any video players. Only thing giving me audio right now is Firefox.
  128. <Aebian> debianuser: https://gist.github.com/Aebian/7b8b8ef492f04dfcdf54
  129. <Aebian> cls
  130. <Aebian> ... wrong terminal
  131. <fringe> debianuser: here are the old commands btw, I saved them to thumbstick before upgrading to Linux Mint 17.3; https://media.8ch.net/vis/src/1449011016208.png
  132. <debianuser> fringe: Ah, yeah, you can use those :)
  133. <fringe> debianuser: I don't know how to report the bug btw.
  134. <fringe> debianuser: Any reason why VLC, VideoPlayer, etc. are still not playing any audio at all? I've got it set up right now so audio only plays through headset. That is working just fine with firefox but all offline video players are producing no audio.
  135. <debianuser> Hm... If you're using ubuntu I guess you just needed to run `ubuntu-bug -s audio`. Not sure how you report bugs in mint...
  136. <debianuser> fringe: Maybe there's just no audio in the file you're playing? Can you try to play it in mplayer and copy its output to some pastebin?
  137. <fringe> https://8ch.net/vis/res/379.html#475
  138. <fringe> Yeah, how do I play one of these in mplayer https://media.8ch.net/vis/src/1449011249328.png ?
  139. <fringe> debdog: where did I screw up here https://media.8ch.net/vis/src/1449011355297.png ?
  140. <debianuser> Where's your Nightcore MIX 3 Hours HD Part 1.mp4 file? In what directory?
  141. <fringe> https://media.8ch.net/vis/src/1449011491625.png here but it's not working
  142. <fringe> Finally got it working...
  143. <debianuser> Then I guess it's not there. Or there's a typo in its name. Try using filename completion. When you press <tab> key in shell it autocompletes the name. E.g. if you type   "mpla<tab>" it should complete it to "mplayer". And if you type /ho<tab> it should complete it to /home/
  144. <fringe> https://media.8ch.net/vis/src/1449011603801.png
  145. <debianuser> fringe: Good. There's some audio track. And it plays through pulseaudio. Can you hear it when mplayer plays it?
  146. <fringe> https://media.8ch.net/vis/src/1449011724638.png
  147. <fringe> I do not hear anything.
  148. <debianuser> fringe: Can you run `pactl list` and copy its full output to some pastebin?
  149. <fringe> mplayer is still running, should I stop it, or open up another terminal window?
  150. <debianuser> leave it running
  151. <debianuser> I want to see it in pactl list.
  152. <debianuser> Or rather I want to see where it plays to in pactl list ;)
  153. <Aebian> hmmmmm
  154. <fringe> Pactl list results in such an extremely long output I can't copypaste it all, is there any command to get the full output of it into a pastebin?
  155. <Aebian> cat file | pbcopy
  156. <Aebian> fringe: ^
  157. <fringe> debianuser: here is everything that fits into the window: http://pastebin.com/QJsidB5W
  158. <fringe> Aebian: I just type that or what?
  159. <debianuser> fringe: try this:     pactl list | curl --upload-file - http://transfer.sh/pactl-list.txt
  160. <Aebian> debianuser: I think I need to install cinnamon since a lot of packages depending on it but I don't want pulseaudio to get installed with it :X
  161. <Aebian> fringe: yeah like cat yourfile.log | pbcopy
  162. <debianuser> Aebian: What packages does it want to remove? Can you copy that list to a pastebin?
  163. <debianuser> Aebian: Ah, found your link above
  164. <Aebian> debianuser: https://gist.github.com/Aebian/7b8b8ef492f04dfcdf54 yeah
  165. <fringe> It's doing that thing again... https://media.8ch.net/vis/src/1449012136346.png
  166. <AstralStorm> hello folks
  167. <fringe> How do I make it stop that ath10k nonsense? What is it even doing there?
  168. <AstralStorm> I've found a bug in ALSA, related to lfloat and/or float format, combined with dmix
  169. <AstralStorm> where can I report that for a reasonable triage? I know I could hit alsa-devel ML
  170. <AstralStorm> it is related to setting buffer sizes or period sizes on loopback device too...
  171. >AstralStorm< Are you from 8ch.net/vis/ ?
  172. >AstralStorm< Is this your post https://8ch.net/vis/res/379.html#q472 ?
  173.  Aebian afics ALicinio alip andrewrk angular_mike__ ankk armands ashka AstralStorm azeam
  174. <debianuser> Aebian: We need to mark those packages as "manually installed", that will convince apt-get that those are important and it won't ask to remove them. For example try: `sudo apt-get install caribou cinnamon-common cinnamon-control-center-data cinnamon-desktop-data cinnamon-screensaver cinnamon-settings-daemon`  then check again what packages it wants to remove now
  175. >AstralStorm< Just asking because of the occult name btw, I'm from 8ch.net/fringe/
  176. <debianuser> fringe: Don't know how to stop ath10k. It's something your distro-specific. I guess you're supposed to ask that in mint channel. :(
  177. <fringe> debianuser: can't because banned from there, the problem began after I upgraded kernal btw, and even after purging the new kernal and going back weird stuff like this is still occurring
  178. <Aebian> debianuser: I think this fixedd the long list. he just uninstalled some other shit :D
  179. <Aebian> *fixed
  180. <debianuser> AstralStorm: Hello :) I guess alsa-devel is the best place. Devs don't read this channel too often, but they do read mailing list. Did you managed to reproduce the issue with aplay or some small test?
  181. <fringe> debianuser: I think I will purge ath10k and then reinstall, brb, this is going to kill my wireless connection
  182. <debianuser> Aebian: It should not uninstall it on its own. It only removes them when you run autoremove manually.
  183. <AstralStorm> debianuser, yes, w/ aplay
  184. <Aebian> debianuser: yeah I did may fault
  185. <Aebian> *my
  186. <AstralStorm> it cries about being unable to get hw params
  187. <AstralStorm> the period_times are within 1 usec
  188. <AstralStorm> smells like misrounding somewhere... and it happens only with float formats, doubly suspicious
  189. <Aebian> debianuser: sound is now better thanks hehe
  190. <fringe> What am I doing wrong here? https://media.8ch.net/vis/src/1449012768983.png
  191. <debianuser> AstralStorm: Great! Then reporting your config, that aplay command and its output should be enough. But in addition you can add that a similar bug stops firefox from playing some sound. I think that should increase importance of your report.
  192. <debianuser> fringe: just `sudo apt-get purge ath10k-dkms`, just package name, without version and extension. But be careful. Get at least some working livecd/liveusb ready. I mean if you remove it and won't install it back you'll have no internet and won't be able to recover.
  193. <fringe> tfw might be screwing up my install so bad I'll probably have to redo everything again from scratch
  194. <fringe> debianuser: I have the deb package on my thumbstick
  195. <debianuser> Aebian: You're welcome! If you want you can try to troubleshoot pulseaudio, as we now know that alsa works fine. Or if you're happy with how it works now you can leave it like that and be happy! :)
  196. <fringe> Any explanation as to what it is doing right now and if I should be concerned? https://media.8ch.net/vis/src/1449013088094.png
  197. <debianuser> nothing bad happens, just 2 packages were updated
  198. <debianuser> so unless you have some reasons to stick with old versions of those packages you don't have to be concerned about that
  199. <fringe> >Building for 3.19.0-32-generic and 4.3.0-040300-generic
  200. <debianuser> AstralStorm: If you feel brave and have some programming you can try to fix the bug yourself and attach a patch to your email. That would certainly increase the importance of the email and its chances to get fixed. :)
  201. <fringe> Why is it doing this? I don't even have the 4.3 kernal anymore.
  202. <debianuser> fringe: Are you sure? What does `dpkg -l grep -e linux -e kernel` say?
  203. <fringe> debianuser: https://media.8ch.net/vis/src/1449013418556.png
  204. <fringe> debianuser: https://8ch.net/vis/res/379.html#q487 I have no idea how it is right now that I'm sending you this message over IRC
  205. <fringe> This is really screwed up...
  206. <fringe> Should I completely re-install Linux Mint 17.3 from scratch again?
  207. <fringe> This is 2spooky4me
  208. <fringe> https://media.8ch.net/vis/src/1449014101121.png
  209. <fringe> I am not entirely sure I am experiencing a lucid dream right now or not.
  210. <fringe> debianuser: what should I do right now?
  211. <Aebian> debianuser: SOS again, now my lockscreen is not exectunig anymore o.o
  212. <Aebian> *executing
  213. <fringe> Linux defies logic.
  214. <fringe> brb
  215. * Now talking on #alsa
  216. * Topic for #alsa is: Advanced Linux Sound Architecture, WIKI: http://www.alsa-project.org/ || Unprofessional, unofficial support, see WIKI at http://alsa.opensrc.org/
  217. * Topic for #alsa set by unknown (Thu May 29 15:24:17 2008)
  218. <fringe> Back, how do I completely purge kernal 4.3.0 and make apt-get stop trying to do things with it?
  219. <fringe> https://mintguide.org/system/517-install-linux-kernel-4-3-stable-on-linux-mint.html
  220. <fringe> I tried to remove stuff as per the instructions in here but it doesn't seem to have done a good job of it.
  221. <debianuser> Aebian: about "my lockscreen is not exectunig" -- do you have "cinnamon-screensaver" installed?
  222. <debianuser> fringe: Sorry, I made a typo, it was supposed to be: `dpkg -l | grep -e linux -e kernel`
  223. <fringe> debianuser: https://media.8ch.net/vis/src/1449015288866.png
  224. <fringe> Any idea what is wrong here?
  225. <debianuser> fringe: what does `dpkg -l | grep -e linux -e kernel` say?
  226. <fringe> debianuser: https://media.8ch.net/vis/src/1449015355332.png ?
  227. <debianuser> fringe: `sudo apt-get purge linux-headers-4.3.0...` (can't copypaste it from screenshot :) )
  228. <debianuser> Aebian: Hah, we can do it the other way around: `apt-get install --print-uris cinnamon` - it won't install those, just print uris. But we'll know what packages we miss.
  229. <fringe> debianuser: http://pastebin.com/kzAr7eDV
  230. <fringe> what is proper command I use?
  231. <fringe> Is it linux-headers-4.3.0-040300 ?
  232. <debianuser> fringe: `sudo apt-get purge linux-headers-4.3.0-040300-generic`
  233. <fringe> should I also do sudo apt-get purge linux-headers-4.3.0-040300 ?
  234. <fringe> https://media.8ch.net/vis/src/1449015854077.png
  235. <fringe> https://media.8ch.net/vis/src/1449015925637.png
  236. <fringe> debianuser: what now?
  237. <fringe> I think I should do sudo apt-get purge linux-headers-4.3.0-040300 right?
  238. <debianuser> fringe: nothing. It's fixed now :)
  239. <fringe> I'm going to run that command anyways, there shouldn't be anything left of 4.3 in there.
  240. <fringe> https://media.8ch.net/vis/src/1449016824432.png
  241. <fringe> debianuser: How do I get wget?
  242. <fringe> ignore my above question
  243. <fringe> here is what I really meant to ask: https://8ch.net/tech/res/454368.html#q456133
  244. <fringe> debianuser: where did we leave off at actually trying to solve audio issues?
  245. <fringe> debianuser: did I complete this step successfully pactl list | curl --upload-file - http://transfer.sh/pactl-list.txt ?
  246. <fringe> debianuser: if I go to sleep now will you be up tomorrow debianuser ?
  247. <debianuser> Yes, I'm going to be here tomorrow too :)
  248. * venkat_331 is now known as venkat_330
  249. <storrgie> I'm in fedora trying to get playback via mpd and alsa working and I'm seeing permissions issues: https://gist.github.com/storrgie/aadb7615434d5865391c
  250. <storrgie> based on that last gist, I changed the name of the devices to hw:2,0 and thats when I saw the permissions issue: https://gist.github.com/storrgie/b661ea3ebfa3514e0a85
  251. <storrgie> would be most appreciate if anyone would help me poke around in this
  252. <debianuser> storrgie: Can you show a bit more details about your sound system? You can use alsa-info script: https://wiki.ubuntu.com/Audio/AlsaInfo it should automatically suggest you to upload your data and give you a link to it (you can run it as a regular user, it doesn't need root).
  253. <storrgie> debianuser, looks like thats already on my system
  254. <storrgie> debianuser, http://www.alsa-project.org/db/?f=f4379eacae906d4a34a8e2e2b3f4bd37e43b0688
  255. <debianuser> Are you running mpd as root or as your user?
  256. <storrgie> in fedora you install via rpmfusion and they set up an mpd user
  257. <debianuser> storrgie: It's just according to alsa-info you have pulseaudio installed and rinning.
  258. <storrgie> it is added to the audio group upon install
  259. <debianuser> *running
  260. <storrgie> yes, by default in fedora pulseaudio is set up and running
  261. <debianuser> pulseaudio redirects all the sound through itself
  262. <storrgie> I can play back to my laptop speakers via pulse, but I want to play back to the usb dac via alsa
  263. <debianuser> so while pulseaudio holds the card noone else can play to it, and as far as I know only the user that started pulseaudio can play to it
  264. <storrgie> debianuser, can i tell pulseaudio to ignore this card?
  265. <debianuser> storrgie: if you can - I don't know how :(
  266. <storrgie> one tic, I'll be back
  267. <storrgie> apparently in pavucontrol you can 'disable' a device
  268. <storrgie> im going to reboot the system entirely to see if that might work
  269. <debianuser> storrgie: So the options are: (1) never use that card in pulseaudio, then you'll be able to use it in alsa apps. (2) if you don't need any pulse features you can remove pulseaudio and use just alsa
  270. <debianuser> storrgie: in #1 case your setup is correct. Just check that mpd user is actually in audio group (`id mpd`) and restart mpd if needed
  271. <storrgie> debianuser, yeah im wanting option 1 because i want pulse for other things (for laptop speakers and hdmi output and stuff
  272. <storrgie> but I'm seeing the same issue
  273. <storrgie> It seems like the usb device is just not available
  274. <storrgie> and I dont know what to do
  275. <storrgie> https://gist.github.com/storrgie/3bcb3bbb9d7b404c9876
  276. <debianuser> storrgie: that's easy to test: `speaker-test -c2 -twav -Dhw:G1V5`
  277. <storrgie> https://gist.github.com/storrgie/fce4304d0d3dd7660e05
  278. <storrgie> do i need to have a wav file to play back?
  279. <debianuser> no, not for speaker-test...
  280. <storrgie> I'm assuming that you're seeing my gist above... that speaker test doesn't appear to run properly
  281. <debianuser> It says it doesn't support 48kHz 16-bit stereo... And speaker-test can't resample. Let's try plughw: `speaker-test -c2 -twav -Dplughw:G1V5`
  282. <storrgie> that works
  283. <storrgie> im getting audio now
  284. <storrgie> but changing my device declaration in mpd to plughw:G1V5 doesn't seem to work
  285. <storrgie> https://gist.github.com/storrgie/0817b7f0c5a81d86d0c5
  286. <debianuser> no, wait, now check the same from mpd user: `sudo -u mpd speaker-test -c2 -twav -Dplughw:G1V5`
  287. <storrgie> https://gist.github.com/storrgie/1d36d9f4632b5b281b3d
  288. <storrgie> also heard audio testing
  289. <debianuser> Yeah, that looks working. Are you sure mpd is running as "mpd" user? `ps aux`
  290. <storrgie> https://gist.github.com/storrgie/64dcb44ac6b5b81b2d8e
  291. <storrgie> I am perplexed!
  292. <debianuser> Yeah, still looks correct. Can you restart mpd and check if it works now?
  293. <debianuser> In your last paste it was "Failed to open ALSA device "hw:G1V5": No such device" and there's certainly such device now
  294. <debianuser> so at least the error should be different
  295. <storrgie> I did, I changed it to plughw:G1V5, restarted, didnt work, changed to plughw:0,0 (its currently 0,0), restarted, still doesnt work
  296. <debianuser> still doesn't work with what error?
  297. <storrgie> ALSA lib pcm_hw.c:1693:(_snd_pcm_hw_open) Invalid value for card
  298. <storrgie> Dec 01 20:24 : alsa_output: Failed to open "ALSA: Geek Pulse" [alsa]: Failed to open ALSA device "plughw:0,0": Permission denied
  299. <storrgie> sorry, i feel bad for making you click so many links, that 2 liner wasn't too awful of a paste
  300. <debianuser> Hm... Can you stop mpd and start it manually as `/usr/bin/mpd --no-daemon --verbose` from command-line as your user?
  301. <debianuser> does it work in that case?
  302. <storrgie> as my own?
  303. <debianuser> yes, as your user first (if that works the second test would be `sudo -u mpd -H /usr/bin/mpd --no-daemon --verbose`)
  304. <storrgie> hrm, that might prove to be difficult with permissions and whatnot
  305. <storrgie> of the config files
  306. <debianuser> well, try `sudo -u mpd -H /usr/bin/mpd --no-daemon --verbose`
  307. <storrgie> that errors also...
  308. <storrgie> but for a weird reason
  309. <storrgie> lemme make a gist real quick
  310. <storrgie> https://gist.github.com/storrgie/e0b06afe47d69c286dab
  311. <debianuser> Hm... Try: `sudo -u mpd -H /usr/bin/mpd --no-daemon --verbose --stderr` maybe in that case it won't try to open that log
  312. <storrgie> thats weird as when systemd is running it I assume its the same thing
  313. <debianuser> It could be running as root, opening that file, and then dropping privileges to mpd
  314. <storrgie> https://gist.github.com/storrgie/cca63d1e6ec0d302aa2f
  315. <debianuser> "Device or resource busy"?
  316. <storrgie> https://gist.github.com/storrgie/4951aefb364c0786d730
  317. <storrgie> yeah, with both types of addressing
  318. <debianuser> Who's holding it? `sudo lsof -n | grep /dev/snd/pcm` (look for pcmCxDyp) where x=card number, y=device number
  319. <debianuser> (e.g. /dev/snd/pcmC2D0p if card "G1V5" has index 2 )
  320. <storrgie> https://gist.github.com/storrgie/bd2fc3e5f73e0eefd3fe
  321. <storrgie> It was C0
  322. <debianuser> Looks like nothing is holding it now... Try running `sudo watch -n 0 "lsof -n | grep /dev/snd/pcmC0D0p"` in one terminal and watch it when running `sudo -u mpd -H /usr/bin/mpd --no-daemon --verbose --stderr` in another one.
  323. * Now talking on #alsa
  324. * Topic for #alsa is: Advanced Linux Sound Architecture, WIKI: http://www.alsa-project.org/ || Unprofessional, unofficial support, see WIKI at http://alsa.opensrc.org/
  325. * Topic for #alsa set by unknown (Thu May 29 15:24:17 2008)
  326. <fringe> tfw no DebianUser.
  327. <fringe> I have some weird problem where audio is only playing through left side of my headset...
  328. <fringe> oh nvm, looks like my headset is just fucked, switched it out for another and getting way better audio quality for one. Time to return this piece of shit ayylienware headset lel.
  329. <fringe> Hmmmm... better try it on another device first though to be sure. Tfw other headset is set at max volume and can't adjust at all.
  330. <fringe> wtf now I can suddenly adjust volume
  331. <fringe> This is bizarre and really unpredictable behaviour...
  332. <fringe> ...I'm at a loss as to what's happening ahhhhhhhhhhhhh
  333. <fringe> GUI seems to be indicating it's randomly switching between different audio control systems, I guess it's switching between Alsa and Pulse at random.
  334. <Aebian> fringe: he probably afk hehe
  335. <Aebian> *he is
  336. <fringe> Just tried plugging my alienware headset into android tablet, it's only playing through left-ear, and only very quietly. Welp, I'm just going to send it off to my dad and he can take it to his workplace I guess to see what's wrong.
  337. <fringe> Going to use my backup headset from now on while testing stuff, there is no mic though, going to have to obtain a separate mic.
  338.  
  339. * Loaded log from Wed Dec  2 11:57:35 2015
  340.  
  341. * Now talking on #alsa
  342. * Topic for #alsa is: Advanced Linux Sound Architecture, WIKI: http://www.alsa-project.org/ || Unprofessional, unofficial support, see WIKI at http://alsa.opensrc.org/
  343. * Topic for #alsa set by unknown (Thu May 29 15:24:17 2008)
  344. <fringe_> Computer literally just froze and crashed when I unplugged DP cable and put it back in, it's not working very nicely with 4k, eek.
  345. <Aebian> oh lol
  346. <fringe_> I wonder if this 2.5k laptop is just going to die on me and if I should get a desktop next instead because I am too tall for a laptop anyways and just end up using it like a desktop all the time.
  347. <fringe_> I'd just need a batter for my desktop though so it can keep running as if it were a laptop when there is power outs.
  348. <Aebian> well upgrading of hardware would be easier :D
  349. <fringe_> Yes and I could get parts that actually work with Linux Mint instead of having to deal with my terrible ath10k wireless card always failing me or performing poorly and get audio and 4k to all work without all these stupid awful problems.
  350. <fringe_> I feel like 2015 is a year of stasis for technology in general, all high-end stuff performs terribly right now, everything should be a hell of a lot better in 2020.
  351. <fringe_> I mean limbo.
  352. <fringe_> not stasis
  353. <fringe_> I should just go full amish in 2016 and stay that way until 2020.
  354. * verne.freenode.net gives channel operator status to ChanServ
  355. <Aebian> fringe_: I got a MSI Z87 MPOWER MAX AC with built-in wireless. No problems with linux alltough I use cable most of the time
  356. <fringe_> I am getting absolutely no sound right now btw except from Firefox and Minecraft. VLC, mPlayer, and all other offline videoplayers aren't producing any sound.
  357. <Aebian> thats weird
  358. <fringe_> How much did that cost you? tfw Alienware 17-R2 is pretty terrible.
  359. <Miles> Hi, does anybody know what "Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller" is? There is also a "Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller", are they the same device?
  360. <fringe_> I wonder when high-resolution screens that you wear will become the standard screen for computing. Whenever that takes off everything is going to be a lot more comfortable for me. I'll just set up my computer in the room, and then I myself can sit anywhere I want with wireless keyboard. I probably should have got a wireless digitiser too instead of a wired one... ah well.
  361. <fringe_> Are wireless headsets recommended btw or are they terrible compared to wired ones?
  362. <Miles> In the BIOS settings there is a HDA Audio which I guess is the normal onboard sound and also "CPU Audio Device"
  363. <Miles> I'm just curious what "CPU Audio Device" is and what it does
  364. <fringe_> Woah just managed to get an offline video player playing music now, although not through headset.
  365. <Aebian> fringe_: at the time where I bought it it was about 340$
  366. <fringe_> oh my... finally... it's running audio through headset!
  367. <Aebian> fringe_: nice just happened or did you change anything?
  368. <fringe_> Aebian: Man that is... 680.... 1020....1360... 1700....2040...2380... (I need to install and play Tux Math for a hundred hours straight with only time taken off to sleep and eat again to sharpen up my math skills ayy)
  369. <fringe_> ...2720.
  370. <fringe_> Yeah you could have bought 8 of your computer Aebian for the price of mine and that's not including the monitor and keyboard and mouse and headset and digitiser and random other shit I got.
  371. <fringe_> tfw probably spent 5k on technology this year
  372. <fringe_> tfw everything is in a disappointing not sweet spot
  373. <fringe_> 2020 can't come soon enough
  374. <Aebian> fringe_: well I have a strange issue too. If I enter any TeamSpeak 3 server my music app just stops and even if I press the play button again (keyboard or via app) my song does not play and I need to click on another :X
  375. <fringe_> Why do we even have these silly audio problems in 2016? How complex can audio even get? Maybe I just don't appreciate what sort of engineering and software goes into this sound is sound... it seems so simple.
  376. <fringe_> tfw backup headset has way higher audio quality than the ayylienware headset and I got my backup headset free.
  377. <Aebian> keep it and sell the broken one lol xD
  378. <fringe_> Panasonic RP-DJS400 is the name of my backup headset.
  379. <fringe_> Some other things I have to note about my backup headset are...
  380. <fringe_> Going to make a whole thread about this on /tech/ and post link to it in here.
  381. <fringe_> Damn this is amazing how much better this audio is, I am euphoric as fug right now.
  382. <Miles> fringe_: I agree, audio is a nightmare.
  383. <Miles> It;s very silly
  384. <Miles> I must have installed/uninstalled pulseaudio ten times in the last few months. Finding it fixes one thing but breaks another etc etc
  385. <fringe_> I know that feel, it's a nightmare maze of problems and unpredictable behaviour, I wonder how big the source code is and how long it would take me to go through it for Pulse.
  386. <fringe_> I'm also no sound engineer or musician and don't really understand half of what Montalk is going on about here: http://montalk.net/metaphys/265/soul-resonance-and-music
  387. <Miles> Pulse is massive. It's super powerful. Some things it does really well
  388. <Aebian> oh lol audacity does not play audio while on TS3 ._.
  389. <Miles> Some things it does like a crazy person.
  390. <fringe_> I'd probably have to evoke a celestial intelligence to download the relevant musical knowledge and enter a state of meditation combined with time-dilation to go over the relevant programming.
  391. <fringe_> (relevant elemental correspondence would be air so I guess I better talk to some sylphs about this)
  392. <epictetus> I hate pulse.
  393. <Miles> I have a love hate thing. It's nice to use a bluetooth headset easily.
  394. <Miles> It's bad for it to ignore all attempts to limit the volume and blue my speakers up.
  395. <Miles> **blow
  396. <Miles> It wouldn't be so bad if you could turn it off and on easily
  397. <Miles> Even if you disable its binaries it usually involves deletiog all application settings as they seem to like.. latch on to it
  398. <Miles> Or something.
  399. <epictetus> yeah it seems like the pulse devs somehow bribed debian to build every other package with the "--absolutely-refuse-to-work-no-matter-what-unless-used-with-pulseaudio" option
  400. <Miles> Lots of modern things need it
  401. <Miles> Gnome shell
  402. <Aebian> I use cinnanom (gnome) but disabled pulseaudio :P
  403. <epictetus> lots of modern things need it to be disabled (i.e. any professional or low latency audio application whatsoever)
  404. <Aebian> since pulseaudi breaks my sound in games hehe
  405. <Miles> Ah, yes, I don't think that is what pulse was designed to do
  406. <Miles> But with realtime and the right buffer sizes it can be pretty low latency
  407. <Miles> I found it to be very close to jack
  408. <epictetus> it's too bad jack didn't become the universal linux audio service backend / API instead of pulse
  409. <Miles> They're kinda different tools for different jobs
  410. <epictetus> yeah. but Microsoft and Apple have both made audio subsystems that work for both pro audio and games/desktop use, it's gotta be possible
  411. <Miles> Sure, I imagine those projects cost quite a lot of money to develop though
  412. <Miles> Not saying free things suck or that because something is free is's OK for it to suck though
  413. <epictetus> jack is awesome it just doesn't try to do the "ooh my bluetooth / USB headphones work magically in linux like they do in windows" trick
  414. <bisleri> hi, how can I control volume of device using C library??
  415. <fringe_> oh wow just spend an hour writing up a rant criticizing the ayylienware headset when I started to write in my rant about lengths of the wires and decided to unplug the extension for my ayylienware
  416. <fringe_> and guess what?
  417. <fringe_> Now that I've got the extension wire removed...
  418. <fringe_> It's working perfectly.
  419. <fringe_> I guess the extension wire was damaged.
  420. <fringe_> yep 100% confirmed
  421. <fringe_> with extension wire, it only plays through left headphone and only quietly, with that removed it's fine
  422. <fringe_> welp, time to scratch what I wrote, or revise it.
  423. <Miles> Hah
  424. <Miles> A usb extension?
  425. <fringe_> https://8ch.net/vis/res/543.html
  426. <fringe_> pics incoming in a moment, just need to force refresh all of /vis/ right now because of the cripple admin's as yet still unresolved bugs he intended to have fixed by December.
  427. <fringe_> https://8ch.net/vis/res/543.html#q546
  428. <fringe_> This right here is the defective component, that extension wire.
  429. <fringe_> It must have got run over by the wheels of my office chair.
  430. <fringe_> tfw I live right next to a giant bin where tons of office desks and chairs and filing cabinents constantly get thrown out and I just pick out the best ones if I want from time to time to fill up my room
  431. <fringe_> https://www.youtube.com/user/FringeWizard/videos
  432. <fringe_> It's a good thing DebianUser isn't here right now because I just solved the majority of my problems today by being a bumbling retard until I discovered for myself what's really going on.
  433. <Aebian> fringe_: you could sell the officeequipment lol :D
  434. <fringe_> Aebian: It's the University of Waterloo that throws out most of it, all the big offices and university departments keep getting new stuff to appease hipsters, and throwing out rugged high quality office equipment in the process.
  435. <Aebian> fringe_: Waterloo... dafaq I just hear
  436. <Aebian> fringe_: By any chance do you maybe know Open Text Corp?
  437. <fringe_> tfw I get practically everything for free or super cheap, free food from dumpsters at the market or they just give me boxes of stuff or I bulk buy really cheap, free chair, free headset, free desks, sleep on the floor don't want a mattress I threw that out, etc.
  438. <fringe_> Then I spent shitloads of money on ayylienware and latest tech.
  439. <fringe_> (although the owner of BestBuy considers me a loyal customer so he gives me dank deals all the time)
  440. <fringe_> >Open Text Corp
  441. <fringe_> I will ask my dad about this.
  442. <Aebian> well I work there :D
  443. <fringe_> oh well then, I just looked it up, I can literally just go walk by your building then. The Sybase building is obscuring my view of you.
  444. <Aebian> :D
  445. <Aebian> yeah since you wrote University of Waterloo I was like hmm thats littarly nearby :D
  446. <fringe_> The University of Waterloo Radio station is visible from my window and only like a hundred feet away from me.
  447. <fringe_> tfw you're close enough to lynch me for my eccentricities, I best behave myself ayy lmao
  448. <Aebian> lol haha
  449. <fringe_> tfw download 1,090 book on fitness and nutrition (looks like survivalism too), https://8ch.net/vis/res/548.html ,,, my main occult library has no more than 200 books but only because I hold onto only the very best of thousands while my alt occult libraries have thousands..
RAW Paste Data
Top