[2.0.42] Sprite loading takes much longer on dGPU than iGPU

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
deathanatos
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Apr 07, 2025 12:24 am
Contact:

[2.0.42] Sprite loading takes much longer on dGPU than iGPU

Post by deathanatos »

I am on Linux. I have a Lenovo T460p (a laptop) on which I play; it has two GPUs: an integrated GPU ("iGPU", an Intel Corporation HD Graphics 530), and a dedicated GPU ("dGPU", an NVIDIA Corporation GM108M (GeForce 940MX)).

This is vanilla, with Space Age.

When I start Factorio, I can do so in one of two ways: directly as `./bin/factorio` which will launch it on the iGPU, or by wrapping it with pvkrun, `pvkrun ./bin/factorio`, which will launch it on the dGPU.

During loading, the "Loading sprites" portion is about 10× longer when running on the dGPU. I do expect the dGPU to be marginally slower¹, however, not that much slower.

When running on the iGPU:

Code: Select all

   0.290 Initialised OpenGL:[0] Mesa Intel(R) HD Graphics 530 (SKL GT2); driver: 4.6 (Core Profile) Mesa 24.0.6-arch1.2
   0.290   [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.290   [Version] 4.6
   0.456 Graphics settings preset: integrated-gpuhigh
   0.456   Dedicated video memory size 23973 MB (detected from Intel(R) HD Graphics 530 (SKL GT2); VendorID: 0x8086; DeviceID: 0x191b)
   0.508 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: low-quality]
 (snip)
   0.508                   [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: false] [Rotation quality: low] [Other: sTDCWTl] [B:0,C:0,S:100]
   5.390 Parallel sprite loader initialized (threads: 7, bitmaps: 8304)
  43.723 Sprites loaded
There you can see sprites took ~38s to load.

When running on the dGPU, however,

Code: Select all

   0.642 Initialised OpenGL:[0] NVIDIA GeForce 940MX/PCIe/SSE2; driver: 3.3.0 NVIDIA 550.78
   0.642   [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.642   [Version] 3.3
   0.642 Graphics settings preset: high
   0.642   Dedicated video memory size 2048 MB
   0.663 Warning GraphicsInterfaceOpenGL.cpp:244: SDL_GL_SetSwapInterval failed: That operation is not supported
   0.664 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality]
   0.664                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: true] [Rotation quality: low] [Other: STDCWTl] [B:0,C:0,S:100]
(snip)
   3.380 Parallel sprite loader initialized (threads: 7, bitmaps: 8304)
 487.106 Sprites loaded
There you can see sprite loading took ~484s (8m 4s). Quite a bit longer! Far longer than it seems like it should take to transfer the amount of data I think sprites compose.

The dGPU run here even has the advantage of being the second run, so the sprite data is likely in disk cache for that load.

Full log for the iGPU run:

Code: Select all

   0.000 2025-04-06 19:56:18; Factorio 2.0.42 (build 82066, linux64, full, space-age)
   0.016 Operating system: Linux (Arch rolling)
   0.016 Program arguments: "./bin/x64/factorio" 
   0.016 Config path: /home/royiv/Apps/opt/factorio/factorio-2.0/config/config.ini
   0.016 Read data path: /home/royiv/Apps/opt/factorio/factorio-2.0/data
   0.016 Write data path: /home/royiv/Apps/opt/factorio/factorio-2.0 [2786/405059MB]
   0.016 Binaries path: /home/royiv/Apps/opt/factorio/factorio-2.0/bin
   0.035 System info: [CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, 8 cores, RAM: 31964 MB]
   0.035 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=mate XDG_SESSION_DESKTOP=mate XDG_CURRENT_DESKTOP=MATE 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.036 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.069 Video driver: x11
   0.069 Available displays: 1
   0.069  [0]: 0 - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.290 Initialised OpenGL:[0] Mesa Intel(R) HD Graphics 530 (SKL GT2); driver: 4.6 (Core Profile) Mesa 24.0.6-arch1.2
   0.290   [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.290   [Version] 4.6
   0.456 Graphics settings preset: integrated-gpuhigh
   0.456   Dedicated video memory size 23973 MB (detected from Intel(R) HD Graphics 530 (SKL GT2); VendorID: 0x8086; DeviceID: 0x191b)
   0.508 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: low-quality]
   0.508                   [Max threads (load/render): 32/8] [Max texture size: 8192] [Tex.Stream.: false] [Rotation quality: low] [Other: sTDCWTl] [B:0,C:0,S:100]
   0.533 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   0.801 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
   0.801 Info ModManager.cpp:444: FeatureFlag freezing = true
   0.801 Info ModManager.cpp:444: FeatureFlag quality = true
   0.801 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
   0.801 Info ModManager.cpp:444: FeatureFlag segmented-units = true
   0.801 Info ModManager.cpp:444: FeatureFlag space-travel = true
   0.801 Info ModManager.cpp:444: FeatureFlag spoiling = true
   0.876 Loading mod core 0.0.0 (data.lua)
   0.903 Loading mod base 2.0.42 (data.lua)
   1.147 Loading mod elevated-rails 2.0.42 (data.lua)
   1.185 Loading mod quality 2.0.42 (data.lua)
   1.213 Loading mod space-age 2.0.42 (data.lua)
   1.584 Loading mod base 2.0.42 (data-updates.lua)
   1.610 Loading mod quality 2.0.42 (data-updates.lua)
   1.639 Loading mod space-age 2.0.42 (data-updates.lua)
   1.762 Checksum for core: 931939137
   1.762 Checksum of base: 3983563817
   1.762 Checksum of elevated-rails: 6715099
   1.762 Checksum of quality: 2058135058
   1.762 Checksum of space-age: 2335132001
   2.320 Prototype list checksum: 2053221192
   2.392 Loading sounds...
   4.061 Info PlayerData.cpp:64: Local player-data.json available, timestamp 1743048675
   4.061 Info PlayerData.cpp:71: Cloud player-data.json unavailable
   4.065 Post-data load graphics options: [Light occlusion: no]
   4.381 Initial atlas bitmap size is 8192
   4.406 Created an atlas bitmap (size 8192x8184) [none]
   4.427 Created an atlas bitmap (size 8192x8192) [none]
   4.450 Created an atlas bitmap (size 8192x8188) [none]
   4.469 Created an atlas bitmap (size 8192x8144) [none]
   4.491 Created an atlas bitmap (size 8192x8184) [none]
   4.513 Created an atlas bitmap (size 8192x8184) [none]
   4.533 Created an atlas bitmap (size 8192x8180) [none]
   4.557 Created an atlas bitmap (size 8192x8188) [none]
   4.583 Created an atlas bitmap (size 8192x8192) [none]
   4.603 Created an atlas bitmap (size 8192x8192) [none]
   4.621 Created an atlas bitmap (size 8192x8164) [none]
   4.638 Created an atlas bitmap (size 8192x8192) [none]
   4.653 Created an atlas bitmap (size 8192x8192) [none]
   4.669 Created an atlas bitmap (size 8192x8144) [none]
   4.683 Created an atlas bitmap (size 8192x8176) [none]
   4.686 Created an atlas bitmap (size 4096x2548) [none]
   4.712 Created an atlas bitmap (size 8192x8160) [low-object]
   4.736 Created an atlas bitmap (size 8192x8160) [low-object]
   4.760 Created an atlas bitmap (size 8192x8192) [low-object]
   4.784 Created an atlas bitmap (size 8192x8192) [low-object]
   4.788 Created an atlas bitmap (size 8192x1920) [low-object]
   4.803 Created an atlas bitmap (size 8192x8156) [corpse-decay]
   4.816 Created an atlas bitmap (size 8192x8192) [corpse-decay]
   4.832 Created an atlas bitmap (size 8192x8188) [corpse-decay]
   4.842 Created an atlas bitmap (size 8192x4320) [corpse-decay]
   4.857 Created an atlas bitmap (size 8192x8176) [decal]
   4.872 Created an atlas bitmap (size 8192x8176) [decal]
   4.873 Created an atlas bitmap (size 4096x1244) [decal]
   4.888 Created an atlas bitmap (size 8192x8180) [none]
   4.894 Created an atlas bitmap (size 8192x2992) [none]
   4.895 Created an atlas bitmap (size 1676x79) [not-compressed]
   4.924 Created an atlas bitmap (size 8192x8176) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   4.924 Created an atlas bitmap (size 1584x432) [mipmap]
   4.928 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
   4.941 Created an atlas bitmap (size 8192x8096) [terrain, mipmap, linear-minification, linear-mip-level]
   4.957 Created an atlas bitmap (size 8192x8192) [terrain, mipmap, linear-minification, linear-mip-level]
   4.972 Created an atlas bitmap (size 8192x8192) [terrain, mipmap, linear-minification, linear-mip-level]
   4.984 Created an atlas bitmap (size 8192x8128) [terrain, mipmap, linear-minification, linear-mip-level]
   4.999 Created an atlas bitmap (size 8192x8128) [terrain, mipmap, linear-minification, linear-mip-level]
   5.001 Created an atlas bitmap (size 8192x1968) [terrain, mipmap, linear-minification, linear-mip-level]
   5.009 Created an atlas bitmap (size 8192x4128) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   5.018 Created an atlas bitmap (size 8192x2576) [mipmap]
   5.019 Created an atlas bitmap (size 3504x768) [mipmap]
   5.025 Created an atlas bitmap (size 4096x3152) [mipmap]
   5.031 Created an atlas bitmap (size 4096x3152) [mipmap]
   5.035 Created an atlas bitmap (size 4096x3152) [mipmap]
   5.081 Created an atlas bitmap (size 8192x3872) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   5.095 Created an atlas bitmap (size 8192x8168) [alpha-mask]
   5.099 Created an atlas bitmap (size 8192x4080) [alpha-mask]
   5.130 Created an atlas bitmap (size 8192x8188) [shadow, linear-magnification, alpha-mask]
   5.142 Created an atlas bitmap (size 8192x8192) [shadow, linear-magnification, alpha-mask]
   5.145 Created an atlas bitmap (size 8192x2264) [shadow, linear-magnification, alpha-mask]
   5.149 Created an atlas bitmap (size 8192x2320) [shadow, mipmap, linear-magnification, alpha-mask]
   5.149 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   5.149 Loading 3D bitmaps.
   5.168 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   5.390 Parallel sprite loader initialized (threads: 7, bitmaps: 8304)
  43.723 Sprites loaded
  43.778 Generated mipmaps (4) for atlas [16] of size 8192x8160   
  43.820 Generated mipmaps (4) for atlas [17] of size 8192x8160   
  43.858 Generated mipmaps (4) for atlas [18] of size 8192x8192   
  43.903 Generated mipmaps (4) for atlas [19] of size 8192x8192   
  43.916 Generated mipmaps (4) for atlas [20] of size 8192x1920   
  43.955 Generated mipmaps (3) for atlas [31] of size 8192x8176   
  43.961 Generated mipmaps (3) for atlas [32] of size 1584x432   
  43.977 Generated mipmaps (3) for atlas [33] of size 4096x3040   
  44.023 Generated mipmaps (3) for atlas [34] of size 8192x8096   
  44.060 Generated mipmaps (3) for atlas [35] of size 8192x8192   
  44.105 Generated mipmaps (3) for atlas [36] of size 8192x8192   
  44.146 Generated mipmaps (3) for atlas [37] of size 8192x8128   
  44.190 Generated mipmaps (3) for atlas [38] of size 8192x8128   
  44.211 Generated mipmaps (3) for atlas [39] of size 8192x1968   
  44.231 Generated mipmaps (3) for atlas [40] of size 8192x4128   
  44.311 Generated mipmaps (3) for atlas [41] of size 8192x2576   
  44.318 Generated mipmaps (3) for atlas [42] of size 3504x768   
  44.330 Generated mipmaps (3) for atlas [43] of size 4096x3152   
  44.378 Generated mipmaps (3) for atlas [44] of size 4096x3152   
  44.387 Generated mipmaps (3) for atlas [45] of size 4096x3152   
  44.412 Generated mipmaps (5) for atlas [46] of size 8192x3872   
  44.428 Generated mipmaps (3) for atlas [52] of size 8192x2320   
  44.478 Custom mipmaps uploaded (3435)
  44.501 Video memory usage: 2617.61 MB (Atlases: 2487.31 MB, Textures: 130.30 MB)
  44.616 Factorio initialised
  44.618 Info AuthServerConnector.cpp:618: Performing TLS check.
  44.618 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/tls-check/success
  44.779 Info AuthServerConnector.cpp:651: TLS check success.
  44.779 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=deathanatos&token=<private>&apiVersion=2
  44.945 1 packages available to download (experimental updates disabled).
  49.015 Quitting: user-quit.
  49.739 Goodbye
Full log for the dGPU run:

Code: Select all

   0.000 2025-04-06 19:57:16; Factorio 2.0.42 (build 82066, linux64, full, space-age)
   0.010 Operating system: Linux (Arch rolling)
   0.010 Program arguments: "./bin/x64/factorio" 
   0.010 Config path: /home/royiv/Apps/opt/factorio/factorio-2.0/config/config.ini
   0.010 Read data path: /home/royiv/Apps/opt/factorio/factorio-2.0/data
   0.010 Write data path: /home/royiv/Apps/opt/factorio/factorio-2.0 [2817/405059MB]
   0.010 Binaries path: /home/royiv/Apps/opt/factorio/factorio-2.0/bin
   0.021 System info: [CPU: Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz, 8 cores, RAM: 31964 MB]
   0.021 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=mate XDG_SESSION_DESKTOP=mate XDG_CURRENT_DESKTOP=MATE 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.022 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.056 Video driver: x11
   0.056 Available displays: 1
   0.056  [0]: 0 - {[0,0], 2560x1440, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.642 Initialised OpenGL:[0] NVIDIA GeForce 940MX/PCIe/SSE2; driver: 3.3.0 NVIDIA 550.78
   0.642   [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.642   [Version] 3.3
   0.642 Graphics settings preset: high
   0.642   Dedicated video memory size 2048 MB
   0.663 Warning GraphicsInterfaceOpenGL.cpp:244: SDL_GL_SetSwapInterval failed: That operation is not supported
   0.664 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality]
   0.664                   [Max threads (load/render): 32/8] [Max texture size: 0] [Tex.Stream.: true] [Rotation quality: low] [Other: STDCWTl] [B:0,C:0,S:100]
   0.689 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Frequency:44100, Channels:2, Interpolation:linear
   1.009 Warning GraphicsInterfaceOpenGL.cpp:244: SDL_GL_SetSwapInterval failed: That operation is not supported
   1.094 Info ModManager.cpp:444: FeatureFlag expansion-shaders = true
   1.094 Info ModManager.cpp:444: FeatureFlag freezing = true
   1.094 Info ModManager.cpp:444: FeatureFlag quality = true
   1.094 Info ModManager.cpp:444: FeatureFlag rail-bridges = true
   1.094 Info ModManager.cpp:444: FeatureFlag segmented-units = true
   1.094 Info ModManager.cpp:444: FeatureFlag space-travel = true
   1.094 Info ModManager.cpp:444: FeatureFlag spoiling = true
   1.135 Loading mod core 0.0.0 (data.lua)
   1.161 Loading mod base 2.0.42 (data.lua)
   1.347 Loading mod elevated-rails 2.0.42 (data.lua)
   1.377 Loading mod quality 2.0.42 (data.lua)
   1.399 Loading mod space-age 2.0.42 (data.lua)
   1.650 Loading mod base 2.0.42 (data-updates.lua)
   1.684 Loading mod quality 2.0.42 (data-updates.lua)
   1.717 Loading mod space-age 2.0.42 (data-updates.lua)
   1.844 Checksum for core: 931939137
   1.844 Checksum of base: 3983563817
   1.844 Checksum of elevated-rails: 6715099
   1.844 Checksum of quality: 2058135058
   1.844 Checksum of space-age: 2335132001
   2.399 Prototype list checksum: 2053221192
   2.475 Loading sounds...
   2.714 Info PlayerData.cpp:64: Local player-data.json available, timestamp 1743983827
   2.714 Info PlayerData.cpp:71: Cloud player-data.json unavailable
   2.715 Post-data load graphics options: [Light occlusion: YES]
   3.042 Initial atlas bitmap size is 16384
   3.058 Created an atlas bitmap (size 16384x16372) [none]
   3.072 Created an atlas bitmap (size 16384x16384) [none]
   3.079 Created an atlas bitmap (size 16384x16384) [none]
   3.079 Created an atlas bitmap (size 4096x540) [none]
   3.081 Created an atlas bitmap (size 16384x16320) [low-object]
   3.082 Created an atlas bitmap (size 16384x14224) [corpse-decay]
   3.082 Created an atlas bitmap (size 16384x8392) [decal]
   3.082 Created an atlas bitmap (size 16384x5596) [none]
   3.082 Created an atlas bitmap (size 1676x79) [not-compressed]
   3.083 Created an atlas bitmap (size 16384x4240) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.083 Created an atlas bitmap (size 4096x3040) [smoke, mipmap, linear-minification, linear-magnification]
   3.095 Created an atlas bitmap (size 16384x16352) [terrain, mipmap, linear-minification, linear-mip-level]
   3.095 Created an atlas bitmap (size 16384x4944) [terrain, mipmap, linear-minification, linear-mip-level]
   3.096 Created an atlas bitmap (size 8192x4128) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   3.096 Created an atlas bitmap (size 8192x2576) [mipmap]
   3.096 Created an atlas bitmap (size 3504x768) [mipmap]
   3.096 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.097 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.097 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.097 Created an atlas bitmap (size 8192x3872) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.099 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   3.128 Created an atlas bitmap (size 16384x16356) [shadow, linear-magnification, alpha-mask]
   3.133 Created an atlas bitmap (size 16384x16364) [shadow, linear-magnification, alpha-mask]
   3.133 Created an atlas bitmap (size 8192x2680) [shadow, linear-magnification, alpha-mask]
   3.133 Created an atlas bitmap (size 8192x3968) [shadow, mipmap, linear-magnification, alpha-mask]
   3.133 Created an atlas bitmap (size 4096x336) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   3.139 Created a virtual atlas bitmap (size 4096x4096) [linear-minification, linear-magnification]
   3.145 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.151 Created a virtual atlas bitmap (size 4096x4096) [linear-magnification]
   3.159 Created a virtual atlas bitmap (size 4096x4096) [linear-magnification]
   3.166 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.173 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.179 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.186 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.192 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.197 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.200 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.202 Created a virtual atlas bitmap (size 4096x4096) [none]
   3.202 Created virtual atlas pages 4096x4096x12
   3.202 Created virtual atlas of size 16384x12288 with physical texture size 8192x8192
   3.202 Loading 3D bitmaps.
   3.217 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   3.380 Parallel sprite loader initialized (threads: 7, bitmaps: 8304)
 487.106 Sprites loaded
 488.325 Generated mipmaps (4) for atlas [4] of size 16384x16320   <total: 760.92, render: 0.46, convert: 0.37, copy: 0.04>
 488.361 Generated mipmaps (3) for atlas [9] of size 16384x4240   
 488.987 Generated mipmaps (3) for atlas [10] of size 4096x3040   
 491.030 Generated mipmaps (3) for atlas [11] of size 16384x16352   <total: 1623.18, render: 0.11, convert: 0.14, copy: 0.02>
 491.519 Generated mipmaps (3) for atlas [12] of size 16384x4944   
 491.704 Generated mipmaps (3) for atlas [13] of size 8192x4128   
 492.201 Generated mipmaps (3) for atlas [14] of size 8192x2576   
 492.249 Generated mipmaps (3) for atlas [15] of size 3504x768   
 492.620 Generated mipmaps (3) for atlas [16] of size 4096x3152   
 492.886 Generated mipmaps (3) for atlas [17] of size 4096x3152   
 493.125 Generated mipmaps (3) for atlas [18] of size 4096x3152   
 493.342 Generated mipmaps (5) for atlas [19] of size 8192x3872   
 493.510 Generated mipmaps (3) for atlas [24] of size 8192x3968   
 493.561 Custom mipmaps uploaded (3435)
 493.860 Generated mipmaps for virtual atlas of size 16384x12288
 493.895 Video memory usage: 3195.06 MB (Atlases: 3064.76 MB, Textures: 130.30 MB)
 494.130 Warning GraphicsInterfaceOpenGL.cpp:244: SDL_GL_SetSwapInterval failed: That operation is not supported
 494.130 Factorio initialised
 494.132 Info AuthServerConnector.cpp:618: Performing TLS check.
 494.132 Info HttpSharedState.cpp:55: Downloading https://auth.factorio.com/tls-check/success
 494.289 Info AuthServerConnector.cpp:651: TLS check success.
 494.289 Info HttpSharedState.cpp:55: Downloading https://updater.factorio.com/updater/get-available-versions?username=deathanatos&token=<private>&apiVersion=2
 494.421 1 packages available to download (experimental updates disabled).
 591.645 Loading map /home/royiv/Apps/opt/factorio/factorio-2.0/saves/SPACE.zip: 31394382 bytes.
 591.666 Loading level.dat: 84779637 bytes.
 591.673 Info Scenario.cpp:153: Map version 2.0.42-4
 593.542 Blueprint storage "blueprint-storage-2.dat" was not found, trying to load previous version storage "blueprint-storage.dat"
 593.543 Loading script.dat: 1222 bytes.
 593.548 Checksum for script __level__/control.lua: 3998407281
 830.449 Info AppManager.cpp:323: Saving to _autosave2 (blocking).
 831.506 Info AppManagerStates.cpp:2097: Saving finished
1131.523 Info AppManager.cpp:323: Saving to _autosave3 (blocking).
1132.527 Info AppManagerStates.cpp:2097: Saving finished
¹specifically, I expect higher transfer times for data being I/O'd to the dGPU, than to the iGPU.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15803
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.42] Sprite loading takes much longer on dGPU than iGPU

Post by Rseding91 »

Thanks for the report however nothing here is a bug. There is no crash, no error, just old hardware being slow.

I suspect the root issue is a combination of the drivers being used and the fact the dedicated card only has 2 GB of vram where the igpu has access to the entire systems ram, and the pvkrun being a wrapper that will have to redirect all GPU operations adding overhead to everything.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Technical Help”