# Native ROCm Compute Arrives on PS5 Linux

> A new repository brings native ROCm compute, PyTorch, and sparse libraries to the PlayStation 5 GPU under Linux.

- Published: 2026-11-01T00:15:09Z
- Score: 7/10
- Tags: bc250, tool, ai
- Port / platforms: - -> Linux / Steam Deck (Hardware)
- Web page: https://emu-radar.customfw.xyz/news/ps5-rocm-gfx1013-linux/
- Sources: https://github.com/LEE-CHENYU/ps5-rocm/commit/150e7d3926ce3540ae64742dd4529eac7dad22d8

Native compute on the PlayStation 5 under Linux no longer needs the override hack. Developer **LEE-CHENYU** published the `LEE-CHENYU/ps5-rocm` repository, which documents how to run native ROCm and HIP compute on the console's GPU without fake `HSA_OVERRIDE_GFX_VERSION` flags. On this console, those flags hung the GPU on a one-line test, the reset failed, and the whole machine needed a power cycle.

The project adapts the AMD BC-250 community's recipe to **Ubuntu 26.04** on the console and targets its **gfx1013** (Cyan Skillfish) ISA. A patched `amdgpu` kernel module, boot parameters and rebuilt runtimes give the GPU a 12 GiB GTT pool, and rocminfo lists 36 compute units. You build the patched driver and rocBLAS yourself, and the rocBLAS build takes about 19 minutes on the console.

### Status and Stack

The repository logs builds and checks for these components:

* **Runtimes:** ROCm 7.1 from the Ubuntu archive, and rocBLAS 7.1.0 built for `gfx1013` with `BUILD_OFFLOAD_COMPRESS=OFF`.
* **Frameworks:** PyTorch 2.9.1 passes 30 of 30 operation checks against the CPU, and torchvision, transformers, diffusers and accelerate run on the chip.
* **Advanced Math:** rocSPARSE 7.1.0 and rocSOLVER 7.1.0 handle sparse matrix operations and linear algebra. Cholesky and lstsq still need MAGMA.

### How to Try It

1. Install **Ubuntu 26.04** on a PlayStation 5 running Linux.
2. Clone the repository and apply the patched `amdgpu` driver following the build notes in `docs/building-amdgpu.md`.
3. Run the installation scripts in sequence and build rocBLAS with `BUILD_OFFLOAD_COMPRESS=OFF`. With compression on, GEMM works, but dot and gemv segfault.

Memory-churn and 20-minute soak tests found no corrupted results and no kernel faults. The repository treats this as evidence that still needs more testing.
