Background music doesn't play
4 posters
Page 1 of 1
Background music doesn't play
Hello,
I have detected the following behavior:
If we change the render to Vulkan, load a rom and close it, when we return to EmulationStation the background music does not play.
It does correctly with opengl.
Here is the place to report the behaviors that we are detecting or better add them in the github?
Greetings,
I have detected the following behavior:
If we change the render to Vulkan, load a rom and close it, when we return to EmulationStation the background music does not play.
It does correctly with opengl.
Here is the place to report the behaviors that we are detecting or better add them in the github?
Greetings,
lopapa- Messages : 25
Date d'inscription : 2020-06-09
Re: Background music doesn't play
Hello, give me more details, with which cores?
-------------- Please -------------
The board rules: https://retrobat.forumgaming.fr/t51-read-befor-posting-retrobat-forum-rules
BEFORE POSTING !!!!
READ:
English FAQ: https://retrobat.forumgaming.fr/t135-faq-retrobat-wip
French FAQ: https://retrobat.forumgaming.fr/t136-faq-retrobat-wip
Spanish FAQ: https://retrobat.forumgaming.fr/t854-faq-retrobat-wip
Retrobat Wiki (english & french): https://wiki.retrobat.org/
and:
Choose an avatar: https://retrobat.forumgaming.fr/t1190-avatar-how-to-choose-an-avatar-on-the-forum
and say "Hello"
Lorenzolamas- Admin
- Messages : 2641
Date d'inscription : 2019-07-28
Re: Background music doesn't play
I'm think is with all cores.
But I tried with:
Flycast
Beetle PSX HW
snes9x
mgba
nestopia
gambatte
genesis plus gx
mupen64 plus next (v2.1 with vulkan support)
parellel
fbneo
neocd
For example, if I launch a snes9x rom with the gl core render, when I close the rom and return to emulationstation the background music persists. If I do the same test with the vulkan render, when I return to emulationstation the music doesn't play.
I use mp3 with cbr coding at 128kbs.
Regards,
But I tried with:
Flycast
Beetle PSX HW
snes9x
mgba
nestopia
gambatte
genesis plus gx
mupen64 plus next (v2.1 with vulkan support)
parellel
fbneo
neocd
For example, if I launch a snes9x rom with the gl core render, when I close the rom and return to emulationstation the background music persists. If I do the same test with the vulkan render, when I return to emulationstation the music doesn't play.
I use mp3 with cbr coding at 128kbs.
Regards,
lopapa- Messages : 25
Date d'inscription : 2020-06-09
Lorenzolamas likes this post
Re: Background music doesn't play
Thanks for your feedback... very strange, we are several retrobat users to have tested with the parameters that you give us, and we do not meet this problem.
-------------- Please -------------
The board rules: https://retrobat.forumgaming.fr/t51-read-befor-posting-retrobat-forum-rules
BEFORE POSTING !!!!
READ:
English FAQ: https://retrobat.forumgaming.fr/t135-faq-retrobat-wip
French FAQ: https://retrobat.forumgaming.fr/t136-faq-retrobat-wip
Spanish FAQ: https://retrobat.forumgaming.fr/t854-faq-retrobat-wip
Retrobat Wiki (english & french): https://wiki.retrobat.org/
and:
Choose an avatar: https://retrobat.forumgaming.fr/t1190-avatar-how-to-choose-an-avatar-on-the-forum
and say "Hello"
Lorenzolamas- Admin
- Messages : 2641
Date d'inscription : 2019-07-28
Re: Background music doesn't play
There's absolutely no reason Vulkan ( which is related to video ) corrupts the bg music.
What's in the es_log.txt file, when U come back from a game ? ( see "AudioManager" lines )
Anyway, I don't know what we can do. We don't reproduce it. Maybe it's simply related to your audio drivers. Try upgrade them.
What's in the es_log.txt file, when U come back from a game ? ( see "AudioManager" lines )
Anyway, I don't know what we can do. We don't reproduce it. Maybe it's simply related to your audio drivers. Try upgrade them.
f.caruso- Admin
- Messages : 43
Date d'inscription : 2020-05-09
Re: Background music doesn't play
f.caruso wrote:There's absolutely no reason Vulkan ( which is related to video ) corrupts the bg music.
What's in the es_log.txt file, when U come back from a game ? ( see "AudioManager" lines )
Anyway, I don't know what we can do. We don't reproduce it. Maybe it's simply related to your audio drivers. Try upgrade them.
I deleted the log file before I ran the tests. I started emulationstation, with music. When I started a rom and closed it, I came back to ES without music.
I've attached the log.
https://wetransfer.com/downloads/df0e04e7e618c8fb8d8450ec05f2e99d20200721200423/ccf141b311760f0264f0fd7455d54d1520200721200437/d5bb6b
I'm beginning to suspect that the problem is the platform and drivers used. I am currently on a NUC BOXNUC8I3BEH2 (i3-89109u with intel iris 655) and another NUC NUC7CJYH2 (celeron J4005 with UHD 600). If I launch retroarch directly with vulkan, without going through retrobat.exe, the same thing happens to me, I have no sound in the roms. This does not happen to me with an MSI laptop with NVIDIA 1070 (running the same retrobat installation). I'll continue to investigate, but with the information I have on the table, aim for drivers.
If I find something I will tell you.
Greetings!
lopapa- Messages : 25
Date d'inscription : 2020-06-09
Re: Background music doesn't play
Log does not help. It just shows that you launched ES but you leaved immediately without even launching a game.
f.caruso- Admin
- Messages : 43
Date d'inscription : 2020-05-09
Re: Background music doesn't play
f.caruso wrote:Log does not help. It just shows that you launched ES but you leaved immediately without even launching a game.
I just did another test and the log shows something interesting, I attach the interesting lines:
2020-07-22 11:49:11 WARNING requested mismatched theme type for [Tiles.gridtile] - expected "ninepatch", got "text"
2020-07-22 11:49:11 WARNING requested mismatched theme type for [Tiles.gridtile:selected] - expected "ninepatch", got "text"
2020-07-22 11:49:18 INFO req sound [Tiles.launch]
2020-07-22 11:49:18 INFO (missing)
2020-07-22 11:49:19 INFO Attempting to launch game...
2020-07-22 11:49:19 INFO SDL AUDIO Deinitialized
2020-07-22 11:49:19 INFO Configure emulators command : -p1index 0 -p1guid 030000000d0f00008400000000016800 -p1name "HORI CO.,LTD. Fighting Commander" -p1nbbuttons 16 -p1nbhats 0 -p1nbaxes 6
2020-07-22 11:49:19 INFO D:/OneDrive/Retrogaming/RetroBat/emulationstation\emulatorLauncher.exe -p1index 0 -p1guid 030000000d0f00008400000000016800 -p1name "HORI CO.,LTD. Fighting Commander" -p1nbbuttons 16 -p1nbhats 0 -p1nbaxes 6 -system fba -emulator libretro -core fbneo -rom "D:\OneDrive\Retrogaming\RetroBat\roms\fbneo\1944.zip"
2020-07-22 11:51:13 INFO Window::init
2020-07-22 11:51:13 INFO Added known joystick HORI CO.,LTD. Fighting Commander (instance ID: 1, device index: 0)
2020-07-22 11:51:13 ERROR VolumeControl::init() - Failed to get default audio endpoint!
2020-07-22 11:51:13 ERROR MUSIC Error - Unable to open SDLMixer audio: WASAPI can't find requested audio endpoint: No se ha encontrado el elemento.
2020-07-22 11:51:13 WARNING requested mismatched theme type for [Tiles.gridtile] - expected "video", got "text"
2020-07-22 11:51:13 WARNING requested mismatched theme type for [Tiles.gridtile] - expected "ninepatch", got "text"
I've tested with WASAPi exclusive mode on and off (with a windows restart on every change), with the same results.
I have also installed the vulkan runtimes, without changes. ( https://vulkan.lunarg.com/sdk/home )
lopapa- Messages : 25
Date d'inscription : 2020-06-09
Re: Background music doesn't play
I really don't see how we can help. It really looks like it's a driver problem with WASAPI once it is used by retroarch it's not available anymore to the other apps, it acts just like the wasapi audio device disappeared.
Try another driver... Or avoid Vulkan... Or avoid playing music ;-)
Try another driver... Or avoid Vulkan... Or avoid playing music ;-)
f.caruso- Admin
- Messages : 43
Date d'inscription : 2020-05-09
Re: Background music doesn't play
Or maybe try to change retroarch audio driver, see if that changes something.
f.caruso- Admin
- Messages : 43
Date d'inscription : 2020-05-09
Re: Background music doesn't play
f.caruso wrote:I really don't see how we can help. It really looks like it's a driver problem with WASAPI once it is used by retroarch it's not available anymore to the other apps, it acts just like the wasapi audio device disappeared.
Try another driver... Or avoid Vulkan... Or avoid playing music ;-)
I tried all the retroarch audio engines, and with the vulkan graphic rendering the only audio engine that works is dsound. With the other audio engines there is no sound.
The use of vulkan is to take advantage of the swap chain at 2 instead of 3 and the hard gpu for free. That is, to reduce latency, especially on cores where run_ahead is not possible. (hardware accelerated cores)
It's not really a serious problem, with glcore or directx12 rendering everything works very well, but with more inputlag. I think it can survive. And I remember, it happens to me with integrated intel graphics, with dedicated graphics cards I haven't experienced it.
We will keep on investigating, if I find the solution I will comment on the forums
lopapa- Messages : 25
Date d'inscription : 2020-06-09
Re: Background music doesn't play
Retroarch d3d11 or d3d12 video driver and wasapi or dsound audio driver can work fine on Windows.
I didn't find emulatorstation's sound card driver configuration in retrobat
Retrobat 3.1 should be the sdl driver used
I didn't find emulatorstation's sound card driver configuration in retrobat
Retrobat 3.1 should be the sdl driver used
sakurayz- Messages : 3
Date d'inscription : 2020-11-11
Similar topics
» Background Music (Fade in/out when game loads) and (Continue playing music)
» Ps1 games don't play in game music
» Background music for windows games
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» How to do texture replacement in play psx games?
» Ps1 games don't play in game music
» Background music for windows games
» background music not turning off when launching steam game from retrobat (ea sports pga tour golf game)
» How to do texture replacement in play psx games?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum