Linux support too #56

Open
opened 2026-11-26 21:24:36 +00:00 by github-bot · 9 comments
Owner

@⁠DEBARSHI-SARKAR on GitHub · 2026-11-21 14:27 UTC · original

Do it for Linux too so I can test on my AMD RX580

**@⁠DEBARSHI-SARKAR** on GitHub · 2026-11-21 14:27 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56) Do it for Linux too so I can test on my AMD RX580
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 21:24:36 +00:00
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-21 14:38 UTC · original

Thanks for offering an RX 580 test. A contributor has already posted a Linux/Proton run on an RTX 3060, including versions and the commands used. That gives us a concrete comparison for your card. If you try the Windows GPU Check under Proton, please post the GPU, Mesa/driver, Proton and vkd3d-proton versions plus each subtest’s output in #1. Capability skips and setup failures are useful too. The existing Ubuntu CI job also assembles and translates the public shader fixtures with LLVM 15. A native Linux runtime is a separate feature request; the current runtime target is x64 Windows.

**@⁠R0Y00** on GitHub · 2026-11-21 14:38 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7064244470) Thanks for offering an RX 580 test. A contributor has already posted a [Linux/Proton run](https://git.gtahub.st/github/R0Y00--Xbox2Windows/issues/1) on an RTX 3060, including versions and the commands used. That gives us a concrete comparison for your card. If you try the Windows GPU Check under Proton, please post the GPU, Mesa/driver, Proton and vkd3d-proton versions plus each subtest’s output in #1. Capability skips and setup failures are useful too. The existing Ubuntu CI job also assembles and translates the public shader fixtures with LLVM 15. A native Linux runtime is a separate feature request; the current runtime target is x64 Windows.
Author
Owner

@⁠DEBARSHI-SARKAR on GitHub · 2026-11-21 15:10 UTC · original

alright will do that np

**@⁠DEBARSHI-SARKAR** on GitHub · 2026-11-21 15:10 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7064666304) alright will do that np
Author
Owner

@⁠KevinKor001 on GitHub · 2026-11-22 15:24 UTC · original

im down to help fix / add anything regarding linux (im running a slightly modified cachy kernel but i also have a debian machine i can test)

**@⁠KevinKor001** on GitHub · 2026-11-22 15:24 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081278987) im down to help fix / add anything regarding linux (im running a slightly modified cachy kernel but i also have a debian machine i can test)
Author
Owner

@⁠KevinKor001 on GitHub · 2026-11-22 15:29 UTC · original

Update .. i took a look at the contributing & source , uhhh i suppose i can help contribute both on the main project and maybe more on fixing linux issues, so i will be on the lookout!

**@⁠KevinKor001** on GitHub · 2026-11-22 15:29 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081343246) Update .. i took a look at the contributing & source , uhhh i suppose i can help contribute both on the main project and maybe more on fixing linux issues, so i will be on the lookout!
Author
Owner

@⁠Ybucaille on GitHub · 2026-11-22 15:59 UTC · original

I opened #614 to check the pixel_aot output on Vulkan (lavapipe) from Linux. @⁠KevinKor001, if you want to help on the Linux side, a run on your Debian machine would be a useful second environment once the check exists.

**@⁠Ybucaille** on GitHub · 2026-11-22 15:59 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081728686) I opened #614 to check the `pixel_aot` output on Vulkan (lavapipe) from Linux. @⁠KevinKor001, if you want to help on the Linux side, a run on your Debian machine would be a useful second environment once the check exists.
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-23 23:41 UTC · original

There is now a small source-built check you can try on Linux with Linux DXC and VkRunner: python3 -B tests/pixel_fp32_vulkan_check.py /path/to/dxc /path/to/vkrunner. The host guide documents device selection and the underflow negative control. If your Vulkan ICD exposes the RX 580, record the adapter, Mesa version and the first mismatch or capability refusal. Linux host guide

That check covers FP32 helper arithmetic through SPIR-V. The draw-core Linux work is tracked in #614, and the full runtime remains Windows-based.

**@⁠R0Y00** on GitHub · 2026-11-23 23:41 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7117250593) There is now a small source-built check you can try on Linux with Linux DXC and VkRunner: python3 -B tests/pixel_fp32_vulkan_check.py /path/to/dxc /path/to/vkrunner. The host guide documents device selection and the underflow negative control. If your Vulkan ICD exposes the RX 580, record the adapter, Mesa version and the first mismatch or capability refusal. [Linux host guide](https://github.com/R0Y00/Xbox2Windows/blob/main/docs/non-windows-hosts.md#optional-vulkan-arithmetic-check) That check covers FP32 helper arithmetic through SPIR-V. The draw-core Linux work is tracked in #614, and the full runtime remains Windows-based.
Author
Owner

@⁠cobrajet302gt on GitHub · 2026-11-24 02:57 UTC · original

I'll take the optional Vulkan arithmetic check (tests/pixel_fp32_vulkan_check.py) from this Linux box. Planned environment: CachyOS x64, kernel 7.2.9-2, Python 3.14.9; DXC v1.9.2609 (official Linux release binary, the same one used in the #614 compile-stage baseline); devices: RTX 6000 Ada and RTX 5080 through the NVIDIA 615.78.08 ICD, plus lavapipe from Mesa 26.2.4. VkRunner will be built from the freedesktop release. I'll record each adapter, driver/Mesa versions, the negative-control failure, and any capability or validation refusals separately. This machine has no AMD GPU, so these runs cover the NVIDIA ICD and the software device, not RADV; that row stays open for others.

**@⁠cobrajet302gt** on GitHub · 2026-11-24 02:57 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120638978) I'll take the optional Vulkan arithmetic check (`tests/pixel_fp32_vulkan_check.py`) from this Linux box. Planned environment: CachyOS x64, kernel 7.2.9-2, Python 3.14.9; DXC **v1.9.2609** (official Linux release binary, the same one used in the #614 compile-stage baseline); devices: RTX 6000 Ada and RTX 5080 through the NVIDIA 615.78.08 ICD, plus lavapipe from Mesa 26.2.4. VkRunner will be built from the freedesktop release. I'll record each adapter, driver/Mesa versions, the negative-control failure, and any capability or validation refusals separately. This machine has no AMD GPU, so these runs cover the NVIDIA ICD and the software device, not RADV; that row stays open for others.
Author
Owner

@⁠cobrajet302gt on GitHub · 2026-11-24 03:00 UTC · original

Vulkan arithmetic check report — Linux, four devices, tests/pixel_fp32_vulkan_check.py run as documented. No harness or parser added; this is the single command only.

  • Commit: 0ec94d5bf621b0955cd4802ef2a28ccdc588410b (main, 2026-11-24)
  • Environment: CachyOS x64, kernel 7.2.9-2-cachyos, Python 3.14.9; DXC v1.9.2609 (official linux_dxc_2026_09_28.x86_x64 release binary, pinned by release tag since the Linux build rejects -version); VkRunner built from upstream git c59bea8 (2026-11-08) with cargo 1.99.1, --release --all-features
  • Command: python3 -B tests/pixel_fp32_vulkan_check.py <dxc> <vkrunner> --device 1 --device 2 --device 3 --device 4
# Device (VkRunner --device-list) Type Driver original round_ties_up
1 NVIDIA GeForce RTX 5080 (0x2C02) discrete NVIDIA proprietary 615.78.08 (nvidia-utils 615.78.08-2) pass, rc 0 fail as expected, rc 1
2 NVIDIA RTX 6000 Ada Generation (0x26B1) discrete NVIDIA proprietary 615.78.08 pass, rc 0 fail as expected, rc 1
3 Intel(R) Graphics (ARL) (0x7D67) integrated Mesa ANV (vulkan-intel 3:26.2.4-1) pass, rc 0 fail as expected, rc 1
4 llvmpipe (LLVM 23.1.5, 256 bits) CPU Mesa lavapipe (vulkan-swrast 3:26.3.1-5) pass, rc 0 fail as expected, rc 1

Result: 23 cases, 46 output words checked per device; zero mismatches against the binary32 reference on all four devices, no capability refusals, no validation complaints. The negative control failed on the same probe line on every device (line 119: SSBO probe failed, Reference: 0, Observed: 1), so the tie-to-even discriminator fires deterministically across two vendor driver stacks and a software device.

Notes:

  • This machine has no AMD GPU, so there is no RADV row here; the NVIDIA ICDs, Mesa ANV on the iGPU, and lavapipe are what this box can offer.
  • On Arch/CachyOS the lavapipe ICD (lvp_icd.json) ships in the vulkan-swrast package; the mesa package alone does not provide it.
  • VkRunner is now a Rust project (cargo build); on Arch it is packaged as AUR vkrunner-git. I built from the upstream checkout because a system-wide OpenSSL 4 migration was pending and I kept it out of the transaction.

The draw-leg environment for #614 is now also live on this box (lavapipe ICD plus working VkRunner), so the host can be run here the day its PR is up.

**@⁠cobrajet302gt** on GitHub · 2026-11-24 03:00 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120690803) Vulkan arithmetic check report — Linux, four devices, `tests/pixel_fp32_vulkan_check.py` run as documented. No harness or parser added; this is the single command only. - Commit: `0ec94d5bf621b0955cd4802ef2a28ccdc588410b` (`main`, 2026-11-24) - Environment: CachyOS x64, kernel `7.2.9-2-cachyos`, Python 3.14.9; DXC **v1.9.2609** (official `linux_dxc_2026_09_28.x86_x64` release binary, pinned by release tag since the Linux build rejects `-version`); VkRunner built from upstream git `c59bea8` (2026-11-08) with cargo 1.99.1, `--release --all-features` - Command: `python3 -B tests/pixel_fp32_vulkan_check.py <dxc> <vkrunner> --device 1 --device 2 --device 3 --device 4` | # | Device (VkRunner `--device-list`) | Type | Driver | `original` | `round_ties_up` | |---|---|---|---|---|---| | 1 | NVIDIA GeForce RTX 5080 (0x2C02) | discrete | NVIDIA proprietary 615.78.08 (`nvidia-utils 615.78.08-2`) | pass, rc 0 | fail as expected, rc 1 | | 2 | NVIDIA RTX 6000 Ada Generation (0x26B1) | discrete | NVIDIA proprietary 615.78.08 | pass, rc 0 | fail as expected, rc 1 | | 3 | Intel(R) Graphics (ARL) (0x7D67) | integrated | Mesa ANV (`vulkan-intel 3:26.2.4-1`) | pass, rc 0 | fail as expected, rc 1 | | 4 | llvmpipe (LLVM 23.1.5, 256 bits) | CPU | Mesa lavapipe (`vulkan-swrast 3:26.3.1-5`) | pass, rc 0 | fail as expected, rc 1 | Result: 23 cases, 46 output words checked per device; zero mismatches against the binary32 reference on all four devices, no capability refusals, no validation complaints. The negative control failed on the **same probe line on every device** (`line 119: SSBO probe failed, Reference: 0, Observed: 1`), so the tie-to-even discriminator fires deterministically across two vendor driver stacks and a software device. Notes: - This machine has no AMD GPU, so there is no RADV row here; the NVIDIA ICDs, Mesa ANV on the iGPU, and lavapipe are what this box can offer. - On Arch/CachyOS the lavapipe ICD (`lvp_icd.json`) ships in the `vulkan-swrast` package; the `mesa` package alone does not provide it. - VkRunner is now a Rust project (cargo build); on Arch it is packaged as AUR `vkrunner-git`. I built from the upstream checkout because a system-wide OpenSSL 4 migration was pending and I kept it out of the transaction. The draw-leg environment for #614 is now also live on this box (lavapipe ICD plus working VkRunner), so the host can be run here the day its PR is up.
Author
Owner

@⁠R0Y00 on GitHub · 2026-11-24 03:17 UTC · original

Thanks for the four-device VkRunner report. It adds NVIDIA and software Vulkan coverage of the helper arithmetic and its underflow control. For an RX 580 or another AMD device on RADV, please run the same command and record the selected adapter, driver and whether the control is caught. The translated draw-core fixture remains tracked in #614.

**@⁠R0Y00** on GitHub · 2026-11-24 03:17 UTC · [original](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120953667) Thanks for the four-device VkRunner report. It adds NVIDIA and software Vulkan coverage of the helper arithmetic and its underflow control. For an RX 580 or another AMD device on RADV, please run the same command and record the selected adapter, driver and whether the control is caught. The translated draw-core fixture remains tracked in #614.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/R0Y00--Xbox2Windows#56
No description provided.