AMDgpu (Linux kernel module): Difference between revisions

Content deleted Content added
Alphabetized the categories.
 
(80 intermediate revisions by 37 users not shown)
Line 1:
{{short description|AMD GPU driver for Linux}}
'''AMDGPU''' is [[AMD]]'s new fully [[open source]] unified [[device driver|graphics driver]] for [[Linux]].<ref>http://andrew.technology/amd-unified-linux-driver-amdgpu/</ref><ref>http://linux.softpedia.com/blog/open-source-amdgpu-linux-driver-gets-its-first-point-release-for-mesa-11-2-500682.shtml</ref> AMDGPU currently only supports cards built upon [[GCN]] 1.2 or higher, previous cards are not supported yet.<ref>http://www.phoronix.com/scan.php?page=news_item&px=AMD-SI-Might-Soon-Get-AMDGPU</ref> GCN 1.2 includes Carrizo APUs, the Fury lineup, and the R9 380.
{{About||AMDGPU (LLVM backend)|LLVM#Backends}}
{{About||amdgpu and amdgpu-pro install scripts|AMD Radeon Software}}
 
{{Infobox software
AMDGPU also has an optional closed-source component that operates on top of the open source AMDGPU for better intensive 3D application support known as AMDGPU-PRO.<ref>http://www.pcworld.com/article/3075837/linux/amds-gaming-optimized-amdgpu-pro-driver-for-linux-is-in-beta.html</ref>
| name = AMDgpu
| title = AMDgpu
| logo =
| logo caption =
| screenshot = AMDGPU boot log screenshot.png
| 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 = [[AMD]]
| released = 1.0 / {{Start date and age|2015|04|20|df=yes}}<ref name=INITIAL>{{cite web|url=https://lists.freedesktop.org/archives/dri-devel/2015-April/081501.html|title=Initial amdgpu driver release|date=20 April 2015}}</ref>
| discontinued =
| latest release version = 5.11.32.21.40
| latest release date = {{Start date and age|2021|09|17|df=yes}}<ref>{{cite web|url=https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/commit/5e2158164e449dcf2d956bea8b732f5b5290355d|title=AMDgpu version bump|website=[[GitHub]] |date=17 September 2021}}</ref>
| latest preview version =
| latest preview date =
| repo = [https://github.com/radeonopencompute/rock-kernel-driver/ github.com/radeonopencompute/rock-kernel-driver]
| programming language = [[C (programming language)|C]]
| operating system = [[Linux]]
| platform = [[x86-64]]
| size =
| genre = [[Device driver]]
| 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==
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 as of August 2016]]
 
==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]]
 
{{Linux-stub}}