[raiguard][2.0.7] Massive flickering when switching monitors

This subforum contains all the issues which we already resolved.
Baughn
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

[raiguard][2.0.7] Massive flickering when switching monitors

Post by Baughn »

Factorio reliably starts up on the left-most display on my setup, by default. When I try to move it to screen 2 (i.e. the central, primary display)...

This happens: https://brage.info/75122881937__C9B04B3 ... 3A04DD.mov

The monitor change does actually take effect correctly, upon restart, but I have to SIGQUIT the game to make it exit.

Fortunately I don't have epilepsy.
Baughn
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

Re: [2.0.7] Massive flickering when switching monitors

Post by Baughn »

I think this might only be an issue on Wayland. (However, the game is incredibly laggy (and blurry) on X11.)
Baughn
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

Re: [2.0.7] Massive flickering when switching monitors

Post by Baughn »

Console output. I've changed no settings from the default besides 'preferred video driver'.

Though I doubt this is relevant, the game still has the long-standing bug that it shows the primary display as display #3 (but starts up on #1 by default anyway?), while actually the KDE desktop setting is #2.

Code: Select all

➜  factorio bin/x64/factorio
   0.000 2024-10-21 20:11:31; Factorio 2.0.7 (build 79385, linux64, full)
   0.006 Operating system: Linux (Arch rolling)
   0.006 Program arguments: "bin/x64/factorio" 
   0.006 Config path: /home/svein/factorio/config/config.ini
   0.006 Read data path: /home/svein/factorio/data
   0.006 Write data path: /home/svein/factorio [1900665/5713368MB]
   0.006 Binaries path: /home/svein/factorio/bin
   0.014 System info: [CPU: AMD Ryzen 9 7950X3D 16-Core Processor, 32 cores, RAM: 127945 MB]
   0.014 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.016 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.331 Video driver: wayland
   0.332 Available displays: 3
   0.332  [0]: Ancor Communications Inc ROG PG279Q/#ASNqLqZguCPd - {[4800,0], 2048x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
   0.332  [1]: Dell Inc. Dell AW3423DW/#GLUYMxgwABKZ - {[2048,0], 2752x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
   0.332  [2]: Ancor Communications Inc ROG PG279Q/#ASMxEy+aHXDd - {[0,0], 2048x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
   0.420 Initialised OpenGL:[2] NVIDIA GeForce RTX 4090/PCIe/SSE2; driver: 3.3.0 NVIDIA 560.35.03
   0.420   [Size] Window: 2048x1152, Backbuffer: 2560x1440
   0.420   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
   0.420   [Version] 3.3
   0.420 Graphics settings preset: very-high
   0.420   Dedicated video memory size 24564 MB
   0.446 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.446                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.510 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.562 Joystick device connected: instance: 0, Xbox 360 Controller
   0.562 Joystick device connected: instance: 1, Generic X-Box pad
   0.562 Game controller connected: instance: 0, X360 Controller, Xbox 360 Controller
   0.562 Game controller connected: instance: 1, Generic X-Box pad, Generic X-Box pad
   0.612 Info ModManager.cpp:434: FeatureFlag expansion-shaders = false
   0.612 Info ModManager.cpp:434: FeatureFlag freezing = false
   0.612 Info ModManager.cpp:434: FeatureFlag quality = false
   0.612 Info ModManager.cpp:434: FeatureFlag rail-bridges = false
   0.612 Info ModManager.cpp:434: FeatureFlag segmented-units = false
   0.612 Info ModManager.cpp:434: FeatureFlag space-travel = false
   0.612 Info ModManager.cpp:434: FeatureFlag spoiling = false
   0.614 Loading mod core 0.0.0 (data.lua)
   0.630 Loading mod base 2.0.7 (data.lua)
   0.709 Loading mod base 2.0.7 (data-updates.lua)
   0.743 Checksum for core: 649243273
   0.743 Checksum of base: 2653731351
   0.837 Prototype list checksum: 1277818630
   0.853 Loading sounds...
   0.928 Info PlayerData.cpp:66: Local player-data.json available, timestamp 1729537889
   0.928 Info PlayerData.cpp:73: Cloud player-data.json unavailable
   1.021 Initial atlas bitmap size is 16384
   1.038 Created an atlas bitmap (size 16384x16384) [none]
   1.038 Created an atlas bitmap (size 16384x12664) [none]
   1.038 Created an atlas bitmap (size 8192x4352) [decal]
   1.039 Created an atlas bitmap (size 16384x7616) [low-object]
   1.039 Created an atlas bitmap (size 16384x11332) [corpse-decay]
   1.040 Created an atlas bitmap (size 8192x5632) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.040 Created an atlas bitmap (size 16384x6288) [terrain, mipmap, linear-minification, linear-mip-level]
   1.040 Created an atlas bitmap (size 4096x2960) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.040 Created an atlas bitmap (size 4096x1808) [smoke, mipmap, linear-minification, linear-magnification]
   1.040 Created an atlas bitmap (size 4096x3104) [mipmap]
   1.040 Created an atlas bitmap (size 8192x2704) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.041 Created an atlas bitmap (size 8192x5168) [alpha-mask]
   1.052 Created an atlas bitmap (size 16384x16372) [shadow, linear-magnification, alpha-mask]
   1.052 Created an atlas bitmap (size 16384x3960) [shadow, linear-magnification, alpha-mask]
   1.052 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   1.052 Created an atlas bitmap (size 2048x368) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.052 Loading 3D bitmaps.
   1.056 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.075 Parallel sprite loader initialized (threads: 31, bitmaps: 4573)
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
   4.938 Sprites loaded
   4.945 Generated mipmaps (4) for atlas [3] of size 16384x7616   
   4.947 Generated mipmaps (3) for atlas [5] of size 8192x5632   
   4.953 Generated mipmaps (3) for atlas [6] of size 16384x6288   
   4.957 Generated mipmaps (3) for atlas [7] of size 4096x2960   
   4.958 Generated mipmaps (3) for atlas [8] of size 4096x1808   
   4.971 Generated mipmaps (3) for atlas [9] of size 4096x3104   
   4.988 Generated mipmaps (5) for atlas [10] of size 8192x2704   
   4.989 Generated mipmaps (3) for atlas [14] of size 8192x2352   
   4.992 Custom mipmaps uploaded (2122)
   5.025 Factorio initialised
   5.026 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=Baughn&token=<private>&apiVersion=2
   5.642 Some core updates would be reachable if experimental updates were enabled.
   5.642 0 packages available to download (experimental updates disabled).
^C  48.141 Received SIGINT, shutting down
^C  48.691 Received second SIGINT, terminating immediately
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [2.0.7] Massive flickering when switching monitors

Post by raiguard »

Do your displays have different UI scales?

What I think might be happening is that the window switches its scale to that of your primary monitor, which causes a resize, which then causes the centerpoint to move back to the left monitor and it resizes, which pushes it back to the primary monitor, then it resizes... and so on.
Don't forget, you're here forever.
lvl19
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 20, 2024 10:18 am
Contact:

Re: [2.0.7] Massive flickering when switching monitors

Post by lvl19 »

Something similar happened to me on X11+i3, although i haven't been able to reproduce it. The game was rapidly flickering between fullscreen and ~half screen size. While this was happening the game was stuck in the initial loading screen, "generating bitmaps" or something like that. I thought it was caused by i3 or a faulty mod, but there might be something here.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [2.0.7] Massive flickering when switching monitors

Post by raiguard »

Please add

Code: Select all

SDL_EVENT_LOGGING=1
to the launch command for Factorio, reproduce the problem, and upload the log. That may give me some insight into what is going on.
Don't forget, you're here forever.
lvl19
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 20, 2024 10:18 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by lvl19 »

Managed to reproduce on X11+i3. The key was to have something already open on the other screen. When I move factorio to a screen with another window open, i3 attempts to automatically resize the window to fit both on the screen. Most other programs would simply remain fullscreen after moving.

Steps in the attached video:
1. Steam open on screen 1.
2. Launch factorio.
3. Move factorio to screen 2. (Screen 2 not visible on recording)
4. Move factorio back to screen 1. Flickering starts.
5. Move factorio to another (empty) workspace on the same monitor.
6. Factorio recovers after a while.
Attachments
flicker.mp4
(8.88 MiB) Downloaded 19 times
factorio-current.log
(6.18 KiB) Downloaded 15 times
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1262
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by valneq »

WOW this describes perfectly what I just experienced with 2.0.8 on Wayland + Gnome, two monitors. Primary monitor at 2160p (ui scale 2×) and the other one at 1080p (ui scale 1×). Will try to reproduce and get a log. Although it's possible the game was set to use X11 while that happened. Will investigate.
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1262
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by valneq »

I seem to always get flickering when I try to switch between monitors.
Log is attached, but it does not fully catch what's happening. Terminal from which I launched Factorio via

Code: Select all

$ SDL_EVENT_LOGGING=1 bin/x64/factorio
is being flooded with messages. The very end of it looks like this

Code: Select all

INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208169 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208171 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208172 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208172 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208172 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208174 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208174 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208178 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208181 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208182 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208182 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208184 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208184 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208186 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208188 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208188 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208188 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208190 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208190 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=503)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208191 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208287 windowid=1 event=SDL_WINDOWEVENT_FOCUS_LOST data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208287 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=208287 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=212021 windowid=1 event=SDL_WINDOWEVENT_EXPOSED data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218448 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218448 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=960 data2=540)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218448 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218448 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218448 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218476 windowid=1 event=SDL_WINDOWEVENT_DISPLAY_CHANGED data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218476 windowid=1 event=SDL_WINDOWEVENT_MOVED data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218480 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218480 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218482 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218482 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218483 windowid=1 event=SDL_WINDOWEVENT_DISPLAY_CHANGED data1=1 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218483 windowid=1 event=SDL_WINDOWEVENT_MOVED data1=3840 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218485 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218485 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218486 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=3840 data2=2091)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218486 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=3840 data2=2091)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218486 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=3840 data2=2091)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=3840 data2=2160)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=3840 data2=2160)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=3840 data2=2160)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218490 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218495 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218495 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218495 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218498 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218498 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1043)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=218503 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=224494 windowid=1 event=SDL_WINDOWEVENT_FOCUS_GAINED data1=0 data2=0)
INFO: SDL EVENT: SDL_CLIPBOARDUPDATE
INFO: SDL EVENT: SDL_CLIPBOARDUPDATE
INFO: SDL EVENT: SDL_TEXTEDITING (timestamp=224495 windowid=1 text='' start=0 length=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=225193 windowid=1 event=SDL_WINDOWEVENT_ENTER data1=0 data2=0)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=226778 windowid=1 which=0 button=1 state=pressed clicks=1 x=980 y=723)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=226861 windowid=1 which=0 button=1 state=released clicks=1 x=980 y=723)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=227495 windowid=1 which=0 button=1 state=pressed clicks=1 x=893 y=723)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=227561 windowid=1 which=0 button=1 state=released clicks=1 x=893 y=723)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=228061 windowid=1 which=0 button=1 state=pressed clicks=1 x=885 y=755)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=228127 windowid=1 which=0 button=1 state=released clicks=1 x=885 y=755)
 228.427 Quitting: user-quit.
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=228337 windowid=1 event=SDL_WINDOWEVENT_LEAVE data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=228337 windowid=1 event=SDL_WINDOWEVENT_FOCUS_LOST data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=228337 windowid=1 event=SDL_WINDOWEVENT_HIDDEN data1=0 data2=0)
Attachments
factorio-current.log
(7.25 KiB) Downloaded 14 times
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1262
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by valneq »

I can only reproduce this with native Wayland rendering. When set to X11 it's fine. Since I don't have any issues with the X11 backend I'm gonna go back to that for the moment.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by raiguard »

I have a feeling that this has the same root cause as the Sway flickering issue I showed in FFF 408, which I still have not figured out how to fix.

I have been able to reproduce some weird jittering on plasma, but nothing as bad as you have shown in your videos.
Don't forget, you're here forever.
lvl19
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 20, 2024 10:18 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by lvl19 »

I made a few more observations which may or may not be helpful. (X11+i3)
First of all, I can reproduce the issue on a single monitor, by having factorio fullscreen with another window on the same workspace, and forcing factorio to a normal window. Then it starts to flicker between window and fullscreen.
Secondly, every cycle of going fullscreen and windowed generates more events than it consumes. After moving factorio to an empty workspace it recovers after a while, but if I let it flicker for longer before moving it, the recovery takes proportionally longer.
Third and perhaps the most important: the problem goes away completely, if I uncheck "Fullscreen" in the graphics options. If I do that, I can still tell i3 to place factorio in a borderless fullscreen window. When I move that window to a different workspace, it stays in borderless fullscreen. Contrast to when I have the "Fullscreen" option enabled, the game briefly drops out of fullscreen when moved to another workspace, before going back to fullscreen.

As for the SDL event logs, I'm not sure if I can set environment variables with steam version, only arguments. I might need the standalone version for that.
User avatar
valneq
Smart Inserter
Smart Inserter
Posts: 1262
Joined: Fri Jul 12, 2019 7:43 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by valneq »

lvl19 wrote: Wed Oct 23, 2024 8:07 am As for the SDL event logs, I'm not sure if I can set environment variables with steam version, only arguments. I might need the standalone version for that.
You can set launch options in Steam to

Code: Select all

SDL_EVENT_LOGGING=1 %command% 
to change environment variabes
lvl19
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Oct 20, 2024 10:18 am
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by lvl19 »

Log.
1. I launch factorio. The game is opened fullscreen on 1st monitor.
2. Initiate flickering by exiting fullscreen. i3 should resize the window to occupy the right half of the screen, with some gaps left over for borders and such.
3. Around SDL timestamp 4700 I request the window to be moved to an empty workspace on my 2nd monitor. I use key combination win+shift+2 to move the window. win (scancode 227) and shift (scancode 225) are visible in the log, but the number key is not. It takes me a couple of tries, because the game is only in focus ~half of the time, so the timing isn't very precise.
4. Flickering eventually stops and I close the window.
Attachments
console-linux.txt
(119.23 KiB) Downloaded 17 times
Baughn
Fast Inserter
Fast Inserter
Posts: 100
Joined: Wed Jan 20, 2016 4:44 pm
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by Baughn »

Let's see...

- All my screens are at the same KDE-set scale, but they're all 125%, not 100%.
- I noticed this time that the menu bar on the leftmost monitor is also jittering up and down, though my guess is this is because a fullscreen window is jittering between monitors.
- Here's an event log:

Code: Select all

➜  factorio SDL_EVENT_LOGGING=1 bin/x64/factorio
   0.000 2024-10-25 15:58:27; Factorio 2.0.10 (build 79578, linux64, full, space-age)
   0.006 Operating system: Linux (Arch rolling)
   0.006 Program arguments: "bin/x64/factorio" 
   0.006 Config path: /home/svein/factorio/config/config.ini
   0.006 Read data path: /home/svein/factorio/data
   0.006 Write data path: /home/svein/factorio [1906219/5713368MB]
   0.006 Binaries path: /home/svein/factorio/bin
   0.015 System info: [CPU: AMD Ryzen 9 7950X3D 16-Core Processor, 32 cores, RAM: 127945 MB]
   0.015 Environment: DISPLAY=:0 WAYLAND_DISPLAY=wayland-0 DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE SDL_VIDEODRIVER=<unset> __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.018 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
INFO: SDL EVENT: SDL_JOYDEVICEADDED (timestamp=92 which=0)
INFO: SDL EVENT: SDL_JOYDEVICEADDED (timestamp=174 which=1)
INFO: SDL EVENT: SDL_CONTROLLERDEVICEADDED (timestamp=201 which=0)
INFO: SDL EVENT: SDL_CONTROLLERDEVICEADDED (timestamp=201 which=1)
   0.302 Video driver: wayland
   0.303 Available displays: 3
   0.303  [0]: Ancor Communications Inc ROG PG279Q/#ASNqLqZguCPd - {[4800,0], 2048x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
   0.303  [1]: Dell Inc. Dell AW3423DW/#GLUYMxgwABKZ - {[2048,0], 2752x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
   0.303  [2]: Ancor Communications Inc ROG PG279Q/#ASMxEy+aHXDd - {[0,0], 2048x1152, SDL_PIXELFORMAT_RGB888, 120Hz}
INFO: SDL EVENT: SDL_TEXTEDITING (timestamp=311 windowid=0 text='' start=0 length=0)
INFO: SDL EVENT: SDL_TEXTEDITING (timestamp=311 windowid=0 text='' start=0 length=0)
INFO: SDL EVENT: SDL_TEXTEDITING (timestamp=311 windowid=0 text='' start=0 length=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=311 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=311 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=312 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=2048 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=312 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=2048 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=312 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=2048 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=312 windowid=1 event=SDL_WINDOWEVENT_SHOWN data1=0 data2=0)
   0.401 Initialised OpenGL:[2] NVIDIA GeForce RTX 4090/PCIe/SSE2; driver: 3.3.0 NVIDIA 560.35.03
   0.401   [Size] Window: 2048x1152, Backbuffer: 2560x1440
   0.401   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes, ARB_pipeline_statistics_query:yes, ARB_gl_spirv:yes, ARB_ES2_compatibility:yes
   0.401   [Version] 3.3
   0.401 Graphics settings preset: very-high
   0.401   Dedicated video memory size 24564 MB
   0.428 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.428                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
INFO: SDL EVENT: SDL_AUDIODEVICEADDED (timestamp=471 which=0 iscapture=false)
INFO: SDL EVENT: SDL_AUDIODEVICEADDED (timestamp=471 which=1 iscapture=false)
INFO: SDL EVENT: SDL_AUDIODEVICEADDED (timestamp=472 which=0 iscapture=true)
   0.495 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.554 Joystick device connected: instance: 0, Xbox 360 Controller
   0.554 Joystick device connected: instance: 1, Generic X-Box pad
   0.554 Game controller connected: instance: 0, X360 Controller, Xbox 360 Controller
   0.554 Game controller connected: instance: 1, Generic X-Box pad, Generic X-Box pad
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=542 windowid=1 event=SDL_WINDOWEVENT_ENTER data1=0 data2=0)
INFO: SDL EVENT: SDL_KEYMAPCHANGED
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=554 windowid=1 event=SDL_WINDOWEVENT_FOCUS_GAINED data1=0 data2=0)
INFO: SDL EVENT: SDL_KEYDOWN (timestamp=554 windowid=1 state=pressed repeat=false scancode=227 keycode=1073742051 mod=1024)
INFO: SDL EVENT: SDL_CLIPBOARDUPDATE
INFO: SDL EVENT: SDL_CLIPBOARDUPDATE
   0.603 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.603 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.603 Info ModManager.cpp:434: FeatureFlag quality = true
   0.603 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.603 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.603 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.604 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.605 Loading mod settings AutoDeconstruct 1.0.2 (settings.lua)
   0.605 Loading mod settings better-victory-screen 0.4.2 (settings.lua)
   0.606 Loading mod settings DiscoScience 2.0.0 (settings.lua)
   0.607 Loading mod settings EvenDistributionLite 1.4.1 (settings.lua)
   0.608 Loading mod settings BottleneckLite 1.3.0 (settings.lua)
   0.609 Loading mod settings Milestones 1.4.1 (settings.lua)
   0.609 Loading mod settings RateCalculator 3.3.1 (settings.lua)
   0.610 Loading mod settings FactorySearch 1.12.1 (settings.lua)
   0.611 Loading mod settings AutoDeconstruct 1.0.2 (settings-final-fixes.lua)
   0.613 Loading mod core 0.0.0 (data.lua)
   0.624 Loading mod base 2.0.10 (data.lua)
   0.700 Loading mod better-victory-screen 0.4.2 (data.lua)
   0.704 Loading mod DiscoScience 2.0.0 (data.lua)
   0.709 Loading mod elevated-rails 2.0.10 (data.lua)
   0.722 Loading mod FilterHelper 0.2.4 (data.lua)
   0.726 Loading mod flib 0.15.0 (data.lua)
   0.731 Loading mod ModuleInserterSimplified 2.1.0 (data.lua)
   0.736 Loading mod quality 2.0.10 (data.lua)
   0.741 Loading mod textplates 0.7.1 (data.lua)
   0.753 Loading mod factoryplanner 2.0.2 (data.lua)
   0.757 Loading mod Milestones 1.4.1 (data.lua)
   0.762 Loading mod RateCalculator 3.3.1 (data.lua)
   0.768 Loading mod space-age 2.0.10 (data.lua)
   0.872 Loading mod FactorySearch 1.12.1 (data.lua)
   0.880 Loading mod base 2.0.10 (data-updates.lua)
   0.895 Loading mod quality 2.0.10 (data-updates.lua)
   0.916 Loading mod textplates 0.7.1 (data-updates.lua)
   0.925 Loading mod space-age 2.0.10 (data-updates.lua)
   0.932 Loading mod FactorySearch 1.12.1 (data-updates.lua)
   0.941 Loading mod ModuleInserterSimplified 2.1.0 (data-final-fixes.lua)
   0.954 Loading mod BottleneckLite 1.3.0 (data-final-fixes.lua)
   1.044 Checksum for core: 2896921138
   1.044 Checksum of base: 3513392431
   1.044 Checksum of AutoDeconstruct: 3603960023
   1.044 Checksum of better-victory-screen: 2548794490
   1.044 Checksum of DiscoScience: 2800209080
   1.044 Checksum of elevated-rails: 1891730324
   1.044 Checksum of EvenDistributionLite: 3273390874
   1.044 Checksum of FilterHelper: 1918584925
   1.044 Checksum of flib: 2235140407
   1.044 Checksum of ModuleInserterSimplified: 2708727588
   1.044 Checksum of quality: 3796827730
   1.044 Checksum of textplates: 1586580192
   1.044 Checksum of BottleneckLite: 295378444
   1.044 Checksum of factoryplanner: 2719536303
   1.044 Checksum of Milestones: 4077187412
   1.044 Checksum of RateCalculator: 2191928673
   1.044 Checksum of space-age: 3368484745
   1.044 Checksum of FactorySearch: 4045460007
   1.282 Prototype list checksum: 1069911532
   1.330 Loading sounds...
   1.458 Info PlayerData.cpp:66: Local player-data.json available, timestamp 1729868090
   1.458 Info PlayerData.cpp:73: Cloud player-data.json unavailable
   1.600 Initial atlas bitmap size is 16384
   1.610 Created an atlas bitmap (size 16384x16380) [none]
   1.621 Created an atlas bitmap (size 16384x16380) [none]
   1.634 Created an atlas bitmap (size 16384x16380) [none]
   1.635 Created an atlas bitmap (size 16384x15540) [none]
   1.635 Created an atlas bitmap (size 16384x8392) [decal]
   1.638 Created an atlas bitmap (size 16384x16384) [low-object]
   1.639 Created an atlas bitmap (size 4096x1376) [low-object]
   1.639 Created an atlas bitmap (size 16384x13456) [corpse-decay]
   1.639 Created an atlas bitmap (size 16384x5596) [none]
   1.639 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.640 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.645 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   1.645 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   1.645 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.646 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   1.646 Created an atlas bitmap (size 8192x2576) [mipmap]
   1.646 Created an atlas bitmap (size 2048x1520) [mipmap]
   1.646 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.646 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.647 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.647 Created an atlas bitmap (size 8192x5904) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.648 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.661 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   1.664 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   1.665 Created an atlas bitmap (size 16384x8376) [shadow, linear-magnification, alpha-mask]
   1.665 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   1.665 Created an atlas bitmap (size 2048x872) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.665 Loading 3D bitmaps.
   1.670 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.693 Parallel sprite loader initialized (threads: 31, bitmaps: 9150)
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
libpng warning: iCCP: profile 'icc': 'RGB ': RGB color space not permitted on grayscale PNG
  10.594 Sprites loaded
  10.606 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  10.607 Generated mipmaps (4) for atlas [6] of size 4096x1376   
  10.608 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  10.629 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  10.635 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  10.637 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  10.644 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  10.664 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  10.666 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  10.668 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  10.683 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  10.686 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  10.722 Generated mipmaps (5) for atlas [20] of size 8192x5904   
  10.723 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  10.727 Custom mipmaps uploaded (3222)
  10.735 Custom inputs active: 24
  10.775 Factorio initialised
  10.776 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=Baughn&token=<private>&apiVersion=2
  11.465 Some core updates would be reachable if experimental updates were enabled.
  11.465 0 packages available to download (experimental updates disabled).
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=12728 windowid=1 which=0 button=1 state=pressed clicks=1 x=952 y=641)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=12829 windowid=1 which=0 button=1 state=released clicks=1 x=952 y=641)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=14026 windowid=1 which=0 button=1 state=pressed clicks=1 x=987 y=422)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=14137 windowid=1 which=0 button=1 state=released clicks=1 x=987 y=422)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=16026 windowid=1 which=0 button=1 state=pressed clicks=1 x=956 y=684)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=16125 windowid=1 which=0 button=1 state=released clicks=1 x=956 y=684)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=16329 windowid=1 which=0 button=1 state=pressed clicks=2 x=957 y=695)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=16415 windowid=1 which=0 button=1 state=released clicks=2 x=957 y=695)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=17059 windowid=1 which=0 button=1 state=pressed clicks=1 x=950 y=782)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=17160 windowid=1 which=0 button=1 state=released clicks=1 x=950 y=782)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=19148 windowid=1 which=0 button=1 state=pressed clicks=1 x=1338 y=909)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=19273 windowid=1 which=0 button=1 state=released clicks=1 x=1338 y=909)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19274 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19274 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19274 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19274 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19279 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=2752 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19279 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=2752 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19279 windowid=1 event=SDL_WINDOWEVENT_DISPLAY_CHANGED data1=1 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19279 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=2752 data2=1152)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19281 windowid=1 event=SDL_WINDOWEVENT_MOVED data1=2048 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19281 windowid=1 event=SDL_WINDOWEVENT_LEAVE data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19282 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19282 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19282 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19282 windowid=1 event=SDL_WINDOWEVENT_RESIZED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19282 windowid=1 event=SDL_WINDOWEVENT_SIZE_CHANGED data1=1920 data2=1080)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19283 windowid=1 event=SDL_WINDOWEVENT_DISPLAY_CHANGED data1=2 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19283 windowid=1 event=SDL_WINDOWEVENT_MOVED data1=0 data2=0)
INFO: SDL EVENT: SDL_WINDOWEVENT (timestamp=19283 windowid=1 event=SDL_WINDOWEVENT_ENTER data1=0 data2=0)
The rest of this is just more of the same, at progressively higher timestamps.

- If I set the KDE scale to 100% on all three monitors, then... nothing changes; the problem is still there.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 579
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.0.7] Massive flickering when switching monitors

Post by raiguard »

Thanks for the reports, this has been fixed for the next release.
Don't forget, you're here forever.
Post Reply

Return to “Resolved Problems and Bugs”