Page 1 of 1

[0.17.11] [Linux, GM45 Express] When zooming out, player sprite glitches out

Posted: Thu Mar 14, 2019 5:15 pm
by shadow0133
Screenshot from 2019-03-14 18-03-57.png
Screenshot from 2019-03-14 18-03-57.png (1.83 MiB) Viewed 1526 times
Screenshot from 2019-03-14 18-03-42.png
Screenshot from 2019-03-14 18-03-42.png (1.79 MiB) Viewed 1526 times
Logs:

Code: Select all

   0.000 2019-03-14 17:56:46; Factorio 0.17.11 (build 43576, linux64, steam)
   0.240 Operating system: Linux (Ubuntu 18.04)
   0.240 Program arguments: "/media/shadlock0133/Derp/Linux/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio" 
   0.240 Read data path: /media/shadlock0133/Derp/Linux/SteamLibrary/steamapps/common/Factorio/data
   0.241 Write data path: /home/shadlock0133/.factorio [19409/160143MB]
   0.241 Binaries path: /media/shadlock0133/Derp/Linux/SteamLibrary/steamapps/common/Factorio/bin
   0.270 System info: [CPU: Intel(R) Core(TM)2 Duo CPU     T5900  @ 2.20GHz, 2 cores, RAM: 3816 MB]
   0.270 Environment: DISPLAY=:0, WAYLAND_DISPLAY=<unset>
   0.270 Display options: [FullScreen: 0] [VSync: 1] [UIScale: custom (85.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.355 Available displays: 2
   0.355  [0]: 0 - {[1920,0], 1280x800, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.356  [1]:      DTV 26" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.433 Initialised OpenGL:[1] llvmpipe (LLVM 9.0, 128 bits); driver: 3.3 (Core Profile) Mesa 19.1.0-devel - padoka PPA
   0.434   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.434   [Version] 3.3
   1.778 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
   1.778 Graphics settings preset: low
   1.779   Dedicated video memory size 0 MB
   1.779 Graphics options: [Graphics quality: normal] [Video memory usage: low] [Light scale: 25%] [DXT: low-quality]
   1.779                   [Max load threads: 32] [Max texture size: 4096] [Tex.Stream.: 1] [Rotation quality: low] [Color: 16bit]
   2.451 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
   3.101 Loading mod core 0.0.0 (data.lua)
   3.751 Loading mod base 0.17.11 (data.lua)
   6.847 Loading mod base 0.17.11 (data-updates.lua)
   7.219 Checksum for core: 4249075453
   7.219 Checksum of base: 46491745
   8.783 Loading sounds...
  19.033 Info PlayerData.cpp:69: Local player-data.json unavailable
  19.033 Info PlayerData.cpp:72: Cloud player-data.json available, timestamp 1552581341
  19.673 Initial atlas bitmap size is 4096
  19.674 Created atlas bitmap 4096x468 [none]
  19.688 Created atlas bitmap 4096x1952 [decal]
  19.710 Created atlas bitmap 4096x3824 [low-object]
  19.721 Created atlas bitmap 4096x2000 [mipmap, linear-minification, linear-magnification, linear-mip-level]
  19.757 Created atlas bitmap 4096x4096 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  19.781 Created atlas bitmap 4096x4096 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  19.783 Created atlas bitmap 4096x368 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
  19.792 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
  19.821 Created atlas bitmap 4096x1388 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
  19.823 Created atlas bitmap 4096x836 [alpha-mask]
  19.840 Created atlas bitmap 4096x4076 [shadow, linear-magnification, alpha-mask]
  19.856 Created atlas bitmap 4096x4096 [shadow, linear-magnification, alpha-mask]
  19.879 Created atlas bitmap 4096x4088 [shadow, linear-magnification, alpha-mask]
  19.880 Created atlas bitmap 4096x504 [shadow, linear-magnification, alpha-mask]
  19.882 Created atlas bitmap 4096x1296 [shadow, mipmap, linear-magnification, alpha-mask]
  20.459 Created virtual atlas pages 4096x4096x8
  29.666 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
 110.984 Parallel Sprite Loader initialized (threads: 1)
 153.451 Sprites loaded
 164.706 Generated mipmaps for atlas of size 4096x3824
 170.541 Generated mipmaps for atlas of size 4096x2000
 181.987 Generated mipmaps for atlas of size 4096x4096
 188.052 Generated mipmaps for atlas of size 4096x4096
 193.724 Generated mipmaps for atlas of size 4096x368
 199.510 Generated mipmaps for atlas of size 4096x1600
 203.631 Generated mipmaps for atlas of size 4096x1388
 206.274 Generated mipmaps for atlas of size 4096x1296
 206.543 Generated mipmaps for virtual atlas of size 8192x16384
 206.925 Custom inputs active: 6
 207.266 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
 207.287 Factorio initialised
 207.953 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
 291.099 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
 302.517 Warning GraphicsInterfaceOpenGL.cpp:215: SDL_GL_SetSwapInterval failed: That operation is not supported
 332.488 Loading Level.dat: 1305886 bytes.
 332.491 Info Scenario.cpp:147: Map version 0.17.11-0
 332.641 Checksum for script /home/shadlock0133/.factorio/temp/currently-playing/control.lua: 1848333929
 475.471 Quitting: user-quit.
 475.471 Info GlobalContext.cpp:678: Waiting for child processes to exit: 
 475.807 Steam API shutdown.
 475.889 Goodbye

Re: [0.17.11] When zooming out, player sprite glitches out

Posted: Thu Mar 14, 2019 5:33 pm
by posila
Hello, try to disable texture streaming in graphics settings.

What kind of GPU do you have? From the log and low FPS it looks like OpenGL is using software rasterization.

Re: [0.17.11] When zooming out, player sprite glitches out

Posted: Fri Mar 15, 2019 12:05 pm
by shadow0133
From glxinfo: Mesa DRI Mobile Intel® GM45 Express Chipset
It's laptop with integrated graphics

Re: [0.17.11] When zooming out, player sprite glitches out

Posted: Fri Mar 15, 2019 12:36 pm
by posila
That chipset is DX10 capable, but as far as I know, Intel had just OpenGL 2.1 drivers, not sure if MESA driver was able to make OpenGL 3.3 run on it (which shouldn't need any features DX10 wouldn't have)

What is supported OpenGL version according to glxinfo?

Re: [0.17.11] [Linux, GM45 Express] When zooming out, player sprite glitches out

Posted: Fri Mar 15, 2019 2:26 pm
by shadow0133
OpenGL 2.1 normally, OpenGL 3.3 core with LIBGL_ALWAYS_SOFTWARE=1 environment variable.

Re: [0.17.11] [Linux, GM45 Express] When zooming out, player sprite glitches out

Posted: Fri Mar 15, 2019 2:48 pm
by posila
shadow0133 wrote:
Fri Mar 15, 2019 2:26 pm
OpenGL 2.1 normally, OpenGL 3.3 core with LIBGL_ALWAYS_SOFTWARE=1 environment variable.
Well, that might be the cause of low FPS, as it makes the driver use software rendering instead of GPU.