Skip to contentSkip to conversation

KMS/R200: CS section size missmatch start at (r200_state_init.c,tex_emit_mm,703) 5 vs 9

Bug 25544 [email protected] 1 participant 15 messages Feb 28, 2010 – Nov 30, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

http://bugs.freedesktop.org/show_bug.cgi?id=25544

--- Comment #6 from Alan Swanson <[email protected]> 2010-02-28 08:01:51 PST --- Created an attachment (id=33643)
--> (http://bugs.freedesktop.org/attachment.cgi?id=33643)
drm_r200_disable_texture_check.patch

Until R200 fake texture enable is supported by CS checker, R200 users can just disable texture checking with attached patch to actually have working 3D.

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

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
#2 lore raw
In reply to a message not in the archive

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

Alan Swanson <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #7 from Alan Swanson <[email protected]> 2010-10-26 12:03:21 PDT --- *** Bug 31138 has been marked as a duplicate of this bug. ***

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
In reply to a message not in the archive

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

--- Comment #8 from Daniel Richard G. <[email protected]> 2010-10-26 12:41:59 PDT --- Alan, can texture checking be disabled for R200 in production code? Building a patched kernel module isn't a feasible option for most users, and the effect of this bug is to make the 3D hardware basically unusable.

Was this same checking even done in the past? Before all the KMS upheaval, the R200 driver was rock-solid. (R200 was, I believe, the last Radeon release to have full 3D specs before the long dry spell that only recently ended.)

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 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

Alan Swanson <[email protected]> changed:

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

            Summary|KMS/R200: CS section size   |KMS/R200: No texture bound
                   |missmatch start at          |to unit 1
                   |(r200_state_init.c,tex_emit |
                   |_mm,703) 5 vs 9             |

--- Comment #9 from Alan Swanson <[email protected]> 2010-10-26 13:04:11 PDT --- Not as far as I'm aware unfortunately. Texture checking came in with the KMS rewrite IIRC.

(Updated bug summary to match problem.)

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 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #10 from Daniel Richard G. <[email protected]> 2010-10-26 13:46:12 PDT --- I'm looking at r100_cs_track_texture_check() in linux-2.6.36/drivers/gpu/drm/radeon/r100.c (starting at line 3217). What if instead of an unconditional return, you were to do e.g.

    /* XXX: Disable texture check until R200 fake texture enable supported */
    if (rdev->family == CHIP_R200)
        return 0;

? Other parts of that function are already conditionalized based on chipset.

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.
#6 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

Alex Deucher <[email protected]> changed:

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

  Attachment #33643|0                           |1

is obsolete| |

--- Comment #11 from Alex Deucher <[email protected]> 2010-10-26 14:21:18 PDT --- Created an attachment (id=39799)
View: https://bugs.freedesktop.org/attachment.cgi?id=39799
Review: https://bugs.freedesktop.org/review?bug=25544&attachment=39799

fix the drm CS checker

This patch should fix the issue. Please test and I'll get it upstream and into stable.

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.
#7 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #12 from Nicholas Miell <[email protected]> 2010-10-26 18:31:21 PDT --- I've tested the patch and it works. Thanks.

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.
#8 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

Alex Deucher <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #13 from Alex Deucher <[email protected]> 2010-10-26 22:03:19 PDT --- I've sent the patch to Dave for upstream inclusion.

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.
#9 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #14 from Daniel Richard G. <[email protected]> 2010-10-26 22:36:23 PDT --- Confirmed here too! gltron now runs perfectly, as does OpenArena. Thank you, Alex, for pouncing on this one.

There's now a GPU-lockup problem (that existed before this fix) that I've reported as bug #31150.

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.
#10 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #15 from madbiologist <[email protected]> 2010-11-02 06:31:49 PDT --- This fix has been released in kernel 2.6.37-rc1, and queued for stable.

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.
#11 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #16 from [email protected] 2010-11-30 08:04:23 PST --- I would like to know how I can get this resolved as well. I am having all the same issues with a R100, I have tried running the latest kernel from Ubuntu reps. 2.6.37 rc3. I do not really know how to incorporate the attached patch that you have said resolved the issue. Any help is greatly appreciated.

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.
#12 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #17 from Alex Deucher <[email protected]> 2010-11-30 08:35:02 PST --- (In reply to comment #16)

Quoted 4 lines

I would like to know how I can get this resolved as well. I am having all the same issues with a R100, I have tried running the latest kernel from Ubuntu reps. 2.6.37 rc3. I do not really know how to incorporate the attached patch that you have said resolved the issue. Any help is greatly appreciated.

The patch is not relevant to r100. If you are seeing the same symptom on r1xx, you are seeing a different issue. Please open a new bug and include the drm error messages and information about how to reproduce the issue.

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.
#13 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #18 from Roland Scheidegger <[email protected]> 2010-11-30 08:58:22 PST --- (In reply to comment #17)

Quoted 9 lines

(In reply to comment #16)

Quoted 4 lines

I would like to know how I can get this resolved as well. I am having all the same issues with a R100, I have tried running the latest kernel from Ubuntu reps. 2.6.37 rc3. I do not really know how to incorporate the attached patch that you have said resolved the issue. Any help is greatly appreciated.

The patch is not relevant to r100. If you are seeing the same symptom on r1xx, you are seeing a different issue. Please open a new bug and include the drm error messages and information about how to reproduce the issue.

I think one issue the r100 texture tracking still has is that the tex_coord_type is not reset to 0 if a 2d texture is used after a cube map (only reset after a clear). Not sure if that's the issue here though...

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.
#14 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #19 from Daniel Richard G. <[email protected]> 2010-11-30 09:02:31 PST --- (In reply to comment #17)

Quoted 4 lines

The patch is not relevant to r100. If you are seeing the same symptom on r1xx, you are seeing a different issue. Please open a new bug and include the drm error messages and information about how to reproduce the issue.

I would also point out that 2.6.37rc3 already has Alex's fix for this issue.

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.
#15 lore raw

[Bug 25544] KMS/R200: No texture bound to unit 1

In reply to a message not in the archive

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

--- Comment #20 from Jared Clark <[email protected]> 2010-11-30 11:30:02 PST --- Thank you for your prompt comments. Since it looks like I am dealing with a persistent bug on the R100, even using the latest from the xorg-edgers PPA and the 2.6.37-rc3, I will submit a new bug ticket with hopefully the important details.

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.