New: rv670 + llvm = errors.
https://bugs.freedesktop.org/show_bug.cgi?id=58666
Priority: medium
Bug ID: 58666
Assignee: [email protected]
Summary: rv670 + llvm = errors.
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: NEW
Version: git
Component: Drivers/DRI/R600
Product: Mesa
I've only just tested this AGP HD3850 card with tstellar LLVM (or any llvm) as it's been out of the PC since Feb.
Both last week and now with updated llvm/mesa gits, running anything eg. gears will just flood -
EE r600_asm.c:122 r600_bytecode_get_num_operands - Need instruction operand number for 0xc.
Works OK with R600_LLVM=0
This was tested with drm-fixes kernel.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
https://bugs.freedesktop.org/show_bug.cgi?id=58666
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/DRI/R600 |Drivers/Gallium/r600
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
--- Comment #1 from Andy Furniss <[email protected]> --- Since mesa commit -
022122ee63b8a00afc23eaa347df934a79fb1d4c
r600g: use tables with ISA info v3
I can run demos without flooding errors, but most of them don't render anything.
The ones that do render something resemble what they should look like are all flawed/distorted eg, "textures" is almost normal but the actual textures are repeated rather than scaled to fit the surfaces.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
--- Comment #2 from Tom Stellard <[email protected]> ---
Can you run one of the demos and post the output with the environment variable R600_DUMP_SHADERS=2
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
--- Comment #3 from Andy Furniss <[email protected]> --- Created attachment 74051
--> https://bugs.freedesktop.org/attachment.cgi?id=74051&action=edit
R600_DUMP_SHADERS=2 ./gears &>gears-dump
R600_DUMP_SHADERS=2 ./gears which doesn't render anything, but appears to be running OK eg. outputting sane fps stats and quitting normally with Esc.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
--- Comment #4 from Tom Stellard <[email protected]> --- Created attachment 74053
--> https://bugs.freedesktop.org/attachment.cgi?id=74053&action=edit
Possible Fix
It looks like we were telling the backend that RV670 is an R700 GPU, when it is really an R600. R600 chips uses a slightly different instruction encoding. This patch should fix it, can you test?
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to comment #4)
Quoted 6 lines
Created attachment 74053 [details]
Possible FixIt looks like we were telling the backend that RV670 is an R700 GPU, when it is really an R600. R600 chips uses a slightly different instruction encoding. This patch should fix it, can you test?
Yes, this fixes it - demos are all OK (well at least the same as my rv790) and a brief run of etqw worked.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 58666] rv670 + llvm = errors.
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=58666
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #6 from Tom Stellard <[email protected]> ---
Fixed by commit 257006e2a4201c11ca5f800a74ac4aaf62a7bfc1
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel