!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

333 Members
101 Servers

Load older messages


SenderMessageTime
10 Feb 2026
@k900:0upti.meK900* And they don't patch it or anything: https://sources.debian.org/patches/spirv-llvm-translator-21/21.1.3-1/05:45:46
@opna2608:matrix.orgPuna the thing is that glslang, spirv-tools and spirv-llvm-translator all just have parsing bugs on big-endian AFAICT. both in their test suites (most of which we don't run) and when you try to translate existing stuff with them. i just picked spirv-llvm-translator as the scapegoat here (and we likely won't be able to run its test suite, cus it wants LLVM's lit and that seems annoying to set up).
https://catfox.life/2024/11/29/the-complexities-of-enabling-opencl-support/
05:46:49
@k900:0upti.meK900Running the test suite should be possible I think05:47:33
@opna2608:matrix.orgPuna * the thing is that glslang, spirv-tools and spirv-llvm-translator all just have parsing bugs on big-endian AFAICT. both in their test suites (most of which we don't run) and when you try to translate existing stuff with them. i just picked spirv-llvm-translator as the scapegoat here (and we likely won't be able to run its test suite, cus it wants LLVM's lit and that seems annoying to set up outside of LLVM).
https://catfox.life/2024/11/29/the-complexities-of-enabling-opencl-support/
05:47:39
@k900:0upti.meK900Conceptually05:47:48
@opna2608:matrix.orgPunagallium: softpipe nouveau r300 r600 virgl vulkan: nouveau gfxstream nouveau uses OpenCL in current mesa, but mesa on ppc64 debian is held back at 25.0.7-2…05:50:57
@k900:0upti.meK900Mostly what I'm thinking is, it would be very nice for future reference to have an actual record of what is failing05:51:03
@k900:0upti.meK900And ideally once it's all fixed, we can reenable everything and then keep testing so it doesn't regress05:51:33
@k900:0upti.meK900Instead of just having a blanket "oh yeah this is broken forever"05:51:50
@k900:0upti.meK900I don't want to block on this05:52:46
@k900:0upti.meK900But the whole thing also feels so icky05:52:58
@k900:0upti.meK900Like we're disabling shit based on blog posts from three years ago05:53:08
@k900:0upti.meK900And vibes05:53:12
@opna2608:matrix.orgPunanouveau in 25.0.7 did not yet use OpenCL, so they likely just don't run into usage of this stuff… don't know how to browse debian's stuff to figure out why the package is held back on ppc64, if they've documented their reason somewhere…05:54:31
@opna2608:matrix.orgPunathe failures still happen, i can add the mesa build error to the comment in spirv-llvm-translator if that helps.05:58:09
@k900:0upti.meK900Maybe not the error but like, a guideline on how to reproduce it05:59:00
@opna2608:matrix.orgPunai enabled glslang tests recently and added links to upstream issues (happens on all non-LE targets): https://github.com/NixOS/nixpkgs/pull/479398#issuecomment-3745287964 i really don't have the time nor energy to fix this myself though, so I don't expect it to get fixed soon. the packages still build, but their functionality is not quite right.06:00:07
@opna2608:matrix.orgPunabuild mesa for BE i guess?06:00:21
@opna2608:matrix.orgPunai don't know what else uses this translation stuff06:00:31
@k900:0upti.meK900Yeah06:01:59
@opna2608:matrix.orgPuna ah no, cross to BE uses the mesa_clc from the build platform, so it doesn't run into this misparsing situation. you'd have to build mesa on BE then… 06:15:38
@opna2608:matrix.orgPunabigger ask i think, with no cache around to help06:16:36
@k900:0upti.meK900Wait, how does that even work06:16:46
@k900:0upti.meK900Like does mesa_clc even handle mixed endianness06:16:58
@k900:0upti.meK900Because SPIR-V is host endian06:17:03
@k900:0upti.meK900For some utterly idiotic reason06:17:08
@opna2608:matrix.orgPuna couldn't tell you, but the message that it prints when it falls on its face is from SPIRV-Tools i think
(file=input,line=0,column=0,index=7): Invalid extended instruction import 'nepOs.LC'
https://github.com/KhronosGroup/SPIRV-Tools/blob/f139c64525c7c449c83d299a9fda4e1657bf37ab/source/binary.cpp#L629
06:20:54
@k900:0upti.meK900No but like, it works on cross, right?06:21:24
@k900:0upti.meK900Well, "works"06:21:26
@opna2608:matrix.orgPunagot to 2118/5415, then it failed on another format error that i'll need to submit a fix for…06:22:37

Show newer messages


Back to Room ListRoom Version: 6