[1.1.105] Crash while starting Factorio on wayland

Things that has been reported already before.
Post Reply
dantefromhell
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Mar 20, 2024 12:37 pm
Contact:

[1.1.105] Crash while starting Factorio on wayland

Post by dantefromhell »

Since I switched to wayland (hyprland) I'm having issue starting Factorio.

If I move my mouse and/ or click on the load screen it frequently crashes. Not touching the mouse typically gets me through the loading more reliably (but not 100% of all cases). Once Factorio has started, it works fairly stable for long time - not 100% though, I've observed crashes during that play too, but they are rare and not easily reproducible.

Factorio is started with

Code: Select all

export SDL_VIDEODRIVER=wayland ; factorio
Factorio crashes with (not visible in the logfile)

Code: Select all

   7.842 Script @__space-exploration__/prototypes/phase-3/resources.lua:42: Resource cannot place: deep-se-vitamelange
   7.944 Loading mod 248k 1.0.31 (data-final-fixes.lua)
   8.177 Loading mod blueprint-sandboxes 1.17.1 (data-final-fixes.lua)
   8.211 Closed during loading.
warning: queue 0x26b464e3480 destroyed while proxies still attached:
  wl_callback@36 still attached
  wl_surface@33 still attached
   8.247 Goodbye
Another (slightly older crash) terminated with

Code: Select all

   5.577 Loading mod space-exploration 0.6.125 (data-updates.lua)
   5.606 Closed during loading.
warning: queue 0x3a88c018100 destroyed while proxies still attached:
  wl_callback@36 still attached
  wl_surface@33 still attached
   5.645 Goodbye
The point of the crash seems to not be related to a specific mod.
Attachments
factorio-current.log
(44.6 KiB) Downloaded 10 times
Last edited by dantefromhell on Wed Mar 20, 2024 3:48 pm, edited 1 time in total.

dantefromhell
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Mar 20, 2024 12:37 pm
Contact:

Re: [1.1.104] Crash while starting Factorio on wayland

Post by dantefromhell »

Just realized 1.1.105 viewtopic.php?f=3&t=111904 was released while I typed the bug report which fixes a bunch of wayland issues. :lol:

Testing now and will update this issue.

dantefromhell
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Mar 20, 2024 12:37 pm
Contact:

Re: [1.1.104] Crash while starting Factorio on wayland

Post by dantefromhell »

Yes, I can still reproduce the issue

[EDIT] Updated title to reflect test with new release [/EDIT]

Code: Select all

   8.109 Script @__space-exploration__/prototypes/phase-3/resources.lua:42: Resource cannot place: deep-se-vulcanite
   8.109 Script @__space-exploration__/prototypes/phase-3/resources.lua:23: Resource has no control: deep-se-vitamelange
   8.109 Script @__space-exploration__/prototypes/phase-3/resources.lua:42: Resource cannot place: deep-se-vitamelange
   8.208 Loading mod 248k 1.0.31 (data-final-fixes.lua)
   8.418 Loading mod blueprint-sandboxes 1.17.1 (data-final-fixes.lua)
   8.465 Loading mod Companion_Drones 1.0.25 (data-final-fixes.lua)
   8.511 Loading mod Constructron-Continued 1.1.8 (data-final-fixes.lua)
   8.554 Loading mod extended-descriptions 1.2.1 (data-final-fixes.lua)
  10.149 Loading mod GhostOnWater 0.12.2 (data-final-fixes.lua)
  12.235 Loading mod Hovercrafts 1.2.2 (data-final-fixes.lua)
  12.290 Closed during loading.
warning: queue 0x54d725c9f00 destroyed while proxies still attached:
  wl_callback@36 still attached
  wl_surface@33 still attached
  12.331 Goodbye
  
New log file attached.
Attachments
factorio-current.log
(44.94 KiB) Downloaded 11 times

User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 452
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [1.1.105] Crash while starting Factorio on wayland

Post by raiguard »

Thanks for the report. Unfortunately this is not something I can fix - it is a result of Wayland disconnecting a client if the client's input buffer overflows. There is a Wayland merge request in the works to fix this issue, so we have to wait for them to merge it.

Until then, absolutely avoid moving your mouse when the game is frozen, because that will cause the game to close.

Duplicate of (the second half of) 105527.
Don't forget, you're here forever.

dantefromhell
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Mar 20, 2024 12:37 pm
Contact:

Re: [1.1.105] Crash while starting Factorio on wayland

Post by dantefromhell »

Thanks for the investigation.

I'm not sure if this is a different issue, happy to open a new one in case.

When I try to start 1.1.105 on my external monitor (Samsung LU28R55), Factorio "crashes" within the 1st second of loading.
Log is:

Code: Select all

❯ export SDL_VIDEODRIVER=wayland ; factorio
   0.000 2024-03-24 20:03:20; Factorio 1.1.105 (build 62203, linux64, full)
   0.000 Operating system: Linux
   0.000 Program arguments: "/nix/store/k3xgkc5pza0vvkfp7chv7s2dgxxcrdkc-factorio-alpha-1.1.105/bin/.factorio-wrapped" "-c" "/home/dante/.factorio/config.cfg"
   0.000 Config path: /home/dante/.factorio/config.cfg
   0.000 Read data path: /nix/store/k3xgkc5pza0vvkfp7chv7s2dgxxcrdkc-factorio-alpha-1.1.105/share/factorio/data
   0.000 Write data path: /home/dante/.factorio [1290793/1320607MB]
   0.000 Binaries path: /nix/store/k3xgkc5pza0vvkfp7chv7s2dgxxcrdkc-factorio-alpha-1.1.105
   0.004 System info: [CPU: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz, 8 cores, RAM: 31889 MB]
   0.004 Environment: DISPLAY=:1 WAYLAND_DISPLAY=wayland-1 DESKTOP_SESSION=hyprland XDG_SESSION_DESKTOP= XDG_CURRENT_DESKTOP=Hyprland __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.004 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.008 Video driver: wayland
   0.008 Available displays: 2
   0.008  [0]: BOE 0x095F (eDP-1) - {[792,2160], 2256x1504, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.008  [1]: Samsung Electric Company LU28R55 (DP-4 via HDMI) - {[0,0], 3199x1799, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.065 Initialised OpenGL:[1] Mesa Intel(R) Xe Graphics (TGL GT2); driver: 4.6 (Core Profile) Mesa 24.0.3
   0.065   [Size] Window: 3199x1799, Backbuffer: 2305x1296
   0.065   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.065   [Version] 4.6
   0.065 Graphics settings preset: integrated-gpuhigh
   0.065   Dedicated video memory size 0 MB (failed to detect)
   0.095 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality] [Color: 32bit]
   0.095                   [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: 0] [Rotation quality: normal] [Other: sTDCWT] [B:100,C:83,S:100]
   0.115 [Audio] Backend:SDL(default); Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.769 Info ModManager.cpp:258: Found duplicate mod space-exploration, using higher version (0.6.125 > 0.6.115).
   0.918 Loading mod settings nach0_library 0.0.2 (settings.lua)
   0.919 Loading mod settings sonaxaton-resource-map-markers 0.3.5 (settings.lua)
   0.919 Loading mod settings VehicleSnap 1.18.5 (settings.lua)
   0.920 Loading mod settings aai-containers 0.2.11 (settings.lua)
   0.920 Loading mod settings AdvancedArtilleryRemotesContinued 4.0.3 (settings.lua)
   0.920 Loading mod settings AlertsList2 1.3.3 (settings.lua)
   0.920 Loading mod settings AutoDeconstruct 0.3.12 (settings.lua)
   0.921 Loading mod settings BetterAlertArrows 1.0.0 (settings.lua)
   0.921 Loading mod settings BigLightTrainStop 1.1.0 (settings.lua)
   0.921 Loading mod settings BlueprintLab_Blu3wolf 1.0.4 (settings.lua)
   0.922 Loading mod settings blueprint_reader 1.0.3 (settings.lua)
   0.922 Loading mod settings bobinserters 1.2.0 (settings.lua)
   0.924 Loading mod settings Brighter-Lamps 1.1.0 (settings.lua)
   0.924 Loading mod settings calculator-ui 1.1.1 (settings.lua)
   0.925 Loading mod settings car-finder 1.5.2 (settings.lua)
   0.925 Loading mod settings dynamic-robot-queues 1.0.2 (settings.lua)
   0.926 Loading mod settings Enhanced_Map_Colors 1.5.5 (settings.lua)
   0.926 Loading mod settings even-distribution 1.0.10 (settings.lua)
   0.928 Loading mod settings FactorySearch 1.10.14 (settings.lua)
   0.929 Loading mod settings far-reach 1.1.3 (settings.lua)
   0.931 Loading mod settings Filter_Combinator 1.1.7 (settings.lua)
   0.933 Loading mod settings Flow Control 3.1.4 (settings.lua)
   0.933 Loading mod settings ghost-counter 1.2.1 (settings.lua)
   0.933 Loading mod settings GhostScanner2 2.0.3 (settings.lua)
   0.934 Loading mod settings GhostWarnings 1.2.2 (settings.lua)
   0.934 Loading mod settings helmod 0.12.23 (settings.lua)
   0.936 Loading mod settings informatron 0.3.4 (settings.lua)
   0.937 Loading mod settings inserter-throughput 0.1.4 (settings.lua)
   0.937 Loading mod settings inventory-repair 19.1.1 (settings.lua)
   0.938 Loading mod settings jetpack 0.3.14 (settings.lua)
   0.938 Loading mod settings mining-patch-planner 1.5.8 (settings.lua)
   0.939 Loading mod settings pump 1.3.4 (settings.lua)
   0.939 Loading mod settings RampantArsenal 1.1.6 (settings.lua)
   0.939 Loading mod settings RampantEvolution 1.6.4 (settings.lua)
   0.940 Loading mod settings Reactor_Interface_Tweaked 2.2.2 (settings.lua)
   0.940 Loading mod settings rec-blue-plus 1.3.15 (settings.lua)
   0.941 Loading mod settings robot_attrition 0.5.15 (settings.lua)
   0.941 Loading mod settings show-max-underground-distance 0.0.8 (settings.lua)
   0.942 Loading mod settings simple_landfill_mining 1.0.4 (settings.lua)
   0.942 Loading mod settings solar-calc 0.3.11 (settings.lua)
   0.942 Loading mod settings space-exploration-menu-simulations 0.6.8 (settings.lua)
   0.943 Loading mod settings Squeak Through 1.8.2 (settings.lua)
   0.943 Loading mod settings ThickerLines 0.0.5 (settings.lua)
   0.943 Loading mod settings TrainDriver_A16_fix 1.1.1 (settings.lua)
   0.945 Loading mod settings UPSFriendlyNixieTubeDisplay 0.1.19 (settings.lua)
   0.946 Loading mod settings aai-industry 0.5.22 (settings.lua)
   0.947 Loading mod settings alien-biomes 0.6.8 (settings.lua)
   0.949 Loading mod settings AutoTrash 5.3.13 (settings.lua)
   0.952 Loading mod settings combat-mechanics-overhaul 0.6.24 (settings.lua)
   0.954 Loading mod settings FluidMustFlow 1.3.5 (settings.lua)
   0.954 Loading mod settings LogisticTrainNetwork 1.18.6 (settings.lua)
   0.955 Loading mod settings Milestones 1.3.23 (settings.lua)
   0.956 Loading mod settings ModuleInserterEx 6.1.2 (settings.lua)
   0.957 Loading mod settings PickerDollies 1.2.6 (settings.lua)
   0.957 Loading mod settings PipeVisualizer 2.2.0 (settings.lua)
   0.958 Loading mod settings RateCalculator 3.2.4 (settings.lua)
   0.959 Loading mod settings StatsGui 1.5.0 (settings.lua)
   0.959 Loading mod settings Tapeline 2.0.10 (settings.lua)
   0.960 Loading mod settings TaskList 0.4.8 (settings.lua)
   0.960 Loading mod settings Cold_biters 1.2.1 (settings.lua)
   0.961 Loading mod settings compaktcircuit 1.1.2 (settings.lua)
   0.961 Loading mod settings Geothermal 1.152.1 (settings.lua)
   0.962 Loading mod settings Krastorio2 1.3.23 (settings.lua)
   0.963 Loading mod settings LTN_Combinator_Modernized 2.1.4 (settings.lua)
   0.963 Loading mod settings stack-combinator 1.6.1 (settings.lua)
   0.966 Loading mod settings water-consumes-pollution 1.1.0 (settings.lua)
   0.966 Loading mod settings BigLightElectricMiningDrill 1.1.0 (settings.lua)
   0.967 Loading mod settings Explosive_biters 2.0.5 (settings.lua)
   0.967 Loading mod settings space-exploration 0.6.125 (settings.lua)
   0.968 Loading mod settings stack4cc 1.0.1 (settings.lua)
   0.968 Loading mod settings 248k 1.0.31 (settings.lua)
   0.969 Loading mod settings blueprint-sandboxes 1.17.1 (settings.lua)
   0.970 Loading mod settings Constructron-Continued 1.1.8 (settings.lua)
   0.971 Loading mod settings CursorEnhancements 2.1.0 (settings.lua)
   0.971 Loading mod settings extended-descriptions 1.2.1 (settings.lua)
   0.972 Loading mod settings GhostOnWater 0.12.2 (settings.lua)
   0.973 Loading mod settings Hovercrafts 1.2.2 (settings.lua)
   0.974 Loading mod settings LtnManager 0.4.25 (settings.lua)
   0.975 Loading mod settings qol_research_jatmn 3.3.3 (settings.lua)
   0.977 Loading mod settings QuickItemSearch 2.1.8 (settings.lua)
   0.979 Loading mod settings rocket-log 1.1.12 (settings.lua)
   0.981 Loading mod settings se-flow-control-bridge 1.0.0 (settings.lua)
   0.984 Loading mod settings se-space-trains 0.1.12 (settings.lua)
   0.985 Loading mod settings space-exploration-postprocess 0.6.27 (settings.lua)
   0.986 Loading mod settings Space-Exploration-Rocket-Part-Delivery 1.1.0 (settings.lua)
   0.987 Loading mod settings space-spidertron 1.3.3 (settings.lua)
   0.988 Loading mod settings AdditionalPasteSettings 1.6.4 (settings.lua)
   0.989 Loading mod settings BottleneckLite 1.2.8 (settings.lua)
   0.989 Loading mod settings dredgeworks 0.3.1 (settings.lua)
   0.990 Loading mod settings GUI_Unifyer 1.12.0 (settings.lua)
   0.991 Loading mod settings se-recycling-extras 0.4.2 (settings.lua)
   0.992 Loading mod settings se_k2_fluid_permutations 0.4.3 (settings.lua)
   0.993 Loading mod settings unbarrel 0.3.0 (settings.lua)
   0.994 Loading mod settings Krastorio2 1.3.23 (settings-updates.lua)
   0.995 Loading mod settings dredgeworks 0.3.1 (settings-updates.lua)
   0.996 Loading mod settings nach0_248k_k2_compat_patch 0.0.1 (settings-updates.lua)
   0.996 Script @__nach0_library__/functions/settings.lua:51: Forced setting: {
  default_value = true,
  forced_value = true,
  hidden = true,
  name = "overhaul_mode",
  order = "i-a",
  setting_type = "startup",
  type = "bool-setting"
}
   0.997 Loading mod settings AutoDeconstruct 0.3.12 (settings-final-fixes.lua)
   0.998 Loading mod settings blueprint-sandboxes 1.17.1 (settings-final-fixes.lua)
   1.006 Loading mod core 0.0.0 (data.lua)
wp_viewport@34: error 2: source rectangle out of buffer bounds
   1.009 Closed during loading.
warning: queue 0x5ed945a72c0 destroyed while proxies still attached:
  wl_callback@36 still attached
  wl_surface@33 still attached
   1.064 Goodbye
   
The game loads normally (minus the other wayland issue) on the builtin laptop screen

Post Reply

Return to “Duplicates”