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

Audiosurf 2 (Unity game) stuck on Creating Window for OpenGL: 112x27, Vulkan issue with graphics init #87

Open
duckfromdiscord opened this issue Jan 11, 2024 · 2 comments

Comments

@duckfromdiscord
Copy link

duckfromdiscord commented Jan 11, 2024

(Note that the winhttp dll included with the game has to be replaced with its 32-bit counterpart removed for the game to be entirely 32 bit.)

I thought that perhaps since the loading screen of this game didn't have a web browser, we might have more luck with Audiosurf (#84)'s sequel.

After approximately 15 seconds of loading, Audiosurf 2 gets stuck on a window of size 112x27. With "show window [immediately]" turned on, the window is a white screen. Otherwise nothing shows up. There are a couple of dlls loaded after this window is created, then everything stops.

Here's the last couple lines of the log with OpenGL:

OpenGL log

openat: dirfd=-100 name=/opt/wine/lib/wine/mmdevapi.so flags=88000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/winepulse.drv flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/winepulse.drv.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/winealsa.so flags=88000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/wineoss.drv.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/winecoreaudio.drv flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/winecoreaudio.drv.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/wineandroid.drv flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/wineandroid.drv.so flags=8000 result=fffffffe
openAudio: freq=44100(got 44100) format=8010(got 8120) channels=2(got 2)
openat: dirfd=-100 name=/opt/wine/lib/wine/api-ms-win-appmodel-runtime-l1-1-1.so flags=88000 result=fffffffe
01a8:fixme:ver:GetCurrentPackageId (079CFEF0 00000000): stub
openat: dirfd=-100 name=/opt/wine/lib/wine/avrt.so flags=88000 result=fffffffe
01a8:fixme:avrt:AvSetMmThreadCharacteristicsW (L"Audio",079CFEC8): stub
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.coremodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.coremodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.accessibilitymodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.accessibilitymodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.particlesystemmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.particlesystemmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.physicsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.physicsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.vehiclesmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.vehiclesmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clothmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clothmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.aimodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.aimodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.animationmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.animationmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.textrenderingmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.textrenderingmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.uimodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.uimodule.dll.dll.so flags=8000 result=fffffffe
Creating Window for OpenGL: 112x27
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.terrainphysicsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.terrainphysicsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.imguimodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.imguimodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clusterinputmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clusterinputmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clusterrenderermodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.clusterrenderermodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unetmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unetmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.directormodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.directormodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unityanalyticsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unityanalyticsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.performancereportingmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.performancereportingmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unityconnectmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unityconnectmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.webmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.webmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.armodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.armodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.vrmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.vrmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.uielementsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.uielementsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.stylesheetsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.stylesheetsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.assetbundlemodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.assetbundlemodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.audiomodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.audiomodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.crashreportingmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.crashreportingmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.gamecentermodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.gamecentermodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.gridmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.gridmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.imageconversionmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.imageconversionmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.inputmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.inputmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.jsonserializemodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.jsonserializemodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.particleslegacymodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.particleslegacymodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.physics2dmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.physics2dmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.screencapturemodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.screencapturemodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.sharedinternalsmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.sharedinternalsmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.spritemaskmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.spritemaskmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.spriteshapemodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.spriteshapemodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.terrainmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.terrainmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.tilemapmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.tilemapmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestaudiomodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestaudiomodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequesttexturemodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequesttexturemodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestwwwmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.unitywebrequestwwwmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.videomodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.videomodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.windmodule.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/unityengine.windmodule.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.west.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.west.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/i18n.dll.dll.so flags=8000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll.so flags=8000 result=fffffffe

The Vulkan issue is when booting with Vulkan a window appears saying this: Failed to initialize graphics. Make sure you have DirectX 11 installed, have up to date drivers for your graphics card and have not disabled 3D acceleration in display settings. InitializeEngineGraphics failed. I'm aware that Vulkan doesn't work so feel free to ignore this part of the issue, but I was wondering if this particular error was my fault.

The end of the log for Vulkan looks like:

openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll flags=8800 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/mscorlib.dll.dll.so flags=8000 result=fffffffe
boxeddrv_ImeInquire not implemented
openat: dirfd=-100 name=/opt/wine/lib/wine/d3d11.so flags=88000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/dxgi.so flags=88000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/wined3d.so flags=88000 result=fffffffe
0024:err:winediag:wined3d_dll_init Using the Vulkan renderer.
openat: dirfd=-100 name=/opt/wine/lib/wine/comctl32.so flags=88000 result=fffffffe
openat: dirfd=-100 name=/opt/wine/lib/wine/uxtheme.so flags=88000 result=fffffffe
boxeddrv_SetWindowStyle not implemented
boxeddrv_SetWindowStyle not implemented
boxeddrv_SetWindowStyle not implemented
boxeddrv_SetWindowStyle not implemented
boxeddrv_SetWindowStyle not implemented
boxeddrv_ClipCursor not implemented
@danoon2
Copy link
Owner

danoon2 commented Jan 12, 2024

mscorlib.dll is a DotNet library. I haven't had much luck with DotNet yet. It is definitely on my list of things to do since it being a JIT, it would really exercise my cpu emulation.

@duckfromdiscord
Copy link
Author

There's also something written in the logs about Mono so that makes sense.

Mono path[0] = 'C:/[container name]/Audiosurf2_Data/Managed'
Mono config path = 'C:/[container name]/Audiosurf2_Data/Mono/etc'

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

No branches or pull requests

2 participants