Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200140 - Please add x11-drivers/ati-catalyst-7.11
Summary: Please add x11-drivers/ati-catalyst-7.11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: X11 External Driver Maintainers
URL: http://www2.ati.com/drivers/linux/cat...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2007-11-24 00:22 UTC by Peter Alfredsen (RETIRED)
Modified: 2007-11-26 15:21 UTC (History)
5 users (show)

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


Attachments
ati-catalyst.tar.bz2 (ati-catalyst.tar.bz2,23.30 KB, application/octet-stream)
2007-11-24 00:23 UTC, Peter Alfredsen (RETIRED)
Details
ati.diff (ati.diff,8.34 KB, patch)
2007-11-24 00:24 UTC, Peter Alfredsen (RETIRED)
Details | Diff
ati-catalyst-7.11.ebuild (ati-catalyst-7.11.ebuild,16.73 KB, text/plain)
2007-11-24 00:26 UTC, Peter Alfredsen (RETIRED)
Details
ati-powermode.sh.who.patch (ati-powermode.sh.who.patch,1002 bytes, text/plain)
2007-11-24 00:27 UTC, Peter Alfredsen (RETIRED)
Details
ati-catalyst-smp-sleep-fix.patch (ati-catalyst-smp-sleep-fix.patch,836 bytes, text/plain)
2007-11-24 00:28 UTC, Peter Alfredsen (RETIRED)
Details
ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch (ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch,802 bytes, text/plain)
2007-11-24 00:30 UTC, Peter Alfredsen (RETIRED)
Details
ati-catalyst-x86_64-warnings.patch (ati-catalyst-x86_64-warnings.patch,1.21 KB, text/plain)
2007-11-24 00:31 UTC, Peter Alfredsen (RETIRED)
Details
ati-catalyst-firegl-pci-id-hack-hack-hack.patch (ati-catalyst-firegl-pci-id-hack-hack-hack.patch,2.68 KB, text/plain)
2007-11-24 00:32 UTC, Peter Alfredsen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:22:15 UTC
While others have produced an ebuild for the ATI catalyst 7.11 drivers that will compile in bug 200081, I believe that this ebuild is a better choice for the new binary drivers from ATI. I will try to explain why:

/Name change
Though ati-drivers-8.42.3 was compatible with xorg-server-1.4, that version is unlikely to ever be stabled. This therefore presents us with a unique opprtunity to make a "clean break" with the old name and versioning scheme. Any temporary fix to the versioning scheme would be only a band-aid. New xorg-servers will depend on ati-catalyst and the upgrade to ati-catalyst will happen as part of the upgrade to the new xorg-server.

/Bug fixes
This ebuild solves:

bug 197378 (x11-drivers/ati-drivers depend on libXrandr)
An easy addition of one line.

bug 199146 (x11-drivers/ati-drivers support for debug output)
The other ebuilds purport to solve this, but don't. They're missing a dir in their sed. Also, this ebuild uses the same coding as the rest of the ebuild to solve it.
Tested and working.

bug 197470 (x11-drivers/ati-drivers-8.40.4: ati-powermode.sh doesn't work)
Tested patch from bug. Working.
patch: ati-powermode.sh.who.patch

bug 196684 (x11-drivers/ati-drivers resume broken with 2.6.23 due to renamed config option)
I have made a patch that actually solves this problems for kernels < 2.6.23 too. Works for me, but not tested, since I have a non-SMP system.
patch: ati-catalyst-smp-sleep-fix.patch

Fix wannabe-bug where a QA warning would appear about TEXTRELS in glesx.so.

/New features

Working warnings patch. Split up the warnings patch into two.
 patch: ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch
 Fixes "'firegl_smp_func_parameter_wrap' defined but not used" in a way that works and doesn't disable features on SMP systems.
 patch: ati-catalyst-x86_64-warnings.patch
 Fixes warnings on x86_64. Dropped the chunk with "firegl_interrupt_poll_wrap" because it was causing warnings on x86 systems, also seemed incorrect.

New (very experimental) fireglhack use flag that enables users of FireGL cards to use the ati-catalyst drivers. Since we know that there were FireGL beta-testers who tried the drivers and since phoronix FireGL users have reported succes using them, this will probably be a worst-case scenario of a bad user experience. Nevertheless, apart from enabling the use flag, users will have to pass BREAKMYCOMPUTER="yes" to the emerge command to succesfully emerge ati-catalyst with that use flag, like so:
BREAKMYCOMPUTER="yes" emerge ati-catalyst


Reproducible: Always
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:23:50 UTC
Created attachment 136821 [details]
ati-catalyst.tar.bz2

A .tar.bz2 archive of the entire thing. Broken-out to follow.
Comment 2 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:24:59 UTC
Created attachment 136822 [details, diff]
ati.diff

diff to ati-drivers-8.42.3
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:26:10 UTC
Created attachment 136824 [details]
ati-catalyst-7.11.ebuild

Ebuild as a whole.
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:27:25 UTC
Created attachment 136825 [details]
ati-powermode.sh.who.patch

This fixes bug 197470
goes in ${FILESDIR}
Comment 5 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:28:48 UTC
Created attachment 136826 [details]
ati-catalyst-smp-sleep-fix.patch

Fixes bug 196684
goes in ${FILESDIR}/${PV}
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:30:14 UTC
Created attachment 136827 [details]
ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch

Fixes 'firegl_smp_func_parameter_wrap' defined but not used
goes in ${FILESDIR}/${PV}
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:31:32 UTC
Created attachment 136829 [details]
ati-catalyst-x86_64-warnings.patch

Fixes warnings on x86_64
goes in ${FILESDIR}/${PV}
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-24 00:32:26 UTC
Created attachment 136830 [details]
ati-catalyst-firegl-pci-id-hack-hack-hack.patch

Allows FireGL users to try out the driver unofficially.
goes in ${FILESDIR}/${PV}
Comment 9 Bernd Steinhauser 2007-11-25 13:29:00 UTC
(In reply to comment #6)
> Created an attachment (id=136827) [edit]
> ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch
> 
> Fixes 'firegl_smp_func_parameter_wrap' defined but not used
> goes in ${FILESDIR}/${PV}
> 

Is this only to fix a warning?

Jakub could you mark this as being a dup of 200081?
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2007-11-25 13:51:30 UTC
(In reply to comment #9)
> (In reply to comment #6)
> > Created an attachment (id=136827) [edit]
> > ati-catalyst-firegl_smp_func_parameter_wrap-warning.patch
> > 
> > Fixes 'firegl_smp_func_parameter_wrap' defined but not used
> > goes in ${FILESDIR}/${PV}
> > 
> 
> Is this only to fix a warning?

Actually it's to fix the warnings patch from bug 187015 which has made it so far with all the other ebuilds. It can be dropped with no bad consequences, but since people have seemed to want those patches till now, I thought it'd be better to fix it, so functionality isn't sacrificed on CONFIG_SMP systems.
 
> Jakub could you mark this as being a dup of 200081?

Jakub isn't in the CC list. If anything, perhaps mark bug 200081 as a duplicate of this?
That of course depends on what naming scheme is chosen.

THe ebuild in 200081 is still buggy, by the way.
Comment 11 Bernd Steinhauser 2007-11-26 05:04:21 UTC
(In reply to comment #10)
> > Jakub could you mark this as being a dup of 200081?
> 
> Jakub isn't in the CC list. If anything, perhaps mark bug 200081 as a duplicate
> of this?
> That of course depends on what naming scheme is chosen.
Don't care, all I want is not to split the discussion.

> THe ebuild in 200081 is still buggy, by the way.
> 
Why?
Comment 12 Jeffrey Gardner (RETIRED) gentoo-dev 2007-11-26 15:21:34 UTC
8.433 is in the tree