• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 338 339 340 341 342 ... 1190 Next »

[SOLVED] No Sound / Ubuntu 14.04
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
[SOLVED] No Sound / Ubuntu 14.04
02-11-2017, 12:35 PM (This post was last modified: 02-11-2017, 05:08 PM by myo2. Edit Reason: wrong game name )
#1
myo2 Offline
Junior Member
**
Posts: 13
Threads: 2
Joined: Feb 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]
LastFilename = /home/mrkelly/Documents/emu/Fire Emblem - Path of Radiance (USA).iso
ShowLag = False
ShowFrameCount = False
ISOPaths = 1
RecursiveISOPaths = False
NANDRootPath =
DumpPath =
WirelessMac =
WiiSDCardPath = /home/mrkelly/.local/share/dolphin-emu/Wii/sd.raw
ISOPath0 = /home/mrkelly/Documents/emu
[Interface]
ConfirmStop = True
UsePanicHandlers = True
OnScreenDisplayMessages = True
HideCursor = False
AutoHideCursor = False
MainWindowPosX = 0
MainWindowPosY = 432
MainWindowWidth = 792
MainWindowHeight = 594
LanguageCode =
ShowToolbar = True
ShowStatusbar = True
ShowLogWindow = False
ShowLogConfigWindow = False
ExtendedFPSInfo = False
ThemeName = Clean
PauseOnFocusLost = False
DisableTooltips = False
[Display]
FullscreenResolution = Auto
Fullscreen = False
RenderToMain = False
RenderWindowXPos = 930
RenderWindowYPos = 716
RenderWindowWidth = 640
RenderWindowHeight = 480
RenderWindowAutoSize = False
KeepWindowOnTop = False
ProgressiveScan = False
PAL60 = True
DisableScreenSaver = True
ForceNTSCJ = False
[GameList]
ListDrives = False
ListWad = True
ListElfDol = True
ListWii = True
ListGC = True
ListJap = True
ListPal = True
ListUsa = True
ListAustralia = True
ListFrance = True
ListGermany = True
ListItaly = True
ListKorea = True
ListNetherlands = True
ListRussia = True
ListSpain = True
ListTaiwan = True
ListWorld = True
ListUnknown = True
ListSort = 3
ListSortSecondary = 0
ColorCompressed = True
ColumnPlatform = True
ColumnBanner = True
ColumnNotes = True
ColumnFileName = False
ColumnID = False
ColumnRegion = True
ColumnSize = True
ColumnState = True
[Core]
HLE_BS2 = False
TimingVariance = 40
CPUCore = 1
Fastmem = True
CPUThread = True
DSPHLE = False
SyncOnSkipIdle = True
SyncGPU = False
SyncGpuMaxDistance = 200000
SyncGpuMinDistance = -200000
SyncGpuOverclock = 1.00000000
FPRF = False
AccurateNaNs = False
DefaultISO =
DVDRoot =
Apploader =
EnableCheats = False
SelectedLanguage = 0
OverrideGCLang = False
DPL2Decoder = False
Latency = 2
MemcardAPath = /home/mrkelly/.local/share/dolphin-emu/GC/MemoryCardA.USA.raw
MemcardBPath = /home/mrkelly/.local/share/dolphin-emu/GC/MemoryCardB.USA.raw
AgpCartAPath =
AgpCartBPath =
SlotA = 1
SlotB = 255
SerialPort1 = 255
BBA_MAC =
SIDevice0 = 6
AdapterRumble0 = True
SimulateKonga0 = False
SIDevice1 = 0
AdapterRumble1 = True
SimulateKonga1 = False
SIDevice2 = 0
AdapterRumble2 = True
SimulateKonga2 = False
SIDevice3 = 0
AdapterRumble3 = True
SimulateKonga3 = False
WiiSDCard = False
WiiKeyboard = False
WiimoteContinuousScanning = False
WiimoteEnableSpeaker = False
RunCompareServer = False
RunCompareClient = False
EmulationSpeed = 1.00000000
FrameSkip = 0x00000000
Overclock = 1.00000000
OverclockEnable = False
GFXBackend =
GPUDeterminismMode = auto
PerfMapDir =
EnableCustomRTC = False
CustomRTCValue = 0x386d4380
[Movie]
PauseMovie = False
Author =
DumpFrames = False
DumpFramesSilent = False
ShowInputDisplay = False
ShowRTC = False
[DSP]
EnableJIT = False
DumpAudio = False
DumpAudioSilent = False
DumpUCode = False
Backend = OpenSLES
Volume = 100
CaptureLog = False
[Input]
BackgroundInput = False
[FifoPlayer]
LoopReplay = True
[Analytics]
ID = 0fb9124fe7d4d268ebba55cf73347ef0
Enabled = False
PermissionAsked = True
[Network]
SSLDumpRead = False
SSLDumpWrite = False
SSLVerifyCert = False
SSLDumpRootCA = False
SSLDumpPeerCert = False
[BluetoothPassthrough]
Enabled = False
VID = -1
PID = -1
LinkKeys =
[USBPassthrough]
Devices =
[Sysconf]
SensorBarPosition = 1
SensorBarSensitivity = 50331648
SpeakerVolume = 88
WiimoteMotor = True
WiiLanguage = 1
AspectRatio = 1
Screensaver = 0
Find
Reply
02-11-2017, 01:43 PM
#2
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,503
Threads: 55
Joined: Dec 2011
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.
Website Find
Reply
02-11-2017, 02:30 PM
#3
myo2 Offline
Junior Member
**
Posts: 13
Threads: 2
Joined: Feb 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?
Find
Reply
02-11-2017, 03:41 PM (This post was last modified: 02-11-2017, 03:42 PM by Shonumi.)
#4
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,503
Threads: 55
Joined: Dec 2011
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?
Website Find
Reply
02-11-2017, 04:08 PM (This post was last modified: 02-11-2017, 04:13 PM by myo2.)
#5
myo2 Offline
Junior Member
**
Posts: 13
Threads: 2
Joined: Feb 2017
Thumbs Up 
Forward progress!
During the first command of the install stage,
Code:
cmake ..
I get the following warnings : 

Code:
-- Could NOT find OpenSLES (missing:  OPENSLES_LIBRARY OPENSLES_INCLUDE_DIR) 

-- Could NOT find ALSA (missing:  ALSA_LIBRARY ALSA_INCLUDE_DIR) 
-- ALSA NOT found, disabling ALSA sound backend
-- Could NOT find AO (missing:  AO_LIBRARIES AO_INCLUDE_DIR) 
-- ao NOT found, disabling ao sound backend
-- Could NOT find OpenAL (missing:  OPENAL_LIBRARY OPENAL_INCLUDE_DIR) 
-- OpenAL NOT found, disabling OpenAL sound backend
-- PulseAudio NOT found, disabling PulseAudio sound backend
-- Could NOT find BlueZ (missing:  BlueZ_LIBRARIES BlueZ_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.
Find
Reply
02-11-2017, 04:27 PM
#6
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,503
Threads: 55
Joined: Dec 2011
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.
Website Find
Reply
02-11-2017, 05:08 PM
#7
myo2 Offline
Junior Member
**
Posts: 13
Threads: 2
Joined: Feb 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.
Find
Reply
02-11-2017, 06:22 PM
#8
Anti-Ultimate Offline
Above and Beyond
*******
Posts: 1,957
Threads: 29
Joined: May 2010
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.

Find
Reply
02-11-2017, 07:45 PM (This post was last modified: 02-11-2017, 07:47 PM by JosJuice.)
#9
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 8,843
Threads: 7
Joined: Oct 2014
(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 :

(02-11-2017, 04:42 AM)JosJuice Wrote: In the INI, replace "No audio output" with "OpenSLES".

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.
Find
Reply
02-15-2017, 02:04 AM
#10
degasus Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,827
Threads: 10
Joined: May 2012
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.
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode