MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Mokum
MAME Fan
Reged: 03/29/16
Posts: 2
Send PM


HLSL not working on MAME 0.170/0.171
#352103 - 03/29/16 09:30 AM


I've been using MAMEUIFX 0.161 for quite some time so I decided to switch to MAME 0.170. Unfortunately, everytime I enable HLSL, I get a black screen. The game loads and all but it's plain black with no sound... I tried MAME 0.171 and it's the same story...
If I launch back MAME 0.161 everything plays smoothly though.
At first I thought there was an issue about the ini file, like different instructions needed to be given to the emulator or such, so I created a brand new ini file and just changed "hlsl_enable" from 0 to 1... Still no success...
I just can't figure out what's the deal with it...
Any thoughts?



Dr. Spankenstein
MAME Fan
Reged: 05/15/10
Posts: 77
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352104 - 03/29/16 09:56 AM


Most likely the same issue as my post here: http://www.mameworld.info/ubbthreads/sho...part=1&vc=1

There's been a lot of work in this area for the upcoming 0.172 release, so I would imagine that your issue may have been addressed in that version?



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352107 - 03/29/16 12:14 PM


Probably have outdated HLSL files in the HLSL folder. Also this post does not belong under news. EmuChat would be more appropriate.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352110 - 03/29/16 05:01 PM


> I've been using MAMEUIFX 0.161 for quite some time so I decided to switch to MAME
> 0.170. Unfortunately, everytime I enable HLSL, I get a black screen. The game loads
> and all but it's plain black with no sound... I tried MAME 0.171 and it's the same
> story...
> If I launch back MAME 0.161 everything plays smoothly though.
> At first I thought there was an issue about the ini file, like different instructions
> needed to be given to the emulator or such, so I created a brand new ini file and
> just changed "hlsl_enable" from 0 to 1... Still no success...
> I just can't figure out what's the deal with it...
> Any thoughts?

Seems to be the classic case of I've been sticking with an old version for so long but now I want to upgrade and things weren't done correctly.

I really need a quick and dirty way to C&P a solution to this.

Try this


Quote:


The new MAME 0.172 comes out in a couple days (Wednesday) When this happens go to mamedev.org and download the appropriate archive. Hopefully you're 64-bit

http://mamedev.org/release.html

Extract it into an empty folder preferably on a secondary drive. execute mame64 -cc this creates a mame.ini that you can open with Notepad ++ or equivalent and set options. In your case the most important seems to be rompath option so MAME can find all your ROMs, CHDs, software lists.

rompath J:\MAME ROMs;J:\MAME CHDs;J:\SOFTWARE LIST ROMS;J:\MESS CHDs;I:\MESS CHDs

After which you have the option of using MAME's internal UI or hooking up QMC2.

http://wiki.batcom-it.net/index.php?title=The_%27ultimate%27_guide_to_QMC2

http://docs.mamedev.org/ />




Mokum
MAME Fan
Reged: 03/29/16
Posts: 2
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352112 - 03/29/16 05:49 PM


I feel so much enlightened now...
Maybe you've missed the part where I've tried with a brand new MAME 0.171 download. I've just downloaded it and switched hlsl_enable from 0 to 1. What does this has to do with outdated files?



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352117 - 03/29/16 07:01 PM


You most likely did not update the files in the ./hlsl/ folder. If you did please start MAME from the command-line with the -v option and post the console output.

mame64.exe -v [set-name]



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352124 - 03/30/16 12:09 AM


> I feel so much enlightened now...
> Maybe you've missed the part where I've tried with a brand new MAME 0.171 download.
> I've just downloaded it and switched hlsl_enable from 0 to 1. What does this has to
> do with outdated files?

I just want to point out that you came to us for help. Taking an attitude with us when the free help is not to your liking really isn't going to take this conversation is a productive direction, so maybe chill out and post your PC's specifications, for instance.



CiroConsentino
Frontend freak!
Reged: 09/21/03
Posts: 6211
Loc: Alien from Terra Prime... and Brazil
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352127 - 03/30/16 01:00 AM


From what I could see, even the effect files have changed. They are renewing HLSL feature with BFGX and A LOT of files are changing. You can't just use the old fx files because they ARE different than the new ones.

That's why you get weird effects with your outdated effects files. There is no other choice, you either update the files or stay with an old MAME build.



Emu Loader
Ciro Alfredo Consentino
home: http://emuloader.mameworld.info
e-mail: [email protected]



redk9258
Regular
Reged: 09/21/03
Posts: 3968
Loc: Troy, Illinois USA
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352128 - 03/30/16 01:30 AM


> What does this has to
> do with outdated files?

Well you didn't say HOW you updated to 0.171. To some that would mean only replacing the exe file. If you did indeed use the matching HLSL files from 0.171, then great. You may have a hardware compatibility problem or driver issue. Looks like you have the best candidate to help you out. I hope you get it going.



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3200
Loc: A long way from you
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352129 - 03/30/16 01:59 AM


> I feel so much enlightened now...
> Maybe you've missed the part where I've tried with a brand new MAME 0.171 download.
> I've just downloaded it and switched hlsl_enable from 0 to 1. What does this has to
> do with outdated files?

How old is your hardware? HLSL requires d3d to work, but older video cards, and inbuilt Intel gfx don't support all the required features. If you have a Pentium 4 you will quite likely have the problem. So, try -video gdi and if you get a picture you now know what the problem is.



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: redk9258]
#352552 - 04/05/16 10:07 PM



> Well you didn't say HOW you updated to 0.171. To some that would mean only replacing
> the exe file. If you did indeed use the matching HLSL files from 0.171, then great.
> You may have a hardware compatibility problem or driver issue. Looks like you have
> the best candidate to help you out. I hope you get it going.

I have just downloaded a complete fresh copy of 0.172 and HLSL shuts down the emulator entirely. How new do these files have to be? I just downloaded them from the official site.
I consider my hardware to be fairly new and overkill for this program. I don't think it's that. I am pretty sure its not my GTX970 causing this.



I play by my rules



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352555 - 04/05/16 11:14 PM


> I have just downloaded a complete fresh copy of 0.172 and HLSL shuts down the
> emulator entirely. How new do these files have to be? I just downloaded them from the
> official site.
> I consider my hardware to be fairly new and overkill for this program. I don't think
> it's that. I am pretty sure its not my GTX970 causing this.

I have a GTX 970 also and can run HLSL or BGFX with 0.172 with absolutely 0 problems at all. I could run it 24/7 if I really wanted to.

You're not providing very much information so how do you expect to be helped?

At this point I'm chalking it up to system instability or your GFX card isn't properly cooled.



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: B2K24]
#352557 - 04/05/16 11:33 PM


What information specifically is needed?
I have the latest drivers.
Running Win10 with no driver conflicts of any kind.
The card never exceeds 68°C under its heaviest use (ex: playing GTA5 and such) Supposedly it can handle temps up to 80°c
I have no problems with any other programs.

Edited by Atomic Dragon (04/05/16 11:35 PM)



I play by my rules



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352561 - 04/06/16 12:36 AM


While that might be interesting to you, that provided no helpful information towards your problem at all



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



Qun Mang
Legend of Link
Reged: 12/12/03
Posts: 746
Loc: Hidden Hyrulian city Lurkopolis
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352570 - 04/06/16 04:10 AM


> What information specifically is needed?
> I have the latest drivers.
> Running Win10 with no driver conflicts of any kind.
> The card never exceeds 68°C under its heaviest use (ex: playing GTA5 and such)
> Supposedly it can handle temps up to 80°c
> I have no problems with any other programs.

If you are following the BGFX/HLSL Sliders thread, the poster there had good luck after installing 3DMark, which probably installed the needed DirectX drivers (which he claimed to have installed individually to no avail). Perhaps this will fix your issues too.

FWIW I have Windows 10 with a GTX 970 and it works fine for me, but I installed Win 10 as an upgrade so the DirectX drivers were there from before. I am also on the latest (364.72) drivers.



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Envisaged0ne]
#352581 - 04/06/16 02:57 PM


I asked "What information specifically is needed?"
You not providing an answer to that question is also not helpful.



I play by my rules



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352582 - 04/06/16 03:43 PM


So when he stated that you're not providing us with any info, you thought that letting us know you can play gta5 is at all helpful or useful to anyone? That's not the info that's needed to troubleshoot your problem. Use some common sense and figure out what he needs from you to better assist you.

Edited by Envisaged0ne (04/06/16 08:03 PM)



Windows 11 64 bit OS
Intel Core i7-10700
Nvidia GeForce RTX 2060 6GB
32GB DDR4 RAM



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352591 - 04/06/16 06:02 PM


> I have just downloaded a complete fresh copy of 0.172 and HLSL shuts down the emulator entirely.

Can you run MAME with the following command line and post the console output, please?


Code:

mame64.exe -v [set-name] > output.txt




Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Jezze]
#352712 - 04/08/16 08:45 PM


> > I have just downloaded a complete fresh copy of 0.172 and HLSL shuts down the
> emulator entirely.
>
> Can you run MAME with the following command line and post the console output, please?
>
> mame64.exe -v [set-name] > output.txt

[set-name]? what goes there?

Edited by Atomic Dragon (04/08/16 08:47 PM)



I play by my rules



Jezze
Reged: 03/14/05
Posts: 72
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352713 - 04/08/16 09:01 PM


The name of the ROM set (the name of the ZIP archive), "puckman" or whatever.



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Envisaged0ne]
#352714 - 04/08/16 09:15 PM


> So when he stated that you're not providing us with any info, you thought that
> letting us know you can play gta5 is at all helpful or useful to anyone? That's not
> the info that's needed to troubleshoot your problem. Use some common sense and figure
> out what he needs from you to better assist you.


I wouldn't have to figure that out if I were simply told what information I needed to supply. I didn't realize that was so difficult.
There seems to be little to no information (that I can find) that pairs the .ini files with GUI setting such as what video mode to use with raster game and vector game specifically.
I figured out that BGFX works for raster games. I don't know what works to get all the sliders for vector games. Direct3d with HLSL enables the sliders, but I cant see the visuals.

If there is any more info you need perhaps stating in clear detail what info you need will be more useful.
It's been 3 years since I updated MAME. Things have changed.



I play by my rules



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Jezze]
#352716 - 04/08/16 09:28 PM


> The name of the ROM set (the name of the ZIP archive), "puckman" or whatever.

I tried that. I made sure the name was correct.
I get an unknown system error.
Can't tell you what I did wrong. I am not sure what wrong is.



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352717 - 04/08/16 09:50 PM


> > The name of the ROM set (the name of the ZIP archive), "puckman" or whatever.
>
> I tried that. I made sure the name was correct.
> I get an unknown system error.
> Can't tell you what I did wrong. I am not sure what wrong is.

Must've not have the official build download. Did you download from here? http://mamedev.org/

Seem like a screw up build that you have. No telling where that came from. Use the fresh one. Delete the older files. Keep the ROM's and samples though. Try again after that.

Use this command to update the mame.ini or make a new one. mame64 -cc



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Dullaron]
#352718 - 04/08/16 10:03 PM



> Must've not have the official build download. Did you download from here?
> http://mamedev.org/
>
> Seem like a screw up build that you have. No telling where that came from. Use the
> fresh one. Delete the older files. Keep the ROM's and samples though. Try again after
> that.
>
> Use this command to update the mame.ini or make a new one. mame64 -cc

Where talking about 2 different versions of MAME I think.
I am talking about problems specifically for mameuifx 0.72 which I download from the official mameuifx site.



Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352721 - 04/08/16 10:26 PM


> Where talking about 2 different versions of MAME I think.
> I am talking about problems specifically for mameuifx 0.72 which I download from the
> official mameuifx site.

Oh OK. That explain it.

Did you try out the MAMEUI to see that issue still there? http://www.mameui.info/ I know it not the MAMEUIFX. It should solve that issue.



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Dullaron]
#352728 - 04/09/16 01:36 AM


> Oh OK. That explain it.
>
> Did you try out the MAMEUI to see that issue still there? http://www.mameui.info/ I
> know it not the MAMEUIFX. It should solve that issue.

No help there.
The update 0.72.1 seemed to have worked though. Not sure why.

Edited by Atomic Dragon (04/09/16 01:57 AM)



Firehawke
Manual Meister
Reged: 08/12/06
Posts: 665
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352744 - 04/09/16 07:55 AM


Vector support isn't in for BGFX yet. Probably in the next or subsequent version.

BGFX is still in heavy development, and the version in 172 is more of a preview of things to come than anything else.



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Atomic Dragon]
#352752 - 04/09/16 01:14 PM


> Where talking about 2 different versions of MAME I think.
> I am talking about problems specifically for mameuifx 0.72 which I download from the
> official mameuifx site.

MAME 0.72 is years and years old.

Also, when people started telling you to run MAME from the command line, did you not at any point clock that maybe they were talking about the official version, and not some random derivative build?




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


Re: HLSL not working on MAME 0.170/0.171 new [Re: Mokum]
#352755 - 04/09/16 02:38 PM


> I feel so much enlightened now...
> Maybe you've missed the part where I've tried with a brand new MAME 0.171 download.
> I've just downloaded it and switched hlsl_enable from 0 to 1. What does this has to
> do with outdated files?

It's a good idea lately to download new MAME versions to a new folder in order to ensure stale files don't stick around and fuck everything up. That goes double if you intend to use HLSL or BGFX.



Envisaged0ne
MAME Fan
Reged: 08/29/06
Posts: 543
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: MooglyGuy]
#352757 - 04/09/16 02:47 PM


He hasn't exactly impressed me as a mental giant



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: MooglyGuy]
#352760 - 04/09/16 03:36 PM


MAME 0.72 is years and years old.
>
> Also, when people started telling you to run MAME from the command line, did you not
> at any point clock that maybe they were talking about the official version, and not
> some random derivative build?

it's been a looong time since I ran that version of MAME.
All I know is the conversation started with MAMEUIFX 0.161 and then I didn't see any mention of it being an official version. I searched for this instead of creating an unnecessary new topic (which I am sure would have gotten your panties in a bunch), and there is a whole section on MAMEUIFX (which must be an insult to your high and mightiness for it not being the original MAME).
Wouldn't it have been easier to just write "This topic is for the official version" instead of climbing high on your pedestal that you built for yourself and talk down to people about the one subject you know more about than others? How about actually being helpful rather than exposing one to douchebaggery of epic proportions. The fact you did this after the problem was solved is a testament to that.

Edited by Atomic Dragon (04/09/16 05:53 PM)



Atomic Dragon
Space Takerupper
Reged: 09/22/03
Posts: 45
Loc: Massachusetts
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Envisaged0ne]
#352761 - 04/09/16 03:57 PM


> He hasn't exactly impressed me as a mental giant

He's looking for help.
You haven't exactly impressed me with your Sheldon Cooper level of social skills.
You may know a lot about MAME, but that's probably the limit.

Edited by Atomic Dragon (04/09/16 05:51 PM)



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: R. Belmont]
#352917 - 04/12/16 11:39 PM



> It's a good idea lately to download new MAME versions to a new folder in order to ensure stale files don't stick around and fuck everything up. That goes double if you intend to use HLSL or BGFX.


I don't know why people are insistent on fucking about with .170 and .171 . Unless one is interested in playing with new features, and hence ONLY using .172-onward, they should be sticking with .168 or less.


@Atomic Dragon: dude, FX has its own forum. You shouldn't even be posting that shit here. Even so, you should've mentioned your build from the beginning. These are common senses; there's a reason they're different builds.



MooglyGuy
Renegade MAME Dev
Reged: 09/01/05
Posts: 2261
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Traso]
#352920 - 04/13/16 01:40 AM


> I don't know why people are insistent on fucking about with .170 and .171 . Unless
> one is interested in playing with new features, and hence ONLY using .172-onward,
> they should be sticking with .168 or less.

Oh fuck off you insufferable stoner dickwad.



Firehawke
Manual Meister
Reged: 08/12/06
Posts: 665
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Traso]
#352924 - 04/13/16 01:58 AM


Totally discounting controller fixes, HLSL fixes, new game support, and a lot of other stuff that's come out in the last few months.

But sure, stay on 168 if it makes you happy. Just don't be suggesting that to other people or they might take you seriously.



B2K24
MAME @ 15 kHz Sony Trinitron CRT user
Reged: 10/25/10
Posts: 2663
Send PM


Re: HLSL not working on MAME 0.170/0.171 new [Re: Traso]
#352928 - 04/13/16 04:01 AM


> I don't know why people are insistent on fucking about with .170 and .171 . Unless
> one is interested in playing with new features, and hence ONLY using .172-onward,
> they should be sticking with .168 or less.


Why not stay at 0.106 so your XP UI cab can run as efficiently as possible


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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