Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: aldub516 on February 16, 2015, 06:15:06 pm

Title: hlsl not working even though enabled? INI included
Post by: aldub516 on February 16, 2015, 06:15:06 pm
Hey. New problem. I once tried to enable hlsl to try it and had no problem. Now when i enable it, nothing happens. I have since copied other peoples settings over and over trying, but no matter what i cannot get the hlsl settings to work. Am i doing something wrong or do i maybe have a setting wrong thats killing the hlsl? I included my mame.ini

Title: Re: hlsl not working even though enabled? INI included
Post by: Ond on February 17, 2015, 12:49:32 am
Check your graphics card supports the required shaders, older cards may not work with hlsl.
Title: Re: hlsl not working even though enabled? INI included
Post by: lamprey on February 17, 2015, 02:34:34 pm
Are you getting an error? What version and flavor of MAME are you using? Try deleting all your configs and make sure you don't have other ini files around that could interfere (ini directory). Can we assume that you have all the *.fx files in your hlsl directory?

Try running from the command line with the -verbose flag and see what that says.
Title: Re: hlsl not working even though enabled? INI included
Post by: Richardgregory on February 20, 2015, 08:06:34 am
Do you have DirectX 9.0 installed?  I think you need that for HLSL to work.
Title: Re: hlsl not working even though enabled? INI included
Post by: aldub516 on February 24, 2015, 02:41:06 pm
I dont have a video card, but the pc is a brand new build with a z97 pc mate. It ran the hlsl before so i know it works. It just wont now. I did infact do the direct x 9.0 web install that did state was needed for some things to work regardless if i have a newer direct x.. didnt change anything. There is no error or anything, it just doesnt apply the effects. I will go ahead and clear through inis and such to see whats going on. Ill create a new ini and see what happens. Thanks for the advice thus far
Title: Re: hlsl not working even though enabled? INI included
Post by: aldub516 on February 24, 2015, 03:19:30 pm
So, i decided to try it out on my main pc, which is basically a clone of the cabinet, so i can test and change things more conveniently in my office. When enabled, it does nothing again! only this pc has a beefy gpu. I renamed mame.ini to get rid of it, and created a new clean mame.ini. When i go and enable hlsl, and run mame, i get a black screen ? nothing shows. I change the 1 to a 0 for hlsl, and everything shows up fine..

So..
With my ini as is, the effects just dont show up
on a clean ini, hlsl gives me a blank screen..

what can i provide to help you help me :)
Title: Re: hlsl not working even though enabled? INI included
Post by: lamprey on February 24, 2015, 04:29:42 pm
Looks like you have the video setting to AUTO. You need to change that to D3D.

video                     auto

video                     d3d

also, it is suggested to disable multithreading as some games have issues with it and it is supposed to be the default now:
multithreading 0
Title: Re: hlsl not working even though enabled? INI included
Post by: aldub516 on February 25, 2015, 06:01:25 pm
boom^^^^ ok. setting video to d3d was the problem. its working, but giving me a lot of lag. Perhaps it was my main pc that i tried it on originally, and not this pc. I might have to consider a cheap gpu capable of handling the hlsl. Are there any other settings i can play with to help performance without a gpu?

running intel core i5-4690k cpu @3.50 ghz
4 gig ram
z97 pc mate motherboard