Bug 55944 - glide-v3: libglide3 bug when compiled with USE="3dnow"
|
Bug#:
55944
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P3
|
|
Resolution: FIXED
|
Assigned To: x11-drivers@gentoo.org
|
Reported By: ornati@fastwebnet.it
|
|
Component: Library
|
|
|
URL:
|
|
Summary: glide-v3: libglide3 bug when compiled with USE="3dnow"
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-07-03 02:17 0000
|
Trying to get DRI working I have compiled "glide-v3" package (with
USE="3dnow"). Now see what happens:
$ export LIBGL_DEBUG="verbose"
$ 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'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="-3dnow" emerge glide-v3
Without "3dnow" it works fine, so this isn't a big problem ;-)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
I shall search the ever-active glide lists for something relating to this.
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.
I have similar issues, except USE="-3dnow" does not work for me.
With USE="3dnow":
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'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="-3dnow":
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'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'd prefer to use that rather than the download from SF, until the build issues are resolved.
comment #5 should help with resolving this, upgrading urgency.
I'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="verbose"
$ glxinfo
...
libGL error:
can'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't we just disable "3dnow" as a temporary workaround?
Did this ever work for anyone?
(In reply to comment #8)
> Did this ever work for anyone?
I've never seen it working with USE="3dnow".
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'm really not sure how the breakage could occur...
(In reply to comment #10)
>
> Paolo: just to confirm: you sure you copied the whole patch? I had a look
> through it and I'm really not sure how the breakage could occur...
I'm sure. The patch applied cleanly unless the "Glide3.spec" part,
since there is no such file in the source...
At home I'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="-3dnow".
Looks like there's still something broken about this. Two years and a half
later :-(