To start with. I really like the HLSL functionality in Mame so thank you very much to the developers for putting these great options in there.
So... I'm having an issue with the HLSL option in 64bit or 32bit (tried them both) Mame v148 on my Windows 7 64bit machine. Just wondering if anyone out there is having this issue as well or knows how to fix it.
The problem is that when HLSL is turned on I have either a vertical and horizontal line running through my screen that appears to be a line of duplicated or stretched pixels and/or a large blurred section near the middle of my screen depending on my prescale value under the display options and the game's internal resolution. I should mention that this is MameUI I am using. When I run with a prescale of 1 I don't seem to have this issue but then the screen image is quite blurry. Oddly enough when I run Mame v148 32bit on my old 32bit Windows XP machine with an Nvidia gtx 260 I don't have any issues with HLSL and the image is wonderful. HLSL does appear to work on my Windows 7 64bit machine it just has the above image issues. I'm using an Nvidia 660ti on the Win7 machine and I've updated the drivers and I've updated the directx end user runtime but nothing seems to fix this issue. I've also tested this on another Win7 x64 machine (this one with an Nvidia GTX 260 like my xp machine) and I have the same issue. This makes me think that it is an issue with either Win7 or how Win7 handles directx 9.
I have also noticed on the Win7 machine that there are some minor screen issues even with HLSL turned off. One issue is that the image for every game is slightly offset such that the bottom row of pixels is cut off. The other issue is that there is a horizontal and verticle row of pixels on the screen that seem to be duplicated creating a faint line on the screen similar to the issues that I have with HLSL turned on only much more subtle. Just as a side note I also see these issues in Mess.
I don't know if these are new issues or if they have been around for a while since I haven't updated Mame for years and since I just recently started using Mame on Win7. I think that this is an issue with Win7 since even my old version of Mame has similar issues on Win7 that I didn't see in XP.
Here are my setting:
# # WINDOWS VIDEO OPTIONS # video d3d numscreens 1 window 0 maximize 1 keepaspect 1 prescale 7 waitvsync 0 syncrefresh 0 menu 0
# # DIRECTDRAW-SPECIFIC OPTIONS # hwstretch 1
# # DIRECT3D-SPECIFIC OPTIONS # d3dversion 9 filter 1
# # DIRECT3D POST-PROCESSING OPTIONS # hlsl_enable 1 hlslpath hlsl hlsl_ini_read 1 hlsl_ini_write 1 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.0 pincushion 0.0 scanline_alpha 0.0 scanline_size 1.0 scanline_height 0.7 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 defocus 0.0,0.0 converge_x 0.0,0.0,0.0 converge_y 0.0,0.0,0.0 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.0 offset 0.0,0.0,0.0 scale 1.0,1.0,1.0 power 1.0,1.0,1.0 floor 0.0,0.0,0.0 phosphor_life 0.0,0.0,0.0 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
# # PER-WINDOW VIDEO OPTIONS # screen auto aspect auto resolution auto view auto screen0 \\.\DISPLAY2 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 # triplebuffer 1 switchres 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0
|