Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Groovymame sound problem on a specific game  (Read 459 times)

0 Members and 1 Guest are viewing this topic.

Josef1975

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
    • MY ARCADE CABINET
Groovymame sound problem on a specific game
« on: March 12, 2018, 01:08:15 pm »
Hi, I'm running groovymame (hanyor666 build) 0.194 64bit on my cab (arcade monitor by hantarex, cpu E8400 3.12ghz, 4gb ram, ati hd5450 , crt emudriver, audigy se, ssd hdd) and almost all game run at their original resolution (or close to it) with one exception: raiden2 is running in interlaced mode and the audio (background music to be more specific) is distorted/slowed down; is the only game with this two issue. I'm using portaudio, anyway the problem is the same with classic directsound. other games like raiden 1 run in non-interlaced mode and I don't hear any audio distortion. I don't thik it's a slow cpu problem... here's a log file: (thank you for any help)
Code: [Select]
Microsoft Windows [Versione 6.1.7601]
Copyright (c) 2010 Microsoft Corporation.  All rights reserved.

C:\Users\Ladercab>cd \mame

C:\mame>mame raiden2 -v
SwitchRes: v0.017g, Monitor: arcade_15, Orientation: horizontal, Modeline genera
tion: enabled
SwitchRes: Monitor range 15625.00-16200.00,49.50-65.00,2.000,4.700,8.000,0.064,0
.192,1.024,0,0,192,288,448,576
SwitchRes: \\.\DISPLAY1: AMD Radeon HD 5450 (PCI\VEN_1002&DEV_68F9&SUBSYS_E23317
4B&REV_00)
SwitchRes: Device key: System\CurrentControlSet\Control\Video\{5C369313-482A-44D
9-A92D-3A176DA9C9D4}\0000
ATI/AMD ADL init
Catalyst Version 15.8
ADL functions retrieved successfully.
Switchres: Searching for custom video modes...
Switchres: [  1]  640x 480 @ 60 : ATI ADL timing "640x480_60 15.685000KHz 59.980
881Hz" 13.050000 640 664 728 832 480 483 489 523 interlace  -hsync -vsync
Switchres: [  2]  640x 480 @ 30* : ATI ADL timing "640x480_30 15.685000KHz 59.98
0881Hz" 13.050000 640 664 728 832 480 483 489 523 interlace  -hsync -vsync
Switchres: [  3] 2560x 240 @ 60 : ATI ADL timing "2560x240_60 15.661000KHz 60.00
3830Hz" 52.120000 2560 2664 2912 3328 240 242 245 261   -hsync -vsync
Switchres: [  4] 2560x 248 @ 60 : ATI ADL timing "2560x248_60 16.139000KHz 59.99
6281Hz" 54.230000 2560 2672 2928 3360 248 250 253 269   -hsync -vsync
Switchres: [  5] 2560x 256 @ 58 : ATI ADL timing "2560x256_58 16.199000KHz 58.48
0145Hz" 54.430000 2560 2672 2928 3360 256 258 261 277   -hsync -vsync
Switchres: [  6] 2560x 264 @ 57 : ATI ADL timing "2560x264_57 16.199000KHz 56.83
8596Hz" 54.430000 2560 2672 2928 3360 264 266 269 285   -hsync -vsync
Switchres: [  7] 2560x 272 @ 55 : ATI ADL timing "2560x272_55 16.199000KHz 55.28
6690Hz" 54.430000 2560 2672 2928 3360 272 274 277 293   -hsync -vsync
Switchres: [  8] 2560x 280 @ 54 : ATI ADL timing "2560x280_54 16.199000KHz 53.81
7276Hz" 54.430000 2560 2672 2928 3360 280 282 285 301   -hsync -vsync
Switchres: [  9] 2560x 288 @ 52 : ATI ADL timing "2560x288_52 16.199000KHz 52.42
3946Hz" 54.430000 2560 2672 2928 3360 288 290 293 309   -hsync -vsync
Switchres: [ 10] 2560x 448 @ 60 : ATI ADL timing "2560x448_60 15.691000KHz 60.00
3822Hz" 52.220000 2560 2664 2912 3328 448 467 473 523 interlace  -hsync -vsync
Switchres: [ 11] 2560x 464 @ 60 : ATI ADL timing "2560x464_60 15.691000KHz 60.00
3822Hz" 52.220000 2560 2664 2912 3328 464 475 481 523 interlace  -hsync -vsync
Switchres: [ 12] 2560x 480 @ 60 : ATI ADL timing "2560x480_60 15.691000KHz 60.00
3822Hz" 52.220000 2560 2664 2912 3328 480 483 489 523 interlace  -hsync -vsync
Switchres: [ 13] 2560x 496 @ 60 : ATI ADL timing "2560x496_60 16.169000KHz 59.99
6288Hz" 54.330000 2560 2672 2928 3360 496 499 505 539 interlace  -hsync -vsync
Switchres: [ 14] 2560x 512 @ 58 : ATI ADL timing "2560x512_58 16.229000KHz 58.48
2883Hz" 54.660000 2560 2672 2928 3368 512 515 521 555 interlace  -hsync -vsync
Switchres: [ 15] 2560x 544 @ 55 : ATI ADL timing "2560x544_55 16.226000KHz 55.28
4496Hz" 54.650000 2560 2672 2928 3368 544 547 553 587 interlace  -hsync -vsync
Switchres: [ 16] 2560x 560 @ 54 : ATI ADL timing "2560x560_54 16.226000KHz 53.81
7577Hz" 54.650000 2560 2672 2928 3368 560 563 569 603 interlace  -hsync -vsync
SwitchRes: Found 16 custom of 16 active video modes

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.017g:[raiden2] Calculating best video mode for 240x320@55.407803 o
rientation: rotated

SwitchRes: [ 640]x[ 480]_(60=59.980881Hz)
   rng(0):  640 x 480_55.407803i 15.652704 [fract] scale(1, 1, 1) diff(33.33, 45
.39, 0.0000) ratio(2.667, 1.500)

SwitchRes: [ 640]x[ 480]_[30=59.980881Hz]
   rng(0):  640 x 480_59.980881i 15.685000 [fract] scale(1, 1, 1) diff(33.33, 49
.04, 4.5731) ratio(2.667, 1.500)

SwitchRes: [2560]x[ 240]_(60=60.003830Hz)
   rng(0): 2560 x 240_55.407803p 15.625000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, 0.0000) ratio(10.667, 0.750)

SwitchRes: [2560]x[ 248]_(60=59.996281Hz)
   rng(0): 2560 x 248_55.407803p 15.625000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, 0.0000) ratio(10.667, 0.775)

SwitchRes: [2560]x[ 256]_(58=58.480145Hz)
   rng(0): 2560 x 256_55.407803p 15.625000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, 0.0000) ratio(10.667, 0.800)

SwitchRes: [2560]x[ 264]_(57=56.838596Hz)
   rng(0): 2560 x 264_55.407803p 15.735816 [fract] scale(7, 1, 1) diff(16.67, 0.
00, 0.0000) ratio(10.667, 0.825)

SwitchRes: [2560]x[ 272]_(55=55.286690Hz)
   rng(0): 2560 x 272_55.290104p 16.200000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, -0.1177) ratio(10.667, 0.850)

SwitchRes: [2560]x[ 280]_(54=53.817276Hz)
   rng(0): 2560 x 280_53.820599p 16.200000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, -1.5872) ratio(10.667, 0.875)

SwitchRes: [2560]x[ 288]_(52=52.423946Hz)
   rng(0): 2560 x 288_52.427185p 16.200000 [fract] scale(7, 1, 1) diff(16.67, 0.
00, -2.9806) ratio(10.667, 0.900)

SwitchRes: [2560]x[ 448]_(60=60.003822Hz)
   rng(0): 2560 x 448_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.400)

SwitchRes: [2560]x[ 464]_(60=60.003822Hz)
   rng(0): 2560 x 464_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.450)

SwitchRes: [2560]x[ 480]_(60=60.003822Hz)
   rng(0): 2560 x 480_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.500)

SwitchRes: [2560]x[ 496]_(60=59.996288Hz)
   rng(0): 2560 x 496_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.550)

SwitchRes: [2560]x[ 512]_(58=58.482883Hz)
   rng(0): 2560 x 512_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.600)

SwitchRes: [2560]x[ 544]_(55=55.284496Hz)
   rng(0): 2560 x 544_55.290104i 16.227645 [fract] scale(7, 1, 1) diff(16.67, 47
.44, -0.1177) ratio(10.667, 1.700)

SwitchRes: [2560]x[ 560]_(54=53.817577Hz)
   rng(0): 2560 x 560_53.820599i 16.226910 [fract] scale(7, 1, 1) diff(16.67, 48
.84, -1.5872) ratio(10.667, 1.750)

SwitchRes: [raiden2] (1) vertical (240x320@55.407803)->(2560x512@55.407803)
   rng(0): 2560 x 512_55.407803i 15.652704 [fract] scale(7, 1, 1) diff(16.67, 45
.39, 0.0000) ratio(10.667, 1.600)
SwitchRes: Modeline "2560x512_58 15.652704KHz 55.407803Hz" 52.092200 2560 2664 2
912 3328 512 520 526 565 interlace  -hsync -vsync
Switchres: saving    ATI ADL timing "2560x512_58 16.229000KHz 58.482883Hz" 54.66
0000 2560 2672 2928 3368 512 515 521 555 interlace  -hsync -vsync
Switchres: updating  ATI ADL timing "2560x512_58 15.652704KHz 55.407803Hz" 52.09
2200 2560 2664 2912 3328 512 520 526 565 interlace  -hsync -vsync
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -noautoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -unevenstretch
SwitchRes: Setting option -nounevenstretchx
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -notriplebuffer
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -filter
Video: Monitor 65537 = "\\.\DISPLAY1" (primary)
Direct3D: Using Direct3D 9Ex
Physical width 640, height 480
Direct3D: Initialize
Direct3D: Configuring adapter #0 = AMD Radeon HD 5450
Direct3D: Adapter has Vendor ID: 1002 and Device ID: 68F9
Direct3D: Using dynamic textures
Direct3D: YUV format = RGB
Direct3D: Max texture size = 16384x16384
Direct3D: Device created at 2560x512
Direct3D: First scanline: 22, Last scanline: 534, Break scanline: 534, Delay sca
nline: -34
Direct3D: Initialize HLSL
Direct3D: First store options
Direct3D: HLSL initialized
RawInput: APIs detected
RawInput: APIs detected
RawInput: APIs detected
PortAudio: API MME has 7 devices
PortAudio: MME: "Microsoft Sound Mapper - Input"
PortAudio: MME: "Microfono (SB Audigy)"
PortAudio: MME: "Ingresso S/PDIF (SB Audigy)"
PortAudio: MME: "Linea in entrata (SB Audigy)"
PortAudio: MME: "Microsoft Sound Mapper - Output"
PortAudio: MME: "Altoparlanti (SB Audigy)" (default)
PortAudio: MME: "Interfaccia audio digitale (SB "
PortAudio: API Windows DirectSound has 7 devices
PortAudio: Windows DirectSound: "Driver primario di acquisizione suoni"
PortAudio: Windows DirectSound: "Microfono (SB Audigy)"
PortAudio: Windows DirectSound: "Ingresso S/PDIF (SB Audigy)"
PortAudio: Windows DirectSound: "Linea in entrata (SB Audigy)"
PortAudio: Windows DirectSound: "Driver audio principale" (default)
PortAudio: Windows DirectSound: "Altoparlanti (SB Audigy)"
PortAudio: Windows DirectSound: "Interfaccia audio digitale (SB Audigy)"
PortAudio: API Windows WASAPI has 5 devices
PortAudio: Windows WASAPI: "Altoparlanti (SB Audigy)" (default)
PortAudio: Windows WASAPI: "Interfaccia audio digitale (SB Audigy)"
PortAudio: Windows WASAPI: "Microfono (SB Audigy)"
PortAudio: Windows WASAPI: "Ingresso S/PDIF (SB Audigy)"
PortAudio: Windows WASAPI: "Linea in entrata (SB Audigy)"
PortAudio: API Windows WDM-KS has 6 devices
PortAudio: Windows WDM-KS: "Digital Out (SB Audigy)"
PortAudio: Windows WDM-KS: "Microfono (SB Audigy)"
PortAudio: Windows WDM-KS: "Linea in entrata (SB Audigy)"
PortAudio: Windows WDM-KS: "Ausiliario (SB Audigy)"
PortAudio: Windows WDM-KS: "Ingresso S/PDIF (SB Audigy)"
PortAudio: Windows WDM-KS: "Speakers (SB Audigy)" (default)
PortAudio: Using device "Speakers (SB Audigy)" on API "Windows WDM-KS"
PortAudio: Sample rate is 48000 Hz, device output latency is 10.00 ms
PortAudio: Allowed additional buffering latency is 10.00 ms/480 frames
Input: Adding keyboard #0: Tastiera PS/2 standard (device id: \\?\ACPI#PNP0303#4
&2e2b2fdc&0#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding keyboard #1: Tastiera HID (device id: \\?\HID#VID_0603&PID_00F2&MI
_00#7&26266782&0&0000#{884b96c3-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding mouse #0: Mouse compatibile HID (device id: \\?\HID#VID_046D&PID_C
408#6&8e9063&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Input: Adding lightgun #0: Mouse compatibile HID (device id: \\?\HID#VID_046D&PI
D_C408#6&8e9063&0&0000#{378de44c-56ef-11d1-bc8c-00a0c91405dd})
Region ':maincpu' created
unzip: opened archive file roms\raiden2.zip
unzip: found roms\raiden2.zip ECD
unzip: roms\raiden2.zip has no ZIP64 ECD locator
unzip: read roms\raiden2.zip central directory
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':user2' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':audiocpu' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':gfx1' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':gfx2' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':gfx3' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':oki1' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':oki2' created
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
Region ':pals' created
unzip: found roms\raiden2.zip in cache
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: closing archive file roms\raiden2.zip and sending to cache
unzip: found roms\raiden2.zip in cache
unzip: opened archive file roms\raiden2.zip
unzip: closing archive file roms\raiden2.zip and sending to cache
jj4b02__ami18cv8-15.u0342.jed NOT FOUND (NO GOOD DUMP KNOWN) (tried in raiden2 r
aiden2)
WARNING: the machine might not run correctly.
Optional memory region ':palette:finder_dummy_tag' not found
Starting Raiden II (US, set 1) ':'
  (missing dependencies; rescheduling)
Starting V30 ':maincpu'
Starting Z80 ':audiocpu'
Starting Video Screen ':screen'
Starting gfxdecode ':gfxdecode'
Starting palette ':palette'
Starting Seibu CRT Controller ':crtc'
Starting Seibu COP (Raiden 2) ':raiden2cop'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting Yamaha YM2151 OPM ':ymsnd'
Starting OKI MSM6295 ADPCM ':oki1'
Starting OKI MSM6295 ADPCM ':oki2'
Starting Seibu Sound System ':seibu_sound'
Starting Raiden II (US, set 1) ':'
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Raiden II (US, set 1) ':'
Attempting to parse: default.cfg
Attempting to parse: raiden2.cfg
Starting Raiden II (US, set 1)
hiscore: found hiscore.dat entry for raiden2
hiscore: scores read
Average speed: 100.00% (1 seconds)
Switchres: restoring ATI ADL timing "2560x512_58 16.229000KHz 58.482883Hz" 54.66
0000 2560 2672 2928 3368 512 515 521 555 interlace  -hsync -vsync
ATI/AMD ADL close
Sound: overflows=0 underflows=1

C:\mame>

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5874
Re: Groovymame sound problem on a specific game
« Reply #1 on: March 12, 2018, 02:22:43 pm »
Your videocard can't probably handle "high" vertical super resolutions. In VMMaker, edit your super resolution list and remove the interlaced ones (everything above 288p). Then add a few conventional interlaced resolutions in the same fine, e.g.:

664x496@60.0000 desktop
688x512@60.0000 desktop

Create the new modes and try again.

Raiden2 will be interlaced anyway because its 320 pixels tall.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Josef1975

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
    • MY ARCADE CABINET
Re: Groovymame sound problem on a specific game
« Reply #2 on: March 12, 2018, 03:22:27 pm »
Of course you're right, didn't realise it , the game will be interlaced... but the audio issue ? Is related to the video card?
Thank for your support !! :)
« Last Edit: March 12, 2018, 03:24:37 pm by Josef1975 »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5874
Re: Groovymame sound problem on a specific game
« Reply #3 on: March 12, 2018, 03:31:23 pm »
Audio issues are caused by poor overall performance, 99.9% of times. If you say it can't be the cpu, then it could be the cpu+gpu combination. You just allowed 1 second of gameplay in your log, so possible speed variations are not registered.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Josef1975

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
    • MY ARCADE CABINET
Re: Groovymame sound problem on a specific game
« Reply #4 on: March 12, 2018, 04:11:28 pm »
the game was running smooth on my old P4 3.0ghz and ati 9250, the E8400+ati hd5450 is much faster, also gpu should not work a lot without hlsl effect... also other recent games (more cpu-hungry) works well with no audio issue.
so, is quite strange... any other test or log that I can make?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 5874
Re: Groovymame sound problem on a specific game
« Reply #5 on: March 12, 2018, 04:22:43 pm »
... any other test or log that I can make?

Have you tried my suggestion?
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead or pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Josef1975

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
    • MY ARCADE CABINET
Re: Groovymame sound problem on a specific game
« Reply #6 on: March 12, 2018, 04:40:28 pm »
sorry, not yet, tommorrow I'll try.
thank you again! :)

Josef1975

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
    • MY ARCADE CABINET
Re: Groovymame sound problem on a specific game
« Reply #7 on: March 17, 2018, 01:04:05 pm »
wishing to avoid problems and errors with vmmaker I have found another (simpler?) way: a raiden2.ini file with various resolution.
so forcing the game to 2560x240 it works, is progressive (non interlaced) and the sound is perfect.
of course is not a perfect solution (the game is running in a lower resolution) but the result is quite good for me.
do you think that your suggested res (i.e. 664x496) could work using the .ini or I need to use vmmaker aniway?
thank you!
;D

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31