ATI Catalyst Driver Install Fail [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

ATI Catalyst Driver Install Fail [Solved]

Postby nobicycle » Thu Sep 26, 2013 6:01

Dear *
I wanted not to bother anyone in our forum, but AMD bug report has only Windoz available.

If I use Sabayon repository and install ati-drivers, followed by eselect opengl set ati, followed by:
Code: Select all
/opt/bin/aticonfig --initial --input=/etc/X11/xorg.conf && reboot

then I get a black screen and no possibility to switch to a terminal. Only a reboot is possible.
The xorg.coonf is here http://bpaste.net/show/135499/

If I try to install the drivers from AMD''s catalyst website, I get :

AMD kernel module generator version 2.1
...
/lib64/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM_proc_init':
/lib64/modules/fglrx/build_mod/2.6.x/drm_proc.h:98:2: error: implicit declaration of function 'create_proc_entry' [-Werror=implicit-function-declaration]
...
/lib64/modules/fglrx/build_mod/2.6.x/drm_proc.h:125:6: error: dereferencing pointer to incomplete type
...
/lib64/modules/fglrx/build_mod/2.6.x/firegl_public.c:617:27: error: 'read_proc_t' undeclared (first use in this function)
...
build failed with return value 2


Full install log: http://bpaste.net/show/135494/

It seems to me to be an AMD bug, but how to report it? They only talk to Windozs users.

This is the first ATI card I ever purchased. Probably the last.

My system is described below.

Best wishes




=== CPU ===
AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
=== GPU ===
VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks XT [Radeon HD 6670]
=== MOTHER BOARD ===
Gigabyte Technology Co., Ltd.
GA-K8NMF-9
=== SYSTEM ===
Linux tower 3.11.0-sabayon #1 SMP Fri Sep 6 08:58:12 UTC 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux
Last edited by nobicycle on Thu Oct 03, 2013 3:26, edited 1 time in total.
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: ATI Catalyst Driver Install Fail

Postby dunsurfin » Thu Sep 26, 2013 7:52

Have you tried installing catalyst from the Sabayon repository?

Code: Select all
equo install catalyst
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: ATI Catalyst Driver Install Fail

Postby nobicycle » Tue Oct 01, 2013 3:29

Dunsurfin
Be proud of Sagely.:-)
Yes, Repo install was tried (and described in my first paragraph).
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: ATI Catalyst Driver Install Fail

Postby albfneto » Tue Oct 01, 2013 19:55

For ATI Catalyst, in Sabayon, install following this:

viewtopic.php?f=56&t=28808&start=30&hilit=step+by+step+ati

see also this and their cited links:

viewtopic.php?f=56&t=30759

ATI is difficult in Sabayon with the new kernels ans the new drivers. also, if your ATI is older than a series 5, it is not supported.

Please, after install, configure and test and it is running well, please mask the kernel and the drivers for no more update.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE
User avatar
albfneto
Sagely Hen
 
Posts: 1728
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil

Re: ATI Catalyst Driver Install Fail

Postby nobicycle » Wed Oct 02, 2013 15:52

Thank you Alberto - will try those links and get back.
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55

Re: ATI Catalyst Driver Install Fail

Postby nobicycle » Thu Oct 03, 2013 3:25

The suggestion of Alberto worked fine. Thanks Alberto.

I created a script for my use to repeat this procedure. The script deals with version numbers and ensures sources are available for the kernel you select. (3.11.2 kernel is available currently in repo but sources are not)

Code: Select all
KERNELS=$(sudo equo search sys-kernel/linux-sabayon | grep --colour=never sys-kernel|cut -f2 -d':'|cut -f2 -d ' '|sort -u)
#
list_kernels() {
   echo  "$KERNELS"|tail -n +2|cat -n
}
choose_kernel() {
for (( ;; )); do
   list_kernels
   read -p "Which Kernel?: " REPLY
   KERNEL=$(list_kernels|grep "[[:space:]]$REPLY"|awk '{print $2}')
   SOURCES=$(echo $KERNEL| sed 's/linux-//;s/sabayon/sabayon-sources/')
   sudo equo search $SOURCES > /dev/null
   if test $? -eq 0; then
      break
   else
      echo -e "\n###  Sources for $KERNEL  are not available.  ###\n Choose another kernel.\n"
   fi
done
}

export LC_ALL=en_US.UTF-8

# certain users need GPU Calculations, therefore they are obliged to use the Proprietary Drivers.
if test $(lsmod |grep '^fglrx'|awk '{print $3}') -eq 0; then
   echo "If xorg-drivers present then remove them ..."
   sudo equo query installed x11-base/xorg-drivers
   if test $? -eq 0; then
      sudo equo remove x11-base/xorg-drivers
   fi
   echo Blacklist radeon ...
   if ! grep -q 'blacklist radeon' /etc/modprobe.d/blacklist.conf; then
      sudo echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
   fi
   if ! grep -q '_LINUX="nomodeset' /etc/default/grub; then
      echo 'Ensure GRUB has GRUB_CMDLINE_LINUX="nomodeset"'
      read -p "Enter to continue ..."
      sudo nano /etc/default/grub
   fi
   echo Remove xf86-video-ati ati-drivers xorg-drivers ...
   sudo equo query installed  xf86-video-ati >/dev/null
   if test  $? -eq 0; then
      sudo equo remove  xf86-video-ati > /dev/null
      sudo equo remove --configfiles xf86-video-ati > /dev/null
   fi
   sudo equo query installed ati-drivers >/dev/null
   if test $? -eq 0; then
      sudo equo remove ati-drivers >/dev/null
   fi
   sudo equo query installed x11-base/xorg-drivers 2>&1 >/dev/null
   if test $? -eq 0; then
      sudo equo remove x11-base/xorg-drivers >/dev/null
        fi
   #
   choose_kernel
   if test ! -z $KERNEL && test ! -z "$SOURCES"; then
      sudo  kernel-switcher switch  $KERNEL
      sudo equo install $SOURCES --ask
      VERSION=$(echo $KERNEL | cut -f4 -d '-')
      MACHINE=$(uname -m)
      RELEASE=$(echo $VERSION|sed 's/[.][0-9]*$//').0-sabayon
      ATI_DRIVER=$(equo search x11-drivers/ati-drivers|grep "x11-drivers/ati-drivers-[0-9.]*#$RELEASE"|head -1|awk '{print $4}')
      sudo equo install "$ATI_DRIVER" amdcccle --ask
      sudo eselect bzimage set kernel-genkernel-$MACHINE-$RELEASE
      sudo eselect kernel set linux-$(echo $VERSION| sed 's/[.][0-9]*$//').0-sabayon
      sudo eselect opencl set amd
      sudo eselect opengl set ati
      sudo rc-update del x-setup boot
      sudo /opt/bin/aticonfig --initial
      echo "After reboot  run /opt/bin/amdcccle to set card parameters"
      read -p "Press Enter to reboot ..."
      sudo reboot
   else
      echo "Kernel and Source not defined. Exit."
   fi
fi
nobicycle
Simple Hen
 
Posts: 77
Joined: Fri Nov 20, 2009 13:55


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron