Mike’s Linux Desktop Experiences

January 29, 2008

Video Performance

Filed under: video — Mr. Mike @ 7:51 am
Tags: , ,

I’m a bit annoyed by video performance. I’m not quite sure it’s so poor really. It’s qualitative yes, but that’s pretty important.

So I decided to check out

https://help.ubuntu.com/community/BinaryDriverHowto/ATI

Which leads me to:

http://ati.amd.com/support/drivers/linux64/linux64-radeon.html

And..


    mike@whitetower:~$ fglrxinfo
    display: :0.0 screen: 0
    OpenGL vendor string: ATI Technologies Inc.
    OpenGL renderer string: Radeon X1650 Series
    OpenGL version string: 2.0.6473 (8.37.6)

    mike@whitetower:~$ sudo apt-get install dpkg-dev debhelper libstdc++5 dkms
    [sudo] password for mike:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    dpkg-dev is already the newest version.
    debhelper is already the newest version.
    libstdc++5 is already the newest version.
    The following extra packages will be installed:
    gawk
    Recommended packages:
    fakeroot
    The following NEW packages will be installed:
    dkms gawk
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 563kB of archives.
    After unpacking, 2437kB of additional disk space will be used.
    Do you want to continue [Y/n]? y
    Get:1 http://ca.archive.ubuntu.com gutsy/main gawk 1:3.1.5.dfsg-4ubuntu1 [512kB]
    Get:2 http://ca.archive.ubuntu.com gutsy/universe dkms 2.0.17.4-0ubuntu2 [51.0kB]
    Fetched 563kB in 2s (268kB/s)
    Selecting previously deselected package gawk.
    (Reading database ... 93458 files and directories currently installed.)
    Unpacking gawk (from .../gawk_1%3a3.1.5.dfsg-4ubuntu1_amd64.deb) ...
    Selecting previously deselected package dkms.
    Unpacking dkms (from .../dkms_2.0.17.4-0ubuntu2_all.deb) ...
    Setting up gawk (1:3.1.5.dfsg-4ubuntu1) ...

    Setting up dkms (2.0.17.4-0ubuntu2) ...

    mike@whitetower:~$

    mike@whitetower:~$ ./ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/gutsy
    Created directory fglrx-install.ge7375
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.452.1.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    Generating package: Ubuntu/gutsy
    Error: need root permissions or the `fakeroot' package installed
    Removing temporary directory: fglrx-install.ge7375
    mike@whitetower:~$ sudo apt-get install fakeroot
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following NEW packages will be installed:
    fakeroot
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B/113kB of archives.
    After unpacking, 451kB of additional disk space will be used.
    Selecting previously deselected package fakeroot.
    (Reading database ... 93585 files and directories currently installed.)
    Unpacking fakeroot (from .../fakeroot_1.7.1ubuntu1_amd64.deb) ...
    Setting up fakeroot (1.7.1ubuntu1) ...

    mike@whitetower:~$

    xxxxxxxxxxxxxxxxxxxxxxxxxx

    mike@whitetower:~$ ./ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/gutsy
    Created directory fglrx-install.QY7501
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.452.1.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    Generating package: Ubuntu/gutsy
    Package /home/mike/xorg-driver-fglrx_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/xorg-driver-fglrx-dev_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/fglrx-kernel-source_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/fglrx-amdcccle_8.452.1-1_amd64.deb has been successfully generated
    Removing temporary directory: fglrx-install.QY7501
    mike@whitetower:~$

hmm


    mike@whitetower:~$ sudo dpkg -i xorg-driver-fglrx_8.452.1-1_amd64.deb
    [sudo] password for mike:
    (Reading database ... 93649 files and directories currently installed.)
    Preparing to replace xorg-driver-fglrx 7.1.0-8.37.6+2.6.22.4-14.10 (using xorg-driver-fglrx_8.452.1-1_amd64.deb) ...
    Unpacking replacement xorg-driver-fglrx ...
    dpkg: warning - unable to delete old directory `/etc/X11/Xsession.d/70fglrx_32bit_dri': Directory not empty
    Setting up xorg-driver-fglrx (8.452.1-1) ...

    Configuration file `/etc/xdg/compiz/compiz-manager'
    ==> Deleted (by you or by a script) since installation.
    ==> Package distributor has shipped an updated version.
    What would you like to do about it ? Your options are:
    Y or I : install the package maintainer's version
    N or O : keep your currently-installed version
    D : show the differences between the versions
    Z : background this process to examine the situation
    The default action is to keep your current version.
    *** compiz-manager (Y/I/N/O/D/Z) [default=N] ? y
    Installing new version of config file /etc/xdg/compiz/compiz-manager ...
    * Starting atieventsd /usr/sbin/atieventsd: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
    [fail]

    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    mike@whitetower:~$

Hmmmmmm…


    mike@whitetower:~$ sudo dpkg -i xorg-driver-fglrx-dev_8.452.1-1_amd64.deb
    Selecting previously deselected package xorg-driver-fglrx-dev.
    (Reading database ... 93716 files and directories currently installed.)
    Unpacking xorg-driver-fglrx-dev (from xorg-driver-fglrx-dev_8.452.1-1_amd64.deb) ...
    Setting up xorg-driver-fglrx-dev (8.452.1-1) ...
    mike@whitetower:~$

I think there’s an error in the documentation instructing me to install the kernel source from a deb using dpkg -i. Seems weird.


    mike@whitetower:~$ sudo apt-get install module-assistant build-essential debhelper debconf dh-make fakeroot libstdc++5 linux-headers-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    debhelper is already the newest version.
    debconf is already the newest version.
    fakeroot is already the newest version.
    libstdc++5 is already the newest version.
    linux-headers-generic is already the newest version.
    The following NEW packages will be installed:
    dh-make module-assistant
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 134kB of archives.
    After unpacking, 864kB of additional disk space will be used.
    Get:1 http://ca.archive.ubuntu.com gutsy/main dh-make 0.43 [33.8kB]
    Get:2 http://ca.archive.ubuntu.com gutsy/universe module-assistant 0.10.11 [100kB]
    Fetched 134kB in 0s (168kB/s)
    Selecting previously deselected package dh-make.
    (Reading database ... 93727 files and directories currently installed.)
    Unpacking dh-make (from .../archives/dh-make_0.43_all.deb) ...
    Selecting previously deselected package module-assistant.
    Unpacking module-assistant (from .../module-assistant_0.10.11_all.deb) ...
    Setting up dh-make (0.43) ...
    Setting up module-assistant (0.10.11) ...
    mike@whitetower:~$ sudo m-a prepare,update
    Getting source for kernel version: 2.6.22-14-generic
    Kernel headers available in /usr/src/linux-headers-2.6.22-14-generic
    Creating symlink...
    apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Done!

    Updated infos about 85 packages
    mike@whitetower:~$

    .....................................

    mike@whitetower:~$ sudo apt-get install module-assistant build-essential debhelper debconf dh-make fakeroot libstdc++5 linux-headers-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    debhelper is already the newest version.
    debconf is already the newest version.
    fakeroot is already the newest version.
    libstdc++5 is already the newest version.
    linux-headers-generic is already the newest version.
    The following NEW packages will be installed:
    dh-make module-assistant
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    Need to get 134kB of archives.
    After unpacking, 864kB of additional disk space will be used.
    Get:1 http://ca.archive.ubuntu.com gutsy/main dh-make 0.43 [33.8kB]
    Get:2 http://ca.archive.ubuntu.com gutsy/universe module-assistant 0.10.11 [100kB]
    Fetched 134kB in 0s (168kB/s)
    Selecting previously deselected package dh-make.
    (Reading database ... 93727 files and directories currently installed.)
    Unpacking dh-make (from .../archives/dh-make_0.43_all.deb) ...
    Selecting previously deselected package module-assistant.
    Unpacking module-assistant (from .../module-assistant_0.10.11_all.deb) ...
    Setting up dh-make (0.43) ...
    Setting up module-assistant (0.10.11) ...
    mike@whitetower:~$ sudo m-a prepare,update
    Getting source for kernel version: 2.6.22-14-generic
    Kernel headers available in /usr/src/linux-headers-2.6.22-14-generic
    Creating symlink...
    apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Done!

    Updated infos about 85 packages
    mike@whitetower:~$ sudo m-a build,install fglrx-kernel
    The source tarball could not be found!
    Package fglrx-kernel-src not installed?
    Running "m-a -f get fglrx-kernel-src" may help.
    find: /usr/src/modules: No such file or directory
    mike@whitetower:~$ bash ./ati-driver-installer-.run --buildpkg Ubuntu/feisty
    bash: version: No such file or directory
    mike@whitetower:~$ ./ati-driver-installer-8-01-x86.x86_64.run --buildpkg Ubuntu/feisty
    Created directory fglrx-install.x11739
    Verifying archive integrity... All good.
    Uncompressing ATI Proprietary Linux Driver-8.452.1.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    ==================================================
    ATI Technologies Linux Driver Installer/Packager
    ==================================================
    Generating package: Ubuntu/feisty
    Package /home/mike/xorg-driver-fglrx_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/xorg-driver-fglrx-dev_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/fglrx-kernel-source_8.452.1-1_amd64.deb has been successfully generated
    Package /home/mike/fglrx-amdcccle_8.452.1-1_amd64.deb has been successfully generated
    Removing temporary directory: fglrx-install.x11739
    mike@whitetower:~$ sudo dpkg -i /home/mike/fglrx-kernel-source_8.452.1-1_amd64.deb
    Selecting previously deselected package fglrx-kernel-source.
    (Reading database ... 93844 files and directories currently installed.)
    Unpacking fglrx-kernel-source (from .../fglrx-kernel-source_8.452.1-1_amd64.deb) ...
    Setting up fglrx-kernel-source (8.452.1-1) ...
    mike@whitetower:~$ sudo dpkg -i /home/mike/fglrx-
    fglrx-amdcccle_8.452.1-1_amd64.deb fglrx-kernel-source_8.452.1-1_amd64.deb
    mike@whitetower:~$ sudo dpkg -i /home/mike/xorg-driver-fglrx
    xorg-driver-fglrx_8.452.1-1_amd64.deb xorg-driver-fglrx-dev_8.452.1-1_amd64.deb
    mike@whitetower:~$ sudo dpkg -i /home/mike/xorg-driver-fglrx_8.452.1-1_amd64.deb
    (Reading database ... 93848 files and directories currently installed.)
    Preparing to replace xorg-driver-fglrx 8.452.1-1 (using .../xorg-driver-fglrx_8.452.1-1_amd64.deb) ...
    * Stopping atieventsd [ OK ]
    Unpacking replacement xorg-driver-fglrx ...
    Setting up xorg-driver-fglrx (8.452.1-1) ...
    Installing new version of config file /etc/init.d/atieventsd ...
    Starting atieventsd: done.

    Processing triggers for libc6 ...
    ldconfig deferred processing now taking place
    mike@whitetower:~$ sudo dpkg -i /home/mike/xorg-driver-fglrx-dev_8.452.1-1_amd64.deb
    (Reading database ... 93848 files and directories currently installed.)
    Preparing to replace xorg-driver-fglrx-dev 8.452.1-1 (using .../xorg-driver-fglrx-dev_8.452.1-1_amd64.deb) ...
    Unpacking replacement xorg-driver-fglrx-dev ...
    Setting up xorg-driver-fglrx-dev (8.452.1-1) ...
    mike@whitetower:~$ sudo m-a prepare,update
    Getting source for kernel version: 2.6.22-14-generic
    Kernel headers available in /usr/src/linux
    Creating symlink...
    Couldn't create the /usr/src/linux symlink!
    apt-get install build-essential
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    build-essential is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    Done!

    Updated infos about 86 packages
    mike@whitetower:~$ sudo m-a build,install fglrx-kernel
    Extracting the package tarball, /usr/src/fglrx.tar.bz2, please wait...
    Done with /usr/src/fglrx-kernel-2.6.22-14-generic_8.452.1-1+2.6.22-14.47_amd64.deb .
    Selecting previously deselected package fglrx-kernel-2.6.22-14-generic.
    (Reading database ... 93848 files and directories currently installed.)
    Unpacking fglrx-kernel-2.6.22-14-generic (from .../fglrx-kernel-2.6.22-14-generic_8.452.1-1+2.6.22-14.47_amd64.deb) ...
    Setting up fglrx-kernel-2.6.22-14-generic (8.452.1-1+2.6.22-14.47) ...

    mike@whitetower:~$ sudo depmod -a
    mike@whitetower:~$ sudo rm -f /usr/src/fglrx-kernel*.deb
    mike@whitetower:~$ sudo vi /etc/default/linux-restricted-modules-common
    mike@whitetower:~$ sudo vi /etc/x
    xdg/ xml/
    mike@whitetower:~$ sudo vi /etc/X11/
    app-defaults/ rgb.txt xorg.conf Xsession.d/
    cursors/ X Xresources/ Xsession.options
    default-display-manager xinit/ xserver/ Xwrapper.config
    fonts/ xkb/ Xsession
    mike@whitetower:~$ sudo vi /etc/X11/xorg.conf
    mike@whitetower:~$

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: