No DVD Audio on Ubuntu 9.10
#1
I have just upgraded my Linux machine to Ubuntu 9.10, and upgraded XBMC to the new Alpha 2 release. Everything works... except that DVDs are totally silent.

I get the message "Unable to initialize audio device" when I try to play a DVD. Video works, but no audio. AVIs and other files work fine -- it's just playing DVDs. The same DVDs work fine if I just play them in Totem -- the problem's unique to XBMC. I'm using an SPDIF passthrough to an AC3/DTS receiver.

I've tried all the sound settings inside XBMC to no avail. My debug log shows this when I try to play a DVD:

Quote:18:43:05 T:3056597872 M:1831133184 DEBUG: LinuxRendererGL: Cleaning up GL resources
18:43:05 T:3056597872 M:1831133184 DEBUG: SECTION:LoadDLL(special://xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so)
18:43:05 T:3056597872 M:1831133184 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/swscale-0.6.1-i486-linux.so
18:43:05 T:3056597872 M:1831006208 NOTICE: running thread: video_thread
18:43:05 T:3056597872 M:1831006208 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_RESYNC(-33366.666667, 1)
18:43:05 T:2918288240 M:1831006208 NOTICE: Opening audio stream: 3 source: 256
18:43:05 T:2918288240 M:1830879232 NOTICE: Finding audio codec for: 86020
18:43:05 T:2918288240 M:1830879232 DEBUG: FactoryCodec - Audio: passthrough - Opening
18:43:05 T:2918288240 M:1830752256 DEBUG: SECTION:LoadDLL(special://xbmc/system/players/dvdplayer/liba52-i486-linux.so)
18:43:05 T:2918288240 M:1830625280 DEBUG: Loading: /usr/share/xbmc/system/players/dvdplayer/liba52-i486-linux.so
18:43:05 T:2918288240 M:1829609472 DEBUG: FactoryCodec - Audio: passthrough - Opened
18:43:05 T:2918288240 M:1829609472 NOTICE: Creating audio thread
18:43:05 T:3047140208 M:1829609472 DEBUG: thread start, auto delete: 0
18:43:05 T:3047140208 M:1829609472 NOTICE: running thread: CDVDPlayerAudio:Tonguerocess()
18:43:05 T:3056597872 M:1829482496 NOTICE: fps: 25.000000, pwidth: 720, pheight: 480, dwidth: 853, dheight: 480
18:43:05 T:3056597872 M:1829482496 DEBUG: OutputPicture - change configuration. 720x480. framerate: 25.00
18:43:05 T:3056597872 M:1829482496 NOTICE: Display resolution ADJUST : 1080p60 (Full Screen) (12)
18:43:05 T:3056597872 M:1829482496 WARNING: Upscale: possible given resolution increase.
18:43:05 T:3056597872 M:1829482496 WARNING: Upscale: selected algorithm 8
18:43:05 T:3047140208 M:1827450880 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_RESYNC(0.000000, 0)
18:43:05 T:3047140208 M:1827450880 DEBUG: ParseFrame - source flags changed flags:2 sr:48000 br:192000
18:43:05 T:3047140208 M:1827450880 NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
18:43:05 T:3047140208 M:1827450880 INFO: AudioRendererFactory: not a explicit device, trying to autodetect.
18:43:05 T:3047140208 M:1827450880 DEBUG: PulseAudio: Opening Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec AC3 - IsMusic false - IsPassthrough true - device: iec958
18:43:05 T:2933508976 M:1820594176 DEBUG: FileCurl::Close(0xaed9b120) http://xoap.weather.com/weather/local/US...145f208494
18:43:05 T:2933508976 M:1820594176 INFO: WEATHER: Weather download successful
18:43:06 T:3062348656 M:1817546752 DEBUG: FileCurl::Close(0xb687a140) http://feeds.feedburner.com/xbmc
18:43:06 T:3062348656 M:1817546752 DEBUG: Got rss feed: http://feeds.feedburner.com/xbmc
18:43:06 T:3062348656 M:1817546752 DEBUG: RSS feed encoding: ISO-8859-1
18:43:06 T:3062348656 M:1817546752 DEBUG: Parsed rss feed: http://feeds.feedburner.com/xbmc
18:43:06 T:3062348656 M:1817546752 DEBUG: Thread 3062348656 terminating
18:43:06 T:3056597872 M:1817546752 DEBUG: CDVDVideoCodecLibMpeg2::m_bFilm = true
18:43:06 T:3056597872 M:1817546752 DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
18:43:06 T:3078674288 M:1817419776 DEBUG: OnPlayBackStarted - Playback has started
18:43:06 T:3078674288 M:1817419776 NOTICE: Using GL_TEXTURE_2D
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Requested render method: 2
18:43:06 T:3078674288 M:1817419776 NOTICE: GL: Shaders support not present, falling back to SW mode
18:43:06 T:3078674288 M:1817419776 NOTICE: GL: NPOT texture support detected
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 480
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 240
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 240
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 480
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 240
18:43:06 T:3078674288 M:1817419776 DEBUG: GL: Creating RGB NPOT texture of size 720 x 240
18:43:06 T:3047140208 M:1817165824 DEBUG: CGUIAudioManager:Big GrineInitialize
18:43:06 T:3047140208 M:1817038848 WARNING: PulseAudio: Does not support passthrough
18:43:06 T:3047140208 M:1817038848 DEBUG: CALSADirectSound::CALSADirectSound - Channels: 2 - SampleRate: 48000 - SampleBit: 16 - Resample false - Codec AC3 - IsMusic false - IsPassthrough true - audioDevice: iec958
18:43:06 T:3047140208 M:1817038848 DEBUG: Initialize - using alsa device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2
18:43:06 T:3047140208 M:1816530944 ERROR: Initialize - device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 busy retrying...
18:43:06 T:3078674288 M:1815769088 DEBUG: CGUIInfoManager::SetCurrentMovie(dvd://1)
18:43:06 T:3078674288 M:1815769088 DEBUG: GetMovieId (dvd://1), query = select idMovie from movie where idFile=6
18:43:06 T:3078674288 M:1815769088 DEBUG: GetEpisodeId (dvd://1), query = select idEpisode from episode where idFile=6
18:43:06 T:3078674288 M:1815769088 DEBUG: GetMusicVideoId (dvd://1), query = select idMVideo from musicvideo where idFile=6
18:43:06 T:3078674288 M:1815769088 DEBUG: Activating window ID: 12005
18:43:06 T:3078674288 M:1815769088 DEBUG: Checking if window ID 12005 is locked.
18:43:06 T:3078674288 M:1815769088 DEBUG: ------ Window Deinit (Home.xml) ------
18:43:06 T:3078674288 M:1815769088 DEBUG: ------ Window Init (VideoFullScreen.xml) ------
18:43:06 T:3078674288 M:1815769088 INFO: Loading skin file: VideoFullScreen.xml
18:43:06 T:3078674288 M:1815769088 DEBUG: Load VideoFullScreen.xml: 1.16ms
18:43:06 T:3078674288 M:1815769088 DEBUG: Alloc resources: 1.27ms (1.27 ms skin load)
18:43:06 T:3078674288 M:1815769088 INFO: Loading skin file: VideoOSD.xml
18:43:06 T:3078674288 M:1815769088 DEBUG: Load VideoOSD.xml: 5.63ms
18:43:06 T:3078674288 M:1815642112 DEBUG: Alloc resources: 8.97ms (0.00 ms skin load)
18:43:06 T:3078674288 M:1815642112 INFO: Loading skin file: VideoOSDSettings.xml
18:43:06 T:3078674288 M:1815642112 DEBUG: Load VideoOSDSettings.xml: 2.59ms
18:43:06 T:3078674288 M:1812975616 DEBUG: Alloc resources: 24.82ms (0.00 ms skin load)
18:43:06 T:3078674288 M:1812975616 INFO: Loading skin file: VideoOSDSettings.xml
18:43:06 T:3078674288 M:1812975616 DEBUG: Load VideoOSDSettings.xml: 2.64ms
18:43:06 T:3078674288 M:1812975616 DEBUG: Alloc resources: 0.11ms (0.00 ms skin load)
18:43:06 T:3047140208 M:1812107264 ERROR: Initialize - failed to open custom device iec958:AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2, retry with default iec958
18:43:06 T:3047140208 M:1812107264 ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
18:43:06 T:3047140208 M:1812107264 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
18:43:06 T:3047140208 M:1812107264 DEBUG: CDVDPlayerAudio:: synctype set to 0: clock feedback
18:43:06 T:3047140208 M:1812107264 DEBUG: CDVDPlayerAudio:: Discontinuty - was:809366.786333, should be:17.712343, error:-809349.073991
18:43:06 T:3078674288 M:1812107264 DEBUG: ------ Window Init (DialogKaiToast.xml) ------
18:43:06 T:3078674288 M:1812107264 DEBUG: Alloc resources: 0.00ms (0.00 ms skin load)
18:43:09 T:3078674288 M:1810735104 DEBUG: SDLKeyboard: scancode: 9, sym: 27, unicode: 27, modifier: 0
18:43:09 T:3078674288 M:1810735104 DEBUG: OnKey: 61467 pressed, action is 18
18:43:09 T:3078674288 M:1810735104 DEBUG: Switching to GUI
18:43:09 T:3078674288 M:1810735104 DEBUG: CGUIWindowManager:TonguereviousWindow: Deactivate
18:43:09 T:3078674288 M:1810735104 DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
18:43:09 T:3078674288 M:1810735104 DEBUG: CGUIWindowManager:TonguereviousWindow: Activate new

Any ideas as to what's failing? It's weird that DVDs don't work in XBMC but work everywhere else.

On Ubuntu 9.04, and the previous released version of XBMC, they played without any issues.
Reply
#2
Check your alsamixer settings. type alsamixer from the terminal.

If that does not work, try apt-get remove alsa then apt-get purge alsa, then apt-get install alsa
Reply

Logout Mark Read Team Forum Stats Members Help
No DVD Audio on Ubuntu 9.100