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
Lightguns Arcade1Up --- Bug Reports --- Site News

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

  

Author Topic: GroovyMAME 0.171 - SwitchRes v0.015m  (Read 175808 times)

0 Members and 1 Guest are viewing this topic.

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:June 05, 2021, 09:49:44 pm
  • I am no Jedi
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #40 on: November 28, 2013, 08:23:33 pm »
Has anyone compiled this with the cave driver allready?

Yes it compiles and works with the cave diff file mentioned in the post by blontic.

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 642
  • Last login:October 13, 2020, 09:31:43 am
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #41 on: November 29, 2013, 06:37:39 am »
Hi cools,

Set "writeconfig 1" in ume.ini

It's disabled by default in recent versions.

Tried with this. It creates inis, but it only seems to save the cfgs if you actually quit out rather than select a new game. It also seems to ignore the cfgs when loading.

Something is most definitely up with it.

Tried with GroovyMAME and GroovyUME. MAME64 standard behaves sensibly.
« Last Edit: November 29, 2013, 07:52:23 am by cools »

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #42 on: November 29, 2013, 08:22:52 am »
I get this error when try to compile on slackware 14.1 64bit:
Code: [Select]
make: *** No rules to make target Ťobj/groovysdl64/osd/sdl/dview.oť, needed for Ťobj/groovysdl64/libosd.ať.  Stop.
If I use the old 014b patch, it compiles without errors.
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #43 on: November 29, 2013, 08:25:05 am »
Hi Ansa,

This command line worked for me: make TARGET=mame PYTHON=python2 OPTIMIZE=2
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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #44 on: November 29, 2013, 08:27:40 am »
Tried with this. It creates inis, but it only seems to save the cfgs if you actually quit out rather than select a new game. It also seems to ignore the cfgs when loading.

Something is most definitely up with it.

Tried with GroovyMAME and GroovyUME. MAME64 standard behaves sensibly.

Confirmed. It's a bug due to GM saving the current modeline to .cfg. If you remove the part between "" in the modeline in the .cfg file, the config is loaded right. I'll upload fixed binaries later.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #45 on: November 29, 2013, 08:34:10 am »
This command line worked for me: make TARGET=mame PYTHON=python2 OPTIMIZE=2
I bet the problem was the default optimization ("OPTIMIZE=3", which means "-O3").
Now recompiling with "TARGET=mame OPTIMIZE=2" (the python environment shouldn't be an issue).
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #46 on: November 29, 2013, 08:36:21 am »
Ansa, let us know if it works, I'll update the first post with the Linux command line.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #47 on: November 29, 2013, 09:01:30 am »
Still not compile.

More info on build environment:
- GCC 4.8.2
- SDL 1.2.15


Side note: mame is compiling fine without groovymame patch; so IMHO the question would be "how  groovymame patch breaks the default compilation options?".
Moreover keep in mind that the old 014b patch compiles without errors, hence it's very probable that the problem is related to something you introduced in this new version.
Earth could be the hell of another world

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #48 on: November 29, 2013, 09:43:37 am »
HERE WE GO! (hopefully)
You uncommented "NO_USE_QTDEBUG = 1" into "src/osd/sdl/sdl.mak" and this makes my system go crazy.
Now I have re-commented "NO_USE_QTDEBUG = 1" and trying to recompile.

PS: is there any reason you did that?
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #49 on: November 29, 2013, 10:10:54 am »
Tried with this. It creates inis, but it only seems to save the cfgs if you actually quit out rather than select a new game. It also seems to ignore the cfgs when loading.

Something is most definitely up with it.

Tried with GroovyMAME and GroovyUME. MAME64 standard behaves sensibly.

Ok, I've uploaded new binaries. Hopefully the .cfg files should work properly again. Please check.
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

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #50 on: November 29, 2013, 10:13:44 am »
HERE WE GO! (hopefully)
You uncommented "NO_USE_QTDEBUG = 1" into "src/osd/sdl/sdl.mak" and this makes my system go crazy.
Now I have re-commented "NO_USE_QTDEBUG = 1" and trying to recompile.

PS: is there any reason you did that?

This was done to avoid the need of installing the Qt module. I'm compiling under the current live-cd installation, using just the default tools in there. I wouldn't have imagined it could be breaking the compilation in other systems.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #51 on: November 29, 2013, 10:18:59 am »
Confirmed: leaving "NO_USE_QTDEBUG = 1" commented, everything is ok.

Now the question: will you update the patch, or I keep it only locally?
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #52 on: November 29, 2013, 10:28:45 am »
Confirmed: leaving "NO_USE_QTDEBUG = 1" commented, everything is ok.

Now the question: will you update the patch, or I keep it only locally?

My question is: did you try the current patch with the PYTHON=python2 option? If you did and it still didn't work, then yes, I should update the patch.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #53 on: November 29, 2013, 10:36:44 am »
did you try the current patch with the PYTHON=python2 option?
Not yet, trying it now.
Earth could be the hell of another world

cools

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 642
  • Last login:October 13, 2020, 09:31:43 am
  • Arcade Otaku Sysadmin
    • Arcade Otaku
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #54 on: November 29, 2013, 11:09:23 am »
Tried with this. It creates inis, but it only seems to save the cfgs if you actually quit out rather than select a new game. It also seems to ignore the cfgs when loading.

Something is most definitely up with it.

Tried with GroovyMAME and GroovyUME. MAME64 standard behaves sensibly.

Ok, I've uploaded new binaries. Hopefully the .cfg files should work properly again. Please check.

Yep, they work flawlessly now :) Thanks!

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #55 on: November 29, 2013, 11:35:56 am »
Yep, they work flawlessly now :) Thanks!

Thanks for testing. Needless to say the -writeconfig options wasn't really needed, in fact it should be turned off.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #56 on: November 29, 2013, 12:23:43 pm »
Trying to compile with "PYTHON=python2 OPTIMIZE=2 TARGET=mame":
Code: [Select]
make: *** No rules to make target Ťobj/groovysdl64/osd/sdl/dview.oť, needed for Ťobj/groovysdl64/libosd.ať.  Stop.
Conclusion: my system need the qt-debug stuff, otherwise it goes crazy.
It could be interesting know if I'm the only one with this issue.
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #57 on: November 29, 2013, 12:39:35 pm »
Ok Ansa, thanks for testing this. I should update the diff keeping the "NO_USE_QTDEBUG = 1" commented out.

If you have any plans of making the Linux binaries available let us know, as we still don't have them in the Google site.

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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #58 on: November 29, 2013, 01:02:50 pm »
I already have the 64 bit binaries of groovymame and groovyume.
Maybe tomorrow I would compile the 32 bit versions.
Earth could be the hell of another world

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #59 on: November 30, 2013, 10:21:03 am »
I have a problem: every game is displayed "reduced", I mean only a little portion of the screen is used.
The image still centered in the monitor, but it seems that groovymame thinks I have a smaller screen than I actually have.

This problem affects both horizontal and vertical games.


Here is my custom crt_range0 (I'm using a pal monitor):
Code: [Select]
15625-15800,49.50-60.50,2.000,4.700,8.000,0.064,0.160,1.056,0,0,192,288,448,576

EDIT: also I have the "monitor" option set to "pal".
« Last Edit: November 30, 2013, 10:33:52 am by Ansa89 »
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #60 on: November 30, 2013, 10:54:21 am »
Ansa, unless you use 'monitor custom', your crt_range wont be used
 However, post a log so I can see what's going on.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #61 on: November 30, 2013, 11:35:35 am »
Here is the log of galaga:
Code: [Select]
Parsing mame.ini
Parsing mame.ini
Parsing mame.ini
Parsing mame.ini
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
Optional device 'sub3' not found
Optional device 'samples' not found
SwitchRes: missing parameter in user modeline
  1
SwitchRes: Monitor range 15625.00-15800.00,49.50-60.50,2.000,4.700,8.000,0.064,0.160,1.056,0,0,192,288,448,576
SwitchRes: Monitor: custom Orientation: vertical Modeline generation: enabled
SwitchRes: Found output connector 'VGA-0'

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.015:[galaga] Calculating best video mode for 224x288@60.606060 orientation: rotated

SwitchRes: (   1)x(   1)_(60=0.0000Hz)
   rng(0):  400 x 288_51.299p 15.800 [integ] scale(1, 1, 1) diff(0.00, 0.00, -9.3074) ratio(1.786, 1.000)

SwitchRes: [galaga] (1) vertical (224x288@60.61)->(400x288@51.30)
   rng(0):  400 x 288_51.299p 15.800 [integ] scale(1, 1, 1) diff(0.00, 0.00, -9.3074) ratio(1.786, 1.000)
SwitchRes: Modeline "400x288_60 15.80KHz 51.30Hz" 8.22 400 416 456 520 288 289 292 308   -hsync -vsync
SwitchRes: Running 'xrandr  --newmode "400x288_51.30" 8.22 400 416 456 520 288 289 292 308   -hsync -vsync'
SwitchRes: Running 'xrandr  --addmode VGA-0 "400x288_51.30"'
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -noautoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -multithreading
SwitchRes: Setting option -nosyncrefresh
SwitchRes: Setting option -nowaitvsync
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nofilter
SwitchRes: Setting option -prescale 1
Build version:      0.151 (Nov 29 2013)
Build architecure:  SDLMAME_ARCH=
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1:    LSB_FIRST=1 PTR64=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=1215 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=8 __GNUC_PATCHLEVEL__=2 __VERSION__="4.8.2"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
SDL Device Driver     : x11
SDL Monitor Dimensions: 768 x 576
Enter sdlwindow_init
Using SDL single-window OpenGL driver (SDL 1.2)
Leave sdlwindow_init
Loaded opengl shared library: <default>
OpenGL: X.Org
OpenGL: Gallium 0.4 on AMD RS780
OpenGL: 2.1 Mesa 9.1.7
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 8192 x 8192
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Joystick: End initialization
Audio: Start initialization
Audio: Driver is alsa
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 114688 bytes
Audio: End initialization
output: unable to open output notifier file /tmp/sdlmame_out
Region ':maincpu' created
Region ':sub' created
Region ':sub2' created
Region ':gfx1' created
Region ':gfx2' created
Region ':proms' created
Region ':namco' created
Region ':51xx:mcu' created
Region ':54xx:mcu' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/TTF/LiberationSans-Regular.ttf
Starting Galaga (Namco rev. B) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Z80 ':maincpu'
Starting Z80 ':sub'
Starting Z80 ':sub2'
Starting Namco 51xx ':51xx'
Starting MB8843 ':51xx:mcu'
Starting Namco 54xx ':54xx'
Starting MB8844 ':54xx:mcu'
Starting Namco 06xx ':06xx'
Starting Video Screen ':screen'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting Namco ':namco'
Starting DISCRETE ':discrete'
Starting Galaga (Namco rev. B) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting Galaga (Namco rev. B) ':'
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
GL texture: copy 1, shader 0, dynamic 1, 288x224 288x224 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 384,288/8192], colors: 576, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 288x224 288x224 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 384,288/8192], colors: 576, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 288x224 288x224 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 384,288/8192], colors: 576, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 288x224 288x224 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 384,288/8192], colors: 576, bytes/pix 4
Earth could be the hell of another world

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #62 on: November 30, 2013, 11:48:55 am »
Here is the log of NBA Hangtime:
Code: [Select]
Parsing mame.ini
Parsing mame.ini
Parsing nbahangt.ini
Parsing mame.ini
Parsing mame.ini
Parsing nbahangt.ini
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional device 'adpcm' not found
Optional device 'cvsd' not found
SwitchRes: missing parameter in user modeline
  1
SwitchRes: Monitor range 15625.00-15800.00,49.50-60.50,2.000,4.700,8.000,0.064,0.160,1.056,0,0,192,288,448,576
SwitchRes: Monitor: custom Orientation: horizontal Modeline generation: enabled
SwitchRes: Found output connector 'VGA-0'

SwitchRes: Entering switchres_modeline_setup
SwitchRes: v0.015:[nbahangt] Calculating best video mode for 399x253@54.815170 orientation: normal

SwitchRes: (   1)x(   1)_(60=0.0000Hz)
   rng(0):  400 x 253_54.815p 15.677 [integ] scale(1, 1, 1) diff(0.00, 0.00, 0.0000) ratio(1.000, 1.000)

SwitchRes: [nbahangt] (1) horizontal (399x253@54.82)->(400x253@54.82)
   rng(0):  400 x 253_54.815p 15.677 [integ] scale(1, 1, 1) diff(0.00, 0.00, 0.0000) ratio(1.000, 1.000)
SwitchRes: Modeline "400x253_60 15.68KHz 54.82Hz" 8.15 400 416 456 520 253 261 264 286   -hsync -vsync
SwitchRes: Running 'xrandr  --newmode "400x253_54.82" 8.15 400 416 456 520 253 261 264 286   -hsync -vsync'
SwitchRes: Running 'xrandr  --addmode VGA-0 "400x253_54.82"'
SwitchRes: Setting option -rotate
SwitchRes: Setting option -noror
SwitchRes: Setting option -autoror
SwitchRes: Setting option -norol
SwitchRes: Setting option -noautorol
SwitchRes: Setting option -noblack_frame_insertion
SwitchRes: Setting option -multithreading
SwitchRes: Setting option -syncrefresh
SwitchRes: Setting option -waitvsync
SwitchRes: Setting option -keepaspect
SwitchRes: Setting option -nounevenstretch
SwitchRes: Setting option -nofilter
SwitchRes: Setting option -prescale 1
Build version:      0.151 (Nov 29 2013)
Build architecure:  SDLMAME_ARCH=
Build defines 1:    SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1
Build defines 1:    LSB_FIRST=1 PTR64=1 DISTRO=generic SYNC_IMPLEMENTATION=tc
SDL/OpenGL defines: SDL_COMPILEDVERSION=1215 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=8 __GNUC_PATCHLEVEL__=2 __VERSION__="4.8.2"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
Compiler defines C: __USE_FORTIFY_LEVEL=0
SDL Device Driver     : x11
SDL Monitor Dimensions: 768 x 576
Enter sdlwindow_init
Using SDL single-window OpenGL driver (SDL 1.2)
Leave sdlwindow_init
Loaded opengl shared library: <default>
OpenGL: X.Org
OpenGL: Gallium 0.4 on AMD RS780
OpenGL: 2.1 Mesa 9.1.7
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 8192 x 8192
Keyboard: Start initialization
Input: Adding Kbd #0: System keyboard
Keyboard: Registered System keyboard
Keyboard: End initialization
Mouse: Start initialization
Input: Adding Mouse #0: System mouse
Mouse: Registered System mouse
Mouse: End initialization
Joystick: Start initialization
Joystick: End initialization
Audio: Start initialization
Audio: Driver is alsa
Audio: frequency: 48000, channels: 2, samples: 1024
sdl_create_buffers: creating stream buffer of 114688 bytes
Audio: End initialization
output: unable to open output notifier file /tmp/sdlmame_out
Region ':dcs' created
Region ':maincpu' created
Region ':gfxrom' created
Searching font Liberation Sans in -fontpath
Matching font: /usr/share/fonts/TTF/LiberationSans-Regular.ttf
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting TMS34010 ':maincpu'
Starting NVRAM ':nvram'
Starting Video Screen ':screen'
Starting ADSP-2105 ':dcs'
Starting Timer ':dcs_reg_timer'
Starting Timer ':dcs_int_timer'
Starting Speaker ':mono'
  (missing dependencies; rescheduling)
Starting DMA-driven DAC ':dac'
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
  (missing dependencies; rescheduling)
Starting Speaker ':mono'
Starting NBA Hangtime (rev L1.1 04/16/96) ':'
Optional device 'adpcm' not found
Optional device 'cvsd' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram2' not found
Optional shared pointer 'paletteram' not found
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 0
GL texture: copy 1, shader 0, dynamic 1, 399x253 399x253 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 512,399/8192], colors: 32768, bytes/pix 4
SwitchRes: Resolution change from 399x253@54.815170 to 400x254@54.706841
GL texture: copy 1, shader 0, dynamic 1, 400x254 400x254 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 512,400/8192], colors: 32768, bytes/pix 4
GL texture: copy 1, shader 0, dynamic 1, 400x254 400x254 [PALETTE16, Equal: 0, Palette: 1,
            scale 1x1, border 0, pitch 512,400/8192], colors: 32768, bytes/pix 4

EDIT: I noticed now the "SwitchRes: missing parameter in user modeline".
Maybe this is the underlying problem.
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #63 on: November 30, 2013, 12:35:09 pm »
Ansa, you're probably using the old mame.ini. You need to create a new one for this version. Now -modeline option is no longer a boolean, but a string, that's what GM is complaining about.
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

jdubs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 61
  • Last login:January 03, 2018, 09:06:27 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #64 on: November 30, 2013, 05:19:47 pm »
Has anyone compiled this with the cave driver allready?

Yes it compiles and works with the cave diff file mentioned in the post by blontic.

Thanks!  What cave diff file did you use and what order did you patch?

-Jim

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 155
  • Last login:April 28, 2019, 09:07:10 pm
  • ZSystem
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #65 on: November 30, 2013, 07:00:28 pm »
Trying to compile with "PYTHON=python2 OPTIMIZE=2 TARGET=mame":
Code: [Select]
make: *** No rules to make target Ťobj/groovysdl64/osd/sdl/dview.oť, needed for Ťobj/groovysdl64/libosd.ať.  Stop.
Conclusion: my system need the qt-debug stuff, otherwise it goes crazy.
It could be interesting know if I'm the only one with this issue.

No, I get the same error on a fresh clean install of 32 bit arch.
The 151.diff should be corrected.

I Used
Code: [Select]
make NOWERROR=1 OPTIMIZE=2 PYTHON=python2

Did as Ansa89 mentioned, And it's compiling fine now.
Quote
You uncommented "NO_USE_QTDEBUG = 1" into "src/osd/sdl/sdl.mak" and this makes my system go crazy.
Now I have re-commented "NO_USE_QTDEBUG = 1" and trying to recompile.
« Last Edit: November 30, 2013, 07:09:20 pm by ozfalcon »

dgame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 620
  • Last login:June 05, 2021, 09:49:44 pm
  • I am no Jedi
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #66 on: December 01, 2013, 02:55:21 am »
Has anyone compiled this with the cave driver allready?

Yes it compiles and works with the cave diff file mentioned in the post by blontic.

Thanks!  What cave diff file did you use and what order did you patch?

-Jim

http://forum.arcadecontrols.com/index.php/topic,135823.msg1405177.html#msg1405177

Patch cave 150 diff last.

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #67 on: December 01, 2013, 01:57:01 pm »
Ansa, you're probably using the old mame.ini. You need to create a new one for this version. Now -modeline option is no longer a boolean, but a string, that's what GM is complaining about.
You right, my bad.

Now i set "modeline" to "auto", but roms still display at reduced size.
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #68 on: December 01, 2013, 02:59:49 pm »
Now i set "modeline" to "auto", but roms still display at reduced size.

I was afraid of hearing this. Give us some time to build the binaries and check, Ves is very busy these days. I tried v0.150 with the current patch (v0.015) and it worked fine under GroovyArcade. The problem now is we can't use binaries compiled with QT because GroovyArcade doesn't have this package. Ves will provide the package so GroovyArcade users can update their systems and use the v0.151 binaries.
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #69 on: December 02, 2013, 04:53:52 am »
Is there any test and/or configuration change I can do, while Ves update GroovyArcade packages?
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #70 on: December 02, 2013, 07:53:45 am »
Is there any test and/or configuration change I can do, while Ves update GroovyArcade packages?

If possible, post a new log using the correct mame.ini, and make sure xrandr is not reporting errors on mode switch (this are not in the log but you can see them down the command line on MAME exit). Post your mame.ini too just in case.

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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #71 on: December 02, 2013, 08:31:37 am »
With correct mame.ini I get the same log as above (except the "SwitchRes: missing parameter in user modeline" part).
I'm quite sure there aren't xrandr errors, because I take the log with "&>" (that way all output should be logged, also the messages of stderr).

I'll post mame.ini ASAP.
Earth could be the hell of another world

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #72 on: December 03, 2013, 10:09:37 am »
My mame.ini (without path-related options):
Code: [Select]
#
# CORE STATE/PLAYBACK OPTIONS
#
state                     
autosave                  0
playback                 
record                   
mngwrite                 
aviwrite                 
wavwrite                 
snapname                  %g/%i
snapsize                  auto
snapview                  internal
statename                 %g
burnin                    0

#
# CORE PERFORMANCE OPTIONS
#
autoframeskip             0
frameskip                 0
seconds_to_run            0
throttle                  1
syncrefresh               1
sleep                     0
speed                     1.0
refreshspeed              0

#
# CORE ROTATION OPTIONS
#
rotate                    1
ror                       0
rol                       0
autoror                   0
autorol                   0
flipx                     0
flipy                     0

#
# CORE ARTWORK OPTIONS
#
artwork_crop              0
use_backdrops             0
use_overlays              0
use_bezels                0
use_cpanels               0
use_marquees              0

#
# CORE SCREEN OPTIONS
#
brightness                1.0
contrast                  1.0
gamma                     1.0
pause_brightness          0.85
effect                    none

#
# CORE VECTOR OPTIONS
#
antialias                 1
beam                      1.0
flicker                   0

#
# CORE SOUND OPTIONS
#
sound                     1
samplerate                48000
samples                   1
volume                    0

#
# CORE INPUT OPTIONS
#
coin_lockout              1
ctrlr                     
mouse                     1
joystick                  1
lightgun                  0
multikeyboard             0
multimouse                0
steadykey                 0
ui_active                 0
offscreen_reload          0
joystick_map              auto
joystick_deadzone         0.0
joystick_saturation       0.85
natural                   0
joystick_contradictory    0
coin_impulse              0

#
# CORE INPUT AUTOMATIC ENABLE OPTIONS
#
paddle_device             mouse
adstick_device            mouse
pedal_device              mouse
dial_device               mouse
trackball_device          mouse
lightgun_device           mouse
positional_device         keyboard
mouse_device              mouse

#
# CORE DEBUGGING OPTIONS
#
log                       0
verbose                   0
update_in_pause           0
debug                     0
debugscript               
debug_internal            0

#
# CORE MISC OPTIONS
#
drc                       1
drc_use_c                 0
bios                     
cheat                     0
skip_gameinfo             1
uifont                    default
ramsize                   
confirm_quit              0
ui_mouse                  0
autoboot_command         
autoboot_delay            2
autoboot_script           
http                      0
http_port                 8080
http_path                 web

#
# CORE MKChamp OPTIONS
#
disable_hiscore_patch     0
disable_nagscreen_patch   0
disable_loading_patch     0

#
# CORE SWITCHRES OPTIONS
#
modeline_generation       1
#monitor                   pal
monitor                   custom
orientation               horizontal
connector                 auto
interlace                 1
doublescan                1
cleanstretch              0
changeres                 1
powerstrip                0
lock_system_modes         1
lock_unsupported_modes    1
refresh_dont_care         0
dotclock_min              0
sync_refresh_tolerance    2.0
frame_delay               0
black_frame_insertion     0
modeline                  auto
ps_timing                 auto
lcd_range                 auto
crt_range0                15625-15800,49.50-60.50,2.000,4.700,8.000,0.064,0.160,1.056,0,0,192,288,448,576
crt_range1                auto
crt_range2                auto
crt_range3                auto
crt_range4                auto
crt_range5                auto
crt_range6                auto
crt_range7                auto
crt_range8                auto
crt_range9                auto

#
# DEBUGGING OPTIONS
#
oslog                     0
watchdog                  0

#
# PERFORMANCE OPTIONS
#
multithreading            1
numprocessors             2
sdlvideofps               0
bench                     0

#
# VIDEO OPTIONS
#
video                     opengl
numscreens                1
window                    0
maximize                  0
keepaspect                0
unevenstretch             0
centerh                   1
centerv                   1
waitvsync                 1
scalemode                 none

#
# OpenGL-SPECIFIC OPTIONS
#
filter                    0
prescale                  1
gl_forcepow2texture       0
gl_notexturerect          0
gl_vbo                    1
gl_pbo                    1
gl_glsl                   0
gl_glsl_filter            0
glsl_shader_mame0         none
glsl_shader_mame1         none
glsl_shader_mame2         none
glsl_shader_mame3         none
glsl_shader_mame4         none
glsl_shader_mame5         none
glsl_shader_mame6         none
glsl_shader_mame7         none
glsl_shader_mame8         none
glsl_shader_mame9         none
glsl_shader_screen0       none
glsl_shader_screen1       none
glsl_shader_screen2       none
glsl_shader_screen3       none
glsl_shader_screen4       none
glsl_shader_screen5       none
glsl_shader_screen6       none
glsl_shader_screen7       none
glsl_shader_screen8       none
glsl_shader_screen9       none
gl_glsl_vid_attr          0

#
# PER-WINDOW VIDEO OPTIONS
#
screen                    auto
aspect                    auto
resolution                auto
view                      auto
screen0                   auto
aspect0                   auto
resolution0               auto
view0                     auto
screen1                   auto
aspect1                   auto
resolution1               auto
view1                     auto
screen2                   auto
aspect2                   auto
resolution2               auto
view2                     auto
screen3                   auto
aspect3                   auto
resolution3               auto
view3                     auto

#
# FULL SCREEN OPTIONS
#
switchres                 1
useallheads               0

#
# SOUND OPTIONS
#
audio_latency             3

#
# SDL KEYBOARD MAPPING
#
keymap                    0
keymap_file               $HOME/keymap.dat
uimodekey                 auto

#
# SDL JOYSTICK MAPPING
#
joy_idx1                  auto
joy_idx2                  auto
joy_idx3                  auto
joy_idx4                  auto
joy_idx5                  auto
joy_idx6                  auto
joy_idx7                  auto
joy_idx8                  auto
sixaxis                   0

#
# SDL LOWLEVEL DRIVER OPTIONS
#
videodriver               auto
audiodriver               auto
gl_lib                    auto
Earth could be the hell of another world

Monkee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
  • Last login:March 27, 2018, 09:37:30 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #73 on: December 05, 2013, 06:25:46 am »
The only noticeable difference from the user's perspective is the -triplebuffer case. Now -triplebuffer only works with multithreading enabled, because it doesn't make sense to enable it without multithreading. As a consequence, games where -triplebuffer was being chosen by GM, now will be using -syncrefresh by default. A typical case is vertical games like Pac-man of Galaga on a standard horizontal arcade monitor. These games will run with an important slowdown, due to the low refresh rate induced by running at 288p. In order to get it back to it's normal speed, -multithreading must be enabled. This way, -triplebuffer will be selectable internally by GroovyMAME and the game speed will be independent from the screen refresh, making it possible to run this game at 100% speed.
I'm not sure to understand a 100%, so if I'm playing a lot of shmup with 90° rotation, I have to use the triplebuffer/multithread instead of syncrefresh?

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #74 on: December 05, 2013, 01:31:54 pm »
It turned out that I was missing a patch for sdl.
Recompiled sdl with xrandr patch and now everything works as expected.
Earth could be the hell of another world

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #75 on: December 05, 2013, 01:44:28 pm »
It turned out that I was missing a patch for sdl.
Recompiled sdl with xrandr patch and now everything works as expected.

 :applaud:

It's good to hear that. So finally it was this patch which made the trick: 1xrand.diff  ?

Ves updated the git with the required patches, for anyone who needs them: https://code.google.com/p/groovyarcade/source/browse?repo=diff
« Last Edit: December 05, 2013, 01:46:53 pm by Calamity »
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

Ansa89

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 377
  • Last login:December 09, 2016, 10:40:11 am
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #76 on: December 05, 2013, 01:56:13 pm »
So finally it was this patch which made the trick: 1xrand.diff  ?
Yes.
Earth could be the hell of another world

Dr.Venom

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 270
  • Last login:May 08, 2018, 05:06:54 am
  • I want to build my own arcade controls!
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #77 on: December 06, 2013, 04:57:38 am »
Direct3D: Error 88760868 during device present call
Direct3D: resetting device

This error usually means the window which holds D3D has lost the focus for some reason. I have no idea how this could be influenced by Aero. Probably this won't help, but try deleting the files from the .cfg folder.


Luckily I found what the issue was. Small rectification first on the issue earlier reported though: it was not that the problem only occured with Aero on, but as I found out later also with Aero off there's a problem, although much less pronounced. Instead of a black screen the sound will glitch shortly on startup.

Anyway, I've traced the problem to having 3 screens attached (one LED on GTX770 and two CRT's on HD4850), the last addition being the second CRT to my HD4850 as a TATE monitor. Interestingly with all the screens attached screenswitching is taking longer than with only one LED and one CRT attached (my previous situation without the TATE monitor). Apparently it is taking Windows too long to return from a screenswitch on one of the monitors when all 3 monitors are connected/enabled. This effect gets pronounced with Aero on, apparently this graphical layer is adding a delay of its own during switching.

So I've now created hotkeys to either enable the landscape CRT -or- the TATE CRT, but not have them enabled both at the same time on the HD4850. This has solved the earlier reported issue and GM is now running/switching as a dream again, like before.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7197
  • Last login:November 23, 2021, 04:21:29 pm
  • Quote me with care
Re: GroovyMAME/GroovyUME 0.151 - SwitchRes v0.015
« Reply #78 on: December 06, 2013, 01:07:10 pm »
Luckily I found what the issue was.

Yeah, that makes a lot of sense. Remind when I told you that beta-testing the Emudriver for W7 with 2 monitors nearly froze my system? In the P4 that I used for testing, the lag involved with mode initialization having 2 monitors attached to the ATI card made the system nearly unusable. Maybe with your i7 things are not so bad but the problem is still there. I believe this has to do with the drivers validating each single mode against each of the 2 monitors, and this process being incredibly un-optimized if you compare with older versions of the drivers (XP).
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

ozfalcon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 155
  • Last login:April 28, 2019, 09:07:10 pm
  • ZSystem
100% Hide Mouse Pointer Patch for GroovyMAME 0.151
« Reply #79 on: December 09, 2013, 05:18:15 am »
Hide Mouse Pointer 100% solved
I have made an update to GroovyMame 151 hopefully to include in the next release of the GroovyMame patch.
Apply the No Mouse Pointer patch after the Hi_Score and GroovyMame patches have been applied.
The patch is so simple I won't be maintaining it, So I'm posting it here as a one of.
This patch applies to SDLMame only.

The mouse pointer appearing for a few seconds when staring SDLMame has been nagging me for a <LONG> time.
This would occur only on some games, But not others eg. Discs of Tron, Alien vs Preditor, 1944, 19xx etc.

Complete Solution
The solution is a super simple two part process.

Part 1
The first part had already been solved by common methods of using xsetroot.
This hides the mouse pointer on entry and on exit (ie Run a game) of AdvanceMenu.

Modify ~/.xinitrc and add the xsetroot -cursor command. Be sure to use full pathnames.
Code: [Select]
xsetroot -cursor /home/full/path/emptycursor /home/full/path/emptycursor

Create an emptycursor file with the following contents:
Code: [Select]
#define nn1_width 16
#define nn1_height 16
static unsigned char nn1_bits[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

Part 2
The second part involves the way SDLMame starts up.
I observed that some games would display the mouse cursor for upto 2~3 seconds, While others did not display it at all.
After examining the Mame source code, I found that the mouse pointer was only turned off via the input.c/window.c code sections.
This is too late. ie. From SDL Video Init until input.c is called delays of upto 2~3 seconds can occur allowing the mouse pointer to be seen.
A very simple fix is to turn off the mouse pointer early on in the Mames init, Then allow the normal code to set it as per usual.
See attached No Pointer patch.

So the end result of applying both methods is NO MOUSE POINTER AT ANY STAGE OF OPERATION!!!!!
No messy transparent pointer themes or other alternate methods like disabling the X mouse pointer completely.

Time to celebrate. 100% Fixed.

Patch Order
Apply Hi_Score patch
Apply GroovyMame patch
Apply NoPointer Patch
« Last Edit: December 09, 2013, 04:08:27 pm by ozfalcon »