![]() |
|
[SOLVED] No Sound / Ubuntu 14.04 - Printable Version +- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org) +-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support) +--- Forum: Support (https://forums.dolphin-emu.org/Forum-support) +--- Thread: [SOLVED] No Sound / Ubuntu 14.04 (/Thread-solved-no-sound-ubuntu-14-04) Pages:
1
2
|
[SOLVED] No Sound / Ubuntu 14.04 - myo2 - 02-11-2017 Hello All, I accidentally put this in another subforum, but it belongs here. I'm trying to play Fire Emblem Path of Radiance, but the sound emulation is not working. The first reason seemed to be that my audio backend dropdown menu had no other options than "No audio output," and I wondered what I could put in the .ini file. That prompted this response : (02-11-2017, 04:42 AM)JosJuice Wrote: In the INI, replace "No audio output" with "OpenSLES". That unfortunately did not fix the issue. I'm putting my .ini below, maybe you can find another issue with it. Also worth mentioning-- the dropdown menu had a blank field for the Audio Backend option after putting OpenSLES in the .ini Code: [General]RE: No Sound / Ubuntu 14.04 - Shonumi - 02-11-2017 How did you get Dolphin on Ubuntu? Last time I heard, most repos had some issues with the package, so installing it that way might not be the best idea. It seems weird that no audio backend is detected and available in the options, so it seems like simply putting an audio backend into the .ini won't work. There's a deeper problem going on, probably. If you haven't already, try compiling Dolphin yourself. Just follow these instructions. Without changing anything, the default Dolphin build will try to use audio backends like OpenAL, ALSA, and PulseAudio on Linux. RE: No Sound / Ubuntu 14.04 - myo2 - 02-11-2017 I did not install with a package manager, but I compiled the source through git as you suggest. This does not, by default, enable those backends. How would you suggest that I point Dolphin to the backends you mention? RE: No Sound / Ubuntu 14.04 - Shonumi - 02-11-2017 The backends are enabled via the CMakeList.txt file when you run CMake during the build process. As long as you don't touch that, Dolphin will build with those available backends. It seems like your problem is that even when building with the proper backends, Dolphin simply doesn't detect them (or can't use them) at runtime... Does Dolphin say anything when you open up a terminal and run it from there? Any logs that print out? Probably a long-shot, but what happens when you run Dolphin as root? RE: No Sound / Ubuntu 14.04 - myo2 - 02-11-2017 Forward progress! During the first command of the install stage, Code: cmake ..Code: -- Could NOT find OpenSLES (missing: OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR) So clearly something is failing to be detected. I'm going to try to figure out rational values for what I can only assume are environment variables and then try again. RE: No Sound / Ubuntu 14.04 - Shonumi - 02-11-2017 Yeah, those are clearly telling us CMake can't find a lot of relevant libs to build Dolphin. If I recall correctly, the audio backends are optional, so not having those during compiling is non-fatal. If you are using Ubuntu's package manager for other software on your system, make sure you grab the "-dev" packages or whatever is labeled as the "development" package. E.g. for ALSA, I believe it's alsa-lib, and for OpenAL it's libalut-dev or something like that. RE: No Sound / Ubuntu 14.04 - myo2 - 02-11-2017 Fixed! I installed both libraries (although I believe that the appropriate ALSA packages are libalsaplayer0 libalsaplayer-dev ). For whatever reason openAL is working better. I'll change the subject line to reflect that it's solved. I'd like to suggest that compiling without ANY working audio backends be considered a fatal error during the initial cmake command. RE: [SOLVED] No Sound / Ubuntu 14.04 - Anti-Ultimate - 02-11-2017 It's advised to upgrade to Ubuntu 16.04 anyways, it requires GCC 5 now. Unless Dolphin adopts AppImage (I haven't got a response to anyone about that yet. I don't think it will actually happen), most Linux users will have to compile it for themselves anyways. RE: [SOLVED] No Sound / Ubuntu 14.04 - JosJuice - 02-11-2017 (02-11-2017, 12:35 PM)myo2 Wrote: The first reason seemed to be that my audio backend dropdown menu had no other options than "No audio output," and I wondered what I could put in the .ini file. That prompted this response : I was assuming that you were using Android because you asked in a thread in the Android subforum. That advice doesn't apply to other operating systems. EDIT: Oh, sorry, it seems like you were aware of that already. I didn't see your most recent reply in that topic until now. RE: [SOLVED] No Sound / Ubuntu 14.04 - degasus - 02-15-2017 May I suggest to use the pulseaudio backend instead? The code in dolphin is better, and you likely use it anyway on ubuntu. This will lower the audio latency by almost 100ms. |