libera/#devuan/ Wednesday, 2019-10-09

gnarfaceeyalroz: ~192000 bps??? come on man, try something normal00:00
gnarfaceeyalroz: you gotta start with something matching the native hardware format your audio device supports first, to narrow down the cause of this error between a insurmountable driver issue or a self-inflicted configuration issue00:01
gnarfaceeyalroz: like try recording something with arecord then playing it back00:01
gnarfacetry something like arecord -f dat [test.wav]00:02
eyalrozgnarface: Tried a .wav, that failed too00:02
eyalroz[00007fb9ccc0b0c0] main decoder error: failed to create audio output00:02
eyalroz[000055d0425c13a0] pulse audio output error: unsupported channel map00:02
eyalroz[000055d0425c13a0] main audio output error: module not functional00:02
eyalroz[00007fb9ccc0b0c0] main decoder error: failed to create audio output00:02
eyalroz[00007fb9ccc0b0c0] main decoder error: buffer deadlock prevented00:02
gnarfaceyikes00:02
gnarfacethis used to work, right?00:02
eyalrozfor me? I don't think so. I didn't try to get audio notifications working on quassel before.00:03
gnarfaceoh,  i was wondering if the issue is being complicated by a driver or program crash that has hung and tied up the card.  that could cause similar errors00:03
gnarfaceok00:03
gnarfacebut only quassel has problems, right?00:03
gnarfacelike, this works, right?  speaker-test -c 2 -r 48000 -f S16_LE -t wav00:04
gnarfacealso check for residual alsa configs with pulseaudio slugs in them in /etc/alsa or ~/.asoundrc00:05
eyalrozgnarface: I don't know about problems anywhere else, but I haven't actively looked. I play audio with a bunch of apps and they work.00:06
eyalrozthe speaker test works.00:06
gnarfaceok that's a good sign00:06
gnarfaceeyalroz: pastebin the output of this:  aplay --verbose --dump-hw-params /dev/zero00:08
eyalrozgnarface: As root or regular user?00:09
gnarfaceshouldn't matter00:10
eyalrozAs regular user: https://pastebin.com/YeC5Y2Dx00:10
gnarfaceok, looks completely normal as far as i can tell, though i'm no expert00:11
gnarfacei have to conclude the issue is in quassel itself, but i'm having trouble coming up with any documentation on the audio configuration for it.  there *should* be some way to override it's defaults00:11
gnarfacethere is one thing you can try that all alsa-supporting programs are supposed to obey no matter what:  $ALSA_CARD00:12
gnarfacesomething like ALSA_CARD="hw" quassel00:13
gnarfaceor ALSA_CARD=default quassel (though that should already be the default...)00:13
gnarfaceor maybe even, if i have this right... ALSA_CARD="plug:\"dmix:hw,0\"" quassel00:14
gnarfaceor maybe: ALSA_CARD="plug:\"dmix:hw\"" apulse quassel00:15
gnarfacei'm not sure00:15
gnarfacebut someone certainly has to have run into this before.  you can't be the first one00:15
gnarfacesomeone knows how to work around this00:15
gnarfacei think i even once knew how to work around this but i've forgotten because i never had to use it myself00:19
gnarfaceeyalroz: does quassel have a irc channel you can ask about this?00:31
eyalrozgnarface: Dunno.00:31
eyalrozI guess I could look for one.00:32
* gnarface didn't mean he had to leave here though...00:32
gnarfaceoh good you came back00:32
eyalrozI was trying your ALSA_CARD="plug..." command00:33
eyalrozNo luck00:33
gnarfacei was gonna say, even if they can point you in the right general direction i might be able to help with some basics of the ~/.asoundrc config format00:33
gnarfaceif you can figure out what a program is doing wrong, you can often route around the misbehavior with a custom ~/.asoundrc00:33
gnarfacesometimes that even works for driver bugs too00:34
golinuxarch wiki has good audio info00:34
golinuxI have a .asoundrc file00:34
calamariDoes Devuan still track Debian stable releases?01:08
golinuxRight now ascii is tracking stretch = oldstable and beowulf (our testing) is tracking Buster = stable01:12
golinuxThat's why Devuan recommends using release codenames in sources.list.01:13
golinuxcalamari: ^^^01:13
calamarigolinux: thank you01:15
furrywolfkatsmeow-afk:  just got home from work03:07
furrywolfgrr, wrong window03:17
agrisI have a sdcard I am reading from directly and it's rated for 95MB/s read speed however I'm only able to get 20MB/s using Devuan05:27
agrisAre there any optimizations I should know about that would account for why it's going to slow?05:27
furrywolfmake sure you're using a usb 3 reader that supports the protocol the card uses, plugged into a usb 3 port...05:27
agristhere is no overhead. I'm simply doing dd if=/dev/mmcblk0 of /home/dump.img05:28
furrywolfalways use a bs= with dd for benchmarking.  try dd bs=1M05:28
agrisfurrywolf, I tried bs=4M, 8M, 16M, and 64M but 16 and up only decrease the speed from 20MB/s to 18MB/s05:29
agrisalso, it's not a USB interface. It's a PCI Express sdcard reader05:29
furrywolfso you're not simply doing what you said you were simply doing, then.  :P05:29
agrisand the destination device is a ssd05:30
furrywolfmake sure the pcie reader supports the protocol the card uses, then.05:30
agrisfurrywolf, I omitted the custom bs after testing it didn't make a difference05:30
inklri've been using dd close to 20 years and blocksize usually made a significant difference05:31
furrywolfalso, make sure the card is not counterfeit, crappy, etc.05:31
inklragris: is there a different os that gives you faster /real/ transfer rates?05:32
inklrand isn't lying to you due to caching?05:32
inklrlinux kernel did have a bad large-file copy problem but that was solved long ago05:33
agrisIt's this one https://www.samsung.com/us/computing/memory-storage/memory-cards/microsdhc-evo-plus-memory-card-w--adapter-32gb--2017-model--mb-mc32ga-am/05:33
inklrnot if it's counterfeit05:33
agrisit's not. I remember when I bought it05:33
furrywolfmy sandisk extreme 256gb microsd using the supplied usb3 reader on a usb3 expresscard gives pretty close to advertised speeds, which is quite impressive.  I think I got around 80MB/sec write and 130MB/sec read.05:33
agrisI'm using the internal reader in the ThinkPad T430. looking up specs for it now05:34
inklrsd benching usually uses bs-1M05:35
inklralso do an echo 3 > /proc/sys/vm/drop_caches05:35
inklralso make your target of=/dev/null to test read speeds05:36
agrisok hold on05:36
furrywolfI'm not finding much on that built-in reader, but it seems old.  it could be it just doesn't support the newer features of the card.05:37
furrywolfsounds like it has a lot of problems on windows too05:38
furrywolfif it doesn't do uhs-1, you're not going to get the full speed of the card.05:41
inklrreading from an 'intenso' 16GB SD HC over usb2.0 with transcend cardreader gets me 19.5MB/s which is typical05:44
furrywolfI'd do a test, but I'm not sure where my fast card is right now.  heh.  it's in a mp3 player I was using last month...05:45
furrywolffound it.05:45
* furrywolf tries a 256GB read test05:46
inklrah the intenso is rated at 20MB/s05:46
furrywolfmost older readers are05:47
furrywolfit's whether they're high speed or uhs.05:47
furrywolfnew ones are uhs05:47
furrywolf13916700672 bytes (14 GB, 13 GiB) copied, 88.4757 s, 157 MB/s05:48
furrywolf157MB/sec.  sd reading is working great here!05:48
furrywolfthat's dd bs=1M if=/dev/sdc of=/dev/null of my sandisk extreme 256gb in the sandisk mobilemate (if I remember the name right) usb 3 reader, stuck into my crappy usb3 expresscard adapter05:48
furrywolfI've been very impressed with this sandisk extreme card.  it really does its advertised speeds, in real-world usage.05:49
furrywolfspec is "Up to 160MB/s read" and I'm getting 157MB/src.05:50
inklrmy SanDisk Ultra A1 128GB MicroSD XC Class 10 UHS-1  claims 100MB/s and i get 19.6MB/s over this usb2.0 adapter05:53
furrywolfhttps://www.sdcard.org/developers/overview/bus_speed/05:53
furrywolfif you use a slow adapter on a slow bus, you're going to get slow speeds.  heh.05:53
inklryeh usb 2.0 is limited to around 30-35MB/s05:54
furrywolfI got a usb3 expresscard adapter because I was sick of being limited to the built-in usb2 ports05:54
furrywolfbe warned the cheap ebay ones are garbage.  some are even destructively bad.05:55
furrywolfhttp://fw.bushytails.net/posusbadapterplugs01.jpg  that's the first ebay one I tried.  note the contact plate is perfectly centered in the plug.  note plugs plug in perfectly easily in either direction.  note one way works.  note one way shorts all four pins together with the housing of the plug.  note this causes the laptop's power supply to become unhappy...05:57
inklrwow05:57
furrywolfand, of course, being a crappy ebay card, it has no current limiting or polyfuses on its usb plugs, so when you short them, it shorts the laptop's power rail.05:58
furrywolfafter about the third time the laptop instantly powered off because I plugged something in upside down, it got tossed.05:58
furrywolfoh, and its speeds were barely better than usb2.06:00
furrywolfI think the one I have now is a startech, don't remember.  and not going to pop it out to check.06:00
onefangProbably much less after you shorted out everything.06:00
furrywolfyes.  :P06:01
furrywolfthis laptop has a built-in reader that looks very similar to the one thinkpads use...  I'll try a test on it in a bit.06:02
furrywolfhrmm.  read speeds are going down significantly towards the end of this card.  I think it's slower reading blocks I've never written to.06:12
furrywolfit was holding at 155MB/sec to about how much of the card I've used, and now it's totally tanked.06:13
phillipsjkIMO, USB3 was crazy: "Let's accomodate all the violations we see in the USB2 spec!" Plug in up-side-down / Over-current? / Over-voltage? /07:21
phillipsjkfurrywolf, I could see them assuming you would write before reading to save zeroing the whole device.07:24
phillipsjkWhatever encoding method they use could be running into a lot of ECC errors.07:25
inklri would like that sound card switcher if it works with alsa23:41

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!