Closed weilueluo closed 4 years ago
Ok I found the problem. Osu is using 2020-06-16T08:36:32: GL Renderer: GeForce GTX 1050/PCIe/SSE2
, so I changed my graphics card settings, make osu.exe
prefer integrated graphics card and the game runs normally.
This is a stable issue and you've fixed it, BUT...
Can you please provide us a dxdiag? https://support.microsoft.com/en-us/help/4028644/windows-open-and-run-dxdiagexe This issue happens quite often on stable, so we'd like to fix it somehow.
Sure! DxDiag.txt
Setting both "CompatibilityContext" and "CanForceOptimusCompatibility" resolves this issue. Reinstalling Intel GPU drivers sometimes fixes the problem as well. For reference.
@peppy seems maybe unintended that the forceotpimuscompat flag causes the game to crash on optimus using devices. Not sure if you can do anything about that, but just so you know for reference.
Hmm I have an optimus device beside me and compat=1 + forceoptimuscompat=1 make no difference, so it's going to be driver compatibility issues specifically on the Intel side.
Unfortunately OP is using an OEM driver rather than an official Intel driver, which might be the cause of the issue, but I also can't test it unless I have the exact same system :(
With that being said, I have found a potential issue in osu-stable's OpenTK, so if @Dontmakemeeatyou or @Redcxx can replicate the issue please PM me on discord smoogipoo#0123 .
@smoogipoo unfortunately I don't have any optimus devices. This information is based on multiple help threads/forums/interactions. It being related to OEM drivers or in general borked/outdated drivers makes sense. Intel pushed a fix for this issue in their drivers nearly a year ago now. But still happens for users. & when it does happen, setting those flags to 0 fix the issue.
@smoogipoo I am able to reproduce the problem. Besides that, I got a similar crash today:
OpenTK.Graphics.GraphicsContextException: [EGL] Failed to create window surface, error BAD_NATIVE_WINDOW.
在 OpenTK.Platform.Egl.EglWindowInfo.CreateWindowSurface(IntPtr config)
在 OpenTK.Platform.Egl.EglContext..ctor(GraphicsMode mode, EglWindowInfo window, IGraphicsContext sharedContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
在 OpenTK.Platform.Egl.EglAnglePlatformFactory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags)
在 OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
在 #=zg40uki8N_8sKf7t$_ow3GAuhImSk.#=zephTqFg=(Int32 #=zkKEAnHk=, Int32 #=zJC1FmpU=, GraphicsContextFlags #=zk_ERPZ4=)
在 #=zXBIWPGr9zk0MwurYP3gdJy0=.OnHandleCreated(EventArgs #=ztTr01ko=)
This time I did not connect my external monitor with an HDMI cable, I connect a universal dock to my laptop and connect the HDMI cable to the universal dock. Setting it to prefer the integrated graphics card does not work anymore.
Should I open a new issue or reopen this one?
Again from experience "Bad native window" is directly related to same error you got before. It typically goes hand and hand with with the error you provided in the first place.
@Redcxx please reference my post about reinstalling drivers or setting "CompatibilityContext" and "CanForceOptimusCompatibility" to 0 if you wish to play the game. Though since you can replicate you should message smgi on discord like he requested.
Hi, @Dontmakemeeatyou thanks for the reply. I have tried the solution you suggested but it does not work for me, I will contact him on discord shortly.
@Redcxx did you set them both to 0 and save the file while osu! is closed?
This would be the first time I've ever seen that fix not work so I'm intrigued. It's never not worked.
@Dontmakemeeatyou I forget to undo my graphics card setting which forces osu to run on the integrated graphics card. It works after I undo it. Sorry for the confusion.
Describe the crash: A pop-up saying "Can't find the name of Intel ICD OpenGL driver" pop up twice and the crash window appears.
I tried to set
Fullscreen=0
in.cfg
file, it shows black screen instead, the osu background music can be heard, no pop-up or crash.I checked my drivers and they are up-to-date.
Screenshots or videos showing the encountered issue: "在"means "at" in Chinese
osu!lazer version: osu!lazer shows a black screen as well, but no pop-up. I do not play osu!lazer currently so it is not a problem for now.
Logs:
runtime.log
:update_success.log
:Computer Specifications: Device: Aspire VX5-591G Processor: Intel Core i7-7700HQ