Author: firewing
Update of /cvs/nonfree/rpms/xorg-x11-drv-catalyst/F-14
In directory se02.es.rpmfusion.net:/tmp/cvs-serv4750
Modified Files:
.cvsignore catalyst-README.Fedora sources
xorg-x11-drv-catalyst.spec
Added Files:
filter-provides.sh filter-requires.sh
Removed Files:
blacklist-radeon.conf dead.package
Log Message:
* Sun Dec 26 2010 Stewart Adam <s.adam at diffingo.com> - 10.12-1
- Update to Catalyst 10.12 (internal version 8.80.1)
- Merge changes from F-13 branch
--- NEW FILE filter-provides.sh ---
#!/bin/sh
if [ -x /usr/lib/rpm/redhat/find-provides ]; then
FINDPROV=/usr/lib/rpm/redhat/find-provides
else
FINDPROV=/usr/lib/rpm/find-provides
fi
$FINDPROV $* | sed -e '/libGL.so/d'
--- NEW FILE filter-requires.sh ---
#!/bin/sh
if [ -x /usr/lib/rpm/redhat/find-requires ]; then
FINDREQ=/usr/lib/rpm/redhat/find-requires
else
FINDREQ=/usr/lib/rpm/find-requires
fi
$FINDREQ $* | sed -e '/libGL.so/d'
Index: .cvsignore
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/F-14/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 21 May 2009 12:28:33 -0000 1.3
+++ .cvsignore 26 Dec 2010 21:42:06 -0000 1.4
@@ -1 +1 @@
-ati-driver-installer-9-5-x86.x86_64.run
+ati-driver-installer-10-12-x86.x86_64.run
Index: catalyst-README.Fedora
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/F-14/catalyst-README.Fedora,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- catalyst-README.Fedora 6 May 2009 20:01:21 -0000 1.1
+++ catalyst-README.Fedora 26 Dec 2010 21:42:06 -0000 1.2
@@ -73,32 +73,22 @@
5. Release-specific notes
-----------------------------
-Recent releases (Catalyst 8.12+) are incompatible with the plymouth boot
-system implemented in Fedora 10, as the 'radeon' and 'drm' kernel modules
are
-loaded from the kernel ramdisk image (initrd) before fglrx can be. Because of
-this, these modules have been blacklisted. The open-source radeon driver as well
-as the plymouth graphical boot system will not function while the this driver is
-installed. If you would like to use them, please uninstall this driver first.
+As of Catalyst version 9.10, the fglrx kernel module is no longer incompatible
+with the open-source Radeon Xorg driver. The initrd image regeneration
+workaround is therefore no longer required.
+
+However, during testing it was found that in some cases, kernel modesetting
+may need to be disabled in order for the fglrx driver to function correctly.
+Upon a fresh installation, the Catalyst driver will automatically add
+radeon.modeset=0 to the default kernel's parameters in /etc/grub.conf. If you
+are upgrading from a previous version of the Catalyst driver, you may have to
+make this change manually by running as root:
+ GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
+ /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='radeon.modeset=0'
&>/dev/null
+
+The Catalyst driver will automatically undo this change upon uninstallation.
+Should you want to keep kernel modesetting disabled after uninstallation, run
+the same command above after uninstalling the Catalyst drivers and then reboot.
-The initrd image for the current kernel will need to be regenerated* before 3D
-rendering will function correctly. To do this, execute these commands as root:
- mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.rfbak
- mkinitrd -f --allow-missing /boot/initrd-`uname -r`.img `uname -r`
-
-A final reboot will be required before things function as expected. To restore
-plymouth functionality and use the open source drivers, first uninstall the
-xorg-x11-drv-catalyst package from your system and then run:
- mv /boot/initrd-`uname -r`.img.rfbak /boot/initrd-`uname -r`.img
-
-Once again, a reboot will be required before the open source drivers being
-working properly.
-
-
-* Please note that in some cases, the initrd image may need to be regenerated
-twice (once for getting fglrx to load, the other for putting the udev config
-file into the initrd image). If your machine still does not have working DRI
-or 3D rendering after regenerating the image once and rebooting, regenerate
-the image again:
- mkinitrd -f --allow-missing /boot/initrd-`uname -r`.img `uname -r`
-
-Reboot and DRI should be enabled correctly now.
+For legacy reasons, the driver will also remove rdblacklist=radeon from the
+kernel parameters upon uninstallation.
Index: sources
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/F-14/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 6 May 2009 20:01:21 -0000 1.2
+++ sources 26 Dec 2010 21:42:07 -0000 1.3
@@ -1 +1 @@
-bdedd0405021f31000cca3399d5f7336 ati-driver-installer-9-4-x86.x86_64.run
+debf1518bd58c49b49aafddbae60b748 ati-driver-installer-10-12-x86.x86_64.run
Index: xorg-x11-drv-catalyst.spec
===================================================================
RCS file: /cvs/nonfree/rpms/xorg-x11-drv-catalyst/F-14/xorg-x11-drv-catalyst.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- xorg-x11-drv-catalyst.spec 6 May 2009 20:01:21 -0000 1.1
+++ xorg-x11-drv-catalyst.spec 26 Dec 2010 21:42:07 -0000 1.2
@@ -7,13 +7,13 @@
%endif
Name: xorg-x11-drv-catalyst
-Version: 9.4
-Release: 4%{?dist}
+Version: 10.12
+Release: 1%{?dist}
Summary: AMD's proprietary driver for ATI graphic cards
Group: User Interface/X Hardware Support
License: Redistributable, no modification permitted
URL:
http://www.ati.com/support/drivers/linux/radeon-linux.html
-Source0:
https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-dri...
+Source0:
https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/ati-dri...
Source1: catalyst-README.Fedora
Source3: catalyst-config-display
Source4: catalyst-init
@@ -24,11 +24,18 @@
Source9: catalyst-a-lid-aticonfig
Source10: catalyst.sh
Source11: catalyst.csh
-Source13: blacklist-radeon.conf
+# So we don't mess with mesa provides.
+Source91: filter-requires.sh
+Source92: filter-provides.sh
+%define _use_internal_dependency_generator 0
+%define __find_requires %{SOURCE91}
+%define __find_provides %{SOURCE92}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-%if 0%{?fedora} >= 11
+%if 0%{?fedora} > 11 || 0%{?rhel} > 5
+ExclusiveArch: i686 x86_64
+%else 0%{?fedora} == 11
ExclusiveArch: i586 x86_64
%else
ExclusiveArch: i386 x86_64
@@ -36,10 +43,17 @@
Requires: catalyst-kmod >= %{version}
+# It seems rpaths were introduced into the amdcccle/amdnotifyui binary in 9.12
+BuildRequires: chrpath
# Needed in all nvidia or fglrx driver packages
BuildRequires: desktop-file-utils
Requires: livna-config-display >= 0.0.23
+%if 0%{?fedora} > 10 || 0%{?rhel} > 5
+Requires: %{name}-libs%{_isa} = %{version}-%{release}
+%else
Requires: %{name}-libs-%{_target_cpu} = %{version}-%{release}
+%endif
+
Requires(post): livna-config-display
Requires(preun): livna-config-display
Requires(post): chkconfig
@@ -69,7 +83,7 @@
This package provides the most recent proprietary AMD display driver which
allows for hardware accelerated rendering with ATI Mobility, FireGL and
Desktop GPUs. Some of the Desktop and Mobility GPUs supported are the
-Radeon HD 2000 series to the Radeon HD 4800 series.
+Radeon HD 2xxx series to the Radeon HD 6xxx series.
For the full product support list, please consult the release notes
for release %{version}.
@@ -111,11 +125,11 @@
mkdir fglrxpkg
%ifarch %{ix86}
-cp -r fglrx/common/* fglrx/x740/* fglrx/arch/x86/* fglrxpkg/
+cp -r fglrx/common/* fglrx/x760/* fglrx/arch/x86/* fglrxpkg/
%endif
%ifarch x86_64
-cp -r fglrx/common/* fglrx/x740_64a/* fglrx/arch/x86_64/* fglrxpkg/
+cp -r fglrx/common/* fglrx/x760_64a/* fglrx/arch/x86_64/* fglrxpkg/
%endif
# fix doc perms & copy README.Fedora
@@ -129,7 +143,7 @@
rm -rf $RPM_BUILD_ROOT ./__doc
set +x
-for file in $(cd fglrxpkg &> /dev/null; find . -type f | grep -v -e
'amdcccle.kdelnk$' -e 'amdcccle.desktop$' -e 'lib/modules/fglrx$'
-e 'fireglcontrolpanel$' -e '/usr/share/doc/fglrx/' -e
'fglrx_panel_sources.tgz$' -e 'amdcccle.*.desktop$' -e
'amdcccle.*.kdelnk' -e 'fglrx_sample_source.tgz$' -e
'^./lib/modules/fglrx' -e '/usr/share/icons/ccc_')
+for file in $(cd fglrxpkg &> /dev/null; find . -type f | grep -v -e
'amdcccle.kdelnk$' -e 'amdcccle.desktop$' -e 'lib/modules/fglrx$'
-e 'fireglcontrolpanel$' -e '/usr/share/doc/fglrx/' -e
'fglrx_panel_sources.tgz$' -e 'amdcccle.*.desktop$' -e
'amdcccle.*.kdelnk' -e 'fglrx_sample_source.tgz$' -e
'^./lib/modules/fglrx' -e '/usr/share/icons/ccc_' -e
'^./usr/share/ati/lib')
do
if [[ ! "/${file##}" = "/${file}" ]]
then
@@ -181,6 +195,9 @@
elif [[ ! "/${file##./usr/share/ati/amdcccle}" = "/${file}" ]]
then
install -D -p -m 0644 fglrxpkg/${file} $RPM_BUILD_ROOT/${file}
+ elif [[ ! "/${file##./usr/share/doc/amdcccle}" = "/${file}" ]]
+ then
+ install -D -p -m 0644 fglrxpkg/${file} $RPM_BUILD_ROOT/${file}
else
echo ${file} found -- don\'t know how to handle
exit 1
@@ -196,14 +213,13 @@
ln -s libGL.so.1.2 $RPM_BUILD_ROOT/%{atilibdir}/libGL.so.1
ln -s libfglrx_gamma.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libfglrx_gamma.so.1
ln -s libfglrx_dm.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libfglrx_dm.so.1
-ln -s libfglrx_pp.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libfglrx_pp.so.1
-ln -s libfglrx_tvout.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libfglrx_tvout.so.1
+ln -s libAMDXvBA.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libAMDXvBA.so.1
+ln -s libXvBAW.so.1.0 $RPM_BUILD_ROOT/%{atilibdir}/libXvBAW.so.1
# profile.d files
install -D -p -m 0644 %{SOURCE10} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/catalyst.sh
install -D -p -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/catalyst.csh
-install -D -p -m 0644 fglrxpkg/usr/share/icons/ccc_small.xpm
$RPM_BUILD_ROOT/%{_datadir}/icons/ccc_small.xpm
install -D -p -m 0644 fglrxpkg/usr/share/icons/ccc_large.xpm
$RPM_BUILD_ROOT/%{_datadir}/icons/ccc_large.xpm
install -D -p -m 0755 %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}/%(basename %{SOURCE3})
install -D -p -m 0755 %{SOURCE4} $RPM_BUILD_ROOT%{_initrddir}/catalyst
@@ -228,9 +244,9 @@
chmod 644 $RPM_BUILD_ROOT/%{_sysconfdir}/ati/*.xbm.example
chmod 755 $RPM_BUILD_ROOT/%{_sysconfdir}/ati/*.sh
-# blacklist to prevent radeon autoloading
-mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d
-install -pm 0644 %{SOURCE13}
$RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/blacklist-radeon.conf
+# Remove rpaths (see comment on chrpath BR above)
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/amdcccle
+chrpath --delete $RPM_BUILD_ROOT%{_sbindir}/amdnotifyui
%clean
rm -rf $RPM_BUILD_ROOT
@@ -243,7 +259,11 @@
# Add init script(s) and start it
/sbin/chkconfig --add catalyst
/sbin/chkconfig --add atieventsd
- /etc/init.d/catalyst start &>/dev/null
+ /etc/init.d/catalyst start &>/dev/null ||:
+ if [ -x /sbin/grubby ] ; then
+ GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
+ /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --args='radeon.modeset=0'
&>/dev/null
+ fi
fi ||:
%post libs -p /sbin/ldconfig
@@ -255,6 +275,11 @@
/etc/init.d/catalyst stop &>/dev/null
/sbin/chkconfig --del catalyst
/sbin/chkconfig --del atieventsd
+ if [ -x /sbin/grubby ] ; then
+ # leave rdblacklist here in case they installed with v10.7, which blacklisted radeon
upon installation
+ GRUBBYLASTKERNEL=`/sbin/grubby --default-kernel`
+ /sbin/grubby --update-kernel=${GRUBBYLASTKERNEL} --remove-args='radeon.modeset=0
rdblacklist=radeon' &>/dev/null
+ fi
fi ||:
%postun libs -p /sbin/ldconfig
@@ -263,6 +288,8 @@
%defattr(-,root,root,-)
%doc fglrxpkg/usr/share/doc/fglrx/* README.Fedora
%dir %{_sysconfdir}/ati/
+%doc %{_docdir}/amdcccle/ccc_copyrights.txt
+%config(noreplace) %{_sysconfdir}/security/console.apps/amdcccle-su
%{_sysconfdir}/ati/atiogl.xml
%{_sysconfdir}/ati/logo.xbm.example
%{_sysconfdir}/ati/logo_mask.xbm.example
@@ -274,7 +301,6 @@
%config %{_sysconfdir}/acpi/actions/ati-powermode.sh
%config(noreplace) %{_sysconfdir}/acpi/events/*aticonfig.conf
%config(noreplace) %{_sysconfdir}/profile.d/catalyst.*
-%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-radeon.conf
%{_initrddir}/*
%{_sbindir}/*
%{_bindir}/*
@@ -300,11 +326,13 @@
%defattr(-,root,root,-)
%doc fglrxpkg/usr/src/ati/fglrx_sample_source.tgz
%{atilibdir}/*.a
-%{_libdir}/xorg/modules/*.a
-%{_includedir}/fglrx/GL/
-%{_includedir}/fglrx/X11/extensions/*.h
+%{_includedir}/fglrx/
%changelog
+* Sun Dec 26 2010 Stewart Adam <s.adam at diffingo.com> - 10.12-1
+- Update to Catalyst 10.12 (internal version 8.80.1)
+- Merge changes from F-13 branch
+
* Sun May 3 2009 Stewart Adam <s.adam at diffingo.com> - 9.4-4
- Make the ExclusiveArch dynamic
- Fix requirement on libs subpackage
--- blacklist-radeon.conf DELETED ---
--- dead.package DELETED ---