Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

retroarch.exe stopped working (intel HD 3000) #4580

Open
eMSX opened this issue Feb 6, 2017 · 80 comments
Open

retroarch.exe stopped working (intel HD 3000) #4580

eMSX opened this issue Feb 6, 2017 · 80 comments

Comments

@eMSX
Copy link

eMSX commented Feb 6, 2017

Hello guys, i am having trouble with the latest version of Retroarch.

Retroarch 1.4.1 crashes directly when opened.
Error message retroarch.exe stopped working.

Version 1.3.6 runs fine and reconizes the HD 3000 graphics drivers.
When i run 1.4.1 it crashes immediatly

I am running Windows 10 home 64 bit.
I have tested both the 32bit and the 64 bit versions, makes no difference.
I am running it local, not using RDP.

The hardware is an Acer W700 tablet running Windows 10 home 1607 with all updates

Intel(R) Core(TM) i3-2375M CPU @ 1.50GHz
Intel HD Graphics 3000
Driver version 10.17.10.4229
Also tested with version 9.17.10.4229 same issue

Here is the debug log.

Intel(R) Core(TM) i3-2375M CPU @ 1.50GHz
RetroArch [INFO] :: This is RetroArch version 1.4.1 (Git ba98ecd)
RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX
Built: Feb 2 2017
RetroArch [INFO] :: Version: 1.4.1
RetroArch [INFO] :: Git: ba98ecd
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Loading default config.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Redirecting save file to "C:\emulation\retro arch 1.41\saves.srm".
RetroArch [INFO] :: Redirecting savestate to "C:\emulation\retro arch 1.41\states.state".
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Set audio input rate to: 29970.03 Hz.
RetroArch [INFO] :: Video @ 960x720
RetroArch [INFO] :: Found GL context: wgl
RetroArch [INFO] :: Detecting screen resolution 1920x1080.
RetroArch [ERROR] :: [WGL]: wglCreateContextAttribsARB not supported.
RetroArch [INFO] :: [GL]: Vendor: Microsoft Corporation, Renderer: GDI Generic.
RetroArch [INFO] :: [GL]: Version: 1.1.0.

Here is the log of the working 1.3.6 on the same system.

RetroArch [INFO] :: === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX
Built: Aug 4 2016
RetroArch [INFO] :: Version: 1.3.6
RetroArch [INFO] :: Git: 62281f8
RetroArch [INFO] :: =================================================
RetroArch [INFO] :: Config: loading config from: C:\emulation\retro arch 1.36\retroarch.cfg.
RetroArch [INFO] :: Resetting undo buffers.
RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565.
RetroArch [INFO] :: Version of libretro API: 1
RetroArch [INFO] :: Compiled against API: 1
RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz.
RetroArch [INFO] :: Found shader "C:\emulation\retro arch 1.36\shaders\retroarch.cgp"
RetroArch [INFO] :: Found shader "C:\emulation\retro arch 1.36\shaders\retroarch.glslp"
RetroArch [INFO] :: Video @ 960x720
RetroArch [INFO] :: Found GL context: wgl
RetroArch [INFO] :: Detecting screen resolution 1920x1080.
RetroArch [INFO] :: [WGL]: wglSwapInterval(1)
RetroArch [INFO] :: [GL]: Vendor: Intel, Renderer: Intel(R) HD Graphics 3000.
RetroArch [INFO] :: [GL]: Version: 3.1.0 - Build 9.17.10.4229.
RetroArch [INFO] :: Querying GL extension: ARB_ES2_compatibility => doesn't exist
RetroArch [INFO] :: Querying GL extension: ARB_sync => exists
RetroArch [INFO] :: Querying GL extension: ARB_texture_float => exists
RetroArch [INFO] :: Querying GL extension: EXT_texture_sRGB => exists
RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_sRGB => exists
RetroArch [INFO] :: [GL]: Supported extensions:

If more info is required i am happy to help.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@inactive123
Copy link
Contributor

inactive123 commented Feb 7, 2017

I think the problem is on your end -

"RetroArch [INFO] :: [GL]: Vendor: Microsoft Corporation, Renderer: GDI Generic.
RetroArch [INFO] :: [GL]: Version: 1.1.0."

If it shows that then it means it can't find a REAL GL driver on your system and it instead resorts to a Microsoft-provided software rendered implementation of OpenGL, which utterly sucks. Don't even bother trying to use it since it will suck majorly, and find valid video drivers instead so that you can get a real GL driver for Windows.

@Brawl345
Copy link

Brawl345 commented Feb 7, 2017

Can confirm, have the same problem with Intel HD Graphics 3000. v1.3.6 works fine. I dunno how to get logs, retroarch_debug.exe also crashes on start (and I can't find any log files?). Setting
menu_driver = "rgui" in retroarch.cfg fixes it and uses the older GUI. My drivers are up-to-date and I'm on Windows 10 Pro 1607 64 bit.

@ghost
Copy link

ghost commented Feb 7, 2017 via email

@eMSX
Copy link
Author

eMSX commented Feb 7, 2017

I have also tried it on my Laptop an Acer V571G (also featuring a Sandy bridge cpu with GMA 300 HD. When i disable the Nvidia GPU it is giving the same error als the tablet.

It is failing the reconize the Intel 3000 adapter.
The drivers are the ones installed by Windows 10 by default.
9.17.10.4229 on Windows 10 home 1607

Here 1.3.6 also works fine on the intergrated gpu.

@gouchi
Copy link
Member

gouchi commented Feb 7, 2017

You may try the latest driver version 9.17.10.4459 available for Win10.

Source

@eMSX
Copy link
Author

eMSX commented Feb 8, 2017

I have installed that driver but Retro Arch still crashes directly when started.

@LucasBarretto86
Copy link

I also did the installation and stillI have same issue.

@gouchi
Copy link
Member

gouchi commented Feb 8, 2017

Can you try to install Win8 driver ?
Thank you.

@LucasBarretto86
Copy link

Man, install newer driver, older driver it's all same. This error persist.

@LucasBarretto86
Copy link

@loganmc10 There's anything I cany do? I am sorry, I am just a noob.

@ghost
Copy link

ghost commented Feb 10, 2017

Can someone with an affected system try this MSVC build and see if it works any different?

From the previous log, the line:

RetroArch [ERROR] :: [WGL]: wglCreateContextAttribsARB not supported.

is very peculiar since 1.3.6 also uses this function and it appears to work fine there. The entire reason for the crash is due to the failure to look up the pointer to that function in the OpenGL library. Since an OpenGL context cannot be created with the missing function, any further attempts to call a GL function will crash.

At first I would have also suspected a system driver issue, but I don't think this can be if 1.3.6 works.

@LucasBarretto86
Copy link

@bparker06, thank man, it does works but doesn't load any core and any game.

@ghost
Copy link

ghost commented Feb 10, 2017

Then I suspect the issue may be related to some GL code that gets compiled on msys2 builds that doesn't on msvc, like glslang or something.

@inactive123
Copy link
Contributor

inactive123 commented Feb 10, 2017

You'll have to start bisecting.

loganmc10 pushed through some extensions in RA that enable certain graphic features but this apparently was not properly tested against most common hardware as we can already see certain iGPUs no longer working on Windows.

@ghost
Copy link

ghost commented Feb 10, 2017

@mohamed28 The build I linked you to is 32-bit, so it will only load 32-bit cores.

Can you also try the 32-bit version of the current msys2 build and see if that works?

Until someone with the same/similar hardware, and the knowledge, time and patience to be able to bisect this comes forward, I don't think a whole lot of progress can be made, simply because we cannot reproduce it elsewhere.

@ghost
Copy link

ghost commented Feb 10, 2017

@bparker06 version 1.4.1 x86 working fine...thnx man...
I tried latest nightly but with same error...

@ghost
Copy link

ghost commented Feb 10, 2017

@sm199 Were you trying an x86 nightly or was it an x86_64 one that didn't work? Trying to narrow down exactly what versions work and what doesn't.

@ghost
Copy link

ghost commented Feb 10, 2017

@bparker06 i tried both versions...recently downloaded both versions but they are not working...

@ghost
Copy link

ghost commented Feb 10, 2017

So neither nightly works, and 1.4.1 x86 works, what about 1.4.1 x64? And have you tried the MSVC build I linked to? That one is more recent than 1.4.1 as well.

@ghost
Copy link

ghost commented Feb 10, 2017

I tried your MSVC build so x86 version worked...before it was not working...
x64 build not working...xmb menu successfully opened but no cores are working because that exe belongs to x86...

@ghost
Copy link

ghost commented Feb 10, 2017

Sorry for bad english...

@ghost
Copy link

ghost commented Feb 10, 2017

I found a machine here with an hd3000 and tried it myself, and it is working here: https://i.imgur.com/YdBYAZe.png

This is the latest 64-bit nightly also. Driver version is 9.17.10.2932 on Windows 7 with i7-2600k.

@ghost
Copy link

ghost commented Feb 10, 2017

I don't know mine is intel hd 3000 or not...how to check it...???

@ghost
Copy link

ghost commented Feb 10, 2017

I tried both latest nightly builds on windows 10 64 bit...with latest video driver installed...

@ghost
Copy link

ghost commented Feb 10, 2017

@sm199 Right click on the desktop -> Display settings -> Advanced display settings -> Display adapter properties

@ghost
Copy link

ghost commented Feb 10, 2017

Okk i will check it and post screenshot here...

@LucasBarretto86
Copy link

@bparker06 I tested here, version 86x with your file works fine, the cores and games also worked. I used the yabause_libretro.dll to do the test.

@ghost
Copy link

ghost commented Feb 10, 2017

@mohamed28 Are you saying the 32-bit MSVC build works or the 32-bit msys2 one works? And have you tried both?

@RobLoach
Copy link
Member

This should be fixed.

🛑 Close.

@Xebozone
Copy link

Xebozone commented Jan 16, 2018

I have strugged with this too...
Now I finally have RetroArch 1.7.0 working on my Intel HD2000
I followed what aidenn said by installing this:
https://github.com/LWJGL/lwjgl/files/661125/OpenGL_Fix_PHDGD_Omega_5.0.zip

However, I got the following:

C:\Users\Owner\AppData\Roaming\RetroArch>[INFO] RetroArch 1.7.0 (Git 4b68a21a7)
[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Dec 25 2017
[INFO] Version: 1.7.0
[INFO] Git: 4b68a21a7
[INFO] =================================================
[INFO] [Config]: Loading default config.
[INFO] [Config]: loading config from: (null).
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "C:\Users\Owner\AppData\Roaming\RetroArch\saves\.srm".
[INFO] Redirecting savestate to "C:\Users\Owner\AppData\Roaming\RetroArch\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1440x900.
[ERROR] [WGL]: win32_set_video_mode failed.
[ERROR] [Video]: Cannot open video driver ... Exiting ...
[ERROR] Fatal error received in: "init_video()"
[ERROR] This core requires a content file.

I ran the Manifest updater (WTFI.exe) linked above and pointed it to Retroarch...
I then reverted the drivers back to the originals... it still works?!
So, I'm not sure if the WTFI program made a difference, the updated drivers, or they both needed to work together... but I'm using the original drivers and everything is working now, so I believe the WTFI program did its job.

C:\Users\Owner\AppData\Roaming\RetroArch>[INFO] RetroArch 1.7.0 (Git 4b68a21a7)
[INFO] === Build =======================================
Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
Built: Dec 25 2017
[INFO] Version: 1.7.0
[INFO] Git: 4b68a21a7
[INFO] =================================================
[INFO] [Config]: Loading default config.
[INFO] [Config]: loading config from: (null).
[INFO] Environ SET_PIXEL_FORMAT: RGB565.
[INFO] Redirecting save file to "C:\Users\Owner\AppData\Roaming\RetroArch\saves\.srm".
[INFO] Redirecting savestate to "C:\Users\Owner\AppData\Roaming\RetroArch\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 29970.03 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [GL]: Found GL context: wgl
[INFO] [GL]: Detecting screen resolution 1440x900.
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: Vendor: Intel, Renderer: Intel(R) HD Graphics 2000.
[INFO] [GL]: Version: 3.1.0 - Build 9.17.10.4459.
[INFO] [GL]: Using resolution 960x720
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[INFO] [GLSL]: Checking GLSL shader support ...
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: No errors.

I still get crash though when launching Mupen64, which makes me sad. I haven't tried any other cores.
I noticed that the xmb wave effect is also blown-out. The effect is that the wave is much brighter, kind of like over-exposure of an image. I think transparency is not working correctly, but I'm not really sure.

WTFI is open source:
https://github.com/alexey-lysiuk/tools/blob/master/wtfi/wtfi.cpp
I checked what it does, and basically, it just removes the "compatibility" section of the exe's manifest, which removes this in retroarch.exe 1.7.0

  <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
    <application>
      <!--The ID below indicates application support for Windows Vista -->
      <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
      <!--The ID below indicates application support for Windows 7 -->
      <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
      <!--The ID below indicates application support for Windows 8 -->
      <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/>
      <!--The ID below indicates application support for Windows 8.1 -->
      <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> 
      <!--The ID below indicates application support for Windows 10 -->
      <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> 
    </application>
  </compatibility>

I have confirmed that the patched exe works on my hardware now while the unpatched exe with the compatibility section in the manifest still included is not working.

More info on manifests:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa374191(v=vs.85).aspx

How to check a manifest (I just open the exe in 7zip):
https://blogs.msdn.microsoft.com/patricka/2009/12/09/answers-to-several-application-manifest-mysteries-and-questions/

External vs internal priority (on XP, external takes priority):
https://stackoverflow.com/questions/17853304/manifest-embedded-and-external-which-has-priority-can-one-override-other

@ComputerNovice
Copy link

I'm was experiencing the same issue mentioned, with one main difference... My laptop has a Intel 4000 HD integrated graphics chip... Anyways everytime I attempted to load RetroArch (x64 version) it would start to open up the interface and then immediately crash...

So I then decided that I would attempt to uninstall the application from my laptop... I uninstalled it using revo-uninstaller and made sure that everything was totally removed... I then reboot and installed the app again

However the issue still persisted ...

I then remembered I had changed/updated the driver for my Intel 4000 HD over the weekend. So I opened up my device manager and rolled back my driver version after doing so the app began working again. So now my Intel HD 4000 is running the version listed below ... and for right now everything is working fine again. Not sure though why the newer driver doesn't work at all. Just wanted to provide this bit of info
Provider: Intel Corporation
Version #: 10.18.10.4358

Anyways ever since I rolled my graphics driver back to the version above everything started working again... So a graphics driver change may fix the issue for some of you ...

@oltolm
Copy link

oltolm commented Apr 3, 2018

I have Windows 10 64-bit with an Intel i5-2500 with an Intel HD Graphics 2000. RetroArch 1.7.1 crashed on start. This post helped to fix the problem. I used wtfi to patch retroarach.exe and it started to work.

Apparently the Intel driver checks if you are running Windows 10 and actively prevents you from running OpenGL applications. They do it because Intel HD 2000 does not support Windows 10, in theory. In practice it work very well on Windows 10, or it would if Intel itself did not create problems on purpose.

Please add the solution to documentation, it was not easy not find it.

@Kikuchef
Copy link

Kikuchef commented Apr 4, 2018

Just about 2 hours ago i used the wtfi patch on the retroarach.exe im using the stable 1.7.1 windows 10 64 bit
capture

@Pat86
Copy link

Pat86 commented Jul 15, 2018

Any chance this will be fixed officially? I still cant use Retroarch on my laptop. :(

@ghost
Copy link

ghost commented Jul 15, 2018

@Pat86 We cannot fix broken GPU drivers, and the other solutions that involve modifying the manifest are not acceptable for us to add for everyone. Unless you have some other ideas, all you can do currently is use either one of the d3d video drivers in RA, or gdi.

Is there a good reason you cannot use any of the solutions posted here?

@Pat86
Copy link

Pat86 commented Jul 15, 2018

@bparker06 patching the retroarch.exe with wtfi did the trick, thanks.

its just that i prefer a "clean" solution that doesnt require modifying files. ;)
but it works fine this way too, so its ok. :)

@fishcu
Copy link
Contributor

fishcu commented Jul 25, 2018

I'm running into exactly the same problems/issues as @Xebozone described in the last comment in this thread.
My system is a Chromebox with an Intel HD 3000 iGPU.
I tried both with Windows 10 and now Windows 8.1, with exactly the same result. Because of BIOS issues, I cannot install & test Windows 7 unfortunately
1. Would running Windows 7 make a difference?

While I can boot RetroArch, I cannot launch Mupen64 (retroarch.exe has stopped working). Parallel works, but it has somewhat slower performance still, so I'd prefer to use Mupen64.
2. Any workarounds for running Mupen64 on Intel HD3000 and Windows (8, 10)?

This issue is so annoying, because Mupen64 runs just fine under Linux (Ubuntu, Lakka). The only reason I switched to Windows is to have better Xbox 360 wireless controller drivers...

@ghost
Copy link

ghost commented Jul 25, 2018

Did you try patching the driver with wtfi?

@fishcu
Copy link
Contributor

fishcu commented Jul 30, 2018

My problem is that Mupen64 crashes; Retroarch works with Parallel currently.

I have followed @Xebozone 's steps (#4580 (comment)) and have encountered the same successes, but also failures. Thus I am asking about Mupen64 finally.

If by "patching the driver" you mean running wtfi.exe on the *.dlls, that doesn't work.

Is there a way to get mupen64 running?
Would it run on Windows 7 instead of Windows 8.1 / Windows 10 that I'm currently using?

@ghost
Copy link

ghost commented Jul 30, 2018

@fishcu I believe mupen requires OpenGL 3.3 which your GPU probably doesn't support.

@fishcu
Copy link
Contributor

fishcu commented Jul 30, 2018

I see. Any recommendations (emulators, plugins, settings) for the best compatibility and speed on my old toaster? I would like to run the likes of Mario Tennis 64, Majora's mask, Smash Bros., and the Mario Parties on it.

Mario Tennis especially seems challenging, I could either get good graphics (framebuffer effects, etc.) but choppy, or full speed with lots of visual glitches.

BTW, I had Mupen64 running inside retroarch under Ubuntu Linux, so definitely also lazy Intel is to blame for not supporting drivers a bit longer...

@13ondy
Copy link

13ondy commented Aug 30, 2018

Hi Guys, I have a hp 8200 i7 2600 3.4ghz with 8gb of dd3ram, I have intel hd graphics 2000, running windows 10 pro. The problem I'm having is when I open retroarch it goes to open then just shuts straight away, I tried the wtfi patch but it didn't seem to do anything, and retroarch is still doing the same thing opening then shutting straight away. Can anyone help me or give me some advice or other ideas of what I can do please.

@imagochan
Copy link

@eMSX have you tried downgrading windows 10 to windows 8.0? you could try it on your Acer W700tablet, download the drivers here: https://www.acer.com/us-en/support/drivers-and-manuals with your Serial Number/SNID or using the Acer Detection Utility: https://global-download.acer.com/SupportFiles/Files/SNID/APP/SerialNumberDetectionTool.exe

After that you could try installing Retroarch, if it works well for you then maybe some generic driver is causing you trouble.

Here is the Windows 8.0 iso: https://archive.org/details/Windows8_201905
you can flash it with rufus.

@imagochan
Copy link

imagochan commented Oct 26, 2022

Hi Guys, I have a hp 8200 i7 2600 3.4ghz with 8gb of dd3ram, I have intel hd graphics 2000, running windows 10 pro. The problem I'm having is when I open retroarch it goes to open then just shuts straight away, I tried the wtfi patch but it didn't seem to do anything, and retroarch is still doing the same thing opening then shutting straight away. Can anyone help me or give me some advice or other ideas of what I can do please.

try downgrading to Windows 8.0 and install OEM drivers to see if it makes any differene here is the link for downloading them: https://support.hp.com/us-en/drivers/selfservice/hp-compaq-8200-elite-small-form-factor-pc/5037931

Here is the Windows 8.0 iso: https://archive.org/details/Windows8_201905
you can flash it with rufus.

Edit: forgot to ping @13ondy

@imagochan
Copy link

I see. Any recommendations (emulators, plugins, settings) for the best compatibility and speed on my old toaster? I would like to run the likes of Mario Tennis 64, Majora's mask, Smash Bros., and the Mario Parties on it.

Mario Tennis especially seems challenging, I could either get good graphics (framebuffer effects, etc.) but choppy, or full speed with lots of visual glitches.

BTW, I had Mupen64 running inside retroarch under Ubuntu Linux, so definitely also lazy Intel is to blame for not supporting drivers a bit longer...

https://emulation.gametechwiki.com/index.php/Nintendo_64_emulators here is a list with many emulators just for n64, try the recommended ones first.

@imagochan
Copy link

@fishcu I believe mupen requires OpenGL 3.3 which your GPU probably doesn't support.

@fishcu can you check your openGL support here? https://www.realtech-vr.com/home/glview

@imagochan
Copy link

@eMSX this may be related to your problems https://community.acer.com/en/discussion/comment/621721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests