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: Need help with DirectX, CRTEmu  (Read 4075 times)

0 Members and 1 Guest are viewing this topic.

tastyninja

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 02, 2017, 08:27:10 pm
  • I want to build my own arcade controls!
Need help with DirectX, CRTEmu
« on: September 20, 2016, 03:06:31 am »
Used Calamity's guide for installing CRTEmuDriver 2.0 on Windows 7 x64 with a 6450.

When testing groovymame through the command line, I get a black screen; exiting reveals the command prompt with the issue "Invalid video value d3d9ex: reverting to gdi"

I've also tried testing RetroArch 1.3.6 with the d3d video driver setting, as recommended in the compatibility thread.  The screen is all black, even when not using a low, normally unsupported resolution.

This leads me to believe I have an issue with directx, though I have the most up to date 11.1 available via windows update/website.  Having said that, PCSX2 is able to run fine in directx hardware mode (using dx9 and dx11).

Can anybody point me in the right direction?

M_W

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:December 24, 2019, 03:44:25 pm
  • I want to build my own arcade controls!
Re: Need help with DirectX, CRTEmu
« Reply #1 on: September 20, 2016, 09:29:16 am »
Well, I don't know how to help you with the first problem, but the reason you're getting a black screen in Retroarch is because you need to change the menu driver from "XMB" to "rgui." This is a limitation of Retroarch, not CRT_Emudriver.

Also, are you running the current version of GroovyMAME? d3d9ex support was dropped in favor of BGFX with the d3d11 backend.
« Last Edit: September 20, 2016, 09:52:10 am by M_W »

tastyninja

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 02, 2017, 08:27:10 pm
  • I want to build my own arcade controls!
Re: Need help with DirectX, CRTEmu
« Reply #2 on: September 20, 2016, 03:36:17 pm »
Thanks, that solved the issue of RetroArch not being visible.  I was troubleshooting the config alterations Recapnation posted in the, because initially it was crashing and when d3d was a black screen figured that was the problem.  Turns out, I think it is the resolution of 320x240 that is causing it to crash: 640x480 with all of his same settings launches fine.  This makes me believe I missed something when installing CRTemudrivers.  I will try again.

Edit: I also switched the mame.ini video mode from d3d9ex (which I got from: http://geedorah.com/eiusdemmodi/forum/viewtopic.php?pid=987#p987) to auto.  SFA3 now opens, but switchres goes to 640x480.  Command prompt shows that the resolution 2560x0 is not available, and that it can't find a video mode that meets my specs.

Attached sfa3.txt log
« Last Edit: September 20, 2016, 04:55:14 pm by tastyninja »

tastyninja

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:January 02, 2017, 08:27:10 pm
  • I want to build my own arcade controls!
Re: Need help with DirectX, CRTEmu
« Reply #3 on: September 21, 2016, 12:49:55 am »
Clean install did it.  Must have screwed up somewhere.

Added the additional modelines from user_modes.ini to the user_modes - super.ini, and was able to launch gmame in 2560x240 as well as RetroArch in 320x240 using rgui and d3d.  I assume it will be able to use all of the new modelines for each console, and I'll go through the process of making configs for each separate emulator (and rom, if necessary on certain games).  Overscan is slightly off, but I'll look into that in the next few days-- time to fight some streets.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Need help with DirectX, CRTEmu
« Reply #4 on: September 21, 2016, 09:06:10 pm »
It probably wouldn't hurt to install the full DirectX 9.0c redist package.
Around 95MB in size...
https://www.microsoft.com/en-us/download/details.aspx?id=8109
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

twobeers

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:November 15, 2016, 05:27:34 am
  • I want to build my own arcade controls!
Re: Need help with DirectX, CRTEmu
« Reply #5 on: October 21, 2016, 03:37:22 am »
I have the same problem. I get a black screen after starting a rom and the message: "Invalid video value d3d9ex; reverting to gdi"

I installed the full DirectX 9.0c redist package and reinstalled CRT EMudriver but it still doesn't work.

I'm running Windows 7 SP1 64bit with groovymame 0.178

Can anybody help me?

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Need help with DirectX, CRTEmu
« Reply #6 on: October 21, 2016, 04:33:07 am »
Direct3D9ex support was dropped since Switchres v0.016 alpha 1.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

twobeers

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:November 15, 2016, 05:27:34 am
  • I want to build my own arcade controls!
Re: Need help with DirectX, CRTEmu
« Reply #7 on: October 21, 2016, 05:30:51 am »
Thanks Calamity for your quick answer.

I just followed some tutorials and always read about d3d9ex...