sayuri: Programs that use OpenCL and OpenGL (simultaneously) segfault #33

Closed
opened 2021-01-24 17:59:38 +01:00 by simon · 1 comment

This affects Blender and in certain scripts vapoursynth (e.g. nnedi3cl and placebo in the same script).

This is due to ROCm (for OpenCL) using a different (major) LLVM version than mesa (for OpenGL).

The recommended workaround (compiling mesa with llvmPackages_rocm) did not work (compiling mesa fails, presumably because there are incompatibilities between the llvm versions), though I did not try very hard to get it to work.

Those issues explain this in more detail:

Probably this is getting worked on by danieldk: https://discourse.nixos.org/t/what-are-your-goals-for-21-05/11559/3 🥳
Update: ROCm doesn’t support GUI (though they say they still support OpenCL with gui?): https://github.com/NixOS/nixpkgs/issues/97401#issuecomment-789516544

This affects Blender and in certain scripts vapoursynth (e.g. nnedi3cl and placebo in the same script). This is due to ROCm (for OpenCL) using a different (major) LLVM version than mesa (for OpenGL). The recommended workaround (compiling mesa with `llvmPackages_rocm`) did not work (compiling mesa fails, presumably because there are incompatibilities between the llvm versions), though I did not try very hard to get it to work. Those issues explain this in more detail: * https://github.com/nixos-rocm/nixos-rocm/issues/28 * https://github.com/NixOS/nixpkgs/issues/97401 Probably this is getting worked on by danieldk: https://discourse.nixos.org/t/what-are-your-goals-for-21-05/11559/3 🥳 Update: ROCm doesn’t support GUI (though they say they still support OpenCL with gui?): https://github.com/NixOS/nixpkgs/issues/97401#issuecomment-789516544
simon added the
type
bug
affects/hardware
blocked by/upstream
labels 2021-01-24 17:59:45 +01:00
simon changed title from sayuri: Programs that use OpenCL and OpenGL segfault to sayuri: Programs that use OpenCL and OpenGL (simultaneously) segfault 2021-01-24 18:02:07 +01:00
simon added the
resolution
upstream wontfix
label 2021-03-03 09:46:58 +01:00
Poster
Owner

Closed in favour of #45.

Closed in favour of #45.
simon closed this issue 2021-03-03 09:51:05 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
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: simon/nixos-config#33
There is no content yet.