Ubuntu Multimedia :: Sound Not Working (in XBMC) On Server
May 29, 2011
I've been trying for a day to get sounds working on my HTPC which is running Ubuntu Server (Natty) and XBMC from the repositories. I have so far had no luck, with not so much as a peep on any channel - analog, optical or over HDMI.
My setup is a ASUS AT3IONT-I with an Intel Atom CPU. I think this is a common configuration which should not require any special treatment, and I also have a friend with the same hardware and no problems running XBMC on OpenSUSE.
XBMC is installed according to the instructions here [URL] with a user named xbmc etc. It works wonderfully in every aspect except that the sound is missing alltogether.
I've been following [URL] for troubleshooting but have now run out of ideas, which is why I'm asking you.
Code:
aplay -l
gives me
Code:
**** List of PLAYBACK Hardware Devices ****
[Code]....
I tried filling in with all the details I could think of, but if you wish to know something more I'll be glad to provide it.
I am at the end of my tether in trying to get sound setup on my Ubuntu installation. I have tried many different 'fixes' that people have suggested, but none seem to work!
My setup is as follows: > HP Proliant Microserver > Ubuntu 10.10 > Zotac GT210 card > HDMI from GFX card to AV amp > 5GB Ram
What I want to be able to do is:
> Play music from FLAC files I have ripped in either stereo or sudo 5.1 > Play DVD iso files that I have ripped in the audio format found on the original discs (DTS etc)
I have managed to get sound working before, but only in stereo and I couldn't get it working in XBMC (not the sound from the main movie I chose anyway). I have since completely broken the sound after trying various things found on the interweb and cannot get it back.
Alright, the lifehacker article about this Acer machine got me interested in revisiting XBMC as a media center. I bought the AR1600-U910H from Newegg and have been struggling for a couple of weeks to get it working correctly. I opted to install a full Ubuntu desktop to utilize the hardware fully with a standalone version of XBMC. I am currently running Lucid with NVIDIA 256.25 (was running 195 series) driver. Switched to 256 because I heard it fixes the no multi-channel output problem. However, sadly I can't get multi-channel out to work. I have the HDMI output going through my Onkyo TX-SR608 receiver for both audio and video. My problem is I can only get stereo sound out while running XBMC (or any application for that matter).
I've upgraded Alsa to 1.0.23. I've installed new Beta 256.25 NVIDIA driver. I've configured Alsa about 28 different times. I'm at my wits end. So, my question is - does anybody having a similar setup with the ION chip (or the Acer Aspire Revo in particular) where they can succesfully get HDMI digital audio pass through to a receiver (or at least digital multi channel out)? The best I've gotten is 2 channel audio, which doesn't do a lot of good on a 5.1 setup. If I would have known getting multichannel audio would be so difficult I would have rethought starting this endeavor. I don't care if I have to do a fresh reinstall of everything - if that means a different version Ubuntu so be it.
I am having problems: videos have sound, but no picture.I'm using a Gigabyte motherboard with integrated ATI video, and I've read before that XBMC (and Ubuntu in general) don't like ATI too much. Is there any hope left to make XBMC work?I've tried the following:1. Fresh Ubuntu installation, default ATI drivers. Result: when starting a video, audio is okay, but no video. Also, visibly slow graphics even while navigating XBMC menus
2. Installed ATI/AMD proprietary FGLRX driver via System->Hardware drivers. Result: significantly accelerated menu navigation, but no video still. Note: having no problems watching videos via VLC or Totem Movie Player (after downloading proper codecs)3. Fresh Ubuntu installation, then downloaded and installed ATI's proprietary Linux drivers from ATI's site (ati-driver-installer-10-7-x86.x86_64.run). Result: yippee, I see some video, but wait: no color!! (all videos are in sepia-like mode)
4. Followed these instructions to install the unofficial ATI drivers. Result: total failure, XBMC won't even start, says something about the need to have proper hardware OpenGL acceleration.System info:GIGABYTE GA-MA785GMT-UD2H AM3 AMD 785G mobo with ATI Radeon HD 4200 onboard graphicsAMD Phenom II X2 550 processor4 gigs of DDR3 RAM Ubuntu Lucid 32 bit (2.6.32-24-generic-pae)
There is no sound when playing avi files in XBMC.The videos play fine & there is sounds in menu.When i switch to Root the movies have sound,so whats wrong here?
I've been having strange problems with my server/media center setup lately: The movie just stops in XBMC, as if it had reached the end, randomly, some times only once in a movie, sometimes every 5 min. Then, I have to rewind all the way to where I was to resume the movie.
I'll explain my setup:
Server with Ubuntu Server 8.04 with samba/lighttpd/proftpd/etc. which contains all the media (192.168.0.104) -10meters cable-> dlink di-634 router (192.168.0.1) -> internet -30meters cable-> dlink di-624+ router (192.168.10.1) -10meters cable-> Media PC which runs Xubuntu 8.10 (due to massive slowdown with the integrated intel gpu in 9.04) running XBMC 9.04. (192.168.10.102)
I use samba to serve the videos to the media center. I have considered putting them all into the hdd of the media center, but then I would have to put more HD's into it, and that would cause cooling issues due to the case being very small. Having a server has proven quite useful too. The movies I'm watching are in 480p or smaller resolution. First, my routers were in opposite positions. But the di-624+ couldn't take all the traffic going through it anymore after a couple of additional laptops were added to the network, and started rebooting frequently. I thought this was the reason for the stopping, so I decided to switch places (the DI-634 is more stable and also has much better wireless range, being newer and having dual antennas). After doing this, the same thing still happens, and looking at the routers' logs, they don't say anything about rebooting (also I was connected to IRC all the time, no disconnects there either).
Then, I figured my server was running out of RAM or something similiar, but I ruled that out after checking it (it only uses about 10% RAM, processor loads stay at about 1 all the time. I probably forgot to mention this, but this setup used to work 100% before. I haven't changed anything, besides updating both machines with apt-get update & upgrade.
Playing a song works at first; then it quits after 1-5 minutes. If you select a different output device, it will work for another 1-5 minutes, but switching back to an already used up device will not play sound. Running 'sudo killall pulseaudio' resets everything and each output device works for another 1-5 minutes. This is on on 9.10.
After installing I was not able to get many of the audio programmes to work. After some reading, I realised that this was probably due to jack not starting.
I was unable to get jack to start normally but have been able to get it started with the playback only option selected. Programmes that use jack now work, however there is no sound once jack has been started. The sound does work in other programs when jack is not started. Strangely, I only have to open qjackctl for the sound to stop, and jack is not even started. Initially I thought these problems were due to my sound card not being supported, but I believe that alsa support was added for the via 1708 codec at some point. I found that support had been added in a document showing the changes between alsa versions; however I cannot find the exact model listed as a supported sound card on the alsa site.
I believe that altering jack settings could fix the problem, as i have been able to get audio to work in hydrogen by selecting plughw:0 but there is still no sound in other programs. I have tried altering many other settings but to no avail, however I do not really understand the meaning of the settings that i am adjusting.
Does anyone know what settings to adjust or know something else that might fix this problem so that sound works once jack has been started?
Also, would programmes that use jack such as audacity, hydrogen, and ardour work with pulseaudio as the main sound server if I were to install normal ubuntu - it might be worth seeing if my soundcard works with the puleaudio sound server
if this helps, here is the error message received when jack does not start when the normal duplex option is selected.
21:24:04.867 Patchbay deactivated. 21:24:04.868 Statistics reset. 21:24:04.886 ALSA connection change. Cannot connect to server socket err = Connection refused
[Code].....
also, when i open alsamixer in the terminal for some reason the headphone part is greyed out, even when the sound is working before qjackctl is opened.
i'm using lucid and have ATI Radeon HD 4650 1GB graphics card. I installed ATI's drivers and XBMC used to work perfectly, but now after i disabled them and activated them again i have this problem:
Quote:
igor@igor-desktop:~$ xbmc /usr/share/themes/MurrinaLoveGray/gtk-2.0/gtkrc:50: Murrine configuration option "scrollbar_color" is no longer supported and will be ignored. XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "�." after 137 requests (136 known processed) with 0 events remaining.
When i start it,i see very strange image,like hundreds of rectangles with parts of images from games,applications,even parts of my Windows desktop (which is on another partition). And after 2-3 seconds,it exits.
I recently installed XBMC and Boxee on my Linux laptop, but neither of them are connecting to the internet. Since I'd like to try XBMC first, I'll talk about that here. When I run the program, I do not have a Live TV icon or link on the side. I can see my Music, Programs, Settings, Pictures, Video and Weather links on the sidebar, but my Weather page is blank as in I do not see any weather forecasts or whatever else ought to be on that page. I thought that maybe since I was running XBMC as a user there might be some permissions issues, so I ran "sudo xbmc" and received an error message "Do_Wait: DRMWaitBlank returned -1, IRQs Don't Seem to be working correctly. Try adjusting the vBlank_mode configuration parameter." No idea what that means. I've tried connecting both via Ethernet and my WiFi.
I am really having a tough time getting my MCE remote to work with XBMC. I have got to the point where sometimes it work but then it gets VERY sluggish and my system crashes.
Code: #This configuration has been automatically generated via #the Ubuntu LIRC package maintainer scripts. #It includes the default configuration for the remote and/or #transmitter that you have selected during package installation.
I am wondering if there is a way to check how much cpu does xbmc use. I am asking because xbmc always run in full screen and I am not sure how to access system information or the terminal when it is running.
I have just installed 9.10, unfortunately sound is not working. I have an 275 gtx video card that is connected via HDMI cable. The spdif is connected via the motherboard and video card.
I've been using Ubuntu for several months now. The sound was working just fine until now. I installed an update I put off that came 9/20/10. I restarted and my sound no longer works. The speakers built into the laptop doesn't work nor do the headphones. I tried going to the preferences to fix it, but my sound card info wasn't there anymore. Dummy Output was in my Output. I've been searching frantically for a solution but found none. I think my driver has been uninstalled some how but I'm not sure. I use the laptop for multimedia purposes, so please respond as soon as possible. I would GREATLY appreciate it. I have Ubuntu 10.04 on my Acer Aspire 5532 laptop.
I just installed Ubuntu 10.10 on my laptop on a seperate partition, so completely clean install, now I've installed various wireless card drivers and the likes. It all works perfectly. Except for, of course, my sound. I am on a Dell Studio XPS 16, and I've tried google searching but no one has had the same problem it seems.
I installed ubuntu 10.10 a couple weeks ago onto a brand new drive in this old AMD XP3200 system on a soyo motherboard with a VIA 8237. I had sound originally. I notice 2 of my channels on this 5.1 system weren't working. So I came to this thread and tried some of the solutions there. One of them, I think "update", "upgrade" and uninstall, reinstall alsa caused me to lose sound completely, the speaker icon on the top panel disappeared at the same time and cannot be recovered through panel preferences.
Through following some suggestions I found on various threads, It seems ubuntu sees my correct card, has the correct driver installed, I have my user prefs set up to use sound, I don't have anything muted anywhere that I can tell, yet no sound, not even the familiar click of the speakers when booting up. Any suggestions short of reloading from scratch?I do get some errors on some searches, but not really sure what they mean or it they affect anything like the one below:
My sound is working, though the problem is a bit difficult to describe. The sound seems to be off, not playing certain particular frequencies. I have gotten the sound to work on Windows, so I do not believe it is a hardware problem.
I do not understand the KDE sound system well enough to know where to start. I have tried removing PulseAudio to use ALSA, but the problem still seems to be there. I believe I picked the correct driver for ALSA, also with no effect. I tried Xine instead of GStreamer
28/12/2009 I installed Ubuntu minimal AMD64 and followed the following guide to install it as an HTPC using XBMC. Note that that date was after XBMC's 9.11 official release.[URL]...give and take really minor adaptions, since the guide is not entirely 1 on 1. The process installed XBMC Beta 1 though.
Now, when I do: - sudo apt-get update / upgrade The result is: Code: The following packages have been kept back:
[Code]...
libsdl1.2debian-alsa: Conflicts: libsdl1.2debian-pulseaudio but 1.2.13-4ubuntu4 is to be installed.libsdl1.2debian-pulseaudio: Conflicts: libsdl1.2debian-alsa but 1.2.13-4ubuntu4 is installed. sudo aptitude -> g -> results in a list of 45 files which will be automatically removed. Some of these are libvdpau1, pkg-config, pmount, xinit, xserver-common, xserver-xorg, *-core, *-input-all, *-evdev, *-mouse, *-synaptics etc. A lot of which are needed as aptitude reports by the package xbmc-common, which I suppose XBMC needs to operate.
I do not want to "autoremove". I did that before and that resulted in having a corrupted system and hence the new installation of 28/12. Any idea what is wrong? Why wasn't the official release installed and was Beta1 chosen instead? Why does Aptitude propose to have all these necessary packages deleted? And of course, why am I not able to upgrade to XBMC's latest and final version? How can I?
thought I'd take the plunge and use it as the OS for a new HTPS running XBMC. I installed a second 1TB HDD to use as a media tank that I formatted to NTFS. All is well except I cannot get XBMC to see the second drive. Its mounted and I can access it no worries, but when I go into Videos,> add source, > i'm given the home folder and my network as options, neither of which have the second drive on them. (my windows network can see the second drive but it doesn't appear as an option in XBMC
I've also posted this on XBMC forumsut also posting here to see if anyone else has an idea...I've done a clean install of Ubuntu 10.04I'm running a Zotac Nvidia IONITX-F 330 motherboard with 4Gb ramNvidia drivers 195.36.24I've got XBMC from the SVN and compiled it. (revision 29717)here's the xbmc log file: http://ubuntu.pastebin.com/MD2b23RhIf I start xbmc from a terminal window, all I see is a black screen with the cursor.To stop it i have to run
Code: killall xbmc.bin Heres the output from the terminal window:
I know it's old lol but probably better than the onboard graphics. The computer is a Compaq Presario sr1403wm. I checked proprietary drivers and there are none available. The graphics run smooth on the desktop and I don't have Compiz enabled. is the graphics card just too old for XBMC? Weird thing is, I also have the same problem in Ubuntu on my good desktop when it's connected to my TV. Just using a normal VGA cable. If I have it connected to my computer monitor using a DVI cable, there's no problem. The only thing I thought of was maybe the resolution was too high, but that made no difference with either computer. If this computer is too old for XBMC, what would be second best in line? MythTV? Doesn't need TV capabilities. Just to watch what's already on the computer. I just really like the XBMC interface and the fact that I can boot right into the interface and of course all the cool plugins and whatnot.
I regularly use XBMC on my htpc. Everything seems to work just fine except that I cannot watch DVDs with it. It just never detects a DVD. If I insert a DVD with XBMC running, it just lets me browse the files. If I select the video files it plays some of them (depending on the DVD apparently). If I click on the play button it says that no disk is detected. There is nothing that I can see in the log file and seems relevant. I really don't know what to do. The computer is an HP z555. I just modified it by adding more ram and I changed the video card for an NVIDIA 8400GS. It is running Ubuntu Lucid and XBMC 9.11 installed from the PPA repository. The dvds play well with totem, vlc and mplayer
I just built up an Acer Revo 3600 HTPC using Ubuntu. Right now I'm using a wireless keyboard and mouse but I'd like to get a remote control to interface with XBMC. There seem to be many remotes that work under windows but I am having a hard time finding a remote that works with Ubuntu. What are people using to control their Ubuntu-based HTPCs these days?