supertuxkart / stk-code

The code base of supertuxkart
Other
4.53k stars 1.06k forks source link

Skybox missing with version 1.4 and SuperTuxKart-git20221111-win.zip #4822

Closed freddiN closed 1 year ago

freddiN commented 2 years ago

Description

Very similar to https://github.com/supertuxkart/stk-code/issues/4809: The blue skybox isnt showing (screenshots attached).

I tracked it down to the "texture compression" setting: Deactivating it shows the skybox again (second screenshot).

I already commented in above issue, but since its closed so I fear it might not get any attention.

Steps to reproduce

Enter a game with a blue skybox and "texture compression" activated.

Configuration

STK release version: 1.4 and git20221111

STK Source (PPA, distribution package, official binary, etc.): https://github.com/supertuxkart/stk-code/releases/download/1.4/SuperTuxKart-1.4-installer-x86_64.exe and https://github.com/supertuxkart/stk-code/releases/download/preview/SuperTuxKart-git20221111-win.zip

System: Win 10 64bit

Graphics card: Radeon RX 480 (november 2022 drivers, amd-software-adrenalin-edition-22.11.1-win10-win11-nov15, but also happened with the september drivers)

CPU: Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz

Gamepads/keyboards models if related to the issue: Xbox Series X Controller

Additional information

stdout.log:

[info   ] [FileManager]: Data files will be fetched from: '../../data/'
[info   ] [FileManager]: Data files will be fetched from: '../../data/../../stk-assets/'
[info   ] [FileManager]: User directory is 'C:\Users\freddi\AppData\Roaming/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in 'C:\Users\freddi\AppData\Roaming/supertuxkart/config-0.10/../addons/'.
[info   ] [FileManager]: Screenshots will be stored in 'C:\Users\freddi\AppData\Roaming/supertuxkart/config-0.10/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in 'C:\Users\freddi\AppData\Roaming/supertuxkart/config-0.10/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '../../data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '../../data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '../../data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '../../data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '../../data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '../../data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '../../data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '../../data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '../../data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '../../data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '../../data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '../../data/../../stk-assets/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '../../data/../../stk-assets/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '../../data/../../stk-assets/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '../../data/../../stk-assets/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '../../data/../../stk-assets/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '../../data/../../stk-assets/tracks/'.
[verbose  ] translation: GetLocaleInfo langname returns 'de'.
[verbose  ] translation: GetLocaleInfo tryname returns 'DE'.
[verbose  ] translation: Env var LANGUAGE = 'de_DE'.
[verbose  ] translation: Language 'German (Germany)'.
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Failed to init SDL sensor!: SDL not built with sensor support
[info   ] [IrrDriver Logger]: Compiled SDL Version 2.24.1
[info   ] [IrrDriver Logger]: Current SDL Version 2.24.1
[info   ] [IrrDriver Logger]: Using renderer: OpenGL 4.3.0
[info   ] [IrrDriver Logger]: Radeon (TM) RX 480 Graphics: ATI Technologies Inc.
[info   ] [IrrDriver Logger]: OpenGL driver version is 1.2 or better.
[info   ] [IrrDriver Logger]: GLSL version: 4.6
[info   ] IrrDriver: OpenGL version: 4.3
[info   ] IrrDriver: OpenGL vendor: ATI Technologies Inc.
[info   ] IrrDriver: OpenGL renderer: Radeon (TM) RX 480 Graphics
[info   ] IrrDriver: OpenGL version string: 4.3.0 Core Profile Context 22.11.1.221110
[info   ] GLDriver: ARB Buffer Storage Present
[info   ] GLDriver: ARB Compute Shader Present
[info   ] GLDriver: ARB Arrays of Arrays Present
[info   ] GLDriver: ARB Texture Storage Present
[info   ] GLDriver: ARB Texture View Present
[info   ] GLDriver: ARB Image Load Store Present
[info   ] GLDriver: ARB Shader Atomic Counters Present
[info   ] GLDriver: ARB Shader Storage Buffer Object Present
[info   ] GLDriver: EXT Texture Compression S3TC Present
[info   ] GLDriver: ARB Uniform Buffer Object Present
[info   ] GLDriver: ARB Explicit Attrib Location Present
[info   ] GLDriver: EXT Texture Filter Anisotropic Present
[info   ] GLDriver: Geometry Shaders Present
[info   ] GLDriver: ARB Texture Buffer Object Present
[info   ] GLDriver: ARB Texture Swizzle Present
[info   ] GLDriver: ARB Pixel Buffer Object Present
[info   ] GLDriver: ARB Sampler Objects Present
[info   ] GLDriver: ARB Vertex Type 2_10_10_10_rev Present
[info   ] GLDriver: ARB Instanced Arrays Present
[info   ] SharedGPUObjects: Hardware Skinning enabled, method: TBO, max bones: 1024
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/screenquad.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/motion_blur.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/lightning.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/primitive2dlist.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/transparent.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/texturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/uniformcolortexturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/texturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/coloredquad.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/coloredquad.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/colortexturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/colortexturedquad.frag
[info   ] irr_driver: GLSL supported.
[info   ] GUI: Loading skin data from file: ../../data/skins/peach/stkskin.xml
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_pass.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_solid.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/white.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_skinning.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_skinning_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_normal_map.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_shadow_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_decal.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_grass_pass.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_grass.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_grass_shadow.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_unlit.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_transparent.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_ghost.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_dynamic_night_bloom.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_tilling_mitigation.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_vertical_mapping.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_road_blending.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_displace.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/colorize.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_normal_visualizer.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_normal_visualizer.geom
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_normal_visualizer.frag
[info   ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/xml/online_news.xml
[info   ] addons: Downloading updated addons.xml.
[info   ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/xml/online_assets.xml
[info   ] GrandPrixManager: Loading Grand Prix files from ../../data/grandprix/
[info   ] GrandPrixManager: Loading Grand Prix files from C:\Users\freddi\AppData\Roaming/supertuxkart/config-0.10/grandprix/
[info   ] SDLController: Xbox Series X Controller plugged in: buttons: 16, axes: 6, hats: 1.
[info   ] SDLController: Xbox Series X Controller uses game controller mapping Xbox Series X Controller.
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] SPMeshBuffer: kartDirt shader is missing, fallback to solid
[warn   ] KartModel: hyperm.spm has no striaght frame defined.
[warn   ] Material: Cannot determine texture full path: genericshadow.png
[warn   ] KartModel: mini tank.spm has no striaght frame defined.
[warn   ] Material: Cannot determine texture full path: theshadowrealmisgone.png
[warn   ] KartProperties: Can't find kart type '' for kart 'X-Moto', defaulting to 'light'.
[warn   ] Material: Cannot determine texture full path: Flammes.png
[warn   ] Material: Cannot determine texture full path: Skin1.png
[warn   ] Material: Cannot determine texture full path: Skin2.png
[verbose  ] RaceManager: Nb of karts=1, ghost karts:0 ai:0 players:1

[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-assets/tracks/overworld/splatting.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/simple_particle.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/simple_particle.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/alphatest_particle.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/alphatest_particle.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/degraded_ibl.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sunlight.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/pointlight.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/pointlight.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/linearizedepth.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/ssao.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/bilateralH.comp
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/bilateralV.comp
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/combine_diffuse_color.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/glow.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/tonemap.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/mlaa_color1.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/mlaa_blend2.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/mlaa_neigh3.frag
[info   ] Track: Overall scene complexity estimated at 106
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/importance_sampling_specular.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/IBL.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sunlightshadow.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/pointlightscatter.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/gaussian6v.comp
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/gaussian6h.comp
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sky.vert
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sky.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/sp_text_billboard.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/bloom.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/gaussian6h.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/bloomblend.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/lensblend.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/passthrough.frag
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[verbose  ] RaceManager: Nb of karts=5, ghost karts:0 ai:4 players:1

[info   ] Track: Overall scene complexity estimated at 242
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/godfade.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/gaussian3v.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/gaussian3h.frag
[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-code/data/shaders/godray.frag
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[verbose  ] RaceManager: Nb of karts=1, ghost karts:0 ai:0 players:1

[info   ] ShaderFilesManager: Compiling shader: G:/SuperTuxKart-git20221111-win/stk-assets/tracks/overworld/splatting.frag
[info   ] Track: Overall scene complexity estimated at 106
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Script: allchallenges: unlocked_challenges=26, challenges=26
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] SDLController: Xbox Series X Controller unplugged.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.
[info   ] Singleton: Destroyed singleton.

Screenshot texture compression on: battleisland-2022 11 16_20 55 27-texture_compression_on

Screenshot texture compression off: battleisland-2022 11 16_20 54 54-texture-compression-off

Graphics settings 1: image

Graphics settings 2: settings2

Benau commented 2 years ago

is starting with --render-driver=vulkan work? (Or edit config.xml)

freddiN commented 2 years ago

yes it does. I kept enable_texture_compression="true"

render_driver="gl" -> black skybox render_driver="vulkan" -> normal skybox

Benau commented 2 years ago

try https://github.com/Benau/stk-code/releases/download/preview/SuperTuxKart-git20221118-win.zip and see if it works with default settings? (gl with texture compression on)

freddiN commented 2 years ago

Nice work, I just tested git20221118-win with my son: enable_texture_compression=true, render_driver=gl, normal skybox.

Thanks!

Benau commented 1 year ago

gift It's done in https://github.com/supertuxkart/stk-code/commit/bc311a445ef97f179d02f27affbf0bbfab6f9f16

qwertychouskie commented 1 year ago

Any chance to get this (and the other recent bugfixes) as an official 1.4.1 bugfix release? I packaged the recent fixes in the PPA, but it'd be nice to get the fixes to everyone, considering how visually jarring a missing skybox is.

Benau commented 1 year ago

qwerty this probably only affects windows driver