You are not logged in.

#1 2018-04-22 07:23:49

Cyanux
Member
Registered: 2018-04-22
Posts: 6

[Solved] No input/output devices with discord-canary from AUR.

Hello people!

So... I may have forget something but I don't know why (captain obvious inside), I have the same problem on my laptop and my tower where I just installed Arch on both this week.

When I start discord-canary, everything seems to be fine, even from the terminal, there is no noticable errors, but when I lead to the user settings in "Voice & Video", it tells me that there is no input/output devices. However, i have discord notification sounds and the internal webcam of the laptop is
working (as good as it always did (in reversed, but it's fine, I hate webcams tongue)). But if the terminal output of discord-canary can help you, here it is:

DiscordCanary 0.0.45
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/cyanux/.config/discordcanary/0.0.45/modules
[Modules] Module installed file path: /home/cyanux/.config/discordcanary/0.0.45/modules/installed.json
[Modules] Module download path: /home/cyanux/.config/discordcanary/0.0.45/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at [url]https://discordapp.com/api/modules/canary/versions.json[/url]
[Modules] No module updates available.
[Modules] Starting to install discord_vigilante...
[Modules] Fetching discord_vigilante@0 from [url]https://discordapp.com/api/modules/canary/discord_vigilante/0[/url]
[Modules] Streaming discord_vigilante@0 [256 bytes] to /home/cyanux/.config/discordcanary/0.0.45/modules/pending/discord_vigilante-0.zip
[Modules] Finished module downloads. [success: 0] [failure: 1]

First I tought it was package problem, so I downloaded the sources from the Discord official website and got the same result.
Then I guess a user permission problem, and I added myself to the audio group (wich is normaly no longer necessary, I have read, but... Who doesn't try get's nothing...), and then, just to see but with even less hope, to the wheel group...

... And I still have no input/output devices.

As it happens on my 2 computers, it seems to be a general issue, but I didn't found anywhere a working solution (exept a guy who re-installed the .deb for his Ubuntu, if i remember right). In fact, duckduck and google were giving me very low amount of results.

Well, that's all the intel I got so far.

I'm heading to the Arch Linux discord to show them this topic, if we can find a solution there, i'll come back to post it.

Until then, have a nice day/evening/night here smile.


EDIT: As the problem is solved, here is the answer, you just need to install the pulseaudio packet as described here:
https://wiki.archlinux.org/index.php/PulseAudio

Last edited by Cyanux (2018-04-22 13:48:20)

Offline

#2 2018-04-22 08:18:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] No input/output devices with discord-canary from AUR.

Post

aplay -lL
sudo fuser -v /dev/snd/*
#If using pulse
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

during a not working situation, in [ code ] tags.

Offline

#3 2018-04-22 08:31:21

Cyanux
Member
Registered: 2018-04-22
Posts: 6

Re: [Solved] No input/output devices with discord-canary from AUR.

Thanks for quick answer smile.

[cyanux@nunux-alpha ~]$ aplay -lL
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC889 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC889 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: PCH [HDA Intel PCH], périphérique 0: ALC889 Analog [ALC889 Analog]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 1: ALC889 Digital [ALC889 Digital]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 8: HDMI 2 [HDMI 2]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 9: HDMI 3 [HDMI 3]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
[cyanux@nunux-alpha ~]$ sudo fuser -v /dev/snd/*
[cyanux@nunux-alpha ~]$ 

And I'm not using pulse.

EDIT: Aw, apparently i had something going, so I have edited the command from new output, soory, my bad sad ...

Last edited by Cyanux (2018-04-22 11:53:45)

Offline

#4 2018-04-22 11:44:46

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [Solved] No input/output devices with discord-canary from AUR.

Cyanux wrote:

And I'm not using pulse.

Someone correct me if I'm wrong, but this might be your the 'general' issue across your systems. As far as I'm aware Discord depends on PulseAudio for sound.

EDIT: Scratch that, apparently that's supposed to be optional.

Last edited by Omar007 (2018-04-22 11:48:14)

Offline

#5 2018-04-22 11:55:37

Cyanux
Member
Registered: 2018-04-22
Posts: 6

Re: [Solved] No input/output devices with discord-canary from AUR.

Omar007 wrote:
Cyanux wrote:

And I'm not using pulse.

Someone correct me if I'm wrong, but this might be your the 'general' issue across your systems. As far as I'm aware Discord depends on PulseAudio for sound.

EDIT: Scratch that, apparently that's supposed to be optional.

Well, anyway I'm planing to test with pulseaudio on the laptop, but I'll prefer to keep ALSA, as I always got some weirds problems with pulse.

EDIT: Reading that on the post install recommendations:

"Users may additionally wish to install and configure a sound server such as PulseAudio. For advanced audio requirements, see professional audio."

Maybe it is what I am missing... I'll try with that too.

Last edited by Cyanux (2018-04-22 12:02:31)

Offline

#6 2018-04-22 12:19:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] No input/output devices with discord-canary from AUR.

I just tried it, I also get this behaviour if I use ALSA only.  So it really might expect pulse. or it simply has no device control and actually attempting a call would work with the defaults.

Offline

#7 2018-04-22 12:37:43

Cyanux
Member
Registered: 2018-04-22
Posts: 6

Re: [Solved] No input/output devices with discord-canary from AUR.

Exept when the Discord say's "No input/output device" instead of "default", I guess. The menu is even unclickable. Some people already tried to speak with me, with ALSA.

Well, I just installed OSS on the laptop, but, a reason of why i don't like it is already occuring. It seems that i can't start the deamon. And i have blacklisted soundcore.

[cyanux@nunux-beta ~]$ cat /etc/modprobe.d/soundcore.conf
blacklist soundcore

and re-run mkinitcpio

[cyanux@nunux-beta oss]$ mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> ERROR: Unable to write to /boot/initramfs-linux.img
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> ERROR: Unable to write to /boot/initramfs-linux-fallback.img
[cyanux@nunux-beta oss]$ sudo mkinitcpio -p linux
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 4.16.2-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [encrypt]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 4.16.2-2-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [modconf]
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [encrypt]
  -> Running build hook: [lvm2]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

after a reboot, here is what I got from the deamon status:

[cyanux@nunux-beta ~]$ sudo systemctl status oss
[sudo] Mot de passe de cyanux : 
● oss.service - Open Sound System v4
   Loaded: loaded (/usr/lib/systemd/system/oss.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2018-04-22 14:25:06 CEST; 9min ago
  Process: 821 ExecStart=/usr/bin/soundon (code=exited, status=20)
 Main PID: 821 (code=exited, status=20)

avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/dm1105/dm1105.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/saa7164/saa7164.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/pt1/earth-pt1.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/cx18/cx18.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/cx18/cx18-alsa.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/zoran/videocodec.ko.xz is not a valid ELF object
avr 22 14:25:04 nunux-beta soundon[821]: /lib/modules/4.16.2-2-ARCH/kernel/drivers/media/pci/zoran/videocodec.ko.xz is not a valid ELF object
avr 22 14:25:06 nunux-beta systemd[1]: oss.service: Main process exited, code=exited, status=20/n/a
avr 22 14:25:06 nunux-beta systemd[1]: oss.service: Failed with result 'exit-code'.
avr 22 14:25:06 nunux-beta systemd[1]: Failed to start Open Sound System v4.

I guess i'll figure out on the web how to solve this problem but I just wanted to keep you in touch smile.

EDIT: looks like I have the same problem as there: https://bbs.archlinux.org/viewtopic.php?id=229320
Aaaaaah... What a pity, sometimes i feel like nothing is going right...
Good thing I'm not a lottery player.

Last edited by Cyanux (2018-04-22 13:10:50)

Offline

#8 2018-04-22 12:57:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] No input/output devices with discord-canary from AUR.

That's a weird conclusion to make. If it doesn't work with ALSA chances that it has OSS support are much slimmer. And from everything I've seen, chromium/electron on linux does not have OSS (and even if it had, I doubt the discord shipped libraries link against it) support which is what discord is based on. You do have device selection with pulseaudio, that I can guarantee you. Pulseaudio doesn't have any correlation with OSS though.

Last edited by V1del (2018-04-22 13:03:56)

Offline

#9 2018-04-22 13:31:59

Cyanux
Member
Registered: 2018-04-22
Posts: 6

Re: [Solved] No input/output devices with discord-canary from AUR.

Well, i'll continue to try to make it work, for both ALSA and OSS. But as pulseaudio is used for advanced configurations, I just installed it and apparently Discord needed it to work. I just talked a mate, just still a little problem, I have the sound only from one ear... But, it's better! We will manage it.

EDIT: Oh, and microphone is working to, i forgot to say.

EDIT2: Well, that's strange... Sometime I hear from left side only, and sometime it's on both...

EDIT3: Let's say it's solved... It seems that my circuits are runing on diesel. I did absolutly nothing, and it looks to be completely functionnal now.

EDIT4: Argh, forget the EDIT3 guys. But, anyway, it is no longer a Discord problem. I'll start another topic if I still can't have it working in nice stereo.

EDIT5: But, well, thanks for you help smile. I may not have thought to finaly install pulseaudio and pulseaudio-alsa without you smile.

Last edited by Cyanux (2018-04-22 13:46:29)

Offline

#10 2018-04-22 14:19:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [Solved] No input/output devices with discord-canary from AUR.

If you absolutely want to avoid pulse and an application requires pulse you might also have more success with the apulse wrapper utility.

However often reasons people have for avoiding pulse are based on outdated FUD. It's mixer is better than anything you can cook up with dmix.

Offline

#11 2018-04-23 08:38:38

Cyanux
Member
Registered: 2018-04-22
Posts: 6

Re: [Solved] No input/output devices with discord-canary from AUR.

It's fine, thanks, I didn't really wanted to avoid pulseaudio. It's just that I thought it wasn't necessary, as I don't really want to put too much useless things on my setup. I was more affraid about using OSS, because I had some bugs with it, especially with my not-so-young laptop (birth in 2007-2008, if i remember right). It's time for me to learn more about pulse, it seems smile.

And also, after a complete afternoon, it looks that my audio bug about hearing from one side only has disapear. What is strange is that I did absolutly nothing about that, exept listening some songs, I had to deal with others things first.

Offline

Board footer

Powered by FluxBB