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

OpenGL crash when entering song select #24651

Open
tybug opened this issue Aug 25, 2023 · 1 comment
Open

OpenGL crash when entering song select #24651

tybug opened this issue Aug 25, 2023 · 1 comment

Comments

@tybug
Copy link
Member

tybug commented Aug 25, 2023

Type

Crash to desktop

Bug description

crash when opening song select. I'm on macos but was temporarily using OpenGL due to #23970. Crash does not occur with metal renderer.

I've bisected to either e8337c5 or f09b818, so presumably #24613 / ppy/osu-resources#277 is the culprit.

2023-08-25 04:50:52 [verbose]: 🌅 Global background change queued
2023-08-25 04:50:53 [error]: An unhandled error has occurred.
2023-08-25 04:50:53 [error]: Veldrid.VeldridException: Error(s) were encountered during the execution of OpenGL commands. See InnerException for more information.
2023-08-25 04:50:53 [error]: ---> Veldrid.VeldridException: Error linking GL program: WARNING: Could not find vertex shader attribute 'm_TexturePosition' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_TextureRect' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_maskingIndex' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_backbufferDrawDepth' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: ERROR: Input of fragment shader 'vdspv_fsin0' not written by vertex shader
2023-08-25 04:50:53 [error]: 
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLPipeline.CreateGraphicsGLResources()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLPipeline.CreateGLResources()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLCommandExecutor.ActivateGraphicsPipeline()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLCommandExecutor.SetPipeline(Pipeline pipeline)
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.NoAllocEntryList.OpenGLNoAllocCommandEntryList.ExecuteAll(OpenGLCommandExecutor executor)
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLGraphicsDevice.ExecutionThread.ExecuteWorkItem(ExecutionThreadWorkItem workItem)
2023-08-25 04:50:53 [error]: --- End of inner exception stack trace ---
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLGraphicsDevice.ExecutionThread.CheckExceptions()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLGraphicsDevice.ExecutionThread.WaitForIdle()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLGraphicsDevice.SwapBuffersCore(Swapchain swapchain)
2023-08-25 04:50:53 [error]: at osu.Framework.Platform.GameHost.Swap()
2023-08-25 04:50:53 [error]: at osu.Framework.Platform.MacOS.MacOSGameHost.Swap()
2023-08-25 04:50:53 [error]: at osu.Framework.Platform.GameHost.DrawFrame()
2023-08-25 04:50:53 [error]: at osu.Framework.Threading.GameThread.processFrame()
2023-08-25 04:50:53 [error]: An unhandled error has occurred. (inner)
2023-08-25 04:50:53 [error]: Veldrid.VeldridException: Error linking GL program: WARNING: Could not find vertex shader attribute 'm_TexturePosition' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_TextureRect' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_maskingIndex' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: WARNING: Could not find vertex shader attribute 'm_backbufferDrawDepth' to match BindAttributeLocation request.
2023-08-25 04:50:53 [error]: ERROR: Input of fragment shader 'vdspv_fsin0' not written by vertex shader
2023-08-25 04:50:53 [error]: 
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLPipeline.CreateGraphicsGLResources()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLPipeline.CreateGLResources()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLCommandExecutor.ActivateGraphicsPipeline()
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLCommandExecutor.SetPipeline(Pipeline pipeline)
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.NoAllocEntryList.OpenGLNoAllocCommandEntryList.ExecuteAll(OpenGLCommandExecutor executor)
2023-08-25 04:50:53 [error]: at Veldrid.OpenGL.OpenGLGraphicsDevice.ExecutionThread.ExecuteWorkItem(ExecutionThreadWorkItem workItem)
2023-08-25 04:50:53 [verbose]: ⚠️ An unhandled error has occurred.
2023-08-25 04:50:53 [verbose]: Unhandled exception has been denied .

Screenshots or videos

No response

Version

current master

Logs

runtime.log

@peppy
Copy link
Member

peppy commented Aug 25, 2023

Probably very low priority.

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

2 participants