Difference between revisions of "Mesa"
(vrr) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
===Improving OpenGL Performance=== | ===Improving OpenGL Performance=== | ||
Run <code>mesa_glthread=true /path/to/game</code> if the game uses OpenGL as it's graphics API | Run <code>mesa_glthread=true /path/to/game</code> if the game uses OpenGL as it's graphics API | ||
− | {{ii}}For Steam games you select the game, right click it to access Properties and put <code>mesa_glthread=true</code> in the launch options. | + | {{ii}} As of Mesa 22.3, this enviroment varriable is enabled by default on systems using the radeonsi driver<ref>{{Refurl|url=https://cgit.freedesktop.org/mesa/mesa/commit/?id=d6fabe49cd72fb7f7087b12efd8a9e3371e36c01|title=radeonsi: enable glthread by default|date=2023-03-21}}</ref>. |
+ | {{ii}}For Steam games you select the game, right click it to access Properties and put <code>mesa_glthread=true %command%</code> in the launch options. | ||
{{ii}}For a complete list of games that automatically have this enabled, check [https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/00-mesa-defaults.conf Mesa's configuration file.] | {{ii}}For a complete list of games that automatically have this enabled, check [https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/util/00-mesa-defaults.conf Mesa's configuration file.] | ||
Line 29: | Line 30: | ||
# Save the file and restart Xorg (rebooting your PC works). | # Save the file and restart Xorg (rebooting your PC works). | ||
}} | }} | ||
+ | |||
+ | ===Anisotropic filtering=== | ||
+ | Run <code>RADV_TEX_ANISO=16 /path/to/game</code> to force the highest filtering for programs using the Vulkan rendering API running on the AMDGPU driver, for OpenGL programs or users running the old radeon driver use <code>AMD_TEX_ANISO</code> instead. | ||
+ | * Accepted values are 0, 2, 4, 8, and 16. | ||
==Control Panel== | ==Control Panel== | ||
Line 36: | Line 41: | ||
[[Category:Graphics Adaptor]] | [[Category:Graphics Adaptor]] | ||
+ | |||
+ | {{References}} |
Latest revision as of 17:04, 31 August 2023
AMD Catalyst Control Center |
The open source graphics implementation of OpenGL and Vulkan among other graphics APIs for Linux. Intel, AMD and Nvidia all have driver support built into the Linux Kernel but Nvidia's Mesa driver is not recommended for gaming.
- Much better OpenGL performance on AMD graphics than on Windows.
Related articles
Installation
On many distributions the Mesa package will already be installed, if you are performing a minimal install from scratch (such as Debian or Arch Linux) you will have to install the mesa
package, if you are playing games that have a 32-bit binary then enable multilib repositories in your package manager's configuration file and install the mesa:i386
or lib32-mesa
packages.
In addition install your graphics vendors Vulkan drivers as well as the 32-bit packages.
- Please check what the mesa packages are named for the distribution you have installed.
Simple Modifications
Improving OpenGL Performance
Run mesa_glthread=true /path/to/game
if the game uses OpenGL as it's graphics API
- As of Mesa 22.3, this enviroment varriable is enabled by default on systems using the radeonsi driver[1].
- For Steam games you select the game, right click it to access Properties and put
mesa_glthread=true %command%
in the launch options. - For a complete list of games that automatically have this enabled, check Mesa's configuration file.
Enabling Adaptive Sync
- AMD graphics users must be using Kernel 5.0 or later with Mesa 19 or later, HDMI Freesync requires Kernel 5.13 or later.
- HDMI 2.1 4K Freesync is not supported due to licensing issues.
- On Xorg Adaptive Sync can only be used with 1 monitor or by setting up different X sessions per-screen.
Enable Adaptive Sync on AMDGPU running X session. |
---|
|
Anisotropic filtering
Run RADV_TEX_ANISO=16 /path/to/game
to force the highest filtering for programs using the Vulkan rendering API running on the AMDGPU driver, for OpenGL programs or users running the old radeon driver use AMD_TEX_ANISO
instead.
- Accepted values are 0, 2, 4, 8, and 16.
Control Panel
There is no GUI graphics control panel by default, users must install one themselves.
- CoreCtrl Similar to the Adrenaline UI on Windows
- Radeon Profile Graphics control panel written in Qt.
References
- ↑ radeonsi: enable glthread by default - last accessed on 2023-03-21