Commit 58aba82a authored by Philip Müller's avatar Philip Müller

[Driver] drop Catalyst

parent f371e05c
# mhwd Driver Config
NAME="video-catalyst"
INFO="Closed source catalyst drivers for linux."
VERSION="2017.03.12"
FREEDRIVER="false"
PRIORITY="5"
CLASSIDS="0300"
VENDORIDS="1002"
DEVICEIDS=">/var/lib/mhwd/ids/pci/catalyst.ids"
# Conflicts
CONFLICTS="catalyst-13.4-utils catalyst-legacy-utils"
CONFLICTS_64="lib32-catalyst-13.4-utils lib32-catalyst-legacy-utils"
CONKMOD="catalyst-13.4 catalyst-legacy"
CONFLDD="xf86-input-acecad xf86-input-aiptek xf86-input-elographics xf86-input-evdev xf86-input-joystick xf86-input-keyboard xf86-input-libinput xf86-input-mouse xf86-input-synaptics xf86-input-vmmouse xf86-input-void xf86-input-wacom xorg-server-common xorg-server-devel xorg-server-xdmx xorg-server-xephyr xorg-server-xnest xorg-server-xvfb xorg-server-xwayland xorg-server xf86-video-fbdev xf86-video-intel xf86-video-v4l xf86-video-vesa xf86-video-intel-sna xf86-video-intel-uxa xf86-video-i810 xf86-video-intel-legacy xf86-video-ati xf86-video-amdgpu xf86-video-dummy xf86-video-nouveau xf86-video-openchrome xf86-video-sisusb xf86-video-vmware xf86-video-voodoo"
# Dependencies
DEPENDS="catalyst-input catalyst-video catalyst-server catalyst-utils"
DEPENDS_64="lib32-catalyst-utils"
DEPKMOD="catalyst"
XORGFILE="/etc/X11/mhwd.d/catalyst.conf"
ALT_XORGFILE="/etc/X11/xorg.conf"
MHWDGPU_BLCKLSTRADEON="/etc/modprobe.d/mhwd-gpu.conf"
MHWDGPU_FRCFGLRX="/etc/modules-load.d/mhwd-gpu.conf"
post_install()
{
MHWD_HEADING "${XORGFILE}"
MHWD_ADD_BACKSPACE "${XORGFILE}"
aticonfig -o "${XORGFILE}" --initial --nobackup &>/dev/null
mhwd-gpu --setmod catalyst --setxorg "${XORGFILE}"
}
post_remove()
{
if [ -e "${XORGFILE}" ]; then
rm "${XORGFILE}"
fi
if [ -f "${ALT_XORGFILE}" ]; then
rm "${ALT_XORGFILE}"
fi
if [ -f "${MHWDGPU_BLCKLSTRADEON}" ]; then
sed -i '/^blacklist radeon/d' "${MHWDGPU_BLCKLSTRADEON}"
fi
if [ -f "${MHWDGPU_FRCFGLRX}" ]; then
sed -i '/^fglrx/d' "${MHWDGPU_FRCFGLRX}"
fi
mhwd-gpu --check
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment