supertuxkart / stk-code

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

GPU artifact happen when use GL renderer #5037

Closed ernugrahaDev closed 8 months ago

ernugrahaDev commented 8 months ago

Description

The screen has some artifact on STK then crashed

Steps to reproduce

Set force_legavy_device="false"

Configuration

STK release version: 1.4 from official github

STK Source (PPA, distribution package, official binary, etc.):

System: Debian 12

Graphics card: Intel HD 4000

CPU: Intel© Core™ i5-3230M 2 Core

Gamepads/keyboards models if related to the issue:

Additional information

stdout.log:

input.xml:

Error message:

[info   ] [FileManager]: Data files will be fetched from: '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/'
[info   ] [FileManager]: User directory is '/home/nugrahafamily/.config/supertuxkart/config-0.10/'.
[info   ] [FileManager]: Addons files will be stored in '/home/nugrahafamily/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/nugrahafamily/.local/share/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/nugrahafamily/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/gfx/'.
[info   ] [FileManager]: Asset 2 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/grandprix/'.
[info   ] [FileManager]: Asset 3 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/gui/icons/'.
[info   ] [FileManager]: Asset 4 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/gui/screens/'.
[info   ] [FileManager]: Asset 5 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/gui/dialogs/'.
[info   ] [FileManager]: Asset 6 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/replay/'.
[info   ] [FileManager]: Asset 7 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/'.
[info   ] [FileManager]: Asset 8 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/skins/'.
[info   ] [FileManager]: Asset 9 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/ttf/'.
[info   ] [FileManager]: Asset 10 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/po/'.
[info   ] [FileManager]: Asset 11 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/library/'.
[info   ] [FileManager]: Asset 12 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/models/'.
[info   ] [FileManager]: Asset 13 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/music/'.
[info   ] [FileManager]: Asset 14 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/sfx/'.
[info   ] [FileManager]: Asset 15 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/textures/'.
[info   ] [FileManager]: Asset 16 will be loaded from '/home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/tracks/'.
[verbose  ] translation: Env var LANGUAGE = 'en_US.UTF-8'.
[verbose  ] translation: Language 'English (United States)'.
[info   ] [IrrDriver Logger]: ..:: Antarctica Rendering Engine 2.0 ::..
[info   ] [IrrDriver Logger]: Compiled SDL Version 2.26.1
[info   ] [IrrDriver Logger]: Current SDL Version 2.26.1
[info   ] [IrrDriver Logger]: Using renderer: OpenGL 4.2
[info   ] [IrrDriver Logger]: Mesa Intel(R) HD Graphics 4000 (IVB GT2): Intel
[info   ] [IrrDriver Logger]: OpenGL driver version is 1.2 or better.
[info   ] [IrrDriver Logger]: GLSL version: 4.2
[info   ] IrrDriver: OpenGL version: 4.2
[info   ] IrrDriver: OpenGL vendor: Intel
[info   ] IrrDriver: OpenGL renderer: Mesa Intel(R) HD Graphics 4000 (IVB GT2)
[info   ] IrrDriver: OpenGL version string: 4.2 (Core Profile) Mesa 22.3.6
[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: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/screenquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/motion_blur.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/lightning.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/primitive2dlist.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/texturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/uniformcolortexturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/texturedquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/coloredquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/coloredquad.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/colortexturedquad.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/colortexturedquad.frag
[info   ] irr_driver: GLSL supported.
[info   ] GUI: Loading skin data from file: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/skins/peach/stkskin.xml
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_solid.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_skinning.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_alpha_test.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_decal.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_grass_pass.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_grass.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_transparent.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sp_ghost.frag
[info   ] HTTPRequest: Sending userid=372507&token=************************ to https://online.supertuxkart.net/api/v2/user/saved-session/
[info   ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/xml/online_news.xml
[info   ] GrandPrixManager: Loading Grand Prix files from /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/grandprix/
[info   ] GrandPrixManager: Loading Grand Prix files from /home/nugrahafamily/.local/share/supertuxkart/grandprix/
[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
[info   ] addons: Using cached addons.xml.
[info   ] Achievements: Synching achievement 2,3,4,5,6,7,8,9,11 to server.
[info   ] HTTPRequest: Sending userid=372507&token=************************&achievementid=2%2C3%2C4%2C5%2C6%2C7%2C8%2C9%2C11 to https://online.supertuxkart.net/api/v2/user/achieving/
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[warn   ] LayoutManager: Statically sized widgets took all the place!!
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/simple_particle.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/simple_particle.frag
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/alphatest_particle.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/alphatest_particle.frag
[info   ] HTTPRequest: Sending userid=372507&token=************************&visitingid=372507 to https://online.supertuxkart.net/api/v2/user/get-friends-list/
[info   ] HTTPRequest: Sending userid=372507&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[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!!
[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   ] AbstractTopLevelContainer::addWidgetsRecursively: Widget target-type-spinner of type 1 has no dimensions
[warn   ] AbstractTopLevelContainer::addWidgetsRecursively: Widget target-type-text of type 5 has no dimensions
[warn   ] AbstractTopLevelContainer::addWidgetsRecursively: Widget ai-blue-spinner of type 1 has no dimensions
[warn   ] AbstractTopLevelContainer::addWidgetsRecursively: Widget ai-blue-text of type 5 has no dimensions
[info   ] HTTPRequest: Downloading https://discord.com/api/v8/oauth2/applications/817760324983324753/assets
[verbose  ] RaceManager: Nb of karts=4, ghost karts:0 ai:3 players:1

[info   ] Track: Overall scene complexity estimated at 32
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sky.vert
[info   ] ShaderFilesManager: Compiling shader: /home/nugrahafamily/.apps/SuperTuxKart-git20230203-linux-x86_64/data/shaders/sky.frag
Segmentation Fault
ernugrahaDev commented 8 months ago

image image

qwertychouskie commented 8 months ago

Looks like a bug with your GPU driver, not STK. I would recommend filing a bug here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/new

ernugrahaDev commented 8 months ago

It was happen when i upgrade to STK 1.4

qwertychouskie commented 8 months ago

AFAIK, nothing significant changed in the renderer between STK 1.3 and 1.4. File a Mesa bug, on the very small chance it turns out to be an STK bug after the Mesa devs look into it, then we can re-open this issue.

ernugrahaDev commented 8 months ago

It fixes when use Vulkan renderer