[0.17.1] Factorio no longer works with ratpoison (Linux window manager)

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Post Reply
User avatar
Hixie
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Dec 29, 2014 7:26 am
Contact:

[0.17.1] Factorio no longer works with ratpoison (Linux window manager)

Post by Hixie »

Factorio previously (0.16 and earlier) worked great with my window manager of choice, ratpoison. Now, when I start factorio, it blinks the screen black then nothing happens. This is what the logs say:

Code: Select all

   0.000 2019-03-22 12:20:54; Factorio 0.17.14 (build 43773, linux64, alpha)
   0.048 Operating system: Linux (Ubuntu 16.04)
   0.048 Program arguments: "bin/factorio/bin/x64/factorio" 
   0.048 Read data path: /home/ianh/bin/factorio/data
   0.048 Write data path: /home/ianh/bin/factorio [249874/480089MB]
   0.048 Binaries path: /home/ianh/bin/factorio/bin
   0.063 System info: [CPU: Intel(R) Core(TM) i9-7900X CPU @ 3.30GHz, 20 cores, RAM: 31853 MB]
   0.063 Environment: DISPLAY=:0.0, WAYLAND_DISPLAY=<unset>
   0.063 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
   0.246 Available displays: 1
   0.246  [0]: U32E850 32" - {[0,0], 3840x2160, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.330 Initialised OpenGL:[0] GeForce GTX 1050 Ti/PCIe/SSE2; driver: 3.3.0 NVIDIA 384.130
   0.330   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.330   [Version] 3.3
   0.382 Graphics settings preset: very-high
   0.382   Dedicated video memory size 4096 MB
   0.382 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: none]
   0.382                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
   5.583 Loading mod core 0.0.0 (data.lua)
   5.659 Loading mod base 0.17.14 (data.lua)
   5.831 Loading mod base 0.17.14 (data-updates.lua)
   5.913 Checksum for core: 2126933501
   5.913 Checksum of base: 1281086707
   6.317 Loading sounds...
   6.340 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1553220371
   6.340 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   6.422 Initial atlas bitmap size is 16384
   6.444 Created atlas bitmap 16384x16384 [not-compressed]
   6.447 Created atlas bitmap 16384x10930 [not-compressed]
   6.447 Created atlas bitmap 16384x2107 [decal, not-compressed]
   6.447 Created atlas bitmap 16384x3808 [low-object, not-compressed]
   6.447 Created atlas bitmap 16384x2200 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   6.448 Created atlas bitmap 16384x6880 [terrain, not-compressed, mipmap, linear-minification, linear-mip-level, no-crop]
   6.448 Created atlas bitmap 16384x476 [smoke, not-compressed, mipmap, linear-minification, linear-magnification]
   6.448 Created atlas bitmap 16384x748 [alpha-mask]
   6.450 Created atlas bitmap 16384x12640 [shadow, linear-magnification, alpha-mask]
   6.450 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   6.460 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   6.898 Parallel Sprite Loader initialized (threads: 19)
  15.459 Sprites loaded
  15.589 Generated mipmaps for atlas of size 16384x3808
  15.628 Generated mipmaps for atlas of size 16384x2200
  15.722 Generated mipmaps for atlas of size 16384x6880
  15.738 Generated mipmaps for atlas of size 16384x476
  15.748 Generated mipmaps for atlas of size 16384x1264
  15.848 Custom inputs active: 6
  15.901 Factorio initialised
Then it just sits there at 25% CPU but I can't find the window anywhere. If I switch to a different window manager (I used fvwm) in this state, I still can't find factorio. If I kill factorio, then switch window manager to fvwm, then start factorio, it works fine, and once the window is up I can switch back to ratpoison fine and the window stays visible.

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.1] Factorio no longer works with ratpoison (Linux window manager)

Post by posila »

Does it happen also when not starting in fullscreen? (command line argument --fullscreen=false)

Related: https://github.com/mpv-player/mpv/issues/4779

I'd say, let's hope someone will fix it in SDL2 or Ratpoison will implement whatever makes SDL work on other WMs before Factorio hits 1.0

rhogenson
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu May 09, 2019 3:02 am
Contact:

Re: [0.17.1] Factorio no longer works with ratpoison (Linux window manager)

Post by rhogenson »

I was having what I think is the same issue on xmonad, and adding --fullscreen=false did fix the issue.

Post Reply

Return to “Minor issues”