Skip to contentSkip to conversation

New: texture issues in xonotic with llvm+sb and offset mapping

Bug 66731 [email protected] 1 participant 4 messages Jul 9, 2013 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=66731

Priority: medium
Bug ID: 66731
Assignee: [email protected]
Summary: texture issues in xonotic with llvm+sb and offset
mapping
Severity: minor
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

To reproduce, use:

- xonotic 0.7.0 at lowest detail, with only offset mapping turned on.

- r600g from git, with SB backend and LLVM both turned on. Turning off either
makes the bug disappear (although there are other issues, rensambling z fighting, when only llvm is enabled; not sure if they are related to offset mapping, I'll check later.)

The issue is clearly visible by running any of the demos that come with xonotic. FWIW, other apps (glxgears, gnome-shell, etc.) work just fine.

$gitgl glxinfo | grep str
server glx vendor string: SGI
server glx version string: 1.4
client glx vendor string: Mesa Project and SGI client glx version string: 1.4
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CEDAR OpenGL version string: 2.1 Mesa 9.2.0-devel (git-2923685) OpenGL shading language version string: 1.30

$ llvm-config --version
3.3

Tested with both stock 3.10 kernel from arch linux and the recent dpm-wip5 branch.

Nothing suspicious in dmesg.

May be related to #50230, which was closed as fixed.

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

#1 lore raw

[Bug 66731] texture issues in xonotic with llvm+sb and offset mapping

https://bugs.freedesktop.org/show_bug.cgi?id=66731

--- Comment #1 from Vadim Girlin <[email protected]> --- Created attachment 82247
--> https://bugs.freedesktop.org/attachment.cgi?id=82247&action=edit
shader dump

Looks like it's llvm backend's issue, I'm attaching the dump of the failing shader.

As far as I know, SET_GRADIENTS_x instructions should be in the same TEX clause with SAMPLE_G instructions that use corresponding gradients. SB ignores SET_GRADIENTS_x instructions in separate clauses and this makes the problem more noticeable.

IIRC there was also piglit test failing due to this problem with llvm backend.

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

#2 lore raw

[Bug 66731] texture issues in xonotic with llvm+sb and offset mapping

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=66731

--- Comment #2 from Stefano Teso <[email protected]> --- Thanks for the quick response.

I just wanted to note that the glitch is still there with llvm 3.4 trunk.

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

#3 lore raw

[Bug 66731] texture issues in xonotic with llvm+sb and offset mapping

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=66731

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/447.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel