<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>25598</bug_id>
          
          <creation_ts>2003-07-30 17:29 0000</creation_ts>
          <short_desc>xfree-drm on iBook2 with rage128</short_desc>
          <delta_ts>2006-02-04 06:03:52 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>pylon@gentoo.org</reporter>
          <assigned_to>ppc@gentoo.org</assigned_to>
          <cc>dberkholz@gentoo.org</cc>
    
    <cc>trance@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-07-30 17:29:32 0000</bug_when>
            <thetext>I found out, that the last running version of xfree-drm on my iBook2 with a
rage128 is the -r2.  The -r3 and -r6 produce a lot of &quot;(EE) R128(0): Idle timed
out, resetting engine...&quot; in the XFree-log and slows down XFree horribly.

Where to fix that, I can&apos;t see.  But maybe spyderous as the xfree-drm maintainer
can take care of it?  So he is in Cc.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2003-07-30 23:15:49 0000</bug_when>
            <thetext>I was hoping -r6 would work (r3-5 are broken in various other ways also). I just committed one of Luca&apos;s fixes to -r6 a couple of days ago specifically to fix r128 issues (28 July). 

Luca?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-07-31 07:05:47 0000</bug_when>
            <thetext>Today I noticed, I have this odd problem that the kernel crashes, when I end an X-Session.  I&apos;m not sure, but I think this is also a problem of xfree-drm, because this problem didn&apos;t occur befor upgrading the driver.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2003-08-04 14:42:01 0000</bug_when>
            <thetext>I&apos;m just back, could you tell me something more please (like the snips of dmesg and/or the XFree86 logs) ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2003-08-11 22:52:40 0000</bug_when>
            <thetext>Committed a fix from Luca. Please confirm that it works.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-08-13 16:39:46 0000</bug_when>
            <thetext>Stupid thing.

As Luca fixed my system locally, everything works fine.  But after emerging the xfree-drm-r6 with Luca&apos;s patch, it is again slow.  Luca, did you changed something more than the timeout?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2003-08-15 14:14:08 0000</bug_when>
            <thetext>I just changed that line and nothing more

it still complains about timeouts?

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-08-17 15:10:55 0000</bug_when>
            <thetext>It still doesn&apos;t work.  I found a bugreport on xfree that describes this problem: http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=271

Maybe I can find a solution with the help of this bug...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-08-17 17:48:32 0000</bug_when>
            <thetext>The DRM-stuff will be initialized when the r128 module doesn&apos;t depend on the agpgart module.  So loading r128 before X starts will quit the idle timeouts.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wuf_@hotmail.com</who>
            <bug_when>2003-10-15 22:38:17 0000</bug_when>
            <thetext>Well, I have the most up-to-date version and such, with no agpgart module,
but r128 still gives idle timeouts. I don&apos;t know what to do. I have a rage
128 pro with 8 megabytes...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lu_zero@gentoo.org</who>
            <bug_when>2003-10-16 06:51:18 0000</bug_when>
            <thetext>in Donnie&apos;s webspace there is a newer drm that may or may not improve the
situation, please check and report back.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trance@gentoo.org</who>
            <bug_when>2003-10-16 09:51:16 0000</bug_when>
            <thetext>Created an attachment (id=19324)
XF86Config-4 for ibook2 R128
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trance@gentoo.org</who>
            <bug_when>2003-10-16 09:59:40 0000</bug_when>
            <thetext>Follow the xfree-drm guide located at http://www.gentoo.org/doc/en/dri-howto.xml
to get the basics setup, when done, modify your /etc/X11/XF86Config-4 file
and make sure you have the following in your configuration:

Section &quot;Device&quot;
  Option       &quot;usefbdev&quot;
  Option       &quot;ForcePCIMode&quot;
  Option       &quot;AGPMode&quot; &quot;2&quot;

You&apos;ll need the standard parts already there, but without the above added

I was always getting timeouts as well.

I&apos;ve attached my config file which I use on my iBook2/500
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2003-10-16 10:32:40 0000</bug_when>
            <thetext>Kevyn, have you tested to see which of those three options actually has an
effect on the timeouts?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>trance@gentoo.org</who>
            <bug_when>2003-10-16 11:57:48 0000</bug_when>
            <thetext>yes specifically it needs:

Section &quot;Device&quot;
  Option       &quot;usefbdev&quot;
  Option       &quot;ForcePCIMode&quot;

I forgot to remove the AGPMode statement. heh. That does other things but
not required for 128 drm to work.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pylon@gentoo.org</who>
            <bug_when>2003-12-04 16:43:30 0000</bug_when>
            <thetext>Time passed away, my iBook has been to repair for two months and after that I set up Gentoo completely new.

xfree-drm-4.3.0-r6 is now running with our ppc-2.6.0-test11-kernel and agpgart enabled.

I&apos;ll resolve the bug to invalid.  Nevertheless thanks for your help! :-)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>19324</attachid>
            <date>2003-10-16 09:51 0000</date>
            <desc>XF86Config-4 for ibook2 R128</desc>
            <filename>XF86Config-4</filename>
            <type>text/plain</type>
            <data encoding="base64">U2VjdGlvbiAiRmlsZXMiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMv
NzVkcGk6dW5zY2FsZWQiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMv
bG9jYWwiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvbWlzYzp1bnNj
YWxlZCIKICBGb250UGF0aCAgICAgIi91c3IvWDExUjYvbGliL1gxMS9mb250cy83NWRwaTp1bnNj
YWxlZCIKICBGb250UGF0aCAgICAgIi91c3IvWDExUjYvbGliL1gxMS9mb250cy8xMDBkcGk6dW5z
Y2FsZWQiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvVHlwZTEiCiAg
Rm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9udHMvVVJXIgogIEZvbnRQYXRoICAg
ICAiL3Vzci9YMTFSNi9saWIvWDExL2ZvbnRzL1NwZWVkbyIKICBGb250UGF0aCAgICAgIi91c3Iv
WDExUjYvbGliL1gxMS9mb250cy9QRVgiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9Y
MTEvZm9udHMvY3lyaWxsaWMiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9YMTEvZm9u
dHMvbGF0aW4yL21pc2M6dW5zY2FsZWQiCiAgRm9udFBhdGggICAgICIvdXNyL1gxMVI2L2xpYi9Y
MTEvZm9udHMvbGF0aW4yLzc1ZHBpOnVuc2N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gICAgICJEZXZpY2VbMF0iCiAgSWRl
bnRpZmllciAgICJTY3JlZW5bMF0iCiAgTW9uaXRvciAgICAgICJNb25pdG9yWzBdIgpFbmRTZWN0
aW9uCgpTZWN0aW9uICJEZXZpY2UiCiAgQnVzSUQgICAgICAgICIwOjE2OjAiCiAgRHJpdmVyICAg
ICAgICJyMTI4IgogIElkZW50aWZpZXIgICAiRGV2aWNlWzBdIgogIE9wdGlvbiAgICAgICAiZHBt
cyIKICBPcHRpb24gICAgICAgInVzZWZiZGV2IgogIE9wdGlvbiAgICAgICAiRm9yY2VQQ0lNb2Rl
IgogIE9wdGlvbiAgICAgICAiQUdQTW9kZSIgIjIiCiAgU2NyZWVuICAgICAgIDAKRW5kU2VjdGlv
bgoKU2VjdGlvbiAiU2VydmVyTGF5b3V0IgogIElkZW50aWZpZXIgICAiTGF5b3V0W2FsbF0iCiAg
SW5wdXREZXZpY2UgICJLZXlib2FyZFswXSIgIkNvcmVLZXlib2FyZCIKICBJbnB1dERldmljZSAg
Ik1vdXNlWzFdIiAiQ29yZVBvaW50ZXIiCiAgT3B0aW9uICAgICAgICJDbG9uZSIgIm9mZiIKICBP
cHRpb24gICAgICAgIlhpbmVyYW1hIiAib2ZmIgogIFNjcmVlbiAgICAgICAiU2NyZWVuWzBdIgpF
bmRTZWN0aW9uCgpTZWN0aW9uICJEUkkiCiAgICBHcm91cCAgICAgICJ2aWRlbyIKICAgIE1vZGUg
ICAgICAgMDY2NgpFbmRTZWN0aW9uCgo=
</data>        

          </attachment>
    </bug>

</bugzilla>