Mesa 3D graphics driver 20.2.X para Linux

O Mesa driver 20.2 recebeu varias novidades e dezenas de correções para você ter uma melhor experiência com sua placa de vídeo Intel, AMD e Nvidia.




Mesa 3D graphics


O projeto Mesa começou como uma implementação de código aberto da especificação OpenGL - um sistema para renderizar gráficos 3D interativos.

Ao longo dos anos, o projeto cresceu para implementar mais APIs gráficas, incluindo OpenGL ES (versões 1, 2, 3), OpenCL, OpenMAX, VDPAU, VA API, XvMC e Vulkan.

Uma variedade de drivers de dispositivo permite que as bibliotecas Mesa sejam usadas em muitos ambientes diferentes, desde emulação de software até aceleração de hardware completa para GPUs modernas.

Mesa se conecta a vários outros projetos de código aberto: a Direct Rendering Infrastructure e X.org para fornecer suporte OpenGL no Linux, FreeBSD e outros sistemas operacionais.

Mesa 20.2.X

 

Mesa 20.2.0 implementa a API OpenGL 4.6, mas a versão relatada por glGetString (GL_VERSION) ou glGetIntegerv (GL_MAJOR_VERSION) / glGetIntegerv (GL_MINOR_VERSION) depende do driver em particular sendo usado. Alguns drivers não oferecem suporte a todos os recursos exigidos no OpenGL 4.6. OpenGL 4.6 só está disponível se solicitado na criação do contexto. Os contextos de compatibilidade podem relatar uma versão inferior dependendo de cada driver.


O Mesa 20.2.0 implementa a API Vulkan 1.2, mas a versão relatada pela propriedade apiVersion da estrutura VkPhysicalDeviceProperties depende do driver específico sendo usado.


Novidades


 
O Mesa sempre chega com varias novidades e dessa vez não é diferente, confira.


  • GL_ARB_compute_variable_group_size on Iris.
  • GL_ARB_gpu_shader5 on llvmpipe
  • GL_ARB_post_depth_coverage on llvmpipe
  • GLES 3.2 on llvmpipe
  • GL_EXT_shader_group_vote on GLES3
  • GL_EXT_texture_shadow_lod on llvmpipe
  • VK_AMD_texture_gather_bias_lod on RADV.
  • VK_AMD_gpu_shader_half_float on RADV/ACO.
  • VK_AMD_gpu_shader_int16 on RADV/ACO.
  • VK_EXT_extended_dynamic_state on ANV and RADV.
  • VK_EXT_image_robustness on RADV.
  • VK_EXT_private_data on ANV and RADV.
  • VK_EXT_custom_border_color on ANV and RADV.
  • VK_EXT_pipeline_creation_cache_control on ANV and RADV.
  • VK_EXT_shader_demote_to_helper_invocation on RADV/LLVM.
  • VK_EXT_subgroup_size_control on RADV/ACO.
  • VK_GOOGLE_user_type on ANV and RADV.
  • VK_KHR_shader_subgroup_extended_types on RADV/ACO.
  • GL_ARB_gl_spirv on nvc0/nir.
  • GL_ARB_spirv_extensions on nvc0/nir.
  • RADV now uses ACO per default as backend
  • RADV_DEBUG=llvm option to enable LLVM backend for RADV
  • VK_EXT_image_robustness for ANV
  • VK_EXT_shader_atomic_float on ANV
  • VK_EXT_4444_formats on ANV and RADV.
  • VK_KHR_memory_model on RADV.
  • GL 4.5 on llvmpipe
  • EGL_KHR_swap_buffers_with_damage on X11 (DRI3)

Correções


Por se tratar de um projeto dos mais ativos da comunidade linux, os bugs são prontamente corrigidos e as distribuições Linux rapidamente atualizam seua pacotes.

Confira abaixo os bugs corrigidos na versão 20.2.X.


[Regression][Bisected][20.2][radeonsi] American Truck Simulator continually allocates memory until OOM anv: dEQP-VK.robustness.robustness2.* failures on gen12 [RADV] Problems reading primitive ID in fragment shader after tessellation Massive memory leak (at least AMD, others unknown) Substance Painter 6.1.3 black glitches on Radeon RX570 vkCmdCopyImage broadcasts subsample 0 of MSAA src into all subsamples of dst on RADV Crash in ruvd_end_frame when calling vaBeginPicture/vaEndPicture without rendering anything X-Plane 11 Installer crashes on startup since glsl: declare gl_Layer/gl_ViewportIndex/gl_ViewportMask as vs builtins Horizon Zero Dawn graphics corruption with with radv Amber test opt_peel_loop_initial_if: Assertion failed Dirt Rally: Flickering glitches on certain foliage since Mesa 20.1.0 caused by MSAA [BRW] WRC 5 asserts with gallium nine and iris. radv: Corruption in “The Surge 2” [RADV] Detroit: Become Human Demo game lock-ups with RADV Road Redemption certain graphic effects rendered white color vulkan/wsi/x11: deadlock with Xwayland when compositor holds multiple buffers [RADV/ACO] Death Stranding cause a GPU hung (ERROR Waiting for fences timed out!) lp_bld_init.c:172:7: error: implicit declaration of function ‘LLVMAddConstantPropagationPass’; did you mean ‘LLVMAddCorrelatedValuePropagationPass’? [-Werror=implicit-function-declaration] Intel Vulkan driver crash with alpha-to-coverage EGL_KHR_swap_buffers_with_damage support on X11 radv: blitting 3D images with linear filter [ACO] Compiling pipelines from RPCS3’s shader interpreter spins forever in ACO code Intel Vulkan driver assertion with small xfb buffer [spirv-fuzz] SPIR-V parsing failed “src->type->type == dest->type->type” radeonsi: radeonsi crashes in Chrome on chromeos [RADV] commit d19bc94e4eb94 broke gamescope with Navi 4e3a7dcf6ee4946c46ae8b35e7883a49859ef6fb breaks Gamescope showing windows properly. anv: crashes in CTS test dEQP-VK.subgroups.*.framebuffer.*_tess_eval Intel Vuikan (anv) crash in copy_non_dynamic_state() when using validation layer Mafia 3: Trees get rendered incorrectly radv: dEQP-VK.synchronization.op.multi_queue.timeline_semaphore.write_clear_attachments_*_concurrent fail when forcing DCC. Crash on GTA 5 through proton 5.0.9 and GE versions Mesa 20.2.0-rc1 fails to build for AMD Assertion failure compiling shader from Zigguart Panfrost locks for waiting fence when running Source engine games ci: -Dtools=panfrost should be build-tested panfrost: Register allocation fails for Firefox WebRender shaders VRAM leak with vuilkan external memory + opengl memory objects [vulkan/build] Recent build system changes made VK_EXT_acquire_xlib_display unnecessarily depend on GBM ci: Capture devcoredumps on chezas Possible array out of bounds in brw_vec4_nir.cpp freedreno/a6xx: incorrect rendering in asphalt 9 [tgl][bisected][regression][iris] failure on dEQP-EGL.functional.wide_color.pbuffer_8888_colorspace_default Multiply defined symbols compiling with gcc@10.1.0 shrinking descriptor pool on intel+vulkan dEQP-VK.renderpass2.dedicated_allocation.attachment.1.12 fails on NAVI14 turnip: binning and indirect dependency Amber test leads to NIR validation failed after nir_opt_if (on spirv-fuzz shader) Unable to compile mesa-git from b559d26c Ambient light too bright with ACO in AC: Odyssey Multiple issues with Detroit Become Human ci: Capture artifacts in baremetal mode turnip/ir3: fine derivatives panfrost: regression: Major stuttering and low compositor FPS with glmark2 khr_debug-push-pop-group_gl: ../src/util/simple_mtx.h:86: simple_mtx_lock: Assertion `c != _SIMPLE_MTX_INVALID_VALUE’ failed. freedreno/a6xx: skai/skqp fails SPIR-V parsing fails in src/compiler/spirv/spirv_to_nir.c SPIR-V parsing fails in src/compiler/spirv/vtn_cfg.c Weird GLSL bug iris driver is broken in Freedesktop 19.08 LLVM not properly shutdown in si_pipe.c? Panfrost: add current status to docs/features.txt Opengl incorrect rendering on yuzu Amd RADV: VK_ACCESS_MEMORY_READ/WRITE_BIT is not implemented [bisected][regression][all platforms] multiple deqp-gles31/glescts/piglit failures 7406ea37, “ac/surface: require that gfx8 doesn’t have DCC in order to be displayable”, breaks Gamescope being able to launch games on RX580, and possibly other gfx8 cards vkGetSemaphoreCounterValue doesn’t update without vkWaitSemaphores calls on Intel UHD 620 [RADV] System crash when playing XCOM Chimera Squad because of commit #7a5e6fd2 [RADV] Non-precise occlusion queries return non-zero when all fragments are discarded [DXVK] Project Cars rendering problems ADDRLIB ODR Violation Build fails with current mesa from git “undefinierter Verweis auf »nir_lower_clip_disable«” KDE Compositor stuttering after Check for window destruction in dri3_wait_for_event_locked Add fallthrough to prevent errors caused by missing break i965/20.1: gray rendering with torcs racing glBindBufferRange call seems to be ignored by one of two shader-programs on radeon cards [bisected][g33] piglit.spec.ext_framebuffer_object.fbo-cubemap failure Increase GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS to greater value. nir: st_nir_lower_builtin fails for gl_LightSource[i] Sometimes VLC player process gets stuck in memory after closure if video output used is Auto or OpenGL Double unlock in rbug_context.c Double copy for TexSubImage [v3d] corruption when GS omits some vertices Iris crashes when reading from multisampled front buffer on platforms without front buffer freedreno: subway surfers crash when repeatedly toggling fullscreen [RADV/GFX8] Performance drop in DOOM Eternal when “Present from compute” is enabled freedreno: multiple applications crash on a5xx Use-after-free crash innv50_ir::GCRA::RIG_Node::init() intel: Sample mask writes need to be honored in Vulkan [RADV] - Path of Exile (238960) - Map outline, landscape and markers are missing with the Vulkan renderer. ASTC texture decompression fails when using software fallback [i965][iris][regression][bisected] multiple piglit and glcts failures on all platforms please publish GPG keyring used to sign new releases [BISECTED] compiling shader causes crash Missing render Information on Stellaris freedreno/ir3: allow copy-propagate from array Zink + GALLIUM_HUD SIGSEGV piglit spec@egl_ext_device_base@conformance fails LLVM 11 Git assertion since “llvmpipe/fs: add caching support” llvmpipe: 1x1 framebuffer with a 2x2 viewport [regression] nir build failure ci: need to end baremetal tests after kernel panic/instaboot If-statement body is executed for false condition freedreno/a6xx: broken rendering in playcanvas “after the flood” [regression] performance drop on Dota 2, CS:GO, and gfxbench GL benchmarks on ICL/Iris [amd] C++ ODR violatation for union GB_ADDR_CONFIG Zink reports incorrect amount of video memory [RADV/LLVM]: void llvm::ICmpInst::AssertOK(): Assertion `getOperand(0)->getType() == getOperand(1)->getType() && “Both operands to ICmp instruction are not of the same type!”’ failed. glsl-1.50-gs-max-output hangs on Navi10 + NGG anv: Runs out of binding tables with PPSSPP during long runs Segfault in Panfrost with waypipe ci: Use rsync instead of rm -rf ; cp for baremetal rootfs i965: Rendering problems replaying a trace of “Refunct” after mesa-20.1.0-rc1 release [bisected] Panfrost (rk3399 NanoPi M4) hang/crash on playing video on Kodi/X11 gallium/winsys/radeon/drm fails assertion on 32bit NIR validation failed after glsl to nir, before function inline, wrong {src,dst}->type ? nir/spirv asin() function not precise enough Mesa 20.0.7 / 20.1.0-rc4 regression, extremally long shader compilation time in NIR Android build error after 689acc73 freedreno/a6xx: gpu hangs in google earth Mesa-git build fails on Fedora Rawhide Doom Eternal 1.1 performs very poorly on RADV iris/i965: possible regression in 20.0.5 due to changes in buffer manager sharing across screens (firefox/mozilla#1634213) iris/i965: possible regression in 20.0.5 due to changes in buffer manager sharing across screens (firefox/mozilla#1634213) Incorrect _NetBSD__ macro inside execmem.c Possible invalid sizeof in device.c YUV FP16 lowering validation failing GLSL compiler assertion is_float() failed in glsl/ir_validate.cpp, visit_leave on specific WebGL shader [RADV] - Doom Eternal (782330) & Metro Exodus (412020) - Title requires ‘RADV_DEBUG=zerovram’ to eliminate colorful graphical aberrations. [RADV] - Doom Eternal (782330) & Metro Exodus (412020) - Title requires ‘RADV_DEBUG=zerovram’ to eliminate colorful graphical aberrations. mesa trunk master vulkan overlay-layer meson.build warning empty configuration_data() object [meson] increase minimum required version Kicad fails to render 3D PCB models. freedreno: minetest: alpha channel issue on a6xx Reproduceable i915 gpu hang Intel Iris Plus Graphics (Ice Lake 8x8 GT2) 7 Days to Die - “Reflection Quality” setting broken, results in environment rendered black glsl: regression affecting shader compilation time freedreno: glamor issue with x11 desktops finish converting from fnv1a to xxhash Hang in iris_dri in kitty Setting twice value to output_stream in radv_nir_to_llvm.c Overwriting value of jit_tex->sample_stride in lp_setup.c [AMDGPU][OpenGL] apitrace of kernel/firmware crash that requires a reboot Flickering in Superposition benchmark Double lock in fbobject.c Possible typo in aco_insert_waitcnt.cpp [bisected] Steam crashes when newest Iris built with LTO Freeing null pointer inside radv_amdgpu_cs.c Duplicated sub expression in radv_nir_to_llvm.c i965/vec4: opt_cse_local cause the out of bound array access NIR: Regression on shader using 8/16-bit integers ACO: Compiler segfault on 8/16-bit integers. lp_bld_intr.c:70:16: error: use of undeclared identifier ‘LLVMFixedVectorTypeKind’; did you mean ‘LLVMVectorTypeKind’? recent seqno changes causing surfaceflinger crash [radeonsi] [glthread] Crash with glthread enabled Deadlock in anv_timelines_wait() [gles3] supertuxkart: some textures are incorrect post_version.py does not work with release candidates post_version.py does not work with release candidates radv regression on android ogl: Set mesa_glthread=true as default on the RPCS3 emulator [iris] android deqp dEQP-EGL.functional.robustness.negative_context#invalid_notification_strategy_enum fails zink: conditional rendering [RadeonSI] Glitches on VEGA8 + RX 560X after MR 4863 RadeonSI OpenGL broken for GFX8 after unify code for overriding offset freedreno/turnip: Don’t request fragcoord components we don’t use Make check fails in ANV srcutilmeson.build:294:4: ERROR: Program or command ‘winepath’ not found or not executable Please add Zink to features.txt llvmpipe: assert triggers in LLVM debug builds are massively broken on Windows ci: Report flakes on IRC from baremetal tests heavy glitches on amd ryzen 5 since version 20.x zink asserts with 32-bit boolean OpenGL: Surviving Mars black screen late-game (possible shader problem) Kerbal Space Program (KSP) hangs entire Navi system Dirt: Showdown bad performance and broken rendering with enabled advanced lightning gravit & Firefox WebGL broken since 3dc2ccc14c0e035368fea6ae3cce8c481f3c4ad2 “ac/surface: replace RADEON_SURF_OPTIMIZE_FOR_SPACE with !FORCE_SWIZZLE_MODE” mesa 20.0.5 causing kitty to crash radeonsi: “Torchlight II” trace showing regression on mesa-20.0.6 [bisected] [RADV/LLVM/ACO/Regression] After mesa commit a3dc7fffbb7be0f1b2ac478b16d3acc5662dff66 all games stucks at start Android building error after commit 2ab45f41 freedreno/a6xx: pubg rendering glitches iris: Crash when trying to capture window in OBS Studio lp_test_format failure with llvm-11  
 
 
 
Atualmente já temos a versão 20.2.1 com as seguintes correções de bugs.
 
 

  • RADV ACO - ground line corruption in Path of Exile with Vulkan renderer
  • Graphics corruption in Super Mega Baseball 2 with RADV on Navi
  • Running Amber test leads to VK_DEVICE_LOST
  • omx/tizonia build broken with latest mesa git
  • [hsw][bisected][regression] gpu hangs on dEQP-VK.subgroups.(shuffle|quad) tests
  • TGL B0 Stepping gpu hangs on many dEQP-VK.subgroups.quad nonconst tests
  • [spirv-fuzz] Shader generates a wrong image
 
 
 

Opinião



Atualmante para quem utiliza placas de vídeo Intel e AMD é totalmente dispensavel o uso de drivers proprietários.
 
Mesmo para hardware antigos e modestos o Mesa propicia um uso super satisfatório mesmo em ambientes graficos com mais recursos graficos.
 
 
 

 
 

Instalação


 
Para manter o Mesa sempre atualizado, mantenha o seu sistema operacional atualizado.
 
No caso do Ubuntu você pode seguir a matéria abaixo para ter sempre a ultima versão do Mesa.

Dar uma turbinada no Ubuntu e derivados com Mesa Driver para Intel e AMD

Essa matéria é especifica para quem use placas de vídeo Intel ou AMD e quer dar uma turbinada no desempenho do seu Ubuntu, confira.
 
 
 




No Debian se você é usuário do Testing pode tornar ele híbrido e utilizar o Mesa do unstable.


Mesa Driver sempre atualizado no Debian Testing

Confira nessa matéria como ter o Mesa driver sempre atualizado no seu Debian Testing, com isso você pode ter um melhor desempenho com placas de vídeo Intel e AMD.


Comentários

Você precisa ver isso

Todos os arquivos do blog

Mostrar mais