Page: 1, 2  Next

fglrx 13.12 driver install issues
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
h2, I'm glad AMD didn't blow the download path and file naming.

But 13.12 did not install correctly. One thing: I had the latest 13.11 Beta V9.4 installed. I used smxi-sgfxi to uninstall the previous beta 6, and then used the AMD installer mentioned in our previous conversation.

When I ran sgfxi to install 13.12, I got this (previous driver) fglrx-uninstall.log error message:

:: Code ::
*** AMD Catalyst(TM) Proprietary Driver Uninstall Log 2013-12-20 08:54:43 ***
Forcing uninstall.
Removed /usr/share/applications/amdcccle.desktop
Removed /usr/share/applications/amdccclesu.desktop
Removed /usr/share/icons/ccc_large.xpm
Removed /usr/share/ati/amdcccle/amdcccle_cs.qm
Removed /usr/share/ati/amdcccle/amdcccle_da_DK.qm
Removed /usr/share/ati/amdcccle/amdcccle_de.qm
Removed /usr/share/ati/amdcccle/amdcccle_el_GR.qm
Removed /usr/share/ati/amdcccle/amdcccle_es_ES.qm
Removed /usr/share/ati/amdcccle/amdcccle_fi_FI.qm
Removed /usr/share/ati/amdcccle/amdcccle_fr_FR.qm
Removed /usr/share/ati/amdcccle/amdcccle_hu_HU.qm
Removed /usr/share/ati/amdcccle/amdcccle_it_IT.qm
Removed /usr/share/ati/amdcccle/amdcccle_ja.qm
Removed /usr/share/ati/amdcccle/amdcccle_ko_KR.qm
Removed /usr/share/ati/amdcccle/amdcccle_nl_NL.qm
Removed /usr/share/ati/amdcccle/amdcccle_no.qm
Removed /usr/share/ati/amdcccle/amdcccle_pl.qm
Removed /usr/share/ati/amdcccle/amdcccle_pt_BR.qm
Removed /usr/share/ati/amdcccle/amdcccle_ru_RU.qm
Removed /usr/share/ati/amdcccle/amdcccle_sv_SE.qm
Removed /usr/share/ati/amdcccle/amdcccle_th.qm
Removed /usr/share/ati/amdcccle/amdcccle_tr_TR.qm
Removed /usr/share/ati/amdcccle/amdcccle_zh_CN.qm
Removed /usr/share/ati/amdcccle/amdcccle_zh_TW.qm
Removed /usr/share/ati/amdcccle/qt_cs.qm
Removed /usr/share/ati/amdcccle/qt_da.qm
Removed /usr/share/ati/amdcccle/qt_de.qm
Removed /usr/share/ati/amdcccle/qt_es.qm
Removed /usr/share/ati/amdcccle/qt_fr.qm
Removed /usr/share/ati/amdcccle/qt_hu.qm
Removed /usr/share/ati/amdcccle/qt_ja.qm
Removed /usr/share/ati/amdcccle/qt_ja_JP.qm
Removed /usr/share/ati/amdcccle/qt_ko.qm
Removed /usr/share/ati/amdcccle/qt_pl.qm
Removed /usr/share/ati/amdcccle/qt_pt.qm
Removed /usr/share/ati/amdcccle/qt_ru.qm
Removed /usr/share/ati/amdcccle/qt_sv.qm
Removed /usr/share/ati/amdcccle/qt_zh_CN.qm
Removed /usr/share/ati/amdcccle/qt_zh_TW.qm
Removed /usr/bin/amdcccle
Removed /usr/bin/amdxdg-su
Removed /usr/bin/amdupdaterandrconfig
Removed /usr/share/doc/ati/ccc_copyrights.txt
Removed /etc/security/console.apps/amdcccle-su
Removed /usr/share/ati/lib64/libQtCore.so.4
Removed /usr/share/ati/lib64/libQtGui.so.4
Removed /usr/share/doc/ati/LICENSE.TXT
Removed /usr/share/doc/ati/user-manual/AMD_Linux_Driver_Specification.pdf
Removed /usr/share/doc/ati/user-manual/index.html
Removed /usr/share/doc/ati/examples/etc/init.d/atieventsd.sh
Removed /usr/share/doc/ati/examples/etc/acpi/ati-powermode.sh
Removed /usr/share/doc/ati/examples/etc/acpi/events/a-ac-aticonfig
Removed /usr/share/doc/ati/examples/etc/acpi/events/a-lid-aticonfig
Removed /usr/share/doc/ati/articles/1gbhang.html
Removed /usr/share/doc/ati/articles/4461.html
Removed /usr/share/doc/ati/articles/4462.html
Removed /usr/share/doc/ati/articles/4463.html
Removed /usr/share/doc/ati/articles/4464.html
Removed /usr/share/doc/ati/articles/4469.html
Removed /usr/share/doc/ati/articles/4470.html
Removed /usr/share/doc/ati/articles/4475.html
Removed /usr/share/doc/ati/articles/4478.html
Removed /usr/share/doc/ati/articles/4479.html
Removed /usr/share/doc/ati/articles/4480.html
Removed /usr/share/doc/ati/articles/4481.html
Removed /usr/share/doc/ati/articles/4482.html
Removed /usr/share/doc/ati/articles/4483.html
Removed /usr/share/doc/ati/articles/4484.html
Removed /usr/share/doc/ati/articles/4485.html
Removed /usr/share/doc/ati/articles/corruptstereo.html
Removed /usr/share/doc/ati/articles/corruptvtswitch.html
Removed /usr/share/doc/ati/articles/devshm.html
Removed /usr/share/doc/ati/articles/dga3dhang.html
Removed /usr/share/doc/ati/articles/doom3corrupt.html
Removed /usr/share/doc/ati/articles/dualheadvideo.html
Removed /usr/share/doc/ati/articles/laptopsuspend.html
Removed /usr/share/doc/ati/articles/missingdrmheaders.html
Removed /usr/share/doc/ati/articles/mousecursorhang.html
Removed /usr/share/doc/ati/articles/no3d-aiw8500dv.html
Removed /usr/share/doc/ati/articles/no3d-kt400.html
Removed /usr/share/doc/ati/articles/nomembercount.html
Removed /usr/share/doc/ati/articles/pcie3dmemoryleak.html
Removed /usr/share/doc/ati/articles/r420blankdisplay.html
Removed /usr/share/doc/ati/articles/rv280dviblankdisplay.html
Removed /usr/share/doc/ati/articles/rv350springdale.html
Removed /usr/share/doc/ati/articles/secondheadcorruption.html
Removed /usr/share/doc/ati/articles/xf86_enodev.html
Removed /usr/share/doc/ati/articles/xrestartpcie.html
Removed /usr/share/doc/ati/articles/xvsatshift.html
Removed /usr/share/doc/ati/configure.html
Removed /usr/share/doc/ati/driverfaq.html
Removed /usr/share/doc/ati/index.html
Removed /usr/share/doc/ati/installer.html
Removed /usr/share/doc/ati/issues.html
Removed /usr/share/doc/ati/linuxfaq.html
Removed /usr/share/doc/ati/tips-linux.html
Removed /usr/share/man/man8/atieventsd.8
Removed /usr/lib/xorg/modules/linux/libfglrxdrm.so
Removed /usr/lib/xorg/modules/drivers/fglrx_drv.so
Removed /usr/lib/xorg/modules/glesx.so
Removed /usr/lib/xorg/modules/amdxmm.so
Removed /usr/lib/i386-linux-gnu/libAMDXvBA.cap
Removed /usr/lib/i386-linux-gnu/libAMDXvBA.so.1.0
Removed /usr/lib/i386-linux-gnu/libOpenCL.so.1
Removed /usr/lib/i386-linux-gnu/libXvBAW.so.1.0
Removed /usr/lib/i386-linux-gnu/libamdocl32.so
Removed /usr/lib/i386-linux-gnu/libatiadlxx.so
Removed /usr/lib/i386-linux-gnu/libaticalcl.so
Removed /usr/lib/i386-linux-gnu/libaticaldd.so
Removed /usr/lib/i386-linux-gnu/libaticalrt.so
Removed /usr/lib/i386-linux-gnu/libatiuki.so.1.0
Removed /usr/lib/i386-linux-gnu/libfglrx_dm.a
Removed /usr/lib/i386-linux-gnu/libfglrx_dm.so.1.0
Removed /usr/lib/i386-linux-gnu/fglrx/fglrx-libGL.so.1.2
Removed /usr/lib/fglrx/switchlibGL
Removed /usr/lib/fglrx/switchlibglx
Removed /usr/lib/i386-linux-gnu/dri/fglrx_dri.so
Removed /usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so
Removed /usr/lib/libAMDXvBA.cap
Removed /usr/lib/libAMDXvBA.so.1.0
Removed /usr/lib/libOpenCL.so.1
Removed /usr/lib/libXvBAW.so.1.0
Removed /usr/lib/libamdocl64.so
Removed /usr/lib/libatiadlxx.so
Removed /usr/lib/libaticalcl.so
Removed /usr/lib/libaticaldd.so
Removed /usr/lib/libaticalrt.so
Removed /usr/lib/libatiuki.so.1.0
Removed /usr/lib/libfglrx_dm.a
Removed /usr/lib/libfglrx_dm.so.1.0
Removed /usr/lib/fglrx/fglrx-libGL.so.1.2
Removed /usr/lib/x86_64-linux-gnu/dri/fglrx_dri.so
Removed /usr/include/GL/glATI.h
Removed /usr/include/GL/glxATI.h
Removed /usr/include/ATI/GL/glx.h
Removed /usr/include/ATI/GL/glxext.h
Removed /usr/bin/fgl_glxgears
Removed /usr/bin/fglrxinfo
Removed /usr/bin/aticonfig
Removed /usr/bin/atiodcli
Removed /usr/bin/atiode
Removed /usr/bin/clinfo
Removed /usr/src/ati/fglrx_sample_source.tgz
Removed /usr/sbin/amdnotifyui
Removed /usr/sbin/atieventsd
Removed /usr/sbin/atigetsysteminfo.sh
Removed /etc/ati/amdpcsdb.default
Removed /etc/ati/atiapfxx
Removed /etc/ati/atiapfxx.blb
Removed /etc/ati/atiapfxx.log
Removed /etc/ati/atiogl.xml
Removed /etc/ati/authatieventsd.sh
Removed /etc/ati/control
Removed /etc/ati/logo.xbm.example
Removed /etc/ati/logo_mask.xbm.example
Removed /etc/ati/signature
Removed /etc/OpenCL/vendors/amdocl32.icd
Removed /etc/OpenCL/vendors/amdocl64.icd
/usr/bin/md5sum: /usr/X11R6/lib/modules/dri/fglrx_dri.so: No such file or directory
/usr/bin/md5sum: /usr/X11R6/lib64/modules/dri/fglrx_dri.so: No such file or directory
/usr/bin/md5sum: /usr/bin/amdconfig: No such file or directory
Removed /etc/modprobe.d/blacklist-fglrx.conf


My fglrx-install.log:

:: Code ::
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/13.251/source ->
                 /usr/src/fglrx-13.251

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/13.251/build; sh make.sh --nohints --uname_r=3.11-2-amd64 --norootcheck.....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-13.251 with DKMS
[Error] Kernel Module : Removing fglrx-13.251 from DKMS

------------------------------
Deleting module version: 13.251
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs


If you want the sgfxi log, let me know. I tried the sgfxi install twice, and it failed the 2nd time, also.

Edit: I'm adding the sgfxi log so you know I'm using Debian Testing, kernel 3.11 and the Xorg version:

:: Code ::
=========================================================
START sgfxi LOGGING:
=========================================================
Script started: 2013-12-20-08:54:12
Video Card Information: Advanced Micro Devices, Inc. [AMD/ATI] Turks XT [Radeon HD 6670/7670]
Video Card Type: 1002
Video Card Number: 6758
Xorg Version: 1.14
Installing driver to kernel: 3.11-2-amd64
sgfxi script version: 4.21.22
sgfxi start options:
SYSTEM_BASE: debian
SYSTEM_CODENAME: testing
DISTRIB_CODENAME: testing
DISTRIB_ID: debian
DISTRIB_RELEASE:
SIS: debian-testing-64
BITS: 64
FG_DISTRIB_CODENAME: sid
FG_DISTRIB_ID: Debian
APT_TYPE: apt-get
SUDO_START:
=========================================================
X is Running: false
Current Runlevel: 2
Connection is live (0=true): 0
=========================================================
INSTALL_TO_KERNEL:
KERNEL_FULL: 3.11-2-amd64
KERNEL_BASE: 3
KERNEL_NUMBER: 3.11
KERNEL_MATH: 11
B_IS_XEN: true
Function: create_x_conf - Primary: Start
  xorg is present with xorg.conf file
Function: create_x_conf - Primary: End
Function: check_package_manager_updated - Utility: Start
  sizeWorking: 21
Function: check_package_manager_updated - Utility: End
Function: check_supported_driver - Utility: Start
Function: check_supported_driver - Utility: End
Function: set_cpu_data - Utility: Start
  BITS: 64 - arch: amd64
Function: set_cpu_data - Utility: End
Function: set_driver_install_version - Primary: Start
Function: check_supported_driver - Utility: Start
  Args: last-check
Function: check_supported_driver - Utility: End
Function: print_information_continue - Utility: Start
  Args: standard The graphics installer will be installing the fglrx driver: 13.12
Function: check_ia32_libs - Utility: Start
  Args: test
Function: check_ia32_libs - Utility: End
Function: print_information_continue - Utility: End
  Installing this driver: 13.12
Function: set_driver_install_version - Primary: End
Function: driver_support_tests - Utility: Start
  Args: supported-driver
Function: driver_support_tests - Utility: End
Function: check_kernel_headers - Utility: Start
Function: check_package_status - Utility: Start
  Args: linux-headers-3.11-2-amd64 i
  Package Version: 3.11.10-1
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: linux-headers-3.11-2-amd64 c
  Package Version: 3.11.10-1
Function: check_package_status - Utility: End
  headerPresent: arch
include
Makefile
Module.symvers
scripts
headerName: linux-headers-3.11-2-amd64
headerInstalled: 3.11.10-1
headerAvailable: 3.11.10-1
headerFile:
Function: check_kernel_headers - Utility: End
Function: check_run_package_tools - Primary: Start
Function: check_run_package_tools - Primary: End
Function: set_download_info - Primary: Start
  download url: http://www2.ati.com/drivers/linux/ - driver file: amd-catalyst-13.12-linux-x86.x86_64
Function: set_download_info - Primary: End
Function: download_extract_driver - Primary: Start
  Args: http://www2.ati.com/drivers/linux/ amd-catalyst-13.12-linux-x86.x86_64
Function: pre_extract_clean_set_up - Utility: Start
  Args: amd-catalyst-13.12-linux-x86.x86_64
Function: pre_extract_clean_set_up - Utility: End
Archive:  ./amd-catalyst-13.12-linux-x86.x86_64.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
162947832  2013-12-17 14:15   amd-catalyst-13.12-linux-x86.x86_64.run
---------                     -------
162947832                     1 file
  fglrx zip extraction of run file succeeded.
  fglrx zip extraction of run file successful.
Creating directory fglrx-install-13.12
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-13.251...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Function: download_extract_driver - Primary: End
  Function: set_install_directory - set to: /usr/src/sgfxi-downloads/fglrx-install-13.12
Function: run_driver_patches - Primary: Start
Function: run_driver_patches - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: stop
Function: start_stop_x - Utility: Start
  Args: stop
  default runlevel: 2
current runlevel: 2
  dmanCommand: service lightdm stop
Function: x_is_running - Utility: Start
  xIsRunning: false
Function: x_is_running - Utility: End
Function: start_stop_x - Utility: End
Function: x_start_stop_master - Primary: End
Function: check_driver_install_tools - Primary: Start
Function: check_package_status - Utility: Start
  Args: module-assistant i
  Package Version: 0.11.6
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: build-essential i
  Package Version: 11.6
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: debhelper i
  Package Version: 9.20131127
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: dpkg-cross i
  Package Version:
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: libstdc++5 i
  Package Version: 1:3.3.6-27
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: libstdc++6 i
  Package Version: 4.8.2-1
Function: check_package_status - Utility: End
Function: check_package_status - Utility: Start
  Args: unzip i
  Package Version: 6.0-10
Function: check_package_status - Utility: End
Function: check_driver_install_tools - Primary: End
Function: prep_install - Primary: Start
Function: install_package - Utility: Start
  Args: libgl1-mesa-glx reinstall
Function: update_package_manager - Utility: Start
  Args: update
  Update apt-get successful
Function: update_package_manager - Utility: End
Function: check_package_status - Utility: Start
  Args: libgl1-mesa-glx i
  Package Version: 9.2.2-1
Function: check_package_status - Utility: End
  Install command for apt-get: install - Extra args:  --reinstall
Function: install_package - Utility: End
Function: prep_install - Primary: End
Function: preinstall_cleanup - Primary: Start
  Pre Remove: nvidia.ko files:

Function: list_installed_packages - Utility: Start
  Args: nvidia (libkwinnvidiahack|libgl1-nvidia-glx-ia32|libgl1-nvidia-glx:386|modalias|libvdpau|nvidia-bl-dkms|nvidia-cg-toolkit)
  packageList:
Function: list_installed_packages - Utility: End
  Post Purge/Remove: nvidia.ko files:

Function: remove_module - Primary: Start
  Args: nvidia
  operation outcome: unset
Function: remove_module - Primary: End
Function: list_installed_packages - Utility: Start
  Args: fglrx modalias
  packageList:
Function: list_installed_packages - Utility: End
  Using fglrx uninstaller: /usr/share/ati/amd-uninstall.sh force: --force
Function: remove_module - Primary: Start
  Args: fglrx
  operation outcome: unset
Function: remove_module - Primary: End
Function: clean_dkms - Primary: Start
Function: clean_dkms - Primary: End
Function: preinstall_cleanup - Primary: End
Function: run_driver_installer - Primary: Start
  driver: 13.12
  direct fglrx install - no debs: options: 13.12 --install
Function: run_driver_installer - Primary: End
Function: post_installer_steps - Primary: Start
Function: clean_up_fglrx_junk - Utility: Start
Function: clean_up_fglrx_junk - Utility: End
Function: post_installer_steps - Primary: End
Function: update_xorg - Primary: Start
  xorg.conf was backed up to: /etc/X11/xorg.conf-bu-2013-12-20-08:57:46
Function: create_section_device - Utility: Start
Function: create_section_device - Utility: End
Function: create_driver_entry - Utility: Start
Function: create_driver_entry - Utility: End
Function: update_xorgconf_driver_version - Utility: Start
Function: update_xorgconf_driver_version - Utility: End
Function: clear_prep_xorg - Utility: Start
Function: clear_prep_xorg - Utility: End
Function: check_extensions - Utility: Start
Function: create_section_extensions - Utility: Start
Function: create_section_extensions - Utility: End
Function: check_extensions - Utility: End
Function: remove_modelines - Utility: Start
Function: remove_modelines - Utility: End
Function: update_xorg - Primary: End
Function: final_install_steps - Primary: Start
Function: process_xvmc - Utility: Start
Function: process_xvmc - Utility: End
Function: add_module - Primary: Start
  Args: fglrx
FATAL: Module fglrx not found.
  operation outcome: failed
Function: add_module - Primary: End
dpkg: warning: ignoring request to remove fglrx-kernel-src which isn't installed
Function: remove_module - Primary: Start
  Args: radeon
  operation outcome: unset
Function: set_modesetting_off - Primary: End
Function: add_grub_nomodeset_blacklist_item - Utility: Start
  Args: radeon
Function: get_active_grub_files - Utility: Start
  grub files:  /boot/grub/grub.cfg /etc/default/grub
Function: get_active_grub_files - Utility: End
Function: add_grub_nomodeset_blacklist_item - Utility: End
Function: add_modprobe_d_blacklist_item - Utility: Start
  Args: radeon
Function: add_modprobe_d_blacklist_item - Utility: End
Function: set_modesetting_off - Primary: Start
  Args: radeon unset
Function: remove_module - Primary: End
Function: remove_module - Primary: Start
  Args: drm
  operation outcome: unset
Function: remove_module - Primary: End
Function: final_install_steps - Primary: End
Function: x_start_stop_master - Primary: Start
  Args: start
Function: start_x_question - Primary: Start
  Final Step: quit

Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4075
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
why is it using dkms? I haven't run an actual fglrx install for a while, is it forcing dkms?

I can't say if beta 9.4 breaks something, or if your manual install of it made the system use dkms, but 9.4 was never in sgfxi because of the psychotic file name absurdities, so I have little to say.

The logs show very little. We may need to confirm if sgfxi users / fglrx upgrade from 13.11beta6 to 13.12 are having issues, if the dkms thing needs to be handled, etc, but I need to confirm it on a fairly standard system, where people did not install beta9.4

In general, as a point of information, you want to pick between using disstro packaged dkms drivers, OR using direct install like sgfxi uses for most of its options. Since dkms can and will fail on various upgrades, like xorg/kernel when leaving the supported base kernel/xorg/driver system, I tend to not recommend it.

But again, since amd dropped support for the last card I bought for a test box to test sgfxi fglrx, I've refused to buy any more of their cards for the test system, like they say, buy a card only to have support dropped once, shame on amd, buy one twice, shame on me.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
I took your advice and did a minimal Debian Testing install. Then I went to the command line and installed quite a bit - including dkms. I was getting sgfxi error messages when dkms was not installed, so I made sure I installed it from the beginning.

I'll have to look into the AMD/ATI installation logs. I just ran the commands mentioned in the posts I referenced, so I'm not sure about forced dkms. Maybe because I had dkms installed, it forced the issue. Maybe if dkms was not installed, it wouldn't have.

To be honest, though, I'm tempted to purge the AMD driver (if possible) and give it a go again with sgfxi. The whole AMD driver situation is wearing me out.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
No matter what I do, I get the following fglrx-install.log error:

:: Code ::
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/13.251/source ->
                 /usr/src/fglrx-13.251

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
cd /var/lib/dkms/fglrx/13.251/build; sh make.sh --nohints --uname_r=3.11-2-amd64 --norootcheck.....(bad exit status: 1)
[Error] Kernel Module : Failed to build fglrx-13.251 with DKMS
[Error] Kernel Module : Removing fglrx-13.251 from DKMS

------------------------------
Deleting module version: 13.251
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs


I purged and installed with sgfxi and got that message. I then purged and installed with their installer and got that message.

I'll try the beta.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4075
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
the problem is that dkms is setup, and that the installer is trying to build a dkms module, that's the error.

However, ignore the log completely, what actually happens with the sgfxi install? Did xorg start, did not it?

I have memories of amd installer failing to deliver a fail/error exit code on their installer when it fails, so of course, sgfxi is unable to detect the failure, and reports success, there's nothing I can do about that however, since it's a bug in the amd fglrx installer.

Rerunning sgfxi won't change anything nor will installing the beta do much of anything beyond show that the beta may have been the source of the problems.

To undo this type of mess, you have to get rid of all the pieces, then see what the fglrx installer does naturally, so to speak.

As I said, I can't test this because i no longer have an fglrx box, though I guess I could test on a vm or something just to see if the installer creates the regular kernel module as expected, or, no surprise, if amd decided for their users to force dkms, which means either people are screwed, or that there might be, but probably is not, a flag to pass the installer to tell it not to use dkms, in which case I can add that to sgfxi.

You need to find some sgfxi / amd / fglrx users who did not install 9.4 beta and then see if sgfxi works to install 13.12 fglrx, if it does, great, if not, we'll figure out why not.

All fglrx installs up to 13.11 beta 6 seem to have worked as expected, but that's not saying that amd doesn't change something now at random without telling anyone, obviously they can and do do such things with alarming regularity, so I can't assume they didn't.

Keep this stuff in mind, by the way, the next time you chose your card, if you need/want non free video drivers, you have only one choice in linux, nvidia.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
Edit: Round 1

I purged everything.

I completely uninstalled dkms.

I rebooted into shitty graphics and them went into smxi.

I went into SMXI graphics and installed radeon.

I tried installing fglrx again. Same issues.

So I purged again - reinstalled radeon through smxi.

I'm stuck and pissed. I'll have to come back to it when my head is clear.

Round 2:

I was able to install the 13.11-beta-v9.4 with the AMD installer.

This was after a purge, and after completely removing dkms - while running the radeon driver. I think removing dkms was a game changer (can't tell whether it's good or bad), because apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade gave me an auto-remove indication for linux-headers-amd64. I removed it, but reinstalled it later. But I think I reinstalled it after installing the driver. My fglrx-install.log is very different from the one posted above:

:: Code ::
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
Unloading radeon module...
Error: Module radeon is in use
Unloading drm module...
Error: Module drm is in use by: ttm drm_kms_helper radeon
[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
AMD kernel module generator version 2.1
doing Makefile based build for kernel 2.6.x and higher
rm -rf *.c *.h *.o *.ko *.a .??* *.symvers
make -C /lib/modules/3.11-2-amd64/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-headers-3.11-2-amd64'
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_str.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_iommu.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl.o
  CC [M]  /lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
  LD [M]  /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.11-2-amd64'
build succeeded with return value 0
duplicating results into driver repository...
done.
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
- recreating module dependency list
- trying a sample load of the kernel modules
done.
[Reboot] Kernel Module : update-initramfs


I got the familiar Error: Module drm is in use message.

Rebooting got stuck. I had to hard reboot. I'm surprised it worked, but it did, and I'm back to the beta driver.

Basically, I'm hacking away. But the AMD installer did work on the beta. It did not with 13.12.

Earlier in the day, AMD took down the beta. It's back up now. That might not mean anything, but I think I'll wait to see if others gripe about the new installer. I may try to install 13.12 this weekend again.

I would love to troubleshoot sgfxi. But I'm running into so may issues, I'm always pressed to just get the damn AMD driver working.

If I purge, I can get the radeon driver up and running. You would think that having the radeon driver working would allow for 13.12 to be installed via sgfxi or the installer. But that hasn't been the case.

I can get myself out of big trouble. Do you want me to try anything?
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4075
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
While one report isn't enough to say, I'd say it certainly sounds likely that amd did something different in 13.12 that might break things.

crunchbang.org/forums/viewtopic.php?pid=352057
same issue I believe.

forums.linuxmint.com/viewtopic.php?f=59&p=798570
linux mint issues.

Other sites reported installed fine. Could be beta9.4, or beta6, or earlier beta causing the problem somewhere in system, but not enough info.

There's no sgfxi debugging required however, all you have to do is try manually installing 13.12 using the downloaded zip file you will find in:

/usr/src/sgfxi-downloads

just extract it, and then run it

note that sgfxi does more stuff to keep it clean, like creating a predicatable extract directory etc, but the basic thing should be similar once you get the run package extracted from the zip package.

sgfxi will do one more extraction of the run to a folder, but I believe you can just run it with:
:: Code ::
sh ./amd-catalyst....blah.run


again, I certainly won't claim amd hasn't messed up the installer, they have no track record to suggest that it's a good idea to trust anything they do at this point.

Focus on the issue of 13.12, sometimes also purging various things don't do any good, the only test that actually matters is a clean partition/system with 13.12, if that fails there, then there is certainly a bug with the 13.12 installer, if it works, then there might have been a bug in beta 9.4 that makes it not uninstall correctly.

dkms can leave cruft that is detected, so can fglrx in terms of configuration files etc.

But I will wait to hear if anyone else had issues, so far you may be in a unique case of having beta9.4 installed, then installing 13.12, well it won't be unique, but there will be some who have that situation.

When something messes up, it's important to know what messed up, and systems that have been contaminated are bad test beds in my opinion, I'm sorry I don't have anything setup to really test this.

Maybe I'll add a sgfxi test option to let me pretend the driver to be installed really will be fglrx, right now sgfxi only tests up to the download/extract/patch point, which is where most problems occur that are in sgfxi's realm to handle.

I'd only test this on a virtual machine since there's no telling what fglrx will invade or mess up, I don't trust amd's work in this area at all, so I assume the worst.

I'm not going to pay any attention to anything related to their beta driver, sgfxi never offered it, though it did offer/force 13.11 beta6, which I wish I could get feedback on from someone re update to 13.12.

Normally what happens with new drivers, even with fglrx, is, nothing. It installs, or fails to install, but the error you get on 13.12 is from dkms install. Why? I can't tell you yet, maybe in a day or two more details will emerge.
Back to top
Chris M
Status: Contributor
Joined: 11 Aug 2013
Posts: 65
Reply Quote
phoronix.com/forums/showthread.php?91885-AMD-Catalyst-13-12-GPU-Driver-For-Linux-Released&p=381943#post381943

"I got other name for this patch: looks_like_amd_forgot_this.patch"

Too funny.

That's an Ubuntu patch.

Not your issue. Thanks
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4075
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
no, you are wrong, patches are part of sgfxi, I saw those last night.

While it's almost but not quite hard to believe that amd, after waiting 8 months to release a new stable, forgot to patch their own installer, sadly, it's not impossible given their track record.

amd's ongoing incompetence leads me increasingly to believe that a lot of their work has been outsourced, it's got more and more signs of that. If that's not the case, amd should be deeply, deeply, ashamed.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4075
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
patch added to sgfxi, the patch applies fine, so if it works, it will work.

Note that every time you reinstall the driver you will need to force the driver reinstall, not just let the module rebuild.

It's odd to me that after all these years people still aren't aware that sgfxi is built to do all of the driver install, including patches.

Also note, that if amd then fixes their installer, without releasing a renamed driver (something they are forced into by their stupid year.month numbering scheme, ie, it does not allow second releases in any month), sgfxi will then start to fail on the patching, or the patched driver will fail, if this should happen, ie, it works, then stops working, post here, since I don't track amd / fglrx closely beyond the actual driver releases.

Given it took amd 8 months to release their stable driver, we could be with the 13.12 for a long time.
Back to top
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours