gnarface | eyalroz: ~192000 bps??? come on man, try something normal | 00:00 |
---|---|---|
gnarface | eyalroz: 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 issue | 00:01 |
gnarface | eyalroz: like try recording something with arecord then playing it back | 00:01 |
gnarface | try something like arecord -f dat [test.wav] | 00:02 |
eyalroz | gnarface: Tried a .wav, that failed too | 00:02 |
eyalroz | [00007fb9ccc0b0c0] main decoder error: failed to create audio output | 00:02 |
eyalroz | [000055d0425c13a0] pulse audio output error: unsupported channel map | 00:02 |
eyalroz | [000055d0425c13a0] main audio output error: module not functional | 00:02 |
eyalroz | [00007fb9ccc0b0c0] main decoder error: failed to create audio output | 00:02 |
eyalroz | [00007fb9ccc0b0c0] main decoder error: buffer deadlock prevented | 00:02 |
gnarface | yikes | 00:02 |
gnarface | this used to work, right? | 00:02 |
eyalroz | for me? I don't think so. I didn't try to get audio notifications working on quassel before. | 00:03 |
gnarface | oh, 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 errors | 00:03 |
gnarface | ok | 00:03 |
gnarface | but only quassel has problems, right? | 00:03 |
gnarface | like, this works, right? speaker-test -c 2 -r 48000 -f S16_LE -t wav | 00:04 |
gnarface | also check for residual alsa configs with pulseaudio slugs in them in /etc/alsa or ~/.asoundrc | 00:05 |
eyalroz | gnarface: 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 |
eyalroz | the speaker test works. | 00:06 |
gnarface | ok that's a good sign | 00:06 |
gnarface | eyalroz: pastebin the output of this: aplay --verbose --dump-hw-params /dev/zero | 00:08 |
eyalroz | gnarface: As root or regular user? | 00:09 |
gnarface | shouldn't matter | 00:10 |
eyalroz | As regular user: https://pastebin.com/YeC5Y2Dx | 00:10 |
gnarface | ok, looks completely normal as far as i can tell, though i'm no expert | 00:11 |
gnarface | i 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 defaults | 00:11 |
gnarface | there is one thing you can try that all alsa-supporting programs are supposed to obey no matter what: $ALSA_CARD | 00:12 |
gnarface | something like ALSA_CARD="hw" quassel | 00:13 |
gnarface | or ALSA_CARD=default quassel (though that should already be the default...) | 00:13 |
gnarface | or maybe even, if i have this right... ALSA_CARD="plug:\"dmix:hw,0\"" quassel | 00:14 |
gnarface | or maybe: ALSA_CARD="plug:\"dmix:hw\"" apulse quassel | 00:15 |
gnarface | i'm not sure | 00:15 |
gnarface | but someone certainly has to have run into this before. you can't be the first one | 00:15 |
gnarface | someone knows how to work around this | 00:15 |
gnarface | i think i even once knew how to work around this but i've forgotten because i never had to use it myself | 00:19 |
gnarface | eyalroz: does quassel have a irc channel you can ask about this? | 00:31 |
eyalroz | gnarface: Dunno. | 00:31 |
eyalroz | I guess I could look for one. | 00:32 |
* gnarface didn't mean he had to leave here though... | 00:32 | |
gnarface | oh good you came back | 00:32 |
eyalroz | I was trying your ALSA_CARD="plug..." command | 00:33 |
eyalroz | No luck | 00:33 |
gnarface | i 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 format | 00:33 |
gnarface | if you can figure out what a program is doing wrong, you can often route around the misbehavior with a custom ~/.asoundrc | 00:33 |
gnarface | sometimes that even works for driver bugs too | 00:34 |
golinux | arch wiki has good audio info | 00:34 |
golinux | I have a .asoundrc file | 00:34 |
calamari | Does Devuan still track Debian stable releases? | 01:08 |
golinux | Right now ascii is tracking stretch = oldstable and beowulf (our testing) is tracking Buster = stable | 01:12 |
golinux | That's why Devuan recommends using release codenames in sources.list. | 01:13 |
golinux | calamari: ^^^ | 01:13 |
calamari | golinux: thank you | 01:15 |
furrywolf | katsmeow-afk: just got home from work | 03:07 |
furrywolf | grr, wrong window | 03:17 |
agris | I 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 Devuan | 05:27 |
agris | Are there any optimizations I should know about that would account for why it's going to slow? | 05:27 |
furrywolf | make sure you're using a usb 3 reader that supports the protocol the card uses, plugged into a usb 3 port... | 05:27 |
agris | there is no overhead. I'm simply doing dd if=/dev/mmcblk0 of /home/dump.img | 05:28 |
furrywolf | always use a bs= with dd for benchmarking. try dd bs=1M | 05:28 |
agris | furrywolf, I tried bs=4M, 8M, 16M, and 64M but 16 and up only decrease the speed from 20MB/s to 18MB/s | 05:29 |
agris | also, it's not a USB interface. It's a PCI Express sdcard reader | 05:29 |
furrywolf | so you're not simply doing what you said you were simply doing, then. :P | 05:29 |
agris | and the destination device is a ssd | 05:30 |
furrywolf | make sure the pcie reader supports the protocol the card uses, then. | 05:30 |
agris | furrywolf, I omitted the custom bs after testing it didn't make a difference | 05:30 |
inklr | i've been using dd close to 20 years and blocksize usually made a significant difference | 05:31 |
furrywolf | also, make sure the card is not counterfeit, crappy, etc. | 05:31 |
inklr | agris: is there a different os that gives you faster /real/ transfer rates? | 05:32 |
inklr | and isn't lying to you due to caching? | 05:32 |
inklr | linux kernel did have a bad large-file copy problem but that was solved long ago | 05:33 |
agris | It'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 |
inklr | not if it's counterfeit | 05:33 |
agris | it's not. I remember when I bought it | 05:33 |
furrywolf | my 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 |
agris | I'm using the internal reader in the ThinkPad T430. looking up specs for it now | 05:34 |
inklr | sd benching usually uses bs-1M | 05:35 |
inklr | also do an echo 3 > /proc/sys/vm/drop_caches | 05:35 |
inklr | also make your target of=/dev/null to test read speeds | 05:36 |
agris | ok hold on | 05:36 |
furrywolf | I'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 |
furrywolf | sounds like it has a lot of problems on windows too | 05:38 |
furrywolf | if it doesn't do uhs-1, you're not going to get the full speed of the card. | 05:41 |
inklr | reading from an 'intenso' 16GB SD HC over usb2.0 with transcend cardreader gets me 19.5MB/s which is typical | 05:44 |
furrywolf | I'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 |
furrywolf | found it. | 05:45 |
* furrywolf tries a 256GB read test | 05:46 | |
inklr | ah the intenso is rated at 20MB/s | 05:46 |
furrywolf | most older readers are | 05:47 |
furrywolf | it's whether they're high speed or uhs. | 05:47 |
furrywolf | new ones are uhs | 05:47 |
furrywolf | 13916700672 bytes (14 GB, 13 GiB) copied, 88.4757 s, 157 MB/s | 05:48 |
furrywolf | 157MB/sec. sd reading is working great here! | 05:48 |
furrywolf | that'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 adapter | 05:48 |
furrywolf | I've been very impressed with this sandisk extreme card. it really does its advertised speeds, in real-world usage. | 05:49 |
furrywolf | spec is "Up to 160MB/s read" and I'm getting 157MB/src. | 05:50 |
inklr | my SanDisk Ultra A1 128GB MicroSD XC Class 10 UHS-1 claims 100MB/s and i get 19.6MB/s over this usb2.0 adapter | 05:53 |
furrywolf | https://www.sdcard.org/developers/overview/bus_speed/ | 05:53 |
furrywolf | if you use a slow adapter on a slow bus, you're going to get slow speeds. heh. | 05:53 |
inklr | yeh usb 2.0 is limited to around 30-35MB/s | 05:54 |
furrywolf | I got a usb3 expresscard adapter because I was sick of being limited to the built-in usb2 ports | 05:54 |
furrywolf | be warned the cheap ebay ones are garbage. some are even destructively bad. | 05:55 |
furrywolf | http://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 |
inklr | wow | 05:57 |
furrywolf | and, 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 |
furrywolf | after about the third time the laptop instantly powered off because I plugged something in upside down, it got tossed. | 05:58 |
furrywolf | oh, and its speeds were barely better than usb2. | 06:00 |
furrywolf | I think the one I have now is a startech, don't remember. and not going to pop it out to check. | 06:00 |
onefang | Probably much less after you shorted out everything. | 06:00 |
furrywolf | yes. :P | 06:01 |
furrywolf | this 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 |
furrywolf | hrmm. 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 |
furrywolf | it was holding at 155MB/sec to about how much of the card I've used, and now it's totally tanked. | 06:13 |
phillipsjk | IMO, 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 |
phillipsjk | furrywolf, I could see them assuming you would write before reading to save zeroing the whole device. | 07:24 |
phillipsjk | Whatever encoding method they use could be running into a lot of ECC errors. | 07:25 |
inklr | i would like that sound card switcher if it works with alsa | 23:41 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!