Content deleted Content added
It's generally not recommended to use AMDGPU-PRO over mesa, and mesa beats it in large majority of benchmarks too. Saying it's "better" is arguably not true and could mislead users into not understanding that they're already using mesa and don't need to manually install drivers. |
|||
(63 intermediate revisions by 26 users not shown) | |||
Line 1:
{{short description|AMD GPU driver for Linux}}
{{About||AMDGPU (LLVM backend)|LLVM#Backends}}
{{About||amdgpu and amdgpu-pro install scripts|AMD Radeon Software}}
{{Infobox software
| name
| title
| logo =
| logo caption
| screenshot
| caption = Linux kernel [[dmesg]] logs about the AMDgpu kernel module, seen from a [[Command-line interface|command-line-interface]] [[Shell_(computing)|shell session]].
| collapsible
| author
| developer =
| released
| discontinued
| latest release version =
| latest release date
| latest preview version =
| latest preview date
| repo = [https://github.com/radeonopencompute/rock-kernel-driver/ github.com/radeonopencompute/rock-kernel-driver]
| programming language
| operating system
| platform
| size =
|
| license = [[MIT License]]
}}
'''AMDgpu''' is an [[open source]] [[device driver]] for the [[Linux]] operating system developed by [[AMD]] to support its [[Radeon]] lineup of [[graphics card]]s (GPUs). It was announced in 2014 as the successor to the previous <code>radeon</code> device driver as part of AMD's new "unified" driver strategy,<ref>{{Cite web |last=Larabel |first=Michael |date=October 8, 2014 |title=The Slides Announcing The New "AMDGPU" Kernel Driver |url=https://www.phoronix.com/news/MTgwODA |access-date=April 11, 2023 |website=Phoronix |language=en}}</ref> and was released on April 20, 2015.<ref>{{Cite web |last=Larabel |first=Michael |date=April 20, 2015 |title=AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support |url=https://www.phoronix.com/news/AMD-AMDGPU-Released |access-date=April 11, 2023 |website=Phoronix |language=en}}</ref>
==Development==
[[File:Linux AMD graphics stack.svg|thumb|alt=Diagram|Linux device drivers for AMD hardware in August 2016]]▼
It takes the form of an in-tree [[Loadable kernel module|kernel module]].
As of 2022, AMD Kernel Fusion Driver ('''KFD''') is now integrated in this one kernel module. AMD KFD development at AMD is part of [[ROCm#ROCk_-_Kernel_driver|ROCm]], under the ROCk project.
==Distribution==
AMDgpu has been fully upstreamed and new developments continue to do so.
As AMDgpu is part of the [[monolithic kernel|monolithic]] Linux kernel, it is shipped by most Linux distributions directly. The package suite / install script amdgpu-pro, distributed by AMD directly from [[AMD Radeon Software]], ships an AMDgpu kernel module somewhat reliably more up-to-date compared to that of kernels shipped in regular operating system distributions.
==Community==
The development of the kernel module happens between AMD and the Linux maintainers, discussions happen on the [[freedesktop.org]] mailing lists<ref>{{Cite web|title=The dri-devel Archives|url=https://lists.freedesktop.org/archives/dri-devel/|access-date=2021-02-01}}</ref><ref>{{Cite web|title=The amd-gfx Archives|url=https://lists.freedesktop.org/archives/amd-gfx/|access-date=2021-02-01}}</ref> - freedesktop being home to major Linux graphics projects such as [[Mesa (computer graphics)|Mesa]], [[libdrm]], [[XOrg|Xorg]], [[Wayland (display server protocol)|Wayland]].
==Support==
AMDgpu officially supports cards built upon [[Graphics Core Next|GCN 1.2]] or higher, including new instruction sets such as [[RDNA (microarchitecture)|RDNA]]1&2, CDNA.
===Support issues===
Though {{as of|2022|lc=y}} support for GCN 1.0/1.1 is incomplete,<ref>{{Cite web|title=Defaulting Radeon GCN 1.0/1.1 GPUs To Better Linux Driver Is Held Up By Analog Outputs|url=https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-GCN-1.0-Analog-Block|url-status=live|access-date=2021-03-09|website=Phoronix|archive-url=https://web.archive.org/web/20200805222842/https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-GCN-1.0-Analog-Block |archive-date=2020-08-05 }}</ref> it can be enabled by a kernel parameter<ref>{{cite news|url=https://www.phoronix.com/scan.php?page=news_item&px=AMDGPU-SI-Experimental-Code|title=AMD Unleashes Initial AMDGPU Driver Support For GCN 1.0 / Southern Islands GPUs|work=Phoronix|date=2016-05-13|access-date=2017-04-05}}</ref><ref>{{cite web|title=AMDgpu driver documentation|url=https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html|website=Freedesktop.org}}</ref> and some [[Linux distribution|Linux distributions]] enabled it by default.<ref>{{Cite web|title=Mageia 8 RC1 Brings AMDGPU For GCN 1.0/1.1, NVIDIA GLVND, Linux 5.10 LTS|url=https://www.phoronix.com/scan.php?page=news_item&px=Mageia-8-RC1-Released|url-status=live|access-date=2021-03-09|website=Phoronix|archive-url=https://web.archive.org/web/20210207043011/https://www.phoronix.com/scan.php?page=news_item&px=Mageia-8-RC1-Released |archive-date=2021-02-07 }}</ref>
▲[[File:Linux AMD graphics stack.svg|thumb|alt=Diagram|Linux device drivers for AMD hardware
==See also==
* [[Radeon]] — AMD's main GPU brand
* [[AMD Radeon Software]] — AMD's default software distribution channel
* [[Free and open-source graphics device driver]]
==References==
{{reflist}}
== External links ==
* {{cite web|url=https://www.kernel.org/doc/html/latest/gpu/amdgpu/index.html|publisher=[[Linux kernel]]|title=AMDgpu driver|date=2022-01-23}}
{{AMD}}
{{AMD technology}}
{{AMD graphics}}
{{Portal bar|Computer programming|Free and open-source software|Linux|Engineering|Electronics|Technology|Mathematics}}
[[Category:AMD software]]
[[Category:Free device drivers]]
[[Category:Linux drivers]]
|