Closed Coeur-Noir closed 4 years ago
Nice indeed !
Thanks a lot !
So who is the culprit and should I also do the same modification in Ubuntu 16.04 as a preventive action ?
later :
Daaamn… flickering is back, on « croisée campagnarde / cornfield crossing », I go on playing with other tracks… and noticed the flickering randomly on any track I think.
If of any interest Mesa on my 18.04 :
coeur-noir@asgard:~$ dpkg -l | grep mesa
ii libegl-mesa0:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 free implementation of the EGL API -- Mesa vendor library
ii libegl1-mesa:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 transitional dummy package
ii libgl1-mesa-dri:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-dri:i386 19.0.2-1ubuntu1.1~18.04.2 i386 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 transitional dummy package
ii libgl1-mesa-glx:i386 19.0.2-1ubuntu1.1~18.04.2 i386 transitional dummy package
ii libglapi-mesa:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 free implementation of the GL API -- shared library
ii libglapi-mesa:i386 19.0.2-1ubuntu1.1~18.04.2 i386 free implementation of the GL API -- shared library
ii libgles2-mesa:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 transitional dummy package
ii libglu1-mesa:amd64 9.0.0-2.1build1 amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa:i386 9.0.0-2.1build1 i386 Mesa OpenGL utility library (GLU)
ii libglx-mesa0:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 free implementation of the OpenGL API -- GLX vendor library
ii libglx-mesa0:i386 19.0.2-1ubuntu1.1~18.04.2 i386 free implementation of the OpenGL API -- GLX vendor library
ii libosmesa6:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 Mesa Off-screen rendering extension
ii libosmesa6:i386 19.0.2-1ubuntu1.1~18.04.2 i386 Mesa Off-screen rendering extension
ii libwayland-egl1-mesa:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 transitional dummy package
ii mesa-utils 8.4.0-1 amd64 Miscellaneous Mesa GL utilities
ii mesa-utils-extra 8.4.0-1 amd64 Miscellaneous Mesa utilies (opengles, egl)
ii mesa-va-drivers:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 19.0.2-1ubuntu1.1~18.04.2 amd64 Mesa VDPAU video acceleration drivers
coeur-noir@asgard:~$
and on 16.04 :
coeurnoir@Asgard:~$ dpkg -l | grep mesa
ii libegl1-mesa:amd64 18.0.5-0ubuntu0~16.04.1 amd64 free implementation of the EGL API -- runtime
ii libegl1-mesa:i386 18.0.5-0ubuntu0~16.04.1 i386 free implementation of the EGL API -- runtime
ii libegl1-mesa-drivers:amd64 12.0.6-0ubuntu0.16.04.1 amd64 transitional dummy package
ii libgl1-mesa-dri:amd64 18.0.5-0ubuntu0~16.04.1 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-dri:i386 18.0.5-0ubuntu0~16.04.1 i386 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx:amd64 18.0.5-0ubuntu0~16.04.1 amd64 free implementation of the OpenGL API -- GLX runtime
ii libgl1-mesa-glx:i386 18.0.5-0ubuntu0~16.04.1 i386 free implementation of the OpenGL API -- GLX runtime
ii libglapi-mesa:amd64 18.0.5-0ubuntu0~16.04.1 amd64 free implementation of the GL API -- shared library
ii libglapi-mesa:i386 18.0.5-0ubuntu0~16.04.1 i386 free implementation of the GL API -- shared library
ii libgles1-mesa 18.0.5-0ubuntu0~16.04.1 all transitional dummy package
ii libgles2-mesa:amd64 18.0.5-0ubuntu0~16.04.1 amd64 free implementation of the OpenGL|ES 2.x API -- runtime
ii libglu1-mesa:amd64 9.0.0-2.1 amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa:i386 9.0.0-2.1 i386 Mesa OpenGL utility library (GLU)
ii libosmesa6:amd64 18.0.5-0ubuntu0~16.04.1 amd64 Mesa Off-screen rendering extension
ii libosmesa6:i386 18.0.5-0ubuntu0~16.04.1 i386 Mesa Off-screen rendering extension
ii libwayland-egl1-mesa:amd64 18.0.5-0ubuntu0~16.04.1 amd64 implementation of the Wayland EGL platform -- runtime
ii libwayland-egl1-mesa:i386 18.0.5-0ubuntu0~16.04.1 i386 implementation of the Wayland EGL platform -- runtime
ii mesa-utils 8.3.0-1 amd64 Miscellaneous Mesa GL utilities
ii mesa-va-drivers:amd64 18.0.5-0ubuntu0~16.04.1 amd64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 18.0.5-0ubuntu0~16.04.1 amd64 Mesa VDPAU video acceleration drivers
coeurnoir@Asgard:~$
as suggested here https://bugs.freedesktop.org/show_bug.cgi?id=110395 I have also tried :
MESA_GLSL_CACHE_DISABLE=1 supertuxkart
which does not change anything. After one race :
coeur-noir@asgard:~$ MESA_GLSL_CACHE_DISABLE=1 supertuxkart
[verbose ] main: Error messages and other text output will be logged to /home/coeur-noir/.config/supertuxkart/config-0.10/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '/usr/share/games/supertuxkart/data/'
[info ] [FileManager]: User directory is '/home/coeur-noir/.config/supertuxkart/config-0.10/'.
[info ] [FileManager]: Addons files will be stored in '/home/coeur-noir/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/coeur-noir/.local/share/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/coeur-noir/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '/usr/share/games/supertuxkart/data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '/usr/share/games/supertuxkart/data/gfx/'.
[info ] [FileManager]: Asset 2 will be loaded from '/usr/share/games/supertuxkart/data/grandprix/'.
[info ] [FileManager]: Asset 3 will be loaded from '/usr/share/games/supertuxkart/data/gui/icons/'.
[info ] [FileManager]: Asset 4 will be loaded from '/usr/share/games/supertuxkart/data/gui/screens/'.
[info ] [FileManager]: Asset 5 will be loaded from '/usr/share/games/supertuxkart/data/gui/dialogs/'.
[info ] [FileManager]: Asset 6 will be loaded from '/usr/share/games/supertuxkart/data/library/'.
[info ] [FileManager]: Asset 7 will be loaded from '/usr/share/games/supertuxkart/data/models/'.
[info ] [FileManager]: Asset 8 will be loaded from '/usr/share/games/supertuxkart/data/music/'.
[info ] [FileManager]: Asset 9 will be loaded from '/usr/share/games/supertuxkart/data/replay/'.
[info ] [FileManager]: Asset 10 will be loaded from '/usr/share/games/supertuxkart/data/tracks/'.
[info ] [FileManager]: Asset 11 will be loaded from '/usr/share/games/supertuxkart/data/sfx/'.
[info ] [FileManager]: Asset 12 will be loaded from '/usr/share/games/supertuxkart/data/shaders/'.
[info ] [FileManager]: Asset 13 will be loaded from '/usr/share/games/supertuxkart/data/skins/'.
[info ] [FileManager]: Asset 14 will be loaded from '/usr/share/games/supertuxkart/data/textures/'.
[info ] [FileManager]: Asset 15 will be loaded from '/usr/share/games/supertuxkart/data/ttf/'.
[info ] [FileManager]: Asset 16 will be loaded from '/usr/share/games/supertuxkart/data/po/'.
[verbose ] translation: Env var LANGUAGE = 'fr_FR:fr_CA:en'.
[verbose ] translation: Language 'French (France)'.
[info ] tinygettext: Adding language fallback fr
..:: Antarctica Rendering Engine 2.0 ::..
Linux 4.18.0-25-generic #26~18.04.1-Ubuntu SMP Thu Jun 27 07:28:31 UTC 2019 x86_64
[info ] IrrDriver: OpenGL version: 4.5
[info ] IrrDriver: OpenGL vendor: Intel Open Source Technology Center
[info ] IrrDriver: OpenGL renderer: Mesa DRI Intel(R) Haswell Desktop
[info ] IrrDriver: OpenGL version string: 4.5 (Core Profile) Mesa 19.0.2
[info ] GLDriver: ARB Buffer Storage 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: /usr/share/games/supertuxkart/data/shaders/sp_pass.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_solid.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/white.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_skinning.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_skinning_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_normal_map.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_alpha_test.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_shadow_alpha_test.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_decal.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_grass_pass.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_grass.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_grass_shadow.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_unlit.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_transparent.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_ghost.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_dynamic_night_bloom.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_tilling_mitigation.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_vertical_mapping.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_road_blending.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_displace.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/colorize.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_normal_visualizer.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_normal_visualizer.geom
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sp_normal_visualizer.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/screenquad.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/motion_blur.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/lightning.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/primitive2dlist.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/transparent.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/texturedquad.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/uniformcolortexturedquad.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/texturedquad.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/coloredquad.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/coloredquad.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/colortexturedquad.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/colortexturedquad.frag
[info ] irr_driver: GLSL supported.
[info ] HTTPRequest: Sending userid=131542&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 /usr/share/games/supertuxkart/data/grandprix/
[info ] GrandPrixManager: Loading Grand Prix files from /home/coeur-noir/.local/share/supertuxkart/grandprix/
[info ] addons: Using cached addons.xml.
[info ] HTTPRequest: Downloading https://online.supertuxkart.net/dl/images/32999604857af930517f49.png
[warn ] KartProperties: Can't find kart type '' for kart 'Ancestral Konqi', defaulting to 'light'.
[warn ] KartProperties: Can't find kart type '' for kart 'Big Buck Bunny, Bug rider', defaulting to 'light'.
[warn ] SPMeshBuffer: solid_pbr shader is missing, fallback to solid
[warn ] SPMeshBuffer: solid_pbr shader is missing, fallback to solid
[warn ] SPMeshBuffer: solid_pbr shader is missing, fallback to solid
[warn ] SPMeshBuffer: solid_pbr shader is missing, fallback to solid
[warn ] SPMeshBuffer: solid_pbr shader is missing, fallback to solid
[warn ] Material: Cannot determine texture full path: unicolor_white
[warn ] KartProperties: Can't find kart type '' for kart 'MiMi the Ant', defaulting to 'light'.
[info ] Achievements: Synching achievement 1,2,3,4,5,7,8,9,11 to server.
[info ] HTTPRequest: Sending userid=131542&token=************************&achievementid=1%2C2%2C3%2C4%2C5%2C7%2C8%2C9%2C11 to https://online.supertuxkart.net/api/v2/user/achieving/
[info ] HTTPRequest: Sending userid=131542&token=************************&visitingid=131542 to https://online.supertuxkart.net/api/v2/user/get-friends-list/
[info ] HTTPRequest: Sending userid=131542&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/simple_particle.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/simple_particle.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/alphatest_particle.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/alphatest_particle.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/degraded_ibl.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sunlight.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/pointlight.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/pointlight.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/combine_diffuse_color.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/glow.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/tonemap.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/mlaa_color1.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/mlaa_blend2.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/mlaa_neigh3.frag
[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
[verbose ] RaceManager: Nb of karts=10, ghost karts:0 ai:9 players:1
[info ] Track: Overall scene complexity estimated at 643
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/importance_sampling_specular.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sunlightshadow.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sky.vert
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/sky.frag
[info ] ShaderFilesManager: Compiling shader: /usr/share/games/supertuxkart/data/shaders/passthrough.frag
[info ] HTTPRequest: Sending userid=131542&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[info ] HTTPRequest: Sending userid=131542&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[info ] HTTPRequest: Sending userid=131542&token=************************ to https://online.supertuxkart.net/api/v2/user/poll/
[info ] Singleton: Destroyed singleton.
[info ] Singleton: Destroyed singleton.
[info ] Singleton: Destroyed singleton.
[info ] HTTPRequest: Sending userid=131542&token=************************ to https://online.supertuxkart.net/api/v2/user/client-quit/
[verbose ] Thread: Start waiting 537048.888000
[verbose ] Thread: Waited 0.454000 seconds for thread to become deleteable.
[verbose ] Thread: Stop waiting 537049.342000
[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.
coeur-noir@asgard:~$
Note : my description of the problem may be misleading it seems the flickering does not affect all shadows, only trees, plants, grass. Shadows under vehicles look ok, even when shadows in landscape are flickering.
there really isn't much thing we can do, you need to pray mesa to fix their bug soon,,..
or I rewrite STK reneder engin with VK later so it may behave differently
Last question : any thought about this discussion https://askubuntu.com/questions/1132443/flickering-ubuntu-18-04-2-lts and my xrandr :
coeur-noir@asgard:~$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
HDMI1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 600mm x 340mm
1920x1080 60.00*+
1600x1200 60.00
1680x1050 59.88
1280x1024 75.02 60.02
1440x900 74.98 59.90
1280x960 60.00
1152x864 75.00
1024x768 75.03 70.07 60.00
832x624 74.55
800x600 72.19 75.00 60.32 56.25
640x480 75.00 72.81 66.67 59.94
720x400 70.08
HDMI2 disconnected (normal left inverted right x axis y axis)
VGA1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
coeur-noir@asgard:~$
Sorry, another question : any thoughts about https://launchpad.net/~oibaf/+archive/ubuntu/graphics-drivers where there are drivers and also a supertuxkart package. Should I try these ?
Tried with padoka's ppa for newer mesa driver, but not better.
coeur-noir@asgard:~$ dpkg -l | grep mesa
ii libegl-mesa0:amd64 19.1.2-0~b~padoka0 amd64 free implementation of the EGL API -- Mesa vendor library
ii libegl1-mesa:amd64 19.1.2-0~b~padoka0 amd64 transitional dummy package
ii libgl1-mesa-dri:amd64 19.1.2-0~b~padoka0 amd64 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-dri:i386 19.1.2-0~b~padoka0 i386 free implementation of the OpenGL API -- DRI modules
ii libgl1-mesa-glx:amd64 19.1.2-0~b~padoka0 amd64 transitional dummy package
ii libgl1-mesa-glx:i386 19.1.2-0~b~padoka0 i386 transitional dummy package
ii libglapi-mesa:amd64 19.1.2-0~b~padoka0 amd64 free implementation of the GL API -- shared library
ii libglapi-mesa:i386 19.1.2-0~b~padoka0 i386 free implementation of the GL API -- shared library
ii libgles2-mesa:amd64 19.1.2-0~b~padoka0 amd64 transitional dummy package
ii libglu1-mesa:amd64 9.0.0-2.1build1 amd64 Mesa OpenGL utility library (GLU)
ii libglu1-mesa:i386 9.0.0-2.1build1 i386 Mesa OpenGL utility library (GLU)
ii libglx-mesa0:amd64 19.1.2-0~b~padoka0 amd64 free implementation of the OpenGL API -- GLX vendor library
ii libglx-mesa0:i386 19.1.2-0~b~padoka0 i386 free implementation of the OpenGL API -- GLX vendor library
ii libosmesa6:amd64 19.1.2-0~b~padoka0 amd64 Mesa Off-screen rendering extension
ii libosmesa6:i386 19.1.2-0~b~padoka0 i386 Mesa Off-screen rendering extension
ii libwayland-egl1-mesa:amd64 19.1.2-0~b~padoka0 amd64 transitional dummy package
ii mesa-utils 8.4.0-1 amd64 Miscellaneous Mesa GL utilities
ii mesa-utils-extra 8.4.0-1 amd64 Miscellaneous Mesa utilies (opengles, egl)
ii mesa-va-drivers:amd64 19.1.2-0~b~padoka0 amd64 Mesa VA-API video acceleration drivers
ii mesa-vdpau-drivers:amd64 19.1.2-0~b~padoka0 amd64 Mesa VDPAU video acceleration drivers
coeur-noir@asgard:~$
If of any interest → https://bugs.launchpad.net/mesa/+bug/1841953
Tried with Ubuntu 19.10 and same problem.
My computer may be old but it works so how / where to find help or workaround about this issue affecting SuperTuxKart - even if it's not your bug ?
Option 1: Use lower graphics option Option 2: Enable force legacy device = true in your config.xml
Option 1 : you can see my graphical settings in first message. Those work vey well on that very same machine booted on Ubuntu 16.04. These settings used to work very well on 18.04 until few months ago, on that same setup.
Option 2 : I will have a look on config.xml and report, thanks.
Setting true to enable force legacy driver leads to STK warning about missing recent openGL support and lower quality graphics overall.
So I set it back to false.
Following intuition, I changed
max_fps="120"
to
max_fps="59"
and for the moment it seems to fix the flickering shadows issue.
Let's wait…
[edit] some laps and games later, false hopes again, flickering shadows are back…
Upstream bug, in case : https://gitlab.freedesktop.org/mesa/mesa/issues/2011
And https://gitlab.freedesktop.org/mesa/mesa/issues/1834
It seems there is a patch - but I don't know how to try it :-/
@Coeur-Noir you can download all mesa .so files from ubuntu 16.04, put it to single directory and then
export LD_LIBRARY_PATH=/path/to/mesa
export LIBGL_DRIVERS_PATH=/path/to/mesa
supertuxkart
and in theory it should work. Or maybe better try to compile that older version yourself, because it's not that hard.
wanna try https://www.mesa3d.org/relnotes/19.2.5.html ?
Ok
On Thursday, November 21, 2019, Benau notifications@github.com wrote:
wanna try https://www.mesa3d.org/relnotes/19.2.5.html ? https://camo.githubusercontent.com/572b5431a6da6a11dbfb702a092cf69623ab3892/68747470733a2f2f6c69686b672e636f6d2f6173736574732f66616365732f7069672f64616e63652e676966 https://camo.githubusercontent.com/e2dcb7bc15f2f6a3b128cbba2d817313e770193e/68747470733a2f2f6c69686b672e636f6d2f6173736574732f66616365732f7069672f64616e6365322e676966
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/supertuxkart/stk-code/issues/4022?email_source=notifications&email_token=AMSJOLQZQFP2I3WTBCXA6A3QU4QVPA5CNFSM4IGEU3Y2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4DIVA#issuecomment-557331540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMSJOLSH5PQOHOXEETQXP43QU4QVPANCNFSM4IGEU3YQ .
-- Bouasone Xayavong
Ok, so mesa patch has been provided through a ppa and should land in "regular" mesa updates, so issue is fixed, as you can see here :
https://gitlab.freedesktop.org/mesa/mesa/issues/2011#note_277583
Description
Hello,
for 2-3 weeks now I noticed glitches when I play SuperTuxKart : the shadows in most tracks are flickering. Strongly. I mean it really hurts eyes.
When I boot the same machine on ubuntu 16.04 I don’t have this flickering nightmare.
It does not seem related to kernel since if I boot my 18.04 on 4.15.0-55 problem still occurs.
I suspect some update regarding mesa, video-acceleration or xorg-*-intel but don’t really know how to narrow down the culprit…
Steps to reproduce
Well… just launch STK on Ubuntu Budgie 18.04 with intel i915 ( no other graphic controller here ).
Problem does not appear when this same machine is booted on Ubuntu Unity 16.04.
Configuration
STK release version : 1.0~ubuntu18.04.1
STK Source (PPA, distribution package, official binary, etc.) : ppa.launchpad.net/stk/dev/ubuntu
System : Ubuntu Budgie 18.04
Graphics card :
I don’t use any ppa regarding drivers, only using official repositories.
CPU : Intel® Core™ i7-4770K CPU @ 3.50GHz
RAM : 16Go
Additional information
With or without v-sync → same ( strong ) flickering effect on shadows.
So far I've seen this flickering effect in shadows on Ravenbridge Mansion, Mini Golf, Cocoa Temple, Grand Paradiso Island, Black Forest… can't say if all tracks are concerned as the problem is not « always », sometimes it stops after few minutes, sometimes it never stops.
stdout.log:
for reference :
⋅ https://discourse.ubuntubudgie.org/t/supertuxkart-in-18-04-flickering-shadows-with-intel-i915/2289 ⋅ https://forum.ubuntu-fr.org/viewtopic.php?id=2042165 ( french )