Skip to content

linux kernel 64bit (amd64) with latest amdgpu drivers. amd-staging-drm-next, clang build

License

Notifications You must be signed in to change notification settings

Mr-Precise/linux-kernel-with-amdgpu-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

linux kernel for 64bit (amd64) with latest amdgpu drivers.

GitHub all releases
This linux kernel also helps to run the latest AMD GPUs with the open source amdgpu kernel driver.

What for?

This is my attempt to get an outdated video card to work well with good results :)
Driver work checked on AMD Radeon HD 77XX (Cape Verde PRO, GCN 1.0), Tobago PRO (GCN 2.0), but will probably work on others.

This linux kernel compiled on Linux Ubuntu 20.04, but will probably run on Linux Mint, Debian and others debian-based.
I will sometimes also do experimental builds with the clang compiler (Currently: kernel 6.6+, clang 17+).

What works?

Vulkan - ok
Hardware decode video - ok
Most hardware - ok
Steam Proton/Wine DXVK performance - ok
SteamVR/ALVR - ok

What is it based on?

The corresponding kernel source code tree can be found here:
https://gitlab.freedesktop.org/agd5f/linux/-/tree/amd-staging-drm-next
and here:
https://gitlab.freedesktop.org/agd5f/linux/-/branches/active

PPAs:

To get the best Vulkan performance recommended for use with *ubuntu PPA repo:

*ubuntu jammy 22.04+:

*ubuntu focal 20.04+:

Vulkan Libs & SDK repo:

Useful repository with Vulkan Libs & SDK for *ubuntu 20.04/22.04/24.04.
Contains latest libraries, headers, verify tools, glslang and SDK for develop apps.
Actual add/instal instructions here: vulkan.lunarg.com/doc/view/latest/linux/getting_started_ubuntu.html
Vulkan 1.3.283.0 latest for old LTS *ubuntu 20.04: vulkan.lunarg.com/doc/sdk/1.3.283.0/linux/getting_started_ubuntu.html

Linux firmware images:

Install latest upstream firmwares for Linux kernel drivers to support new hardware
https://gitlab.com/kernel-firmware/linux-firmware
You can download the prepared .deb package here releases/firmware
Required 1 gigabyte of free disk space and additional space in /boot.

Warnings:

This is an very experimental kernel, use at your own risk.
If something goes wrong, delete/downgrade them.
Don't forget to remove old kernels, but keep at least 2 latest working ones just in case.

How to install:

  1. Create a folder in a place convenient for you (for example: ~/kernel)
  2. Download latest .deb only packages from release: linux-libc-dev, linux-headers and linux-image
  3. Also recommended to install non-free linux-firmware containing firmwares for amd video cards, etc...
  4. Run sudo dpkg -i *.deb in this directory.
  5. Reboot. Ok.