Linux support too #56

Open
opened 2026-11-21 14:27:35 +00:00 by DEBARSHI-SARKAR · 9 comments
DEBARSHI-SARKAR commented 2026-11-21 14:27:35 +00:00 (Migrated from github.com)
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by DEBARSHI-SARKAR on 2026-11-21T14:27:35Z.


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

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6530066270 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56). Originally posted by [DEBARSHI-SARKAR](https://github.com/DEBARSHI-SARKAR) on 2026-11-21T14:27:35Z. --- Do it for Linux too so I can test on my AMD RX580
R0Y00 commented 2026-11-24 06:47:33 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-21T14:38:47Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7064244470 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7064244470). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-21T14:38:47Z. --- Thanks for offering an RX 580 test. A contributor has already posted a [Linux/Proton run](https://github.com/R0Y00/Xbox2Windows/issues/1#issuecomment-7064204388) 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.
DEBARSHI-SARKAR commented 2026-11-24 06:47:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by DEBARSHI-SARKAR on 2026-11-21T15:10:39Z.


alright will do that np

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7064666304 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7064666304). Originally posted by [DEBARSHI-SARKAR](https://github.com/DEBARSHI-SARKAR) on 2026-11-21T15:10:39Z. --- alright will do that np
KevinKor001 commented 2026-11-24 06:48:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by KevinKor001 on 2026-11-22T15:24:28Z.


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)

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081278987 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081278987). Originally posted by [KevinKor001](https://github.com/KevinKor001) on 2026-11-22T15:24:28Z. --- 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 commented 2026-11-24 06:48:34 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by KevinKor001 on 2026-11-22T15:29:29Z.


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!

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081343246 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081343246). Originally posted by [KevinKor001](https://github.com/KevinKor001) on 2026-11-22T15:29:29Z. --- 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!
Ybucaille commented 2026-11-24 06:48:35 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by Ybucaille on 2026-11-22T15:59:38Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7081728686 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7081728686). Originally posted by [Ybucaille](https://github.com/Ybucaille) on 2026-11-22T15:59:38Z. --- 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.
R0Y00 commented 2026-11-24 06:49:52 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-23T23:41:36Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7117250593 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7117250593). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-23T23:41:36Z. --- 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.
cobrajet302gt commented 2026-11-24 06:50:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-24T02:57:34Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7120638978 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120638978). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-24T02:57:34Z. --- 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 commented 2026-11-24 06:50:12 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by cobrajet302gt on 2026-11-24T03:00:57Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7120690803 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120690803). Originally posted by [cobrajet302gt](https://github.com/cobrajet302gt) on 2026-11-24T03:00:57Z. --- 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.
R0Y00 commented 2026-11-24 06:50:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T03:17:39Z.


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.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7120953667 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/issues/56#issuecomment-7120953667). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T03:17:39Z. --- 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.
Sign in to join this conversation.
No labels
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.

Reference
R0Y00/Xbox2Windows#56
No description provided.