Re: [Hampshire] Setting up ATI Mobility Radeon HD 4200 in De…

Top Page

Reply to this message
Author: Robin Wilson
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Setting up ATI Mobility Radeon HD 4200 in Debian
Hiya,

Thanks for the ideas you sent. I tried running modprobe fglrx and got an error saying that module couldn't be found. I googled this error and found this site: http://www.debianadmin.com/how-to-install-ati-fglrx-driver-in-debian.html

I've tried following the instructions there to take the ATI download and turn it into a debian package that can be installed, but I get the following error:

root@server:~/Downloads# sh ati-driver-installer-11-4-x86.x86_64.run --buildpkg Debian/experimental
Created directory fglrx-install.5Cujo2
Verifying archive integrity... All good.
Uncompressing ATI Catalyst(TM) Proprietary Driver-8.841................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
=====================================================================
ATI Technologies Catalyst(TM) Proprietary Driver Installer/Packager
=====================================================================
Generating package: Debian/experimental
cp: cannot stat `/root/Downloads/fglrx-install.5Cujo2/x710_64a/*': No such file or directory
Package build failed!
Package build utility output:
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package fglrx-installer
dpkg-buildpackage: source version 8.841-1
dpkg-buildpackage: source changed by ATI Technologies Inc. <http://ati.amd.com/support/driver.html>
dpkg-source --before-build fglrx.4rcUKk
dpkg-buildpackage: host architecture amd64
debian/rules build
dh_testdir
make: dh_testdir: Command not found
make: *** [build] Error 127
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Removing temporary directory: fglrx-install.5Cujo2

My xorg.conf file is:

Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection


Section "Module"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection


Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "fglrx"
    BusID       "PCI:1:5:0"
EndSection


Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection



The important part of my Xorg log file is below

(II) fglrx(0): Output CRT1 connected
(II) fglrx(0): Using exact sizes for initial modes
(II) fglrx(0): Output CRT1 using initial mode 1600x1200
(II) fglrx(0): DPI set to (96, 96)
(II) fglrx(0): Adapter ATI Mobility Radeon HD 4200 Series has 2 configurable heads and 1 displays connected.
(==) fglrx(0):  PseudoColor visuals disabled
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(==) fglrx(0): NoDRI = NO
(==) fglrx(0): Capabilities: 0x00000000
(==) fglrx(0): CapabilitiesEx: 0x00000000
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(==) fglrx(0): UseFastTLS=0
(==) fglrx(0): BlockSignalsOnLock=1
(--) Depth 24 pixmap format is 32 bpp
(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. 
(WW) fglrx(0): ***********************************************************
(WW) fglrx(0): * DRI initialization failed                               *
(WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible *
(WW) fglrx(0): * 2D and 3D acceleration disabled                         *
(WW) fglrx(0): ***********************************************************



It looks like the kernel module isn't installed properly - any ideas how I should go about setting it up?

Robin

On 6 May 2011, at 16:10, Benjie Gillam wrote:

> You probably want to fully uninstall the existing drivers before installing the new ones. You may also want to run fglrxconfig (or whatever it's called) to autogenerate an xorg.conf file (you shouldn't need to, but if it's not working...)
>
> Can you:
> $ sudo modprobe fglrx
> ?
>
> Running
> $ glxinfo | grep dir
> should give you
> direct rendering: yes
> if the driver is installed properly.
>
> If you like, you can send me your /var/log/Xorg.* log files and your /etc/X11/xorg.conf (if it exists) and I'll try and give you a hand diagnosing the issue.
>
> Cheers,
>
> Benjie.
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------