MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

dustmite
MAME Fan
Reged: 05/08/10
Posts: 12
Send PM


Strange issue running Mame 0149 with HLSL
#311661 - 07/19/13 05:43 PM


Having trouble running Mame 0149 with HLSL. Here are my specs:

AMD Athlon II X2 215, 2.71 Ghz
4 GB of RAM
nVidia GeForce GT 210 PCI-Express video card
Windows XP Professional 64 bit

The games I'm testing this with are Ms. Pac and Donkey Kong.

I could run these on 0148 full speed with HLSL no sweat. On 0149, the framerate drops to about 65%. The weird thing is, if I turn off throttling, they run crazy fast as you'd expect them to, so the problem doesn't seem to be my specs. I am running stock Mame downloaded from mamedev.org btw, so that's not the issue either. Also, I get full speed on my main PC that has similar specs and a weaker video card - though I am running Windows 7 Home Premium 64-bit on that machine.

I'm stumped. It really seems like I just shouldn't be having this problem. Anyone want to guess what the issue might be?



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: dustmite]
#311663 - 07/19/13 05:54 PM


> I could run these on 0148 full speed with HLSL no sweat. On 0149, the framerate drops
> to about 65%. The weird thing is, if I turn off throttling, they run crazy fast as
> you'd expect them to, so the problem doesn't seem to be my specs. I am running stock
> Mame downloaded from mamedev.org btw, so that's not the issue either. Also, I get
> full speed on my main PC that has similar specs and a weaker video card - though I am
> running Windows 7 Home Premium 64-bit on that machine.

Without your listing your HLSL settings we'd be engaged in psychic debugging, but one common cause of poor performance is turning the hlsl_prescale too high. If it's ever above 3 or 4 or so and you don't have a 4K monitor, you're doing it wrong



dustmite
MAME Fan
Reged: 05/08/10
Posts: 12
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: R. Belmont]
#311665 - 07/19/13 06:35 PM


I'm just using the defaults, and it doesn't seem to matter where I set stuff, it's still slow. Here are my settings just to be sure.

------------------------------------
# DIRECT3D POST-PROCESSING OPTIONS
#
hlsl_enable 1
hlslpath hlsl
hlsl_ini_read 0
hlsl_ini_write 0
hlslini %g
hlsl_prescale_x 0
hlsl_prescale_y 0
hlsl_preset -1
hlsl_write
hlsl_snap_width 2048
hlsl_snap_height 1536
shadow_mask_alpha 0.0
shadow_mask_texture aperture.png
shadow_mask_x_count 320
shadow_mask_y_count 240
shadow_mask_usize 0.09375
shadow_mask_vsize 0.109375
curvature 0.03
pincushion 0.03
scanline_alpha 1.0
scanline_size 1.0
scanline_height 1.0
scanline_bright_scale 1.0
scanline_bright_offset 0.0
scanline_jitter 0.0
defocus 0.0,0.0
converge_x 0.3,0.0,-0.3
converge_y 0.0,0.3,-0.3
radial_converge_x 0.0,0.0,0.0
radial_converge_y 0.0,0.0,0.0
red_ratio 1.0,0.0,0.0
grn_ratio 0.0,1.0,0.0
blu_ratio 0.0,0.0,1.0
saturation 1.4
offset 0.0,0.0,0.0
scale 0.95,0.95,0.95
power 0.8,0.8,0.8
floor 0.05,0.05,0.05
phosphor_life 0.4,0.4,0.4

#
# NTSC POST-PROCESSING OPTIONS
#
yiq_enable 0
yiq_cc 3.59754545
yiq_a 0.5
yiq_b 0.5
yiq_o 0.0
yiq_p 1.0
yiq_n 1.0
yiq_y 6.0
yiq_i 1.2
yiq_q 0.6
yiq_scan_time 52.6
yiq_phase_count 2

#
# VECTOR POST-PROCESSING OPTIONS
#
vector_length_scale 0.8
vector_length_ratio 500.0

#
# BLOOM POST-PROCESSING OPTIONS
#
vector_bloom_scale 0.3
raster_bloom_scale 0.225
bloom_lvl0_weight 1.0
bloom_lvl1_weight 0.21
bloom_lvl2_weight 0.19
bloom_lvl3_weight 0.17
bloom_lvl4_weight 0.15
bloom_lvl5_weight 0.14
bloom_lvl6_weight 0.13
bloom_lvl7_weight 0.12
bloom_lvl8_weight 0.11
bloom_lvl9_weight 0.10
bloom_lvl10_weight 0.09
------------------------------

Is there any reason that I would be able to get ridiculous speeds with the exact same settings and -nothrottle, when I can't even get 70% otherwise? That's what's so perplexing about this for me.:(



Ziggy100
MAME Fan
Reged: 06/14/08
Posts: 314
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: dustmite]
#311666 - 07/19/13 06:52 PM


HLSL GPU demands went up quite significantly with 149 and that Nvidia 210 is doing you no favours.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: dustmite]
#311668 - 07/19/13 09:40 PM


> I'm just using the defaults, and it doesn't seem to matter where I set stuff, it's
> still slow. Here are my settings just to be sure.

> hlsl_prescale_x 0
> hlsl_prescale_y 0

Try setting both of these to 1 and see if that helps. (0 is "auto", which can be buggy sometimes).

> Is there any reason that I would be able to get ridiculous speeds with the exact same
> settings and -nothrottle, when I can't even get 70% otherwise? That's what's so
> perplexing about this for me.

Could you give more information about this? What speed does it show throttled vs. unthrottled?



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1112
Loc: Planet Claire
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: R. Belmont]
#311669 - 07/19/13 09:55 PM


If buggy maybe make the default settings to 1 for both.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: joey35car]
#311670 - 07/19/13 10:10 PM


> If buggy maybe make the default settings to 1 for both.

Understandably he'd rather make the auto work correctly



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1112
Loc: Planet Claire
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: R. Belmont]
#311672 - 07/20/13 12:10 AM


I tried setting those to 1 and it is so blurry looking like I need glasses.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: joey35car]
#311673 - 07/20/13 01:24 AM


> I tried setting those to 1 and it is so blurry looking like I need glasses.

Which means nothing since you aren't the OP :P

Unless you were having perf problems before and setting to 1 fixed it.



joey35car
MAME Fan
Reged: 02/07/07
Posts: 1112
Loc: Planet Claire
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: R. Belmont]
#311676 - 07/20/13 01:48 AM


Thanks I didn't have any performance problems just wanted to try those settings.

Thanks for all the work you do for mame and mess.



dustmite
MAME Fan
Reged: 05/08/10
Posts: 12
Send PM


Re: Strange issue running Mame 0149 with HLSL new [Re: R. Belmont]
#311746 - 07/21/13 09:30 PM


> Try setting both of these to 1 and see if that helps. (0 is "auto", which can be
> buggy sometimes).

Thank you Mr. Belmont! That was the problem. 1 is very blurry, but I set it to 2 and it looks good and I've got full speed now.



Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 445 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2142