<?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>55944</bug_id>
          
          <creation_ts>2004-07-03 02:17 0000</creation_ts>
          <short_desc>glide-v3: libglide3 bug when compiled with USE=&quot;3dnow&quot;</short_desc>
          <delta_ts>2006-01-28 01:35:00 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>Library</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ornati@fastwebnet.it</reporter>
          <assigned_to>x11-drivers@gentoo.org</assigned_to>
          <cc>chrisp@tangent.co.za</cc>
    
    <cc>christopher@currie.com</cc>
    
    <cc>phosphan@gentoo.org</cc>
    
    <cc>plasmagunman@users.sourceforge.net</cc>

      

      
          <long_desc isprivate="0">
            <who>ornati@fastwebnet.it</who>
            <bug_when>2004-07-03 02:17:12 0000</bug_when>
            <thetext>Trying to get DRI working I have compiled &quot;glide-v3&quot; package (with USE=&quot;3dnow&quot;). Now see what happens:

$ export LIBGL_DEBUG=&quot;verbose&quot;
$ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
drmOpenByBusid: busid is PCI:1:0:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:0:0
libGL error:
can&apos;t find Glide library, dlopen(libglide3-v3.so) and dlopen(libglide3.so.3) both failed.
libGL error:
dlerror() message: /usr/lib/libglide3.so.3: undefined symbol: _trisetup_3DNow_win_nocull_valid


WorkAround:
$ USE=&quot;-3dnow&quot; emerge glide-v3

Without &quot;3dnow&quot; it works fine, so this isn&apos;t a big problem ;-)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>battousai@gentoo.org</who>
            <bug_when>2004-07-03 14:45:53 0000</bug_when>
            <thetext>I shall search the ever-active glide lists for something relating to this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>folken@chaostreff.ch</who>
            <bug_when>2004-07-08 05:56:49 0000</bug_when>
            <thetext>I have the exact same issue. However I have not set the 3dnow flag as the  P3 Processors do not support it. The system is a dual processor system, so that might also be an issue.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>christopher@currie.com</who>
            <bug_when>2004-09-06 21:22:58 0000</bug_when>
            <thetext>I have similar issues, except USE=&quot;-3dnow&quot; does not work for me.

With USE=&quot;3dnow&quot;:

ccurrie@davinci ~/glide3x $ glxinfo
name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
drmOpenByBusid: busid is PCI:1:5:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:5:0
libGL error:
can&apos;t find Glide library, dlopen(libglide3-v5.so) and dlopen(libglide3.so.3)
both failed.
libGL error: dlerror() message: /usr/lib/libglide3.so.3: undefined symbol:
_grDrawTriangles_3DNow


and with USE=&quot;-3dnow&quot;:
ccurrie@davinci ~/glide3x $ glxinfo name of display: :0.0
libGL: XF86DRIGetClientDriverName: 1.0.0 tdfx (screen 0)
libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/tdfx_dri.so
drmOpenByBusid: busid is PCI:1:5:0
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports PCI:1:5:0
libGL error:
can&apos;t find Glide library, dlopen(libglide3-v5.so) and dlopen(libglide3.so.3) both failed.
libGL error:
dlerror() message: /usr/lib/libglide3.so.3: undefined symbol: _drawvertexlist


Workaround:
Download pre-compiled libglide3.so from glide.sourceforge.net.


Aside: What needs to happen to get a precompiled Gentoo package of glide-v3? I&apos;d prefer to use that rather than the download from SF, until the build issues are resolved.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>medevil84@gmail.com</who>
            <bug_when>2004-11-21 15:28:29 0000</bug_when>
            <thetext>searching on google i found this:
http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg02066.html

maybe it helps...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>chrisp@tangent.co.za</who>
            <bug_when>2005-05-24 08:10:25 0000</bug_when>
            <thetext>This link may also provide some hints

https://www.redhat.com/archives/fedora-extras-commits/2005-May/msg00005.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2005-09-07 09:22:23 0000</bug_when>
            <thetext>comment #5 should help with resolving this, upgrading urgency.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ornati@fastwebnet.it</who>
            <bug_when>2005-09-07 11:18:03 0000</bug_when>
            <thetext>I&apos;ve tried the patch at:
https://www.redhat.com/archives/fedora-extras-commits/2005-May/msg00005.html


Now I get a new error:

$ export LIBGL_DEBUG=&quot;verbose&quot;
$ glxinfo
...
libGL error: 
can&apos;t find Glide library, dlopen(libglide3-v3.so) and dlopen(libglide3.so.3)
both failed.
libGL error: 
dlerror() message: /usr/lib/libglide3.so.3: undefined symbol: _grDrawTriangles_3DNow
...


Can&apos;t we just disable &quot;3dnow&quot; as a temporary workaround?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2005-09-07 17:05:16 0000</bug_when>
            <thetext>Did this ever work for anyone?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ornati@fastwebnet.it</who>
            <bug_when>2005-09-14 01:02:35 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; Did this ever work for anyone?

I&apos;ve never seen it working with USE=&quot;3dnow&quot;.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>joshuabaergen@gentoo.org</who>
            <bug_when>2005-09-14 19:18:59 0000</bug_when>
            <thetext>Alright, I agree then that removing the USE-flag for 3dnow is best for the time
being.

Paolo: just to confirm: you sure you copied the whole patch?  I had a look
through it and I&apos;m really not sure how the breakage could occur...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ornati@fastwebnet.it</who>
            <bug_when>2005-09-14 23:34:46 0000</bug_when>
            <thetext>(In reply to comment #10)
&gt; 
&gt; Paolo: just to confirm: you sure you copied the whole patch?  I had a look
&gt; through it and I&apos;m really not sure how the breakage could occur...

I&apos;m sure. The patch applied cleanly unless the &quot;Glide3.spec&quot; part,
since there is no such file in the source...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>phosphan@gentoo.org</who>
            <bug_when>2005-12-16 13:28:35 0000</bug_when>
            <thetext>At home I&apos;ve got an old machine with voodoo3 chipset. According to the X server log DRI is just fine, but according to glxinfo and the speed of tuxracer it does not work. The problem is gone if I emerge glide-v3 with USE=&quot;-3dnow&quot;. Looks like there&apos;s still something broken about this. Two years and a half later :-(</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2006-01-28 01:35:00 0000</bug_when>
            <thetext>Removed 3dnow USE flag.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>