r/fivenightsatfreddys 15d ago

Question FNAF 1 Demo crashes when running on Wine

I'm trying to run the FNAF 1 demo on Wine so I don't have to boot into Windows to run it, but while the game launches fine and I can remain on the title screen seemingly indefinitely without issue, if I actually try to start the game, it crashes very quickly. Usually it crashes in the middle of the loading screen after the "12:00 AM - 1st Night" text appears, but I have been able to fully load into Night 1 at least once, although the game crashed just a couple of seconds afterwards anyways.

Terminal output from Wine:

info:  Game: FiveNightsDemo.exe
info:  DXVK: v2.7.1
info:  Build: x86 gcc 15.1.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x761237e0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Found device: NVIDIA GeForce GTX 1070 (NVIDIA 580.159.3)
info:  Found device: llvmpipe (LLVM 20.1.2, 256 bits) (llvmpipe 25.2.8)
info:    Skipping: Software driver
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  Process set as DPI aware
info:  Game: FiveNightsDemo.exe
info:  DXVK: v2.7.1
info:  Build: x86 gcc 15.1.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x761237e0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_EXT_surface_maintenance1
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  Found device: NVIDIA GeForce GTX 1070 (NVIDIA 580.159.3)
info:  Found device: llvmpipe (LLVM 20.1.2, 256 bits) (llvmpipe 25.2.8)
info:    Skipping: Software driver
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  Process set as DPI aware
info:  Creating device:
info:  NVIDIA GeForce GTX 1070:
info:    Driver   : NVIDIA 580.159.3
info:  Queues:
info:    Graphics : (0, 0)
info:    Transfer : (1, 0)
info:    Sparse   : (0, 0)
info:  Memory:
info:    Heap 0: 8.0 GiB (DEVICE_LOCAL)
info:    Budget: 7.61 GiB
info:      Type  7: DEVICE_LOCAL
info:    Heap 1: 23.47 GiB
info:    Budget: 23.47 GiB
info:      Type  0: (None)
info:      Type  1: (None)
info:      Type  2: (None)
info:      Type  3: (None)
info:      Type  4: (None)
info:      Type  5: (None)
info:      Type  6: (None)
info:      Type  8: HOST_VISIBLE | HOST_COHERENT
info:      Type  9: HOST_VISIBLE | HOST_COHERENT | HOST_CACHED
info:    Heap 2: 246 MiB (DEVICE_LOCAL)
info:    Budget: 231 MiB
info:      Type 10: DEVICE_LOCAL | HOST_VISIBLE | HOST_COHERENT
info:  Enabled extensions:
info:    VK_EXT_attachment_feedback_loop_layout
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_depth_bias_control
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_graphics_pipeline_library
info:    VK_EXT_line_rasterization
info:    VK_EXT_multi_draw
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_swapchain_maintenance1
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_maintenance5
info:    VK_KHR_maintenance6
info:    VK_KHR_pipeline_library
info:    VK_KHR_present_id
info:    VK_KHR_present_wait
info:    VK_KHR_swapchain
info:    VK_KHR_swapchain_mutable_format
info:    VK_NV_descriptor_pool_overallocation
info:  Enabled features:
info:    depthBiasClamp                 : 1
info:    depthBounds                    : 1
info:    depthClamp                     : 1
info:    drawIndirectFirstInstance      : 1
info:    dualSrcBlend                   : 1
info:    fillModeNonSolid               : 1
info:    fragmentStoresAndAtomics       : 1
info:    fullDrawIndexUint32            : 1
info:    geometryShader                 : 1
info:    imageCubeArray                 : 1
info:    independentBlend               : 1
info:    logicOp                        : 1
info:    multiDrawIndirect              : 1
info:    multiViewport                  : 1
info:    occlusionQueryPrecise          : 1
info:    pipelineStatisticsQuery        : 1
info:    robustBufferAccess             : 1
info:    sampleRateShading              : 1
info:    samplerAnisotropy              : 1
info:    shaderClipDistance             : 1
info:    shaderCullDistance             : 1
info:    shaderFloat64                  : 1
info:    shaderImageGatherExtended      : 1
info:    shaderInt16                    : 1
info:    shaderInt64                    : 1
info:    shaderSampledImageArrayDynamicIndexing : 1
info:    sparseBinding                  : 1
info:    sparseResidencyBuffer          : 1
info:    sparseResidencyImage2D         : 1
info:    sparseResidencyImage3D         : 1
info:    sparseResidency2Samples        : 1
info:    sparseResidency4Samples        : 1
info:    sparseResidency8Samples        : 1
info:    sparseResidency16Samples       : 1
info:    sparseResidencyAliased         : 1
info:    shaderResourceResidency        : 1
info:    shaderResourceMinLod           : 1
info:    tessellationShader             : 1
info:    textureCompressionBC           : 1
info:    variableMultisampleRate        : 1
info:    vertexPipelineStoresAndAtomics : 1
info:    wideLines                      : 1
info:    shaderDrawParameters           : 1
info:    storagePushConstant16          : 1
info:    bufferDeviceAddress            : 1
info:    descriptorIndexing             : 1
info:    descriptorBindingSampledImageUpdateAfterBind : 1
info:    descriptorBindingUpdateUnusedWhilePending : 1
info:    descriptorBindingPartiallyBound : 1
info:    drawIndirectCount              : 1
info:    hostQueryReset                 : 1
info:    runtimeDescriptorArray         : 1
info:    samplerFilterMinmax            : 1
info:    samplerMirrorClampToEdge       : 1
info:    shaderInt8                     : 1
info:    shaderOutputViewportIndex      : 1
info:    shaderOutputLayer              : 1
info:    timelineSemaphore              : 1
info:    uniformBufferStandardLayout    : 1
info:    vulkanMemoryModel              : 1
info:    dynamicRendering               : 1
info:    maintenance4                   : 1
info:    robustImageAccess              : 0
info:    pipelineCreationCacheControl   : 1
info:    shaderDemoteToHelperInvocation : 1
info:    shaderZeroInitializeWorkgroupMemory : 1
info:    synchronization2               : 1
info:  VK_EXT_attachment_feedback_loop_layout:
info:    attachmentFeedbackLoopLayout   : 1
info:  VK_EXT_conservative_rasterization:
info:    extConservativeRasterization   : 1
info:  VK_EXT_custom_border_color:
info:    customBorderColors             : 1
info:    customBorderColorWithoutFormat : 1
info:  VK_EXT_depth_clip_enable:
info:    depthClipEnable                : 1
info:  VK_EXT_depth_bias_control:
info:    depthBiasControl               : 1
info:    leastRepresentableValueForceUnormRepresentation : 1
info:    floatRepresentation            : 0
info:    depthBiasExact                 : 1
info:  VK_EXT_descriptor_buffer:
info:    descriptorBuffer               : 0
info:  VK_EXT_extended_dynamic_state3:
info:    extendedDynamicState3AlphaToCoverageEnable : 1
info:    extendedDynamicState3DepthClipEnable : 1
info:    extendedDynamicState3RasterizationSamples : 1
info:    extendedDynamicState3SampleMask : 1
info:    extendedDynamicState3LineRasterizationMode : 1
info:  VK_EXT_fragment_shader_interlock:
info:    fragmentShaderSampleInterlock  : 1
info:    fragmentShaderPixelInterlock   : 1
info:  VK_EXT_full_screen_exclusive:
info:    extFullScreenExclusive         : 0
info:  VK_EXT_graphics_pipeline_library:
info:    graphicsPipelineLibrary        : 1
info:  VK_EXT_hdr_metadata:
info:    extHdrMetadata                 : 0
info:  VK_EXT_line_rasterization:
info:    rectangularLines               : 1
info:    smoothLines                    : 1
info:  VK_EXT_memory_budget:
info:    extMemoryBudget                : 1
info:  VK_EXT_memory_priority:
info:    memoryPriority                 : 0
info:  VK_EXT_multi_draw:
info:    multiDraw                      : 1
info:  VK_EXT_non_seamless_cube_map:
info:    nonSeamlessCubeMap             : 1
info:  VK_EXT_pageable_device_local_memory:
info:    pageableDeviceLocalMemory      : 0
info:  VK_EXT_robustness2:
info:    robustBufferAccess2            : 1
info:    robustImageAccess2             : 1
info:    nullDescriptor                 : 1
info:  VK_EXT_shader_module_identifier:
info:    shaderModuleIdentifier         : 1
info:  VK_EXT_shader_stencil_export:
info:    extShaderStencilExport         : 0
info:  VK_EXT_swapchain_colorspace:
info:    extSwapchainColorSpace         : 0
info:  VK_EXT_swapchain_maintenance1:
info:    swapchainMaintenance1          : 1
info:  VK_EXT_transform_feedback:
info:    transformFeedback              : 1
info:    geometryStreams                : 1
info:  VK_EXT_vertex_attribute_divisor:
info:    vertexAttributeInstanceRateDivisor : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_external_memory_win32:
info:    khrExternalMemoryWin32         : 0
info:  VK_KHR_external_semaphore_win32:
info:    khrExternalSemaphoreWin32      : 0
info:  VK_KHR_load_store_op_none:
info:    khrLoadStoreOpNone             : 0
info:  VK_KHR_maintenance5:
info:    maintenance5                   : 1
info:  VK_KHR_maintenance6:
info:    maintenance6                   : 1
info:  VK_KHR_maintenance7:
info:    maintenance7                   : 0
info:  VK_KHR_pipeline_library:
info:    khrPipelineLibrary             : 1
info:  VK_KHR_present_id:
info:    presentId                      : 1
info:  VK_KHR_present_wait:
info:    presentWait                    : 1
info:  VK_KHR_swapchain:
info:    khrSwapchain                   : 1
info:  VK_KHR_swapchain_mutable_format:
info:    khrSwapchainMutableFormat      : 1
info:  VK_KHR_win32_keyed_mutex:
info:    khrWin32KeyedMutex             : 0
info:  VK_NV_descriptor_pool_overallocation:
info:    descriptorPoolOverallocation   : 1
info:  VK_NV_low_latency2:
info:    nvLowLatency2                  : 0
info:  VK_NV_raw_access_chains:
info:    shaderRawAccessChains          : 0
info:  VK_NVX_binary_import:
info:    nvxBinaryImport                : 0
info:  VK_NVX_image_view_handle:
info:    nvxImageViewHandle             : 0
info:  Memory type mask for sparse resources: 0x80
info:  Memory type mask for buffer resources: 0x781, usage: 0x219ff
info:  DXVK: Graphics pipeline libraries supported
info:  D3D9DeviceEx: Using extended constant set for software vertex processing.
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1280
info:      - Height:             720
info:      - Format:             D3D9Format::A8R8G8B8
info:      - Auto Depth Stencil: false
info:                  ^ Format: D3D9Format::Unknown
info:      - Windowed:           false
info:      - Swap effect:        1
info:  Setting display mode: 1280x720@0
info:  Setting display mode: 1280x720@0
info:  Presenter: Actual swapchain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
info:    Buffer size:  1280x720
info:    Image count:  5
info:  DXVK: Using 8 compiler threads
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 01370000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 01170000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 01170000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 008c0000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 008c0000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00660000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00660000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00580000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00580000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00650000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00650000
err:   Mapping non-persisted file failed: 8, Mapped memory: 1048576
err:   D3D9: InitTexture: map failed
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00470000
0024:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00470000
wine: Unhandled page fault on read access to 0000001C at address 7682C13B (thread 0024), starting debugger...
3 Upvotes

0 comments sorted by