|
Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
#352423 - 04/04/16 04:56 AM
|
|
|
Starting from a fresh install, I set my rom path and artwork path, ran mame64 -cc from commandline to generate the .ini file, and set my bgfx_backend to d3d11, video to d3d, filter to 0, bgfx_screen_chains to hlsl. I have no HLSL sliders available, and no filtering is taking place. I do have two monitors, but the secondary monitor is for marquee display. numscreens is set to 1. DirectX 11 is installed. What else should I check?
|
|
|
Qun Mang |
Legend of Link
|
|
|
Reged: 12/12/03
|
Posts: 746
|
Loc: Hidden Hyrulian city Lurkopolis
|
|
Send PM
|
|
|
You didn't write that you set HLSL to 1 ..?
[Re: Nocturnaloner]
#352428 - 04/04/16 05:35 AM
|
|
|
Had to do that very thing myself today.
|
|
|
|
|
> Had to do that very thing myself today.
If you mean hlsl_enable, it's 1. Ini file attached.
Code:
# # OSD VIDEO OPTIONS # video d3d numscreens 1 window 0 maximize 1 waitvsync 0 syncrefresh 0
# # OSD 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
# # OSD FULL SCREEN OPTIONS # switchres 0
# # OSD ACCELERATED VIDEO OPTIONS # filter 0 prescale 1
# # OpenGL-SPECIFIC OPTIONS # gl_forcepow2texture 0 gl_notexturerect 0 gl_vbo 1 gl_pbo 1 gl_glsl 0 gl_glsl_filter 1 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
# # OSD SOUND OPTIONS # sound auto audio_latency 2
# # BGFX POST-PROCESSING OPTIONS # bgfx_path bgfx bgfx_backend d3d11 bgfx_debug 0 bgfx_screen_chains hlsl bgfx_shadow_mask slot-mask.png
# # WINDOWS PERFORMANCE OPTIONS # priority 0 profile 0
# # WINDOWS VIDEO OPTIONS # menu 0
# # DIRECT3D POST-PROCESSING OPTIONS # hlslpath hlsl hlsl_enable 1 hlsl_oversampling 0 hlsl_write hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_tile_mode 0 shadow_mask_alpha 0.0 shadow_mask_texture shadow-mask.png shadow_mask_x_count 6 shadow_mask_y_count 4 shadow_mask_usize 0.1875 shadow_mask_vsize 0.25 shadow_mask_uoffset 0.0 shadow_mask_voffset 0.0 curvature 0.0 round_corner 0.0 smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.0 scanline_size 1.0 scanline_height 1.0 scanline_variation 1.0 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 hum_bar_alpha 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
# # NTSC POST-PROCESSING OPTIONS # yiq_enable 0 yiq_jitter 0.0 yiq_cc 3.57954545 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.5 vector_length_ratio 500.0
# # BLOOM POST-PROCESSING OPTIONS # bloom_blend_mode 0 bloom_scale 0.0 bloom_overdrive 1.0,1.0,1.0 bloom_lvl0_weight 1.0 bloom_lvl1_weight 0.64 bloom_lvl2_weight 0.32 bloom_lvl3_weight 0.16 bloom_lvl4_weight 0.08 bloom_lvl5_weight 0.06 bloom_lvl6_weight 0.04 bloom_lvl7_weight 0.02 bloom_lvl8_weight 0.01
# # FULL SCREEN OPTIONS # triplebuffer 0 full_screen_brightness 1.0 full_screen_contrast 1.0 full_screen_gamma 1.0
Edited by Nocturnaloner (04/04/16 05:50 AM)
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352430 - 04/04/16 05:53 AM
|
|
|
> Starting from a fresh install, I set my rom path and artwork path, ran mame64 -cc > from commandline to generate the .ini file, and set my bgfx_backend to d3d11, video > to d3d, filter to 0, bgfx_screen_chains to hlsl. I have no HLSL sliders available, > and no filtering is taking place. I do have two monitors, but the secondary monitor > is for marquee display. numscreens is set to 1. DirectX 11 is installed. What else > should I check?
If your're trying to use the bgfx 'hlsl' shader chain then your want "video bgfx" not "video d3d".
Also, you can use "bgfx_backend dx9" to select dx9 (or dx11 or opengl) backends if you want to change it from whatever it defaults to. The same filter chains work with all three.
EDIT: I don't think "d3d11" is a valid choice for bgfx_backend. It should be "dx11" or "dx9" for direct3d EDIT2: Maybe it takes both dx11 and d3d11. Sorry about that. EDIT3: > > EDIT: I don't think "d3d11" is a valid choice for bgfx_backend. It should be "dx11" > > or "dx9" for direct3d > > EDIT2: Maybe it takes both dx11 and d3d11. Sorry about that. > > # BGFX POST-PROCESSING OPTIONS > # > -bgfx_path path to BGFX-related files > -bgfx_backend BGFX backend to use (d3d9, d3d11, metal, opengl, gles) > -bgfx_debug enable BGFX debugging statistics > -bgfx_screen_chains comma-delimited list of screen chain JSON names, colon-deli > mited per-window
B2K24 is right. But for what it's worth, it complains when you choose an invalid backend option, but doesn't mind d3d11 or dx11
Edited by SoltanGris42 (04/04/16 06:30 AM)
|
|
|
John IV |
IV/Play, MAME, MAMEUI
|
|
|
Reged: 09/22/03
|
Posts: 1981
|
Loc: Washington, USA
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352431 - 04/04/16 06:01 AM
|
|
|
Did you get the DirectX9 runtime for HLSL?
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: SoltanGris42]
#352432 - 04/04/16 06:04 AM
|
|
|
> EDIT: I don't think "d3d11" is a valid choice for bgfx_backend. It should be "dx11" > or "dx9" for direct3d > EDIT2: Maybe it takes both dx11 and d3d11. Sorry about that.
Quote:
# BGFX POST-PROCESSING OPTIONS # -bgfx_path path to BGFX-related files -bgfx_backend BGFX backend to use (d3d9, d3d11, metal, opengl, gles) -bgfx_debug enable BGFX debugging statistics -bgfx_screen_chains comma-delimited list of screen chain JSON names, colon-deli mited per-window -bgfx_shadow_mask shadow mask texture name
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: John IV]
#352433 - 04/04/16 06:17 AM
|
|
|
> Did you get the DirectX9 runtime for HLSL?
This is needed in addition to DirectX 11?
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: SoltanGris42]
#352434 - 04/04/16 06:21 AM
|
|
|
> > Starting from a fresh install, I set my rom path and artwork path, ran mame64 -cc > > from commandline to generate the .ini file, and set my bgfx_backend to d3d11, video > > to d3d, filter to 0, bgfx_screen_chains to hlsl. I have no HLSL sliders available, > > and no filtering is taking place. I do have two monitors, but the secondary monitor > > is for marquee display. numscreens is set to 1. DirectX 11 is installed. What else > > should I check? > > If your're trying to use the bgfx 'hlsl' shader chain then your want "video bgfx" not > "video d3d". > > Also, you can use "bgfx_backend dx9" to select dx9 (or dx11 or opengl) backends if > you want to change it from whatever it defaults to. The same filter chains work with > all three. > > EDIT: I don't think "d3d11" is a valid choice for bgfx_backend. It should be "dx11" > or "dx9" for direct3d > EDIT2: Maybe it takes both dx11 and d3d11. Sorry about that.
Thanks. I set it to video bgfx, but no luck, and I also tried dx11 for_backend just for kicks, but no luck.
Are there logging settings that will tell me what is failing?
|
|
|
Qun Mang |
Legend of Link
|
|
|
Reged: 12/12/03
|
Posts: 746
|
Loc: Hidden Hyrulian city Lurkopolis
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352435 - 04/04/16 06:35 AM
|
|
|
All I had to do for mine was set hlsl_enable to 1. I left everything else set to auto (even video) and it worked fine. What happens if you change bgfx_backend back to "auto" bgfx_screen_chains back to "default"?
Edit: corrected
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Qun Mang]
#352436 - 04/04/16 06:42 AM
|
|
|
> All I had to do for mine was set hlsl_enable to 1. I left everything else set to auto > (even video) and it worked fine. What happens if you change bgfx_backend and > bgfx_screen_chains back to auto?
Good idea, still no luck. I installed the Directx9 Runtimes and rebooted, still nothing.
Quote:
-bgfx_debug enable BGFX debugging statistics
Does this save a log file somewhere?
Edited by Nocturnaloner (04/04/16 06:48 AM)
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352437 - 04/04/16 06:58 AM
|
|
|
Try these settings in MAME.INI
video bgfx bgfx_path bgfx bgfx_backend auto bgfx_debug 0 bgfx_screen_chains hlsl
Then check the sliders for the off/on switch.
|
---
Try checking the MAME manual at http://docs.mamedev.org
|
|
|
Re: You didn't write that you set HLSL to 1 ..?
[Re: Nocturnaloner]
#352438 - 04/04/16 07:00 AM
|
|
|
That HLSL section is mutually exclusive with the BGFX settings. You use the BGFX renderer with its' own shader packages (hlsl, default, or unfiltered), or you use that HLSL section with Direct3D.
It's quite likely that BGFX will be the default renderer in the near future, and that will simplify things a bit.
|
---
Try checking the MAME manual at http://docs.mamedev.org
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352439 - 04/04/16 07:25 AM
|
|
|
Yes, you still need to download and install the directx 9 runtimes for hlsl to work. There are some files that it has that's needed even if you have directx 11
|
Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Qun Mang]
#352448 - 04/04/16 01:11 PM
|
|
|
> All I had to do for mine was set hlsl_enable to 1. I left everything else set to auto > (even video) and it worked fine. What happens if you change bgfx_backend and > bgfx_screen_chains back to auto?
Well that's not going to help him. There is no screen chain named "auto", so if he tries to use BGFX after following your advice, he's certainly not going to see any sliders...
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Firehawke]
#352450 - 04/04/16 01:29 PM Attachment: mame.ini 10 KB (3 downloads)
|
|
|
> Try these settings in MAME.INI > > video bgfx > bgfx_path bgfx > bgfx_backend auto > bgfx_debug 0 > bgfx_screen_chains hlsl > > Then check the sliders for the off/on switch.
Did do, no luck.
Under slider controls for each raster game, I have Master Volume through Screen Vert Position. Slider Controls is where I should be seeing the HLSL controls, correct? Attaching current .ini
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Envisaged0ne]
#352451 - 04/04/16 01:33 PM
|
|
|
> Yes, you still need to download and install the directx 9 runtimes for hlsl to work. > There are some files that it has that's needed even if you have directx 11
I did that, but I wonder if there's a way to be sure that the files are available to MAME. I found threads on BYOAC where the runtimes solved this issue.
|
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
|
You need to manually enable sliders while the game is loaded!!!! Some settings are not yet loaded/saved in mame.ini
1. After load the game press TAB to open MAME menus 2. select Slider Controls 3. then make sure that Window 0, Screen 0, Enable Adjustments setting in ON
NOTE: you will see the effects turning on/off when toggling the Adjustments setting. If it doesn't work, try deleting files from cfg folder and if you have any custom .ini setting in the ini folder from an older MAME build, delete them as well. Make sure to create a new mame.ini as well if you haven't tried it already.
MAME 0.172 doesn't work properly with older config files... I tested it for myself.
also: - set video output to BGFX (not Direct3D or OpenGL) - BGFX backend can be anything but leave it in AUTO for safety - BGFX chain set it to HLSL
video bgfx bgfx_path bgfx bgfx_backend auto bgfx_debug 0 bgfx_screen_chains hlsl
[ATTACHED IMAGE]
|
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: CiroConsentino]
#352453 - 04/04/16 01:52 PM
|
|
|
> You need to manually enable sliders while the game is loaded!!!! Some settings are > not yet loaded/saved in mame.ini > > 1. After load the game press TAB to open MAME menus > 2. select Slider Controls > 3. then make sure that Window 0, Screen 0, Enable Adjustments setting in ON > > NOTE: you will see the effects turning on/off when toggling the Adjustments setting. > If it doesn't work, try deleting files from cfg folder and if you have any custom > .ini setting in the ini folder from an older MAME build, delete them as well. > Make sure to create a new mame.ini as well if you haven't tried it already. > > MAME 0.172 doesn't work properly with older config files... I tested it for myself. > > also: > - set video output to BGFX (not Direct3D or OpenGL) > - BGFX backend can be anything but leave it in AUTO for safety > - BGFX chain set it to HLSL > > video bgfx > bgfx_path bgfx > bgfx_backend auto > bgfx_debug 0 > bgfx_screen_chains hlsl
Everything is as you've indicated, see my previous .ini file, but the Window, Screen, and Enable Adjustments sliders are not present.
|
|
|
Qun Mang |
Legend of Link
|
|
|
Reged: 12/12/03
|
Posts: 746
|
Loc: Hidden Hyrulian city Lurkopolis
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: MooglyGuy]
#352459 - 04/04/16 04:11 PM
|
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Qun Mang]
#352460 - 04/04/16 04:16 PM
|
|
|
> > > All I had to do for mine was set hlsl_enable to 1. I left everything else set to > > auto > > > (even video) and it worked fine. What happens if you change bgfx_backend and > > > bgfx_screen_chains back to auto? > > > > Well that's not going to help him. There is no screen chain named "auto", so if he > > tries to use BGFX after following your advice, he's certainly not going to see any > > sliders... > > My bad- I just checked with a fresh -cc and it was set to "default" not "auto". As > the author, you would be in the know- would changing bgfx_screen_chains back to > "default" help the OP in any way given that "bgfx_screen_chains hlsl" isn't working > for him?
Seems that the purpose of the screen chains is to indicate which filters to use on a given monitor, so it should be hlsl.
Question: are the DX9 Runtimes installed as a program on your computer, in other words, can you find and uninstall them through the windows control panel?
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Qun Mang]
#352462 - 04/04/16 04:18 PM
|
|
|
I had the same issue.
These are the settings that fixed it for me:
# OSD VIDEO OPTIONS # video bgfx numscreens 1 window 0 maximize 1 waitvsync 0 syncrefresh 0
# # OSD FULL SCREEN OPTIONS # switchres 0
# # OSD ACCELERATED VIDEO OPTIONS # filter 0 prescale 1
# # OpenGL-SPECIFIC OPTIONS # gl_forcepow2texture 0 gl_notexturerect 0 gl_vbo 1 gl_pbo 1 gl_glsl 1 gl_glsl_filter 1 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
# # OSD SOUND OPTIONS # sound auto audio_latency 2
# # BGFX POST-PROCESSING OPTIONS # bgfx_path bgfx bgfx_backend auto bgfx_debug 0 bgfx_screen_chains hlsl bgfx_shadow_mask slot-mask.png
# # WINDOWS PERFORMANCE OPTIONS # priority 0 profile 0
# # WINDOWS VIDEO OPTIONS # menu 0
# # DIRECT3D POST-PROCESSING OPTIONS # hlslpath hlsl hlsl_enable 1 hlsl_oversampling 0 hlsl_write hlsl_snap_width 2048 hlsl_snap_height 1536 shadow_mask_tile_mode 0 shadow_mask_alpha 0.0 shadow_mask_texture shadow-mask.png shadow_mask_x_count 6 shadow_mask_y_count 4 shadow_mask_usize 0.1875 shadow_mask_vsize 0.25 shadow_mask_uoffset 0.0 shadow_mask_voffset 0.0 curvature 0.0 round_corner 0.0 smooth_border 0.0 reflection 0.0 vignetting 0.0 scanline_alpha 0.0 scanline_size 1.0 scanline_height 1.0 scanline_variation 1.0 scanline_bright_scale 1.0 scanline_bright_offset 0.0 scanline_jitter 0.0 hum_bar_alpha 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
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Vaughan]
#352463 - 04/04/16 04:31 PM
|
|
|
It literally boggles my mind how so many people are having trouble with this.
I create a thread saying WOW! this is cool as hell and here's exactly how you make it work with command-line, pics, etc.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Vaughan]
#352464 - 04/04/16 04:35 PM
|
|
|
Quote:
> I had the same issue. > > These are the settings that fixed it for me: >
> gl_glsl 1
That was the only difference, unfortunately, it didn't help. It leaves me thinking that directx is still the issue.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: B2K24]
#352466 - 04/04/16 04:41 PM
|
|
|
> It literally boggles my mind how so many people are having trouble with this. > > I create a thread saying WOW! this is cool as hell and here's exactly how you make it > work with command-line, pics, etc.
It's either my stupid mistake, battling drivers, or incompatible hardware. We'll get it. Thanks for your help so far. Is DX9 an installed program, or a bunch of extracted .dlls only?
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352467 - 04/04/16 05:07 PM
|
|
|
I found my stupid mistake! Bad artwork path contained no slot-mask.png. fixed that. Now the sliders are present, but the screen is totally black. Ideas?
I learned of the error by running from command line with B2K24s example. It also says 'optional pointer s2560_spriteram not found'. Is that the cause of the black screen? Sound and UI works normally.
|
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352468 - 04/04/16 05:13 PM
|
|
|
That's weird. What Windows are you using ? I'm using Windows 7 SP1 64-bits.
Also, do not overwrite a previous MAME build with v0.172. Make a complete new install. I overwrote my previous MAME version and I was getting all sorts of errors and game bugs. After installing v0.172 in a new folder, all problems were gone.
|
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352470 - 04/04/16 05:15 PM
|
|
|
DX9 installs in your system and there's no way to uninstall it. You can install DX9 pack again, no problem. It will overwrite current installed files.
I'm glad you found the problem.
|
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: B2K24]
#352473 - 04/04/16 05:22 PM
|
|
|
> It literally boggles my mind how so many people are having trouble with this. > > I create a thread saying WOW! this is cool as hell and here's exactly how you make it > work with command-line, pics, etc.
Yeah well - that's what you get for assuming everyone is using the command line.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352474 - 04/04/16 05:23 PM
|
|
|
> I found my stupid mistake! Bad artwork path contained no slot-mask.png. fixed that. > Now the sliders are present, but the screen is totally black. Ideas? > > I learned of the error by running from command line with B2K24s example. It also says > 'optional pointer s2560_spriteram not found'. Is that the cause of the black screen? > Sound and UI works normally.
START - RUN - DXDIAG.EXE
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: CiroConsentino]
#352475 - 04/04/16 05:24 PM
|
|
|
> That's weird. What Windows are you using ? > I'm using Windows 7 SP1 64-bits. > > Also, do not overwrite a previous MAME build with v0.172. Make a complete new > install. I overwrote my previous MAME version and I was getting all sorts of errors > and game bugs. > After installing v0.172 in a new folder, all problems were gone.
Completely fresh install, as mentioned in first post. Win7 64 Pro SP1.
Command line warns of other missing optional pointers:
Quote:
A:\MAME 0172 64bit>mame64 mspacman -numscreens 1 -video bgfx -bgfx_screen_chains hlsl Video: Monitor 0000000008bd1e18 = "\\.\DISPLAY1" (primary) Video: Monitor 0000000008bca228 = "\\.\DISPLAY2" Physical width 1600, height 1200 RawInput: APIs detected RawInput: APIs detected DirectInput: Using DirectInput 8 DirectSound: Primary buffer: 48000 Hz, 16 bits, 2 channels Input: Adding Kbd #0: Microsoft eHome Remote Control Keyboard keys Input: Adding Kbd #1: Microsoft eHome MCIR Keyboard Input: Adding Kbd #2: Microsoft eHome MCIR 109 Keyboard Input: Adding Kbd #3: HID Keyboard Device Input: Adding Kbd #4: HID Keyboard Device Input: Adding Mouse #0: Microsoft PS/2 Mouse Input: Adding Mouse #1: HID-compliant mouse Input: Adding Mouse #2: HID-compliant mouse Input: Adding Mouse #3: HID-compliant mouse Input: Adding Mouse #4: HID-compliant mouse Input: Adding Mouse #5: HID-compliant mouse Input: Adding Gun #0: Win32 Gun 1 Input: Adding Joy #0: Ultimarc Ultra-Stik Player 1 Region ':maincpu' created Region ':gfx1' created Region ':proms' created Region ':namco' created Starting Ms. Pac-Man ':' Optional shared pointer 'patched_opcodes' not found Optional shared pointer 'rocktrv2_prot' not found Optional shared pointer 's2650_tileram' not found Optional shared pointer 's2650_spriteram' not found (missing dependencies; rescheduling) Starting Z80 ':maincpu' Starting gfxdecode ':gfxdecode' Starting palette ':palette' Starting Video Screen ':screen' Starting Speaker ':mono' (missing dependencies; rescheduling) Starting Namco ':namco' Starting Ms. Pac-Man ':' Optional shared pointer 'patched_opcodes' not found Optional shared pointer 'rocktrv2_prot' not found Optional shared pointer 's2650_tileram' not found Optional shared pointer 's2650_spriteram' not found (missing dependencies; rescheduling) Starting Speaker ':mono' Starting Ms. Pac-Man ':' Optional shared pointer 'patched_opcodes' not found Optional shared pointer 'rocktrv2_prot' not found Optional shared pointer 's2650_tileram' not found Optional shared pointer 's2650_spriteram' not found Average speed: 99.00% (93 seconds) Sound: buffer overflows=28 underflows=0
A:\MAME 0172 64bit>
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Vaughan]
#352476 - 04/04/16 05:26 PM
|
|
|
> > I found my stupid mistake! Bad artwork path contained no slot-mask.png. fixed that. > > Now the sliders are present, but the screen is totally black. Ideas? > > > > I learned of the error by running from command line with B2K24s example. It also > says > > 'optional pointer s2560_spriteram not found'. Is that the cause of the black > screen? > > Sound and UI works normally. > > START - RUN - DXDIAG.EXE
Dxdiag shows no errors. What am I looking for?
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Vaughan]
#352477 - 04/04/16 05:31 PM
|
|
|
> Yeah well - that's what you get for assuming everyone is using the command line.
It's not an assumption. It's simply the easiest way to pass exactly what you want to MAME.
You can also translate the command-line arguments to mame.ini settings and enable them there. It's not difficult and it's basically the same thing.
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352478 - 04/04/16 05:36 PM
|
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: B2K24]
#352482 - 04/04/16 05:57 PM
|
|
|
> > > START - RUN - DXDIAG.EXE > > > > Dxdiag shows no errors. What am I looking for? > > Literally all I had to do after I reformatted and installed Windows 10 Pro was run > dxwebsetup.exe > > https://www.microsoft.com/en-us/download/confirmation.aspx?id=35 > > Have you done this and what is your CPU and GPU?
Yes I have.
cpu: i5 4670 3.4 ghz, gpu: GTX 650
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: B2K24]
#352488 - 04/04/16 06:55 PM
|
|
|
> > Yeah well - that's what you get for assuming everyone is using the command line. > > It's not an assumption. It's simply the easiest way to pass exactly what you want to > MAME. > > You can also translate the command-line arguments to mame.ini settings and enable > them there. It's not difficult and it's basically the same thing.
Even easier than a command-line is checking a box in a UI. I left command line games back in the 90's.
Tis not a matter of difficulty. You can get Windows to do what you want with it by editing the registry directly - but most people use the UI - and for good reason.
I think the questions on this speak volumes to "ease of use", and that - in fact - there is plenty of room for problems no matter how you run things. As stated earlier, I simply don't understand why anyone would want to run Mame from the command-line. Best wait for settings to mature, and migrate to the UI. I can't be bothered to set up a batch file, and to type in the game name each time...... it's 2016, after all.
Still, each to their own.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Vaughan]
#352496 - 04/04/16 09:08 PM
|
|
|
For what it's worth, vector games run fine now, but raster games have no visual display. Are there any other debug or logging flags that could provide more information?
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352502 - 04/04/16 11:49 PM
|
|
|
> For what it's worth, vector games run fine now, but raster games have no visual > display. Are there any other debug or logging flags that could provide more > information?
For what it's worth, I get sound but no video with "bgfx_backend d3d9". It works fine for me with "bgfx_backend d3d11" and "bgfx_backend opengl". Since I compiled the shaders myself, I just assumed that it was a problem on my end.
But if you have things partially working, then you might want to try the other backends and see if that works.
I also see that you corrected a path/folder issue. Are you quite sure that your MAME folder has a bgfx subfolder that's populated with the chain, effects, and shader folders? If you somehow didn't have the artwork folder (or files inside it) then maybe you're missing more than that.
You should have:
...\MAME_FOLDER\bgfx\chain ...\MAME_FOLDER\bgfx\effects ...\MAME_FOLDER\bgfx\shaders
and each of the should have files and/or more folders inside them.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: SoltanGris42]
#352503 - 04/05/16 12:11 AM
|
|
|
> > For what it's worth, vector games run fine now, but raster games have no visual > > display. Are there any other debug or logging flags that could provide more > > information? > > For what it's worth, I get sound but no video with "bgfx_backend d3d9". It works fine > for me with "bgfx_backend d3d11" and "bgfx_backend opengl". Since I compiled the > shaders myself, I just assumed that it was a problem on my end. > > But if you have things partially working, then you might want to try the other > backends and see if that works. > > I also see that you corrected a path/folder issue. Are you quite sure that your MAME > folder has a bgfx subfolder that's populated with the chain, effects, and shader > folders? If you somehow didn't have the artwork folder (or files inside it) then > maybe you're missing more than that. > > You should have: > > ...\MAME_FOLDER\bgfx\chain > ...\MAME_FOLDER\bgfx\effects > ...\MAME_FOLDER\bgfx\shaders > > and each of the should have files and/or more folders inside them.
The bgfx directories are complete and untouched. Some good news: opengl on the backend works! d3d9 and d3d11 do not, which is infuriating. Could it be my dual monitor setup? If so, why does opengl work?
At least I can confirm that I have all the DirectX .dlls I need:
Quote:
http://answers.microsoft.com/en-us/windows/forum/windows_other-gaming/have-directx-11-wont-play-games-says-i-need/300f3c23-d2cb-4750-9566-aad125857c8c
Have a look in your Windows/System32 folder for the following : This folder are where thed3dx.dll's live. They are in alphabetical order and will start withDX9 24 through to 43 . Then DX10 33 - 43 & finally DXD11 42 - 43. If you have all of these then you have all of the DX available.
Edited by Nocturnaloner (04/05/16 01:19 AM)
|
|
|
B2K24 |
MAME @ 15 kHz Sony Trinitron CRT user
|
|
|
Reged: 10/25/10
|
Posts: 2663
|
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352517 - 04/05/16 04:33 AM
|
|
|
This makes me wonder now if it could possibly be an issue with Nvidia's latest drivers.
I've been lazy and stayed on 362.00 because I've read reports about a month or so back of people installing the latest and then getting Blue Screened.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: B2K24]
#352532 - 04/05/16 03:56 PM
|
|
|
> This makes me wonder now if it could possibly be an issue with Nvidia's latest > drivers. > > I've been lazy and stayed on 362.00 because I've read reports about a month or so > back of people installing the latest and then getting Blue Screened.
I'm on 361.43.
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9717
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352534 - 04/05/16 05:10 PM
|
|
|
> Command line warns of other missing optional pointers:
"Optional" = *not* required or necesssary, like the dictionary says. MAME exits if it can't find a pointer which *is* required/necessary.
Is there some other way we could word that which would make it more understandable to you? Not being snarky or anything, we're always on the lookout for messages which more people will understand.
|
|
|
|
Just lock the thread already
[Re: Nocturnaloner]
#352538 - 04/05/16 05:25 PM
|
|
|
This is going nowhere. Everyone is bending over backwards to help the OP, and have told him the correct instructions to get it working multiple times over. At this point, the OP is obviously either not listening or is lying to us.
The only thing to do at this point is to just link to the official MAME documentation and lock the thread. Known idiot Big Karnak was able to get it working, and Dullaron is literally mentally disabled and managed to get it working.
Speaking for myself, I also went to painstaking lengths to make the BGFX shader system as idiot-proof as possible, so seeing this huge thread every time I come to the EmuChat subforum is literally depressing me to the point that I want to just say "to hell with it" and rip the shader system right back out. Lock the thread.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: R. Belmont]
#352543 - 04/05/16 06:37 PM
|
|
|
> > Command line warns of other missing optional pointers: > > "Optional" = *not* required or necesssary, like the dictionary says. MAME exits if it > can't find a pointer which *is* required/necessary. > > Is there some other way we could word that which would make it more understandable to > you? Not being snarky or anything, we're always on the lookout for messages which > more people will understand.
It's a very good point. The reason that I asked is, the missing optional pointers were the only feedback I had on this situation. Since I'm not an expert, I didn't know if an accumulation of missing optional elements could cause an image to not display.
|
|
|
|
Re: Just lock the thread already
[Re: MooglyGuy]
#352544 - 04/05/16 06:45 PM
|
|
|
> This is going nowhere. Everyone is bending over backwards to help the OP, and have > told him the correct instructions to get it working multiple times over. At this > point, the OP is obviously either not listening or is lying to us. > > The only thing to do at this point is to just link to the official MAME documentation > and lock the thread. Known idiot Big Karnak was able to get it working, and Dullaron > is literally mentally disabled and managed to get it working. > > Speaking for myself, I also went to painstaking lengths to make the BGFX shader > system as idiot-proof as possible, so seeing this huge thread every time I come to > the EmuChat subforum is literally depressing me to the point that I want to just say > "to hell with it" and rip the shader system right back out. Lock the thread.
Windows PCs are infamous for having conflicts among drivers, and non-compliant hardware, or corrupt software installs, any one of which could be at issue here. Even if this is 100% due to my error, it's simply a matter of figuring out the mistake. Frankly, I'm surprised to see you take a simple help request so personally that you would demand to see it shut down, so that you don't have to be offended by my problem. The length of the thread is a testament to the community's willingness to help, not an insult to your shader system.
|
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352566 - 04/06/16 02:41 AM
|
|
|
Just to check out DirectX, since I have no games installed on this machine besides MAME, I downloaded 3DMark. After I ran it, BGFX started working. Could be a coincidence, but I did nothing else. Strange, but I'm glad it's working. Thanks to everyone!
|
|
|
CiroConsentino |
Frontend freak!
|
|
|
Reged: 09/21/03
|
Posts: 6211
|
Loc: Alien from Terra Prime... and Brazil
|
|
Send PM
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352567 - 04/06/16 02:58 AM
|
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: CiroConsentino]
#352568 - 04/06/16 03:23 AM
|
|
|
|
R. Belmont |
Cuckoo for IGAvania
|
|
|
Reged: 09/21/03
|
Posts: 9717
|
Loc: ECV-197 The Orville
|
|
Send PM
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: CiroConsentino]
#352586 - 04/06/16 04:53 PM
|
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352598 - 04/06/16 09:56 PM
|
|
|
> Just to check out DirectX, since I have no games installed on this machine besides > MAME, I downloaded 3DMark. After I ran it, BGFX started working. Could be a > coincidence, but I did nothing else. Strange, but I'm glad it's working. Thanks to > everyone!
I did the same thing. HLSL no longer stops emulation. Any place that explains all the sliders? I know what a majority of them do, but there are many I am not sure of.
Edited by Atomic Dragon (04/06/16 10:58 PM)
|
I play by my rules
|
|
Dullaron |
Mitchell or Dunard Garaus
|
|
|
Reged: 07/22/05
|
Posts: 6134
|
Loc: Fort Worth, Tx
|
|
Send PM
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352599 - 04/06/16 10:27 PM
|
|
|
> I did both, the web installer and the redist, and still had the problem, but I did > not do the 11.1 update.
Sound like you have a virus scanner or some tool that is blocking MAME. Find that and then uninstall it. Get a better one. http://free.avg.com/us-en/free-downloads
By the way. Screw Norton. Don't get this.
Unless you have a virus attack eating your files a live.
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Atomic Dragon]
#352628 - 04/07/16 06:07 AM
|
|
|
> I did the same thing. HLSL no longer stops emulation. Any place that explains all the > sliders? I know what a majority of them do, but there are many I am not sure of.
Which ones do you need to know? I'm open to change the names of the sliders if there's a simpler way of describing them.
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: MooglyGuy]
#352654 - 04/07/16 07:16 PM
|
|
|
> > I did the same thing. HLSL no longer stops emulation. Any place that explains all > the > > sliders? I know what a majority of them do, but there are many I am not sure of. > > Which ones do you need to know? I'm open to change the names of the sliders if > there's a simpler way of describing them.
From my experimentation so far, one question that I have is, which settings combine to create the trail effect that I see behind moving objects? Is it only the bloom settings, or are others involved? I'd like to come up with a reduced version of what comes up as the preset, but setting the different bloom levels to half of what they are currently, had little effect. If I take them down too far, the effect disappears altogether. That's why I'd like to know if something besides bloom is involved.
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: MooglyGuy]
#352767 - 04/09/16 06:18 PM
|
|
|
> Which ones do you need to know? I'm open to change the names of the sliders if > there's a simpler way of describing them.
How about you or someone write a guide that gives a description of each slider. I don't think it's necessary to rename them. Just a guide with a list of all the sliders and a brief description of their functions in table form. If someone asks, all you or anyone has to to is send a link to the guide. I'd assume that would make things easier, but opinions vary. I am curious as to what "individual scanline scale" and "scanline variation" does though.
Edited by Atomic Dragon (04/09/16 06:43 PM)
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352768 - 04/09/16 06:48 PM
|
|
|
> From my experimentation so far, one question that I have is, which settings combine > to create the trail effect that I see behind moving objects? Is it only the bloom > settings, or are others involved? I'd like to come up with a reduced version of what > comes up as the preset, but setting the different bloom levels to half of what they > are currently, had little effect. If I take them down too far, the effect disappears > altogether. That's why I'd like to know if something besides bloom is involved.
Phosphor life works for that purpose. try cranking all 3 colors channels up to 50 or so.
Edited by Atomic Dragon (04/09/16 07:24 PM)
|
|
|
|
Re: Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Atomic Dragon]
#352839 - 04/11/16 12:05 AM
|
|
|
Hi. My name is wesley. You can find more information about HLSL options in docs/hlsl.txt in your local MAME distribution. If you would like to know more about the TV technology related to these effects, see the CRT article on Wikipedia.
|
|
|
Tafoid |
I keep on testing.. testing.. testing... into the future!
|
|
|
Reged: 04/19/06
|
Posts: 3138
|
Loc: USA
|
|
Send PM
|
|
|
Re: Mame 0.172 64, Win7, Dx11, can't activate HLSL or BGFX. No filtering or sliders available.
[Re: Nocturnaloner]
#352846 - 04/11/16 05:01 AM
|
|
|
> Starting from a fresh install, I set my rom path and artwork path, ran mame64 -cc > from commandline to generate the .ini file, and set my bgfx_backend to d3d11, video > to d3d, filter to 0, bgfx_screen_chains to hlsl. I have no HLSL sliders available, > and no filtering is taking place. I do have two monitors, but the secondary monitor > is for marquee display. numscreens is set to 1. DirectX 11 is installed. What else > should I check?
Original question/issue answered and resolved. If you need to discuss other things, start a new thread.]
Locking
|
|
|