36 lines
1.6 KiB
Bash
36 lines
1.6 KiB
Bash
#!/bin/sh
|
|
|
|
post_install() {
|
|
echo '>>> !!!ATTENTION!!!'
|
|
echo '>>> ================================================================================='
|
|
echo '>>> For AMD/ATI Radeon R600 series and newer,'
|
|
echo '>>> please configure "/etc/X11/xorg.conf.d/00-device.conf" as it is written bellow:'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
echo '>>> Section "Device"'
|
|
echo '>>> Identifier "devname"'
|
|
echo '>>> Driver "modesetting"'
|
|
echo '>>> Option "AccelMethod" "none"'
|
|
echo '>>> EndSection'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
echo '>>> For unsupported GPU (non-UEFI machines), please install "xenocara-video-vesa" and'
|
|
echo '>>> configure "/etc/X11/xorg.conf.d/00-device.conf" as it is written bellow:'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
echo '>>> Section "Device"'
|
|
echo '>>> Identifier "devname"'
|
|
echo '>>> Driver "vesa"'
|
|
echo '>>> EndSection'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
echo '>>> Or install "xenocara-video-fbdev" package and'
|
|
echo '>>> configure "/etc/X11/xorg.conf.d/00-device.conf" as it is written bellow:'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
echo '>>> Section "Device"'
|
|
echo '>>> Identifier "devname"'
|
|
echo '>>> Driver "fbdev"'
|
|
echo '>>> EndSection'
|
|
echo '>>> ---------------------------------------------------------------------------------'
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|