New: Xonotic LLVM ERROR
https://bugs.freedesktop.org/show_bug.cgi?id=71285
Priority: medium
Bug ID: 71285
Assignee: [email protected]
Summary: Xonotic LLVM ERROR
Severity: major
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/radeonsi
Product: Mesa
Created attachment 88735
--> https://bugs.freedesktop.org/attachment.cgi?id=88735&action=edit
zipped shader dump
in Xonotic 7.0 several levels return this error after crash
LLVM ERROR: ran out of registers during register allocation
GL_VENDOR: X.OrgGL_RENDERER: Gallium 0.4 on AMD CAPE VERDEGL_VERSION: 3.0 Mesa 10.0.0-devel (git-5ae31d7)
level
maps/stormkeep
attached: shader dump
many thanks for your time
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 71285] Xonotic LLVM ERROR
https://bugs.freedesktop.org/show_bug.cgi?id=71285
Rafael Castillo <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|medium |high
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #88735|text/plain |application/zip
mime type| |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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #1 from Michel Dänzer <[email protected]> --- Which version of LLVM are you using? If it's 3.3, does a 3.4 snapshot work better?
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #2 from Rafael Castillo <[email protected]> --- I use llvm 3.4 daily emerged on gentoo
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #3 from Tom Stellard <[email protected]> --- Could you dump the assembly output from the shaders? Use the environment variable:
R600_DEBUG=ps,vs
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #4 from Rafael Castillo <[email protected]> --- Created attachment 89331
--> https://bugs.freedesktop.org/attachment.cgi?id=89331&action=edit
R600_DEBUG=ps,vs shader dump
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #5 from darkbasic <[email protected]> --- The problem is only with the "offset mapping" effect enabled. Radeonsi (HD 7950) + LLVM 3.4 git + mesa 10.1 git + linux 3.13
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #6 from Rafael Castillo <[email protected]> --- confirmed offset mapping is the culprit
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #7 from Tom Stellard <[email protected]> --- Created attachment 89615
--> https://bugs.freedesktop.org/attachment.cgi?id=89615&action=edit
Work Around
This patch should avoid the crash, but the effect will not be rendered correctly. 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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #8 from Rafael Castillo <[email protected]> --- (In reply to comment #7)
Quoted 5 lines
Created attachment 89615 [details] [review]
Work AroundThis patch should avoid the crash, but the effect will not be rendered correctly. Can you test?
yes ofc, when i reach home tonight ill test it and report back
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #9 from Rafael Castillo <[email protected]> ---
im try to test the patch but currently llvm master don't build claiming missing unistd.h header, so once is fixed ill test the patch
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #89615|0 |1
is obsolete| |
--- Comment #10 from Tom Stellard <[email protected]> --- Created attachment 89805
--> https://bugs.freedesktop.org/attachment.cgi?id=89805&action=edit
Fix
This new patch is an actual fix, not just a workaround. It fixes the crash for me, can you verify?
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #11 from Rafael Castillo <[email protected]> --- sorry for the delay, about your previous patch it worked as you say. ill test this one tonight
many thanks for your time
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #12 from Rafael Castillo <[email protected]> --- well it compiles just fine but since llvm 3.5 xonotic and pepper flash hard reset the GPU. im trying to get a dump of the failure
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #13 from Rafael Castillo <[email protected]> --- Created attachment 89878
--> https://bugs.freedesktop.org/attachment.cgi?id=89878&action=edit
dmesg of gpu hard reset
This with or wthout your patch
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #14 from darkbasic <[email protected]> ---
If you need someone who tests the patch I can switch back to LLVM 3.4, let me know.
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #15 from Arek Ruśniak <[email protected]> --- Rafael try latest libdrm from git. I had the same problem with libdrm 2.4.49
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #16 from Rafael Castillo <[email protected]> --- (In reply to comment #15)
Quoted 1 line
Rafael try latest libdrm from git. I had the same problem with libdrm 2.4.49
thanks, arek
i do use libdrm git but i see that 5 days ago new patches landed and im not sure i pulled them, so i ll re emerge today to be sure and test again
many thanks for your tip
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
--- Comment #17 from Rafael Castillo <[email protected]> ---
ok after updating all my stack to todays git my GPU stopped hard resseting and effectively this patch fixes all xonotic issues.
Many many thanks for your good work tom
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 71285] Xonotic LLVM ERROR
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=71285
Tom Stellard <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #18 from Tom Stellard <[email protected]> --- The fix was committed to the LLVM tree: r195880
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