Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame HLSL compilation error with Windows 8.1  (Read 2741 times)

0 Members and 1 Guest are viewing this topic.

dfwdennis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 22, 2016, 06:12:23 pm
  • I want to build my own arcade controls!
Mame HLSL compilation error with Windows 8.1
« on: December 02, 2014, 11:58:00 pm »
One of my Black Friday purchases was a new PC for my Mame cabinet.  It (unfortunately) came with Windows 8.1.  I have everything working fine other than when I try to enable HLSL.  When I do that, Mame crashes on launch with the following error:

Unable to compile shader: hlsl\yiq_decode.fx(133,3): error X6077: texld/texldb/t
exldp/dsx/dsy instructions with r# as source cannot be used inside dynamic condi
tional 'if' blocks, dynamic conditional subroutine calls, or loop/rep with break
*.
ID3DXEffectCompiler: Compilation failed

I tried both Mame 0.152 and 0.156 and both of them have the construct in the yiq_decode.fx source file that is causing the problem.  Is this a compatibility issue between Mame and the latest DirectX?   Has anyone else seen this before?

lamprey

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 636
  • Last login:January 17, 2019, 07:03:11 pm
Re: Mame HLSL compilation error with Windows 8.1
« Reply #1 on: December 03, 2014, 01:51:38 pm »
I've not see that error before, so I'm not sure of the cause, but you might try installing the 9.0c end user runtime:
http://www.microsoft.com/en-us/download/details.aspx?id=34429

Also, you didn't mention a video card. I assume that a modern computer would be DirectX compatible. But, if not, there you go. :)

dfwdennis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 22, 2016, 06:12:23 pm
  • I want to build my own arcade controls!
Re: Mame HLSL compilation error with Windows 8.1
« Reply #2 on: December 04, 2014, 09:40:58 pm »
Apparently DirectX 9.x is not compatible with Windows 8.1.  I have DirectX 11.2, and tried to install that version as well but it reported that it is incompatible.

IAmDotorg

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 131
  • Last login:April 27, 2015, 03:05:37 pm
  • I want to build my own arcade controls!
Re: Mame HLSL compilation error with Windows 8.1
« Reply #3 on: December 05, 2014, 08:20:20 am »
Apparently DirectX 9.x is not compatible with Windows 8.1.  I have DirectX 11.2, and tried to install that version as well but it reported that it is incompatible.

My cab runs MAME with HLSL just fine on 8.1.

Not sure what to suggest to you, but its something specific with your system, not a 8.1 issue. That may help narrow down the problem.

dfwdennis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:April 22, 2016, 06:12:23 pm
  • I want to build my own arcade controls!
Re: Mame HLSL compilation error with Windows 8.1
« Reply #4 on: December 06, 2014, 05:15:12 pm »
Thanks for that data point!  It definitely helps to know that someone else is successfully running Mame on Windows 8.1.