[Bug 240722] graphics/mesa-dri: llvm9 update breaks amdgpu

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240722

--- Comment #6 from [email protected] ---
How it should be:
http://www.netlab.linkpc.net/download/Me/Private/IMG_20190922_044103.jpg

Crap: http://www.netlab.linkpc.net/download/Me/Private/IMG_20190922_044231.jpg
http://www.netlab.linkpc.net/download/Me/Private/IMG_20190922_044645.jpg
(will remove it on bug close)

LIBGL_ALWAYS_SOFTWARE=1 - yes, this helps!

LIBGL_DEBUG=verbose
=============================================================
LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main <{ i32, i32,
i32, i32, i32, float, float, float, float, float, float, float, float, float,
float, float, float, float, float, float }> ([0 x <4 x i32>] addrspace(6)*, [0
x <8 x i32>] addrspace(6)*, [0 x float] addrspace(6)*, [0 x <8 x i32>]
addrspace(6)*, float, i32, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x
i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, i32, i32, float,
i32): unsupported call from graphics shader of function
llvm.SI.load.const.v4i32

LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main <{ i32, i32,
i32, i32, i32, float, float, float, float, float, float, float, float, float,
float, float, float, float, float, float }> ([0 x <4 x i32>] addrspace(6)*, [0
x <8 x i32>] addrspace(6)*, [0 x float] addrspace(6)*, [0 x <8 x i32>]
addrspace(6)*, float, i32, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x
i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, i32, i32, float,
i32): unsupported call from graphics shader of function
llvm.SI.load.const.v4i32
...
LLVM failed to compile shader
radeonsi: can't compile a main shader part
LLVM failed to compile shader
radeonsi: can't compile a main shader part
LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main <{ i32, i32,
i32, i32, i32, float, float, float, float, float, float, float, float, float,
float, float, float, float, float, float }> ([0 x <4 x i32>] addrspace(6)*, [0
x <8 x i32>] addrspace(6)*, [0 x float] addrspace(6)*, [0 x <8 x i32>]
addrspace(6)*, float, i32, <2 x i32>, <2 x i32>, <2 x i32>, <3 x i32>, <2 x
i32>, <2 x i32>, <2 x i32>, float, float, float, float, float, i32, i32, float,
i32): unsupported call from graphics shader of function
llvm.SI.load.const.v4i32
...
LLVM failed to compile shader
LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main void ([0 x
<4 x i32>] addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, [0 x float]
addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, i32, i32, i32, i32, [0 x <4 x
i32>] addrspace(6)*, i32, i32, i32, i32, i32, i32, i32): unsupported call from
graphics shader of function llvm.SI.load.const.v4i32
...
LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main void ([0 x
<4 x i32>] addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, [0 x float]
addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, i32, i32, i32, i32, [0 x <4 x
i32>] addrspace(6)*, i32, i32, i32, i32, i32, i32): unsupported call from
graphics shader of function llvm.SI.load.const.v4i32

LLVM triggered Diagnostic Handler: <unknown>:0:0: in function main void ([0 x
<4 x i32>] addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, [0 x float]
addrspace(6)*, [0 x <8 x i32>] addrspace(6)*, i32, i32, i32, i32, [0 x <4 x
i32>] addrspace(6)*, i32, i32, i32, i32, i32, i32, i32): unsupported call from
graphics shader of function llvm.SI.load.const.v4i32
...
=============================================================


Patch - work. (I remove LIBGL_ALWAYS_SOFTWARE=1 then check)


PS: EXTRAS - if unset in lang/llvm90 then got error:
pkg-static: Unable to access file
/tmp/ports/usr/ports/devel/llvm90/work/stage/usr/local/llvm90/bin/clangd:No
such file or directory

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.