WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: fglrx driver for ATI radeon 5450 card problem  (Read 16940 times)

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
fglrx driver for ATI radeon 5450 card problem
« on: November 04, 2013, 01:59:41 AM »
I ran
Code: [Select]
./amd-driver-installer-catalyst-13-4-x86.x86_64.run
Created directory fglrx-install.CnHJTE
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104........................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ................................................................................                                                                                      ............................................................................
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================

error: X Server version cannot be detected. (default:v2:i686:lib::none:3.0.21-ti                                                                                      nycore:)
Installation will not proceed.

Removing temporary directory: fglrx-install.CnHJTE



What am I missing ?
« Last Edit: December 02, 2013, 01:09:10 AM by manit123 »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #1 on: November 04, 2013, 06:50:24 AM »
Which version of tc are you trying to install this on?

"amd-driver-installer-catalyst-13-4-x86.x86_64.run" suggests the 64-bit version of tc, but "i686:lib::none:3.0.21-ti" suggests the 32-bit version.

On my hardware (macmini), I don't require any any additional drivers for to connect a monitor via the hdmi output, albeit connected via an hdmi-dvi adapter.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #2 on: November 04, 2013, 07:10:46 AM »
it is 4.7.7 as output by 'version' command.

my graphic card is connected to CRT via VGA & to TV via HDMI . Currently desktop is duplicated on both. This catalyst binary helps to configure extended desktop etc.
catalyst binary works fine with backtrack5 - 32bit.
« Last Edit: November 04, 2013, 07:37:13 AM by manit123 »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #3 on: November 04, 2013, 08:44:41 AM »
OK, so you're using the 32bit version of tc-4.7.7

Perhaps you need to load the Xorg-7.6-dev extension?

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #4 on: November 06, 2013, 01:40:02 AM »
installed Xorg-7.6-dev
Now I get
Quote
Supported adapter detected.
Check if system has the tools required for installation.
fglrx installation requires that the system have kernel headers.  /lib/modules/3.0.21-tinycore/build/include/linux/version.h cannot be found on this system.
fglrx installation requires that the system has make tool. make cannot be found on this system.
fglrx installation requires that the system has gcc tool. gcc cannot be found on this system.
One or more tools required for installation cannot be found on the system. Install the required tools before installing the fglrx driver.
Optionally, run the installer with --force option to install without the tools.
Forcing install will disable AMD hardware acceleration and may make your system unstable. Not recommended.

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #5 on: November 06, 2013, 02:09:52 AM »
you need to load the compiletc extension and (probably) linux-headers-3.0.21-tinycore

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #6 on: November 14, 2013, 09:41:54 AM »
Did that .
Also had to install Xorg-7.6-bin.tcz
i get error during compilation
Code: [Select]
du: invalid option -- 'b' --hdmi monitor post  additionally installed Xorg-7.6.tcz
looks like busybox 'du' command does not have -b option (reports all file size in bytes). Can i install any app that helps ? Or any other way ?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11634
Re: driver for HDMI monitor
« Reply #7 on: November 14, 2013, 10:02:48 AM »
Hi manit123
Quote
Can i install any app that helps ?
Try  coreutils.tcz

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #8 on: November 19, 2013, 10:53:26 PM »
here is sequence of commands (WITH OUTPUT) I ran
Quote
$tce-load -i compiletc.tcz coreutils.tcz linux-headers-3.0.21-tinycore.tcz
$tce-load -i Xorg-7.6.tcz Xorg-7.6-dev.tcz

# /home/tc/amd-driver-installer-catalyst-13-4-x86.x86_64.run
Created directory fglrx-install.55Kcgk
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104...
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Detected configuration:
Architecture: i686 (32-bit)
X Server: X.Org 6.9 or later
loki_setup: directory: (null)
Removing temporary directory: fglrx-install.55Kcgk

# cat /usr/share/ati/fglrx-install.log
Supported adapter detected.
Check if system has the tools required for installation.
Uninstalling any previously installed drivers.
[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.0.21-tinycore/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/local/src/linux-headers-3.0.21-tinycore'
  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/local/src/linux-headers-3.0.21-tinycore'
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
failed.
[Error] Kernel Module : Failed to install compiled kernel module - please consult readme.

# cd /lib/modules/fglrx/
root@box:/lib/modules/fglrx# ./make_install.sh
- recreating module dependency list
- trying a sample load of the kernel modules
modprobe: can't load module fglrx (kernel/drivers/char/drm/fglrx.ko): unknown symbol in module, or unknown parameter
failed.

#/home/tc/amd-driver-installer-catalyst-13-4-x86.x86_64.run  --listpkg
Created directory fglrx-install.2fBPYI
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104...
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager 
=====================================================================
List of generatable packages:
Package Maintainer(s): Aric Cyr <aric.cyr@gmail.com>
                      Mario Limonciello <superm1@gmail.com>
Status: *UNVERIFIED*
Debian Packages:
   Debian/sid
   Debian/unstable
   Debian/etch
   Debian/stable
   Debian/lenny
   Debian/testing
   Debian/experimental
Package Maintainer(s): Niko Mirthes <nmirthes@gmail.com>
                      Michael Larabel <michael@phoronix.com>
Status: *UNVERIFIED*
Fedora Packages:
   Fedora/FC3
   Fedora/FC4
   Fedora/FC5
   Fedora/FC6
   Fedora/F7
   Fedora/F8
   Fedora/F9
   Fedora/F10
   Fedora/RHEL3
   Fedora/RHEL4
Package Maintainer(s): Anssi Hannula <anssi@mageia.org>
Status: *UNVERIFIED*
Mageia Packages:
   Mageia/1
   Mageia/2
   Mageia/3
Package Maintainer(s): Dmitry Mikhirev <dmikhirev@mandriva.org>
Status: *UNVERIFIED*
Mandriva Packages:
   Mandriva/2007.0
   Mandriva/2007.1
   Mandriva/2008.0
   Mandriva/2008.1
   Mandriva/2009.0
   Mandriva/2009.1
   Mandriva/2010.0
   Mandriva/2010.1
   Mandriva/2010.2
   Mandriva/2011.0
   Mandriva/2012.0
Package Maintainer(s): AMD
Status: Verified
RedHat Packages:
   RedHat/RHEL5
   RedHat/RHEL6
   RedHat/RHEL5_64a
   RedHat/RHEL6_64a
Package Maintainer(s): Emanuele Tomasi <tomasi@cli.di.unipi.it>
Status: *UNVERIFIED*
Slackware Packages:
   Slackware/Slackware
Package Maintainer(s): Sebastian Siebert <freespacer@gmx.de>
Status: *UNVERIFIED*
SuSE Packages:
   SuSE/SLE10-IA32
   SuSE/SLE10-AMD64
   SuSE/SLE11-IA32
   SuSE/SLE11-AMD64
   SuSE/SUSE121-IA32
   SuSE/SUSE121-AMD64
   SuSE/SUSE122-IA32
   SuSE/SUSE122-AMD64
   SuSE/SUSE123-IA32
   SuSE/SUSE123-AMD64
   SuSE/SUSE-autodetection
Package Maintainer(s): Alberto Milone <alberto.milone@canonical.com>
Status: *UNVERIFIED*
Ubuntu Packages:
   Ubuntu/gutsy
   Ubuntu/hardy
   Ubuntu/intrepid
   Ubuntu/jaunty
   Ubuntu/karmic
   Ubuntu/lucid
   Ubuntu/maverick
   Ubuntu/natty
   Ubuntu/oneiric
   Ubuntu/precise
   Ubuntu/quantal
   Ubuntu/raring
   Ubuntu/source
For example, to build a Debian Etch package, run the following:
% ./amd-driver-installer-<version>-<architecture>.run --buildpkg Debian/etch
Removing temporary directory: fglrx-install.2fBPYI

$tce-load -i dpkg.tcz dpkg-deb.tcz
#/home/tc/amd-driver-installer-catalyst-13-4-x86.x86_64.run  --buildpkg Ubuntu/gutsy
Created directory fglrx-install.0Xnps4
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104...
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Ubuntu/gutsy
-y: line 1: apt-get: not found
Unable to install dpkg-dev.  Please manually install and try again.
Error: unsupported architecture:
Removing temporary directory: fglrx-install.0Xnps4

#/home/tc/amd-driver-installer-catalyst-13-4-x86.x86_64.run  --buildpkg Debian/etch
Created directory fglrx-install.MYpeHP
Verifying archive integrity... All good.
Uncompressing AMD Catalyst(TM) Proprietary Driver-12.104...
=====================================================================
 AMD Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Debian/etch
./packages/Debian/ati-packager.sh: line 177: dpkg-architecture: not found
Error: unsupported architecture:
Removing temporary directory: fglrx-install.MYpeHP
« Last Edit: November 19, 2013, 11:02:06 PM by manit123 »

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #9 on: November 19, 2013, 11:46:57 PM »
What does "modinfo /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko" give?

This might show what deps are needed to avoid the "unknown symbol in module, or unknown parameter" error.

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #10 on: November 22, 2013, 06:47:54 AM »
Quote
$modinfo /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
filename:       /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
description:    ATI Fire GL
author:         Fire GL - ATI Research GmbH, Germany
license:        Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
vermagic:       3.0.21-tinycore SMP mod_unload 486
depends:        agpgart

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #11 on: November 22, 2013, 07:54:51 AM »
You could try:
Code: [Select]
$ sudo cp /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko /usr/local/lib/modules/3.0.21-tinycore/kernel/drivers/char/agp
$ sudo depmod -a
$ sudo modprobe fglrx
..and see what happens

Offline manit123

  • Sr. Member
  • ****
  • Posts: 315
Re: driver for HDMI monitor
« Reply #12 on: November 24, 2013, 11:37:34 PM »
Quote
oot@box:/home/tc# ls -al /usr/local/lib/modules/3.0.21-tinycore/kernel/
total 0
drwxr-xr-x 2 root root 40 Apr 15  2012 .
drwxr-xr-x 3 root root 60 Apr 15  2012 ..
root@box:/home/tc# mkdir -p /usr/local/lib/modules/3.0.21-tinycore/kernel/drivers/char/
root@box:/home/tc# cp /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko /usr/local/lib/modules/3.0.21-tinycore/kernel/drivers/char/agp
root@box:/home/tc# depmod -a
root@box:/home/tc# modprobe fglrx
modprobe: can't load module fglrx (kernel/drivers/char/drm/fglrx.ko): unknown symbol in module, or unknown parameter

Online Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: driver for HDMI monitor
« Reply #13 on: November 24, 2013, 11:46:55 PM »
Does "lsmod" show that the agpgart module was loaded? Was the graphics-KERNEL extension loaded?

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: driver for HDMI monitor
« Reply #14 on: November 24, 2013, 11:59:08 PM »
Wondering why the cp path vs. path reported by modprobe would differ.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)