vinegarhq / sober

Runtime for Roblox on Linux
https://sober.vinegarhq.org/
322 stars 13 forks source link

Launching Sober opens a black window for a second and then crashes. (Fedora 40) #332

Closed JustSypth closed 1 month ago

JustSypth commented 1 month ago

Acknowledgement of checking existent issues

What problem did you encounter?

Before this issue I also encountered a problem where Sober didnt even launch at all under Wayland so I used an app to force X11 for Sober

After fixing the first issue Sober did work for a while but after a day it just opened a black window and closed whenever I tried running it. I tried to fix it by deleting Sober ~/.var files, reinstalling the apk and also updating everything. The issue still persists.

This is the log after trying to run it:

Setting default app policy file: 
/home/sypth/.var/app/org.vinegarhq.Sober/data/sober/assets/content/guac/defaultConfigs/GuacDefaultPolicy-GlobalDist.json
2024-10-15T15:22:24.632Z,0.632044,96e98340,6 [FLog::AndroidGLView] nativeInitClientSettings
2024-10-15T15:22:24.640Z,0.640109,96e98340,6 [FLog::Output] LoadClientSettingsFromLocal: "{
    "DFFlagDisableDPIScale": true,
    "DFIntTaskSchedulerTargetFps": 0,
    "FFlagAdServiceEnabled": false,
    "FFlagDebugDisableTelemetryEphemeralCounter": true,
    "FFlagDebugDisableTelemetryEphemeralStat": true,
    "FFlagDebugDisableTelemetryEventIngest": true,
    "FFlagDebugDisableTelemetryPoint": true,
    "FFlagDebugDisableTelemetryV2Counter": true,
    "FFlagDebugDisableTelemetryV2Event": true,
    "FFlagDebugDisableTelemetryV2Stat": true,
    "FFlagEnableGameJoinContext2": false,
    "FFlagFixGraphicsQuality": true,
    "FFlagFutureIsBrightPhase3Vulkan": true,
    "FFlagGameBasicSettingsFramerateCap5": true,
    "FFlagHighlightOutlinesOnMobile": true,

2024-10-15T15:22:24.640Z,0.640627,96e98340,6 [FLog::AndroidGLView] nativePostClientSettingsLoadedInitialization3
2024-10-15T15:22:24.640Z,0.640687,96e98340,6 [FLog::ClientRunInfo] RobloxGitHash: 8d61301dd0968a21481f7fcd30d2ba323fbd0ded
2024-10-15T15:22:24.640Z,0.640698,96e98340,6 [FLog::ClientRunInfo] The base url is https://www.roblox.com/
2024-10-15T15:22:24.640Z,0.640706,96e98340,6 [FLog::ClientRunInfo] The channel is production
nativeAppBridgeAppStart_original:
nativeAppBridgeV2Init:
2024-10-15T15:22:24.645Z,0.645575,736006c0,6 [FLog::SingleSurfaceApp] initializeWithAppStarter
2024-10-15T15:22:24.645Z,0.645601,736006c0,6 [FLog::SingleSurfaceApp] initializeSingleton
2024-10-15T15:22:24.645Z,0.645702,736006c0,6 [FLog::Output] setAssetFolder /home/sypth/.var/app/org.vinegarhq.Sober/data/sober/assets/content/
2024-10-15T15:22:24.645Z,0.645817,736006c0,6 [FLog::Output] setExtraAssetFolder /home/sypth/.var/app/org.vinegarhq.Sober/data/sober/assets/ExtraContent
2024-10-15T15:22:24.645Z,0.645869,736006c0,6 [FLog::Output] Evaluating deferred inferred crashes
2024-10-15T15:22:24.646Z,0.646020,736006c0,6 [FLog::SingleSurfaceApp] registerForForceOTAUpdateAvailableConnection stage = 0
2024-10-15T15:22:24.646Z,0.646242,736006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Load configs for user key: app:17337859015902833780
2024-10-15T15:22:24.646Z,0.646820,736006c0,6 [FLog::SingleSurfaceApp] setStage: (stage:Native)
2024-10-15T15:22:24.646Z,0.646838,736006c0,6 [FLog::SingleSurfaceApp] instantiate controllers
2024-10-15T15:22:24.646Z,0.646852,736006c0,6 [FLog::SurfaceController] SurfaceController[_:1]::SurfaceController, count: 1
2024-10-15T15:22:24.646Z,0.646987,736006c0,6 [FLog::SingleSurfaceApp] initializeLuaAppWithLoggedInUser: (stage:Native).
2024-10-15T15:22:24.647Z,0.647002,736006c0,6 [FLog::SingleSurfaceApp] applyLocale
2024-10-15T15:22:24.647Z,0.647487,736006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Retrieving patch
2024-10-15T15:22:24.647Z,0.647505,736006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch DataModelPatchConfig : type=1, assetId=5345954812, assetVersion=9692, maxAppVersion=642, localAssetURI=rbxasset://models/DataModelPatch/DataModelPatch.rbxm
2024-10-15T15:22:24.647Z,0.647514,736006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : numAttempts=10
2024-10-15T15:22:24.647Z,0.647573,736006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : contentId=rbxasset://models/DataModelPatch/DataModelPatch.rbxm
2024-10-15T15:22:24.647Z,0.647585,736006c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch : get patch from content provider for Model
2024-10-15T15:22:24.647Z,0.647639,736006c0,6 [FLog::DataModelPatchConfigurer] deserializeAndVerifyPatch with blake3
nativeAppBridgeAppStart: StartupController finished starting: stage = 2, BTID = 0, upgradeStatus = 3.
2024-10-15T15:22:24.941Z,0.941190,736006c0,6 [FLog::Output] Hello? Is this thing on?
2024-10-15T15:22:24.941Z,0.941221,736006c0,6 [FLog::Output] Hello world, nothing to see here...
2024-10-15T15:22:24.946Z,0.946962,736006c0,6 [FLog::SingleSurfaceApp] setStage: (stage:InitializedLuaApp)
2024-10-15T15:22:24.957Z,0.957854,73dff6c0,6 [FLog::Output] Info: DataModel Loading rbxasset://places/Mobile.rbxl
2024-10-15T15:22:24.968Z,0.968301,73dff6c0,6 [FLog::DataModelPatchConfigurer] OTAPollingEnabled set to: false
2024-10-15T15:22:24.976Z,0.976954,73dff6c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA config
2024-10-15T15:22:25.088Z,1.088608,73dff6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Load configs for user key: app:17337859015902833780
2024-10-15T15:22:25.088Z,1.088771,73dff6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Retrieving patch
2024-10-15T15:22:25.088Z,1.088785,73dff6c0,6 [FLog::DataModelPatchConfigurer] getCachedPatch DataModelPatchConfig : type=1, assetId=16639814581, assetVersion=933, maxAppVersion=642, localAssetURI=
2024-10-15T15:22:25.167Z,1.167338,718006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA succeeded: {"SchemaVersion":"1","CanaryUserIds":[],"CanaryPercentage":0}
2024-10-15T15:22:25.167Z,1.167391,718006c0,6 [FLog::DataModelPatchConfigurer] [_DataModelPatch] Update OTA config not deployed
2024-10-15T15:22:25.301Z,1.301092,73dff6c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA config
2024-10-15T15:22:25.303Z,1.303815,73bfd6c0,6 [FLog::Warning] Warning: Unable to fetch completed survey ids from app storage  
nativeAppBridgeV2StartApp:
nativeAppBridgeV2StartApp: Created ANativeWindow 0x10 (ID:1)
2024-10-15T15:22:25.393Z,1.393923,736006c0,6 [FLog::SingleSurfaceApp] startLuaApp: (stage:InitializedLuaApp).
2024-10-15T15:22:25.393Z,1.393972,736006c0,6 [FLog::SingleSurfaceApp] returnToLuaApp: (stage:InitializedLuaApp).
2024-10-15T15:22:25.393Z,1.393988,736006c0,6 [FLog::SingleSurfaceApp] returnToLuaApp: ... disable videoRecorder.
2024-10-15T15:22:25.394Z,1.394006,736006c0,6 [FLog::SingleSurfaceApp] returnToLuaAppInternal: ... App has been initialized, returning from game.
2024-10-15T15:22:25.394Z,1.394028,736006c0,6 [FLog::SurfaceController] [_:1]::replaceDataModel: (stage:0, window = 0x10) [tid:0x37402c40320]
2024-10-15T15:22:25.394Z,1.394227,736006c0,6 [FLog::Graphics] Vulkan: Using extension: VK_KHR_surface
2024-10-15T15:22:25.394Z,1.394246,736006c0,6 [FLog::Graphics] Vulkan: Using extension: VK_KHR_android_surface
2024-10-15T15:22:25.440Z,1.440578,718006c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA succeeded: {"SchemaVersion":"1","CanaryUserIds":[],"CanaryPercentage":0}
2024-10-15T15:22:25.440Z,1.440625,718006c0,6 [FLog::DataModelPatchConfigurer] [discovery-ota] Update OTA config not deployed
2024-10-15T15:22:25.460Z,1.460451,736006c0,6 [FLog::Graphics] Vulkan Android Device: 
2024-10-15T15:22:25.460Z,1.460519,736006c0,6 [FLog::Graphics] VULKAN MT shader loading is enabled
2024-10-15T15:22:25.460Z,1.460554,736006c0,6 [FLog::Graphics] VULKAN heapIndex = 0, heapFlags = 1 (device), heapSize = 3221225472
2024-10-15T15:22:25.460Z,1.460564,736006c0,6 [FLog::Graphics] VULKAN heapIndex = 1, heapFlags = 0 (host), heapSize = 3910598656
2024-10-15T15:22:25.460Z,1.460573,736006c0,6 [FLog::Graphics] VULKAN heapIndex = 2, heapFlags = 1 (device), heapSize = 257949696
2024-10-15T15:22:25.460Z,1.460580,736006c0,6 [FLog::Graphics] VULKAN unifiedMemory = false, device memory = 3479175168, host memory = 12500533248, setting caps.videoMemory = 67108864
2024-10-15T15:22:25.460Z,1.460591,736006c0,6 [FLog::Graphics] Vulkan Device: NVIDIA GeForce GTX 970M
2024-10-15T15:22:25.460Z,1.460596,736006c0,6 [FLog::Graphics] Vulkan Device: Vendor 10de Device 13d8
2024-10-15T15:22:25.460Z,1.460601,736006c0,6 [FLog::Graphics] Vulkan Device: Driver 560.140.192 (-1945583424)
2024-10-15T15:22:25.460Z,1.460607,736006c0,6 [FLog::Graphics] Vulkan Device: API 1.3.280
2024-10-15T15:22:25.460Z,1.460615,736006c0,6 [FLog::Graphics] Caps: passFloatsLimit 1073741824
2024-10-15T15:22:25.460Z,1.460621,736006c0,6 [channel] Caps: ThreadSafe 1 Framebuffer 1 FpFramebuffer 1 Shaders 1 Compute 1 Instancing 1 PerInstanceStream 1 ConstBuffers 1
2024-10-15T15:22:25.460Z,1.460627,736006c0,6 [channel] Caps: Framebuffer: MRT 4 MSAA 8 Stencil 1
2024-10-15T15:22:25.460Z,1.460632,736006c0,6 [channel] Caps: Framebuffer: Depth16 1 Depth24 1 DepthFloat 1 DepthClamp 1
2024-10-15T15:22:25.460Z,1.460637,736006c0,6 [channel] Caps: Border Color 1
2024-10-15T15:22:25.460Z,1.460642,736006c0,6 [channel] Caps: Texture: RGB10A2 1 RG11B10F 1 R16I 1
2024-10-15T15:22:25.460Z,1.460657,736006c0,6 [channel] Caps: Texture: BC6H 1 ASTC HDR 0
2024-10-15T15:22:25.460Z,1.460666,736006c0,6 [channel] Caps: Texture: DXT 1 PVR 0 ETC1 0 ETC2 0 Half 1
2024-10-15T15:22:25.460Z,1.460672,736006c0,6 [channel] Caps: Texture: 3D 1 Array 1 Depth 1 MSAA 1 MSAAFP16 8
2024-10-15T15:22:25.460Z,1.460677,736006c0,6 [channel] Caps: Texture: NPOT 1 PartialMips 1 CubeMipGen 1 CubeFramebuffer 1
2024-10-15T15:22:25.460Z,1.460683,736006c0,6 [channel] Caps: Texture: Size 16384 Units 32 VertexUnits 32
2024-10-15T15:22:25.460Z,1.460690,736006c0,6 [channel] Caps: ConstantBufferSize 16384
2024-10-15T15:22:25.460Z,1.460695,736006c0,6 [channel] Caps: isAppleGPU 0
2024-10-15T15:22:25.460Z,1.460700,736006c0,6 [channel] Caps: 32bIdx 1 Memoryless 0
2024-10-15T15:22:25.460Z,1.460705,736006c0,6 [channel] Caps: ColorBGR 0 RTFlip 0 MinusOneToOneDepth 0
2024-10-15T15:22:25.461Z,1.461522,736006c0,6 [FLog::Graphics] Vulkan: creating framebuffer 800x600
2024-10-15T15:22:25.461Z,1.461688,736006c0,6 [FLog::Graphics] VULKAN ERROR: vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, wd.presentationSurface, &modeCount, nullptr) returned -13 (Unhandled error)
2024-10-15T15:22:25.461Z,1.461708,736006c0,6 [FLog::Graphics] VULKAN ERROR: vkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice, wd.presentationSurface, &modeCount, modes.data()) returned -13 (Unhandled error)
2024-10-15T15:22:25.461Z,1.461815,736006c0,6 [FLog::Graphics] VULKAN ERROR: vkCreateSwapchainKHR(device, &swapchainInfo, nullptr, &newSwapchain) returned -13 (Unhandled error)

Roblox Experience link

No response

JustSypth commented 1 month ago

Found a weird fix that whenever this happens all i have to do is open my monitor app "Mission Center" and go into gpu monitoring and it works for some reason.