NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
xsrc/42754: why i915_drm doesn't work
>Number: 42754
>Category: xsrc
>Synopsis: two differing definitions of struct __GLcontextModesRec
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: xsrc-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Feb 06 03:05:00 +0000 2010
>Originator: Jonathan A. Kollasch
>Release: NetBSD 5.0_STABLE 2010-01-17
>Organization:
>Environment:
System: NetBSD siwenna.kollasch.net 5.0_STABLE NetBSD 5.0_STABLE (SIWENNA) #6:
Wed Feb 3 05:39:11 UTC 2010
root%siwenna.kollasch.net@localhost:/local/siwenna/20100117/src/sys/arch/i386/compile/SIWENNA
i386
Architecture: i386
Machine: i386
>Description:
i915_drm.so and libOSmesa.so which at some point come in contact
with each others data structures have differing ideas of
sizeof(GLvisual) and thus a almost-completely-wrong idea of offsets into
and sizeof(GLcontext). This leads to things like glxinfo dumping core.
gdb shows sizeof(GLvisual) as 188 in libOSmesa.so, and 208 in i915_drm.so.
I believe the larger definition of GLvisual comes from glproto's glcore.h,
the smaller from MesaLib's mtypes.h.
>How-To-Repeat:
build.sh release netbsd-5, run glxinfo on a i915drm(4)-enabled kernel
and hardware.
>Fix:
Figure out the right header file to use where.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index