Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36743 - ati-drivers-3.7.0 ebuild
Summary: ati-drivers-3.7.0 ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo X packagers
URL: http://wedge.xwlegacy.net/ati-drivers...
Whiteboard:
Keywords: EBUILD
: 41125 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-29 10:21 UTC by Alex Plank
Modified: 2004-02-11 10:46 UTC (History)
1 user (show)

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


Attachments
Ebuild (ati-drivers-3.7.0.ebuild,4.49 KB, application/octet-stream)
2003-12-29 10:23 UTC, Alex Plank
Details
Fix of use qt problem (fglrx-qt-panel.patch,2.12 KB, patch)
2003-12-29 11:50 UTC, Alex Plank
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Plank 2003-12-29 10:21:06 UTC
ati-drivers-3.7.0 ebuild  created by wedge, ( Building with USE="qt" doesnt work yet)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Alex Plank 2003-12-29 10:23:08 UTC
Created attachment 22803 [details]
Ebuild
Comment 2 Alex Plank 2003-12-29 11:15:09 UTC
must emerge with USE="-qt" so far
Comment 3 Alex Plank 2003-12-29 11:50:17 UTC
Created attachment 22811 [details, diff]
Fix of use qt problem

From wedge_:
The sources for the control panel are normally placed in /usr/src/ATI, although
this isn't true when using an ebuild. However,
"/usr/Xserver/hw/xfree86/drivers/fglrx/Radeon_extension_tvout.h" doesn't exist
on my system and the file isn't contained in the tarball either as far as I can
see Anyway, the ebuild now applies a little patch which fixes it, and the
control panel seems to work (for what it's worth, it hasn't been updated). I've
uploaded the new ebuild, and you'll also need to download this file and place
it in /usr/local/portage/media-video/ati-drivers/files.
Comment 4 Alex Plank 2003-12-29 16:08:31 UTC
When will this be committed to portage?

See also, http://forums.gentoo.org/viewtopic.php?t=54793&postdays=0&postorder=asc&start=1125
Comment 5 Luca Barbato gentoo-dev 2003-12-29 16:55:23 UTC
give me the time to take a look and test it a bit, wedge thank you
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-29 17:31:38 UTC
Done with some cleanups, thanks.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2003-12-29 17:32:01 UTC
Err, lu, check your mail.
Comment 8 Marcelo Borges Ribeiro 2004-01-11 05:49:39 UTC
I tried this new ati-driver with kernel 2.6.1 but this ebuild tries to emerge kernel 2.4.x. After installed with kernel 2.6.1 (I injected kernel 2.4.x in order to ebuild) I lost 3d accel. and I got this message in Xfree.log:
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe18c1000
(II) fglrx(0): [drm] mapped SAREA 0xe18c1000 to 0x4008b000
(II) fglrx(0): [drm] framebuffer handle = 0xe0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):     Name: fglrx
(II) fglrx(0):     Version: 3.2.8
(II) fglrx(0):     Date: Sep 21 2003
(II) fglrx(0):     Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):     Build-Kernel UTS_RELEASE:        2.6.1
(II) fglrx(0):     Build-Kernel MODVERSIONS:        no
(II) fglrx(0):     Build-Kernel __SMP__:            no
(II) fglrx(0):     Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0xbf800000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0): cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0): [drm] unmapping 8192 bytes of SAREA 0xe18c1000 at 0x4008b000
(WW) fglrx(0): ***********************************************
(WW) fglrx(0): * DRI initialization failed!                  *
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx(0): * 2D acceleraton available (MMIO)             *
(WW) fglrx(0): * no 3D acceleration available                *
(WW) fglrx(0): ********************************************* *

and in dmesg:


request_module: failed /sbin/modprobe -- char-major-226-0. error = 256
Linux agpgart interface v0.100 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 432 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 compat mode at 0000:00:00.0
agpgart: Detected Via Apollo KT400 chipset
agpgart: unable to determine aperture size.
[fglrx:firegl_unlock] *ERROR* Process 5036 using kernel context 0
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x1000000
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
request_module: failed /sbin/modprobe -- net-pf-5. error = 256
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x1000000
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
atkbd.c: Unknown key released (translated set 2, code 0x7a on isa0060/serio0).
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected a Via Apollo KT400 chipset in AGP v2 compat mode at 0000:00:00.0
agpgart: Detected Via Apollo KT400 chipset
agpgart: unable to determine aperture size.
[fglrx:firegl_unlock] *ERROR* Process 5498 using kernel context 0

I used vmalloc patch in previous version and it worked fine (and ati's agpgart, not kernel's)
Comment 9 Luca Barbato gentoo-dev 2004-01-12 18:30:31 UTC
the ati-drivers-3.7.0 have a memory leak, you won't like to use it for the sake of your system stability.

- there is an ebuild in portage but is hardmasked for that reason.

please WAIT for an updated driver and stick with the 3.2.8  for now
Comment 10 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-11 10:46:44 UTC
*** Bug 41125 has been marked as a duplicate of this bug. ***