Kodi Community Forum
Linux XBMCBuntu Frodo RC - AE: Error - no devices found - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Linux XBMCBuntu Frodo RC - AE: Error - no devices found (/showthread.php?tid=145451)

Pages: 1 2 3 4 5 6 7 8 9


XBMCBuntu Frodo RC - AE: Error - no devices found - tripkip - 2012-11-17

Under Settings/System/Audio output it says "Error - no devices found" for Audio output device and Pasthrough output device.

I'm using an optical audio connection on a AT5IONT-I mobo. (Nvidia)

Debug log: http://pastebin.com/Fsp2DX0i

Code:
xbmc@HTPC:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=Intel
    HDA Intel, ALC887 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC887 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC887 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions

Update
Audio works booting XBMC from the installation USB flash drive with AVR turned on.
Audio works first boot after fresh install with AVR turned on, after a reboot (AVR still turned on) audio is gone and "Error - no devices found" in audio output settings.

Update 2
This issue seems to be related to using an SSD see page 7,8.

(2012-11-28, 02:48)Quiptix Wrote: I have this problem since I added a SSD to the HTPC.
Based on previous solution a have added a sleep 10 in /etc/init/lightdm.conf just before the actual start of lightdm.

The audio subsystem is not initialized yet without this wait which yields in not finding any audio devices.

Somehow there needs to be soms check that (all) sound systems are intialized or you need to make sure lightdm is the absolute last process to boot.

Vincent

Related tickets:
http://trac.xbmc.org/ticket/13703
http://trac.xbmc.org/ticket/13578


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

I would bet a handful of pubic hair, that this is a permissions issue (since I experienced this myself) Though yours its xbmcbuntu and probably wacked, again.

User groups permissions http://forum.xbmc.org/showthread.php?tid=141369&pid=1217997#pid1217997

Though obvious make sure its the username running xbmc, in my case the username is xbmc to make things "simpler"

In the event I just lost a bet there's also a bug ad a PR for something like this. https://github.com/xbmc/xbmc/pull/1779

whoopla +1

uNi




RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - wsnipex - 2012-11-17

this is probably a know issue: https://github.com/xbmc/xbmc/pull/1779

if you happen to be able to compile yourself, please try with this patch applied and report back.


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

uNi usermod didn't fix it.

wsnipex I'll try to compile it and report back.


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

When you report back can I have the result of

Code:
id $USER

Make sure you run that in your username and not under root in case.

uNi


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

(2012-11-17, 19:49)uNiversal Wrote: When you report back can I have the result of

Code:
id $USER

Code:
uid=1000(xbmc) gid=1000(xbmc) groups=1000(xbmc),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),104(fuse)



RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

add your xbmc to users it needs users, see the link I gave you

see mine gid=1000(xbmc) groups=1000(xbmc),4(adm),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),100(users),104(fuse)

uNi




RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

(2012-11-17, 20:28)uNiversal Wrote: add your xbmc to users it needs users, see the link I gave you

see mine gid=1000(xbmc) groups=1000(xbmc),4(adm),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),100(users),104(fuse)

uNi


Code:
xbmc@HTPC:~/xbmc$ sudo adduser xbmc users
The user `xbmc' is already a member of `users'.



RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

Not according to you id $USER result :/

uNI


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

(2012-11-17, 20:43)uNiversal Wrote: Not according to you id $USER result :/

uNI

I know it is really weird. I'm compiling with the patch right now, but I'm wondering if "sudo make install" will replace xbmc on XBMCBuntu because I think the binary on XBMCBuntu is called xbmc-standalone?

Code:
xbmc@HTPC:~$ whereis -b xbmc
xbmc: /usr/bin/xbmc /etc/xbmc /usr/lib/xbmc /usr/bin/X11/xbmc /usr/share/xbmc
xbmc@HTPC:~$ whereis -b xbmc-standalone
xbmc-standalone: /usr/bin/xbmc-standalone /usr/bin/X11/xbmc-standalone



RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

(2012-11-17, 17:56)wsnipex Wrote: this is probably a know issue: https://github.com/xbmc/xbmc/pull/1779

if you happen to be able to compile yourself, please try with this patch applied and report back.

Tried hard. Failed to compile.

Uppdate

-----------------------
XBMC built successfully
-----------------------

Patch is working, because the error is gone and I can select a few output devices.
Sadly I cannot get any sound. I tried all the output devices and I'm sure that my receiver is capable of DTS/AC3 (worked perfectly in Eden btw).


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

Try removing any asound.conf or .asoundrc you may have.

uNI


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-17

(2012-11-17, 23:29)uNiversal Wrote: Try removing any asound.conf or .asoundrc you may have.

uNI

Removed both files and now I'm back to Error no devices Tongue



RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - un1versal - 2012-11-17

try this asound http://forum.xbmc.org/showthread.php?tid=145430

uNi


RE: XBMCBuntu Frodo beta 1 - AE: Error - no devices found - tripkip - 2012-11-18

(2012-11-17, 23:40)uNiversal Wrote: try this asound http://forum.xbmc.org/showthread.php?tid=145430

uNi

Same error.

Code:
xbmc@HTPC:~$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=Intel
    HDA Intel, ALC887 Analog
    Default Audio Device
sysdefault:CARD=Intel
    HDA Intel, ALC887 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Front speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC887 Digital
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct sample mixing device
dmix:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct sample snooping device
hw:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
    HDA Intel, ALC887 Analog
    Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
    HDA Intel, ALC887 Digital
    Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
dmix:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct sample snooping device
hw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 0
    Hardware device with all software conversions