diff options
Diffstat (limited to 'catalyst-firepro.install')
-rw-r--r-- | catalyst-firepro.install | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/catalyst-firepro.install b/catalyst-firepro.install index 01c90889b330..62094ecde3cc 100644 --- a/catalyst-firepro.install +++ b/catalyst-firepro.install @@ -5,8 +5,11 @@ signa(){ whisperer(){ echo "----------------------------------------------------------------" + echo "Note: hook was replaced by dkms" + echo "----------------------------------------------------------------" echo "Add nomodeset to your kernel line in /boot/grub/menu.lst , ie.:" echo "kernel /boot/vmlinuz-linux root=/dev/sda1 ro nomodeset" + echo "Note: don't do this if you have pxp/hybrid" echo "----------------------------------------------------------------" echo "You can use the tool 'aticonfig' to generate an xorg.conf file." echo "--------------------- ^^^^^^^^^ --------------------------------" @@ -18,15 +21,14 @@ whisperer(){ echo "----------------------------------------------------------------" echo "For more info and troubleshooting visit:" echo "http://wiki.archlinux.org/index.php/ATI_Catalyst" - echo -e '\E[37;44m'"\033[1m----------------------------------------------------------------\033[0m" - echo "To enable 'automatic re-compilation while system shutdown/reboot' " - echo "feature run these commands as root:" - echo "systemctl enable catalyst-hook" - echo "systemctl start catalyst-hook" - echo "" - echo "More info here:" - echo "https://bbs.archlinux.org/viewtopic.php?pid=1255575#p1255575" - echo -e '\E[37;44m'"\033[1m----------------------------------------------------------------\033[0m" + echo -e "\e[0;32m--------------------------- PXP --------------------------------\e[0m" + echo -e "\e[0;32m@pxp_user:\e[0m I switched GL/glx links to catalyst again..." + echo -e "\e[0;32m----------------------------------------------------------------\e[0m" + echo -e "\e[1;31m------------ DROPPED SUPPORT FOR RADEONS HD 5 6 k --------------\e[0m" + echo "Please note that this release SADLY :( is" + echo "dropping support for pre-GCN cards so mainly" + echo "Radeons of series 5000 and 6000" + echo -e "\e[1;31m----------------------------------------------------------------\e[0m" } bug_whisper(){ @@ -53,17 +55,19 @@ pre_upgrade(){ if [[ -e usr/lib/fglrx/switchlibglx ]] && [[ `usr/lib/fglrx/switchlibglx query | grep -c "intel"` == "1" ]]; then touch tmp/switch_glx_intel fi + # remove hook fglrx + sed '/^HOOKS/s/ *fglrx//' -i etc/mkinitcpio.conf + systemctl stop catalyst-hook.service + systemctl disable catalyst-hook.service + # remove existing fglrx modules + usr/bin/catalyst_build_module ra } post_install(){ - usr/bin/catalyst_build_module ra - usr/bin/catalyst_build_module all whisperer } post_upgrade(){ - usr/bin/catalyst_build_module ra - usr/bin/catalyst_build_module all whisperer ## switch to intel if it was intel before upgrade @@ -77,14 +81,7 @@ post_upgrade(){ fi } -pre_remove(){ - usr/bin/catalyst_build_module ra -} - post_remove(){ - # remove hook fglrx - sed '/^HOOKS/s/ *fglrx//' -i etc/mkinitcpio.conf - # remove log rm -f var/log/catalyst-install.log |