FakeFishGames / Barotrauma

A 2D online multiplayer game taking place in a submarine travelling through the icy depths of Jupiter's moon Europa.
http://www.barotraumagame.com/
1.76k stars 406 forks source link

Can't change display options #8675

Closed KomushKrya closed 2 years ago

KomushKrya commented 2 years ago

Description If I change my display mod on "Fullscreen" the game crashes and gives me a crashreport

Steps To Reproduce I don't know, maybe have 1366x768 screen?

Version After "Thunder under the ice" update Windows 10 version 21H2

crashreport (7).log

Barotrauma Client crash report (generated on 31.03.2022 16:36:24)

Barotrauma seems to have crashed. Sorry for the inconvenience!

8659A3711F68C8000283D8B52F6D422B

Game version 0.16.7.0 (ReleaseWindows, branch release, revision aa4c852c2c) Graphics mode: 1366x768 (Fullscreen) VSync ON Language: Russian Selected content packages: Vanilla 0.9 Level seed: no level loaded Loaded submarine: None Selected screen: Barotrauma.MainMenuScreen SteamManager initialized

System info: Operating system: Microsoft Windows NT 10.0.19044.0 64 bit GPU name: NVIDIA GeForce GTX 1050 Display mode: {Width:1366 Height:768 Format:Color AspectRatio:1,7786459} GPU status: Normal

Exception: HRESULT: [0x887A0022], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_NOT_CURRENTLY_AVAILABLE/NotCurrentlyAvailable], Message: Во время вызова ресурс недоступен, но может стать доступным позже. (SharpDX.SharpDXException) Target site: Void CheckError() Stack trace: at SharpDX.Result.CheckError() at SharpDX.DXGI.Output.FindClosestMatchingMode(ModeDescription& modeToMatchRef, ModeDescription& closestMatchRef, IUnknown concernedDeviceRef) at SharpDX.DXGI.Output.GetClosestMatchingMode(ComObject device, ModeDescription modeToMatch, ModeDescription& closestMatch) at Microsoft.Xna.Framework.Graphics.GraphicsDevice.GetModeSwitchedSize(Int32& width, Int32& height) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Graphics\GraphicsDevice.DirectX.cs:line 645 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.CorrectBackBufferSize() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Graphics\GraphicsDevice.DirectX.cs:line 503 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformReset() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Graphics\GraphicsDevice.DirectX.cs:line 480 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 616 at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Reset(PresentationParameters presentationParameters) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 632 at Microsoft.Xna.Framework.GraphicsDeviceManager.ApplyChanges() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\GraphicsDeviceManager.cs:line 328 at Barotrauma.GameMain.SetWindowMode(WindowMode windowMode) in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 329 at Barotrauma.GameMain.ApplyGraphicsSettings() in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 312 at Barotrauma.GameSettings.<>c__DisplayClass22_0.b__6(GUIComponent guiComponent, Object obj) in \Barotrauma\BarotraumaClient\ClientSource\GameSettings.cs:line 661 at Barotrauma.GUIDropDown.SelectItem(GUIComponent component, Object obj) in \Barotrauma\BarotraumaClient\ClientSource\GUI\GUIDropDown.cs:line 330 at Barotrauma.GUIListBox.Select(Int32 childIndex, Boolean force, Boolean autoScroll, Boolean takeKeyBoardFocus) in \Barotrauma\BarotraumaClient\ClientSource\GUI\GUIListBox.cs:line 1000 at Barotrauma.GUIListBox.UpdateChildrenRect() in \Barotrauma\BarotraumaClient\ClientSource\GUI\GUIListBox.cs:line 720 at Barotrauma.GUIListBox.Update(Single deltaTime) in \Barotrauma\BarotraumaClient\ClientSource\GUI\GUIListBox.cs:line 841 at Barotrauma.GUI.Update(Single deltaTime) in \Barotrauma\BarotraumaClient\ClientSource\GUI\GUI.cs:line 1257 at Barotrauma.GameMain.Update(GameTime gameTime) in \Barotrauma\BarotraumaClient\ClientSource\GameMain.cs:line 990 at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 656 at Microsoft.Xna.Framework.Game.Tick() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 504 at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\SDL\SDLGamePlatform.cs:line 94 at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 398 at Microsoft.Xna.Framework.Game.Run() in \Libraries\MonoGame.Framework\Src\MonoGame.Framework\Game.cs:line 368 at Barotrauma.Program.Main(String[] args) in \Barotrauma\BarotraumaClient\ClientSource\Program.cs:line 59

Last debug messages: [31.03.2022 16:33:07] OpenAL Soft on Микрофон (2- USB PnP Sound Device) 49 [31.03.2022 16:32:31] (Msg) SDR RelayNetworkStatus: avail=OK config=OK anyrelay=OK (OK) [31.03.2022 16:32:31] (Msg) Ping location: sto=68+6,sto2=74+7/68+6,ams=87+8/88+6,vie=88+8,waw=103+10/89+6,fra=89+8/91+6,lhr=90+9/93+6,par=106+10/97+6,mad=119+11/119+6,iad=153+15,sgp=241+24/242+24,gru=275+27 [31.03.2022 16:32:31] (Msg) Ping measurement completed [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'syd' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'seo' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'tyo' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'tyo1' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'maa' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'sgp' established. [31.03.2022 16:32:28] (Warning) SteamNetworkingSockets lock held for 34.6ms. (Performance warning.) ServiceThread,RecvUDPPacket(x2),SteamDatagramClientThinker::Think,ThinkPingProbes,CreateServerDataForCluster(x16),SendUDPacket(x10),EnsureDataCenterRoutesValid This is usually a symptom of a general performance problem such as thread starvation. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'scl' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'lim' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'jnb' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'bom' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'lax' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'sea' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'waw' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'eze' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'vie' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'hkg' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'gru' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'sto2' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'sto' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'ord' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'mad' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'dfw' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'dxb' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'par' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'lhr' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'atl' established. [31.03.2022 16:32:28] (Verbose) Communications with routing cluster 'iad' established. [31.03.2022 16:32:27] (Verbose) Communications with routing cluster 'fra' established. [31.03.2022 16:32:27] (Verbose) Communications with routing cluster 'ams' established. [31.03.2022 16:32:27] (Msg) SDR RelayNetworkStatus: avail=Attempting config=OK anyrelay=Attempting (Performing ping measurement) [31.03.2022 16:32:27] (Msg) Performing ping measurement [31.03.2022 16:32:27] (Msg) Got SDR network config. Loaded revision 372 OK [31.03.2022 16:32:27] (Warning) SDR network config fetch first attempt failed. HTTP 504. . Trying again. [31.03.2022 16:32:00] Attempting to open ALC device "OpenAL Soft on SAMSUNG (NVIDIA High Definition Audio)" [31.03.2022 16:31:59] Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean [31.03.2022 16:31:58] Loaded languages: English, German, French, Russian, Polish, Brazilian Portuguese, Castilian Spanish, Latinamerican Spanish, Simplified Chinese, Traditional Chinese, Japanese, Turkish, Korean [31.03.2022 16:31:54] Logged in as Komush Krya (SteamID STEAM_1:1:183633029)

Regalis11 commented 2 years ago

Duplicate of https://github.com/Regalis11/Barotrauma/issues/3515