Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52216 - Patch for ati-drivers-3.9.0 to solve memory allocation bug
Summary: Patch for ati-drivers-3.9.0 to solve memory allocation bug
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Luca Barbato
Depends on:
Reported: 2004-05-27 15:03 UTC by Gustavo Ribeiro Alves
Modified: 2004-08-11 23:21 UTC (History)
1 user (show)

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

Patch to ati-drivers 3.9.0 (fglrx-3.9.0-agpmem-2.patch,1.56 KB, patch)
2004-05-27 15:05 UTC, Gustavo Ribeiro Alves
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Ribeiro Alves 2004-05-27 15:03:34 UTC
There's a new patch at rage3d that solve some part of the nwn memory leak problem (as well as reducing kernel complaints about the driver)

Reproducible: Always
Steps to Reproduce:
Comment 1 Gustavo Ribeiro Alves 2004-05-27 15:05:12 UTC
Created attachment 32168 [details, diff]
Patch to ati-drivers 3.9.0
Comment 2 Aric Cyr 2004-05-28 01:25:41 UTC
I am the original creator of this patch, and would just like to say that it has NOT been heavily tested yet.  It is possible that there are side effects that have not be observed yet, and as such it should be used with caution.  On the lighter side though, I have not had any problems with it on my PC yet.
Comment 3 Lukas Miczka 2004-05-28 07:28:18 UTC
I cannot get hardware OpengGL - I get: Incorrect hardware module
My kernel 2.6.6-love4
Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6-love1)
System uname: 2.6.6-love1 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.15
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
FEATURES="autoaddcvs ccache sandbox"
USE="3dnow X aalib alsa apm avi berkdb cdr crypt cups dvd encode esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg lame libg++ libwww mad matroska mikmod mitshm mmx motif mozilla mpeg ncurses net nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcpd tiff truetype x86 xml xml2 xmms xv zlib"
Comment 4 Luca Barbato gentoo-dev 2004-05-28 07:58:22 UTC
cpu is that problem related to that patch?
Comment 5 Lukas Miczka 2004-05-28 08:00:20 UTC
I get this problem with patch and with out it
Comment 6 Luca Barbato gentoo-dev 2004-05-28 08:36:40 UTC
please open another bug about that and try with another kernel source (development-sources) and post (in the other bug the emerge info, the dmesg log and the X log)
Comment 7 Luca Barbato gentoo-dev 2004-06-02 11:45:12 UTC
The fix is on r1 I'm setting the bug as test resolved, I tested it locally and seems to work fine.
Thanks for the fix
Comment 8 Aric Cyr 2004-06-02 20:06:05 UTC
I'm not sure this patch is needed at all.  Please try the driver with:

Option "KernelModuleParm"  "agplock=0"

in your XF86Config, ATI driver section, with the patch not applied.  I think you will find the same results as having the patch applied.  If so, I'd recommend the XF86Config fix over my patch.
Comment 9 Luca Barbato gentoo-dev 2004-08-11 23:21:04 UTC