0 Replies Latest reply on Nov 16, 2016 6:06 PM by zedgraps

    What am I having so many issues installing this driver on Linux? (CentOS 6)

    zedgraps

      So I am having a lot of difficulties getting a graphics driver working on my laptop running CentOS 6 which has a Radeon HD 7550M/7570M/7650M. Perhaps I should mention that I am not using this laptop for gaming but instead wanted to use it for OpenCL purposes. Anyhow here is the history of what has happened:

       

      A while ago I got an rpm for what I thought was a good graphics driver for my laptop, when it didn't work I gave up on it for a while and started working on something else (without a graphics card driver installed). Later I returned to the problem and what I thought was the problem was that simply hadn't initialized it via aticonfig. So I do aticonfig --initial --input=/etc/X11/xorg.conf. At first it seemed to work but then when I used to monitors this would happen: http://i.imgur.com/lh4zHVi.jpg ...and when I do a print screen it looks like this: http://i.imgur.com/6UWPvfi.png (which is how it should look) so at least it thinks it's working fine.

       

      I find the rpm I used for the driver and trying updating it; I get this which looks like it's already updated:

       

          [root@minnow02 zack]# rpm -U -v -h /root/rpmbuild/RPMS/x86_64/fglrx64_p_i_c-15.302-1.x86_64.rpm

          Preparing...                ########################################### [100%]

          package fglrx64_p_i_c-15.302-1.x86_64 is already installed

       

      So I decided to uninstall and reinstall using a different rpm; when I did aticonfig --uninstall I got this:

       

          [root@minnow02 zack]# sudo aticonfig --uninstall

          prelink: /tmp/#prelink#.cxK9Gk: Recorded 2 dependencies, now seeing -1

       

          prelink: Couldn't stat /usr/bin/aticonfig: Permission denied

          prelink: /tmp/#prelink#.jqRTUs: Recorded 2 dependencies, now seeing -1

       

          prelink: /usr/bin/atiode: Could not parse `/usr/bin/atiode: error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Permission denied'

          prelink: /usr/bin/atiode: at least one of file's dependencies has changed since prelinking

          prelink: /tmp/#prelink#.n4fBCy: Recorded 8 dependencies, now seeing -1

       

          prelink: /usr/bin/fgl_glxgears: Could not parse `/usr/bin/fgl_glxgears: error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Permission denied'

          prelink: /usr/bin/fgl_glxgears: at least one of file's dependencies has changed since prelinking

          prelink: /usr/bin/fglrxinfo: Could not parse `/usr/bin/fglrxinfo: error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Permission denied'

          prelink: /usr/bin/fglrxinfo: at least one of file's dependencies has changed since prelinking

          prelink: /usr/lib64/fglrx/fglrx-libGL.so.1.2: Could not parse `/usr/lib64/fglrx/fglrx-libGL.so.1.2: error while loading shared libraries: /usr/lib64/fglrx/fglrx-libGL.so.1.2: failed to map segment from shared object: Permission denied'

          prelink: /tmp/#prelink#.U2NkxT: Recorded 6 dependencies, now seeing -1

       

          prelink: /usr/sbin/atieventsd: Could not parse `/usr/sbin/atieventsd: error while loading shared libraries: libGL.so.1: failed to map segment from shared object: Permission denied'

          prelink: /usr/sbin/atieventsd: at least one of file's dependencies has changed since prelinking

          One or more files have been altered since installation.

          Uninstall not completed. Please see /etc/ati/fglrx-uninstall.log for details.

       

      But when I looked inside of the fglrx-uninstall.log I got this, which looks like a success?:

       

          *** AMD  Proprietary Driver Uninstall Log 2016-11-16 12:31:33 ***

          Executing rpm -V --nodeps fglrx64_p_i_c-15.302-1.x86_64

          .M....... /usr/bin/amd-console-helper

          Executing rpm -e  fglrx64_p_i_c-15.302-1.x86_64

          Command result 0

       

      Because I thought it was actually successful I carried on. I find the right driver using the AMD website: http://support.amd.com/en-us/download. The rpm is named differently this time; it used to be something like fglrx64_p_i_c-15.302-1.x86_64 but now it is fglrx64_p_i_c-14.50-1.x86_64_RHEL6_64a.rpm. When I try installing this new one I get yet more issues (I should have stopped long before this point, I know) (When I say install I mean I did rpm -U -h -v fglrx64_.....rpm):

       

          [zack@minnow02 AMD_Driver_Packages]$ sudo rpm -U -h -v fglrx64_p_i_c--5.201.1151-1.x86_64_RHEL6_64a.rpm

          Preparing...                ########################################### [100%]

             1:fglrx64_p_i_c          ########################################### [100%]

          Error! Module version 44F0CA4314F5ABFE721DD69 for fglrx.ko is not newer than what is already found in kernel 2.6.32-642.4.2.el6.x86_64 (88F38208B4764AB4E227733).

          You may override by specifying --force.

          ERROR: modinfo: could not open /lib/modules/2.6.32-504.el6.x86_64/weak-updates/: Is a directory

          ERROR: modinfo: could not open /lib/modules/2.6.32-642.4.2.el6.x86_64/fglrx.ko: No such file or directory

          FATAL: /lib/modules/2.6.32-642.4.2.el6.x86_64/fglrx.ko: No such file or directory

          Warning: Module fglrx.ko from kernel  has no modversions, so it cannot be reused for kernel 2.6.32-504.el6.x86_64

          ....

       

      Things look good at first, however when I go to System > Preferences > AMD Catalyst Control Center it gave me the following error message: http://i.imgur.com/0QcF5mD.png

       

      So I decide to do aticonfig --initial because I thought maybe it would fix the problem, and then reboot. Instead when I rebooted I got a black screen. I had to reboot in single user mode and do aticonfig --uninstall to fix it, and now I'm back at square one.

       

      When I do "ls /etc/X11/" it looks like this:

       

      appInk prefdm xinit xorg.conf.d xorg.conf.fglrx-1 xorg.conf.original-1 fontpath.d xdm Xmodmap xorg.conf.fglrx-0 xorg.conf.original-0 Xresources

       

      I tried following this guide: http://www2.ati.com/relnotes/amd-catalyst-graphics-driver-installer-notes-for-linux-operating-systems.pdf