Fresh install, crashing when trying to go fullscreen

I’m running into an issue with a fresh install of windows and retroarch.

The PC is an Alienware Alpha, i5 4570t, 8GB RAM, Windows 10 2004. It has a Geforce GTX 860M graphics chip on board with 2GB RAM.

After installing Windows 10, all the updates, and the latest nvidia drivers, installed retroarch. I can load it up, load cores, boot up roms, etc.

The moment I try to go fullscreen by pressing F it crashes back to desktop. I tured on logging, but even though I set it to save in the retroarch/logs folder, there is no log saved.

I’m at a loss. This happens with whatever rendered choose, saving and restarting retroarch with each change. If I could get a log file I could probably figure out what exploded, but it’s not even able to do that.

Any thoughts, suggestions would be much appreciated.

if you can’t get a log to work, you can launch from a command line like this:

.\retroarch.exe --menu --verbose

and it will print the log to the console window.

1 Like

I was able to get a log. I can’t see anything that looks odd, except for one line that says “Failed to create mouse device.”

The log is below.

Log Content
[INFO] RetroArch 1.9.0 (Git 6388872a54)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-4570T CPU @ 2.90GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Aug 11 2020
[INFO] Version: 1.9.0
[INFO] Git: 6388872a54
[INFO] =================================================
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Overrides]: Redirecting save file to "C:\Users\Patrick\LaunchBox\Emulators\RetroArch\saves\.srm".
[INFO] [Overrides]: Redirecting save state to "C:\Users\Patrick\LaunchBox\Emulators\RetroArch\states\.state".
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ 960x720
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: GeForce GPU
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using fences for WSI acquire.
[INFO] [Vulkan]: Using GPU: GeForce GPU
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Swapchain supports present mode: 3.
[INFO] [Vulkan]: Swapchain supports present mode: 1.
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 960 x 720.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 960x720
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [Vulkan filter chain]: Not using frame history.
[INFO] [Vulkan filter chain]: Not using framebuffer feedback.
[ERROR] [DINPUT]: Failed to create mouse device.
[INFO] [XInput]: Found XInput v1.4.
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Disconnecting device from port 6.
[INFO] Disconnecting device from port 7.
[INFO] Disconnecting device from port 8.
[INFO] Disconnecting device from port 9.
[INFO] Disconnecting device from port 10.
[INFO] Disconnecting device from port 11.
[INFO] Disconnecting device from port 12.
[INFO] Disconnecting device from port 13.
[INFO] Disconnecting device from port 14.
[INFO] Disconnecting device from port 15.
[INFO] Disconnecting device from port 16.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [C:\Users\Patrick\LaunchBox\Emulators\RetroArch\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\Patrick\LaunchBox\Emulators\RetroArch\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\Patrick\LaunchBox\Emulators\RetroArch\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\Users\Patrick\LaunchBox\Emulators\RetroArch\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\Users\Patrick\LaunchBox\Emulators\RetroArch\content_favorites.lpl].
[INFO] [Vulkan]: VSync => on
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [Vulkan filter chain]: Not using frame history.
[INFO] [Vulkan filter chain]: Not using framebuffer feedback.
[INFO] [Vulkan]: VSync => on
[INFO] [Vulkan]: Do not need to re-create swapchain.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [Vulkan filter chain]: Not using frame history.
[INFO] [Vulkan filter chain]: Not using framebuffer feedback.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: GeForce GPU
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using GPU: GeForce GPU
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Swapchain supports present mode: 3.
[INFO] [Vulkan]: Swapchain supports present mode: 1.
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1080.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1080
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: GPU supports linear images as textures, but not DEVICE_LOCAL. Falling back to copy path.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [slang]: Building pass #0 (N/A)
[INFO] [Vulkan filter chain]: Not using frame history.
[INFO] [Vulkan filter chain]: Not using framebuffer feedback.
[ERROR] [DINPUT]: Failed to create mouse device.
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Game focus is: : off.

Hmm, yeah, that looks okay. Does it do it if you run the retroarch_debug.exe instead?

Yeah, it does it with both of the executables. It’s really weird. I’ve tried running some benchmarks on it in fullscreen, those work fine. Tried redream in its windowed fullscreen, that works. Nothing out of the ordinary in dxdiag, either.

If it helps, it usually takes a few times pressing F to get the crash. Otherwise it doesn’t do anything at all.

Are you using a stable or nightly build? Either way, have you tried the other to see if the issue persists?

I’m using 1.9.0 stable. Downloaded it yesterday off the website. It’s persistant with every executable and renderer I’ve tried. I even tried an older build of 1.8.8 stable that I had on the other computer.

Okay, some more info here. Maybe this can be helpful.

I didn’t have a mouse plugged into the PC at all. We plugged one in and then I started up RA and tried to switch to fullscreen. It worked. I could switch back and forth without a problem.

I exited RA and unplugged the mouse again. Tried to switch out of fullscreen because it started up in fullscreen. Immediate crash to desktop.

With the mouse plugged in, I can switch with no problem at all. Without it, it crashes when changing screen mode.

I tried to do the same thing on a retroarch install on another computer over here and didn’t have the problem. I was able to switch modes without crashing and no mouse plugged in.

This other PC is using a wireless logitech combo with the dongle handling both keyboard and mouse, but I’m not using the mouse it came with. I think it might still be thinking that one is connected.

It’s late, and I will have to try this experiment again later with a wired keyboard and no mousee and see if I can reproduce the issue on this other PC.

I’m baffled.

Anyway, if you’ve got any other ideas, let me know.

Thanks.

Very interesting! It’s certainly a possibility. I have several setups with no mouse connected, but they’re all Linux, so perhaps there’s something up with dinput and lack of mice :man_shrugging:

Keep me posted on your findings!

1 Like

Hey again @hunterk.

I just tried using a regular wired keyboard and mouse and unplugging the wireless dongle. I can now confirm that with no mouse plugged in, the crash happens on two windows 10 machines. Both 2004 updated.

Glad that I was able to make this happen on another computer. It means I’m not experiencing a hardware issue.

1 Like

I made an issue for it on the tracker: https://github.com/libretro/RetroArch/issues/11276

1 Like

Thanks. This is certainly a weird one. I have not tried older versions of windows 10, though, so I don’t know how far back this can go.

Either way, have a good one!

1 Like

Should be fixed now in the next nightly build. Thanks for the report and investigation!

1 Like

No problem. Glad we were able to find something weird that nobody else did. :slight_smile: