Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122140 - glx opengl does not work on amd64
Summary: glx opengl does not work on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2006-02-08 08:56 UTC by Igor V. Kovalenko
Modified: 2006-02-12 21:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch against xorg-server portage module (1.0.1-r2 ebuild) with patch file importing fdo5835 bugfix (xorg-server.patch,1.43 KB, patch)
2006-02-08 08:58 UTC, Igor V. Kovalenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor V. Kovalenko 2006-02-08 08:56:44 UTC
glx extension opengl does not work on amd64 and probably other 64bit arches, xorg-server use wrong datatypes compiling glcontextmodes.c imported from Mesa. Common sympthoms include client message "libGL warning: 3D driver claims to not support visual 0x23" etc.

This precludes use of glx extension, resulting in no accelerated opengl support.

Upstream patch for Mesa library regarding this issue is now available.
Please see fdo bugs for details here https://bugs.freedesktop.org/show_bug.cgi?id=5835
Comment 1 Igor V. Kovalenko 2006-02-08 08:58:55 UTC
Created attachment 79238 [details, diff]
patch against xorg-server portage module (1.0.1-r2 ebuild) with patch file importing fdo5835 bugfix
Comment 2 Patrick McLean gentoo-dev 2006-02-08 09:38:30 UTC
I am seeing the problem here on an i810 running on amd64. Will test the fix when get a chance.


-MESA_PV="6.4.1"
+MESA_PV="6.4.2"

Why are you incrementing the version? Unless upstream releases a new version, generally gentoo releases new package revisions for things like this.
Comment 3 Igor V. Kovalenko 2006-02-08 10:09:04 UTC
(In reply to comment #2)
> -MESA_PV="6.4.1"
> +MESA_PV="6.4.2"
> 
> Why are you incrementing the version? Unless upstream releases a new version,
> generally gentoo releases new package revisions for things like this.
> 
It's what I have here; Mesa 6.4.2 is even installed by gentoo mesa package so I thought that would not hurt. xorg-server ebuild would be bumped anyway I think.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-08 16:08:31 UTC
(In reply to comment #3)
> It's what I have here; Mesa 6.4.2 is even installed by gentoo mesa package so I
> thought that would not hurt. xorg-server ebuild would be bumped anyway I think.

The bump is quite irrelevant in a source code sense, but it'll probably change so people don't need to download both tarballs.
Comment 5 Igor V. Kovalenko 2006-02-09 00:30:25 UTC
(In reply to comment #4)
> The bump is quite irrelevant in a source code sense, but it'll probably change
> so people don't need to download both tarballs.
That's my actual intention here. The same is true for mesa-progs package.

Please note that this three-liner patch is somewhat related to security (you can read 4 bytes past server context) and can cause crashes (if those bytes are not in mapped memory)
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2006-02-12 21:34:16 UTC
Fixed in xorg-server-1.0.1-r3, thanks!