Skip to contentSkip to conversation

New: setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

Bug 39119 [email protected] 1 participant 6 messages Jul 10, 2011 – Jul 31, 2011

lore
Share & tools
lore
#0 lore raw

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

Summary: setting SQ_LDS_RESOURCE_MGMT register to zero in other
applications muddles up font rendering permanently
Product: DRI
Version: XOrg 6.7.0
Platform: x86-64 (AMD64)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: DRM/Radeon
AssignedTo: [email protected]
ReportedBy: [email protected]

Created an attachment (id=48938)
--> (https://bugs.freedesktop.org/attachment.cgi?id=48938)
a screenshot of how the fonts look after

setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently, so permanently that not even X reset, or GPU softreset helped the issue after it happaned.

In order to do GPGPU thing, I need to set this register, so this bug pretty much kills any chance that I do GPGPU and X on the same GPU.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

[Bug 39119] setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

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

--- Comment #1 from Dave Airlie <[email protected]> 2011-07-10 13:38:04 PDT --- Created an attachment (id=48939)
View: https://bugs.freedesktop.org/attachment.cgi?id=48939
Review: https://bugs.freedesktop.org/review?bug=39119&attachment=48939

attempted fix.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

[Bug 39119] setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

In reply to [email protected]

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

--- Comment #2 from Adam Rak <[email protected]> 2011-07-10 14:33:37 PDT --- If I set the pixel shader part (lower 16 bits) of the register to 0x1000 in my code, than it works perfectly with X, so this patch should work, but what about mesa?

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 39119] setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

In reply to [email protected]

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

--- Comment #3 from Alex Deucher <[email protected]> 2011-07-10 16:12:37 PDT --- Created an attachment (id=48944)
View: https://bugs.freedesktop.org/attachment.cgi?id=48944
Review: https://bugs.freedesktop.org/review?bug=39119&attachment=48944

fix r600g

emit SQ_LDS_RESOURCE_MGMT in r600g.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 39119] setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

In reply to [email protected]

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

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Alex Deucher <[email protected]> 2011-07-12 09:09:59 PDT --- Pushed the patches and also sent out drm blit patch.

http://cgit.freedesktop.org/mesa/mesa/commit/?id=5d0d8366f9ab0ca4c52eb927ab476953daa77f1e

http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=e8d0d437957b15252dfad775796a3949ed50dbcf

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

[Bug 39119] setting SQ_LDS_RESOURCE_MGMT register to zero in other applications muddles up font rendering permanently

In reply to [email protected]

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

--- Comment #5 from Florian Mickler <[email protected]> 2011-07-31 11:46:20 PDT --- A patch referencing this bug report has been merged in Linux v3.0:

commit c61d0af9131976db150c40996a71387ba59edb67

Author: Alex Deucher <[email protected]>
Date:   Tue Jul 12 11:53:23 2011 -0400

drm/radeon/kms/evergreen: emit SQ_LDS_RESOURCE_MGMT for blits

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.