Page 1 of 1

[raiguard] [2.0.11] Application displays a Wayland default icon

Posted: Sun Oct 27, 2024 8:27 am
by Lunar3098
When using the Wayland graphics driver, Factorio displays the default Wayland icon in the taskbar/panel instead of Factorio's icon.

To reproduce:
1. Ensure the game is configured to use the Wayland driver.
2. Launch the game on a Wayland desktop session.

Expected results:
The application displays its normal application icon.

Actual behaviour:
The application displays the Wayland default icon.

Environment information:
- OS: Fedora Linux 40 (KDE Plasma) x86_64
- Kernel: 6.11.3-200.fc40.x86_64
- DE: Plasma 6.2.0
- WM: kwin
- Application launched via Steam

Additional information:
This issue does not occur when the game is set to use the x11 driver.

Application log:

Code: Select all

   0.000 2024-10-27 10:20:08; Factorio 2.0.11 (build 79682, linux64, steam, space-age)
   0.054 Operating system: Linux (Fedora 40)
   0.000 Initializing Steam API.
   0.054 Program arguments: "/XXXXXXXXXX/steamapps/common/Factorio/bin/x64/factorio" 
   0.054 Config path: /home/XXXXXXXXXX/.factorio/config/config.ini
   0.054 Read data path: /XXXXXXXXXX/steamapps/common/Factorio/data
   0.054 Write data path: /home/XXXXXXXXXX/.factorio [173050/502868MB]
   0.054 Binaries path: /XXXXXXXXXX/steamapps/common/Factorio/bin
   0.064 System info: [CPU: AMD Ryzen 5 7600 6-Core Processor, 12 cores, RAM: 31194 MB]
   0.064 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.064 Display options: [FullScreen: true] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: true] [Screen: 255] [Special: lmw] [Lang: en]
   0.072 Video driver: wayland
   0.072 Available displays: 2
   0.072  [0]: Dell Inc. DELL S2722QC/FYX6MD3 - {[1920,0], 2194x1234, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.072  [1]: Dell Inc. DELL S2421HN/9JBCMC3 - {[0,77], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.072 Failed to get primary display index, defaulting to 0.
   0.095 Initialised OpenGL:[0] AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.6, DRM 3.59, 6.11.3-200.fc40.x86_64); driver: 4.6 (Core Profile) Mesa 24.1.7
   0.095   [Size] Window: 2194x1234, Backbuffer: 3840x2160
   0.095   [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.095   [Version] 4.6
   0.095 Graphics settings preset: very-high
   0.095   Dedicated video memory size 16384 MB
   0.119 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.119                   [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.130 [Audio] Driver:pulseaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   0.301 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   0.301 Info ModManager.cpp:434: FeatureFlag freezing = true
   0.301 Info ModManager.cpp:434: FeatureFlag quality = true
   0.301 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   0.301 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   0.301 Info ModManager.cpp:434: FeatureFlag space-travel = true
   0.301 Info ModManager.cpp:434: FeatureFlag spoiling = true
   0.302 Loading mod core 0.0.0 (data.lua)
   0.311 Loading mod base 2.0.11 (data.lua)
   0.389 Loading mod elevated-rails 2.0.11 (data.lua)
   0.402 Loading mod quality 2.0.11 (data.lua)
   0.408 Loading mod space-age 2.0.11 (data.lua)
   0.514 Loading mod base 2.0.11 (data-updates.lua)
   0.521 Loading mod quality 2.0.11 (data-updates.lua)
   0.531 Loading mod space-age 2.0.11 (data-updates.lua)
   0.593 Checksum for core: 1043092351
   0.593 Checksum of base: 708330460
   0.593 Checksum of elevated-rails: 1891730324
   0.593 Checksum of quality: 4264147466
   0.593 Checksum of space-age: 4032004066
   0.818 Prototype list checksum: 124222065
   0.852 Loading sounds...
   0.980 Info PlayerData.cpp:68: Local player-data.json unavailable
   0.980 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1730017187
   1.117 Initial atlas bitmap size is 16384
   1.127 Created an atlas bitmap (size 16384x16356) [none]
   1.138 Created an atlas bitmap (size 16384x16376) [none]
   1.153 Created an atlas bitmap (size 16384x16384) [none]
   1.154 Created an atlas bitmap (size 16384x15420) [none]
   1.154 Created an atlas bitmap (size 16384x8392) [decal]
   1.157 Created an atlas bitmap (size 16384x16384) [low-object]
   1.157 Created an atlas bitmap (size 4096x1376) [low-object]
   1.158 Created an atlas bitmap (size 16384x13456) [corpse-decay]
   1.158 Created an atlas bitmap (size 16384x5596) [none]
   1.158 Created an atlas bitmap (size 1676x79) [not-compressed]
   1.158 Created an atlas bitmap (size 8192x6096) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.163 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   1.163 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   1.163 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.163 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   1.163 Created an atlas bitmap (size 8192x2576) [mipmap]
   1.163 Created an atlas bitmap (size 2048x1520) [mipmap]
   1.163 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.163 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.163 Created an atlas bitmap (size 4096x3152) [mipmap]
   1.164 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.164 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   1.177 Created an atlas bitmap (size 16384x16380) [shadow, linear-magnification, alpha-mask]
   1.181 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   1.181 Created an atlas bitmap (size 16384x8356) [shadow, linear-magnification, alpha-mask]
   1.181 Created an atlas bitmap (size 8192x2352) [shadow, mipmap, linear-magnification, alpha-mask]
   1.181 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.181 Loading 3D bitmaps.
   1.186 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.210 Parallel sprite loader initialized (threads: 11, bitmaps: 8227)
  17.313 Sprites loaded
  17.330 Generated mipmaps (4) for atlas [5] of size 16384x16384   
  17.331 Generated mipmaps (4) for atlas [6] of size 4096x1376   
  17.334 Generated mipmaps (3) for atlas [10] of size 8192x6096   
  17.337 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  17.338 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  17.338 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  17.339 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  17.358 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  17.358 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  17.358 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  17.366 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  17.367 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  17.368 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  17.368 Generated mipmaps (3) for atlas [25] of size 8192x2352   
  17.376 Custom mipmaps uploaded (3203)
  17.409 Factorio initialised
  17.410 Steam Storage Quota: 23679/23841
  19.782 Quitting: user-quit.
  19.947 Steam API shutdown.
  19.949 Goodbye


Re: [raiguard] [2.0.11] Application displays a Wayland default icon

Posted: Fri Dec 06, 2024 11:33 pm
by raiguard
Does this still occur? It's possible that updating SDL will have fixed this.

Re: [raiguard] [2.0.11] Application displays a Wayland default icon

Posted: Mon Dec 09, 2024 9:44 pm
by raiguard
I have tested the standalone and steam versions on Plasma 6.2.4 and the application icon appears correctly on both X11 and Wayland. Moving to 1/0 magic unless more info is given.