Announcement

Collapse
No announcement yet.

Problems installing ATI driver

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Problems installing ATI driver

    I have a ATI Mobility Radeon X1600 videocard in my laptop, and I am trying to install appropriate drivers to get the resolution and everything to look a little better.

    I got the latest Linu drivers from http://ati.de/support/drivers/linux/linux-radeon.html.

    I am following these instructions: https://a248.e.akamai.net/f/674/9206...36.5-inst.html

    However, when I do 'sh ./ati-driver-installer-8.36.5-x86.x86_64.run', it unpacks and everything, but I get the error:
    "Detected version of X does not have a matching 'x720' directory. You may override the detected version using the following syntax:
    X_VERSION=<dir> ./ati-driver-installer-<ver>-<arch>.run [--install]"

    I think the problem is that this driver is for XFree86 versions up to 7.1, and Kubuntu FF comes with 7.2.

    So what do I do? Is it worth downgrading Xorg86?

    Thanks!

    #2
    Re: Problems installing ATI driver

    Hmm - I'm using feisty with 8.36.5.

    I followed instructions from Ubuntu Feisty Installation Guide
    http://wiki.cchtml.com/index.php/Ubu...allation_Guide

    And there Method 2: Install the 8.36.5 Driver Manually...


    More links:

    Unofficial Wiki for the ATI Linux Driver
    http://wiki.cchtml.com/index.php/Main_Page

    Envy
    http://www.albertomilone.com/nvidia_scripts1.html

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

    HOWTO : Disaster Recovery and xorg.conf
    http://kubuntuforums.net/forums/inde...opic=3082808.0

    Topic: X Error: BadDevice, invalid or uninitialized input device 168
    http://kubuntuforums.net/forums/index.php?topic=7964.0
    Before you edit, BACKUP !

    Why there are dead links ?
    1. Thread: Please explain how to access old kubuntu forum posts
    2. Thread: Lost Information

    Comment


      #3
      Re: Problems installing ATI driver

      Much appreciated, will check that out and report back.

      Thanks

      Comment


        #4
        Re: Problems installing ATI driver

        Those directions are very helpful however when I get to this part:

        sudo module-assistant install fglrx

        The terminal responds back with:

        "install, what's install?"

        -CW55

        Comment


          #5
          Re: Problems installing ATI driver

          Something's wrong with module-assistant. Try reinstalling it.
          For external use only.

          Comment


            #6
            Re: Problems installing ATI driver

            Well I found out what the problem was but I still can not fix it and I am at the point where I am about to abandoned Kubuntu because this is so frustrating. I've looked EVERYWHERE and I do not understand what is the problem.

            Every time I run:

            sudo aticonfig --initial

            It renames the file to xorg.conf.original-0

            If I manually go into the xorg.conf file and replace the "vesa" with "fglrx" and save it as xorg.conf and re execute sudo aticonfig --overlay-type=Xv it gives me a long list of memory allocations and then Aborted (core dumped) at the end and does not work.

            I have read the Binaryhowto on ubuntu AND also the cc wiki web page as list earlier in this thread.

            This is by far the stupidest thing I have come across. I never had this many problem when I ran OpenSUSE.

            -CW55

            Comment


              #7
              Re: Problems installing ATI driver

              Well - you don't need to use aticonfig. Aticonfig is "helpper" tool that adds lines in the xorg.conf.

              I think that this:
              Code:
              sudo aticonfig --overlay-type=Xv
              just writes:
              Code:
              Option			"VideoOverlay" "on"
              in the Device section.


              DIY
              After installation, i would run (backup first)
              Code:
              sudo dpkg-reconfigure xserver-xorg
              This reconfigures xserver.
              More at http://users.bigpond.net.au/hermanzone/p7.html


              After that i would edit (backup first) xorg.conf:
              Alt +F2 and kdesu /etc/X11/xorg.conf.

              Remove unnessary markings:
              Topic: X Error: BadDevice, invalid or uninitialized input device 168
              http://kubuntuforums.net/forums/index.php?topic=7964.0

              Check that Section "Device" has
              Driver "fglrx"
              and
              Option "VideoOverlay" "on"
              and there is
              Section "Extensions"
              Option "Composite" "0"
              EndSection
              because:
              From http://wiki.cchtml.com/index.php/Ubu...allation_Guide
              In Ubuntu Feisty the Composite extension is enabled by default, however, fglrx does not yet support Composite with DRI. In order to disable Composite you have to edit the xorg.conf file
              Add
              Option "AIGLX" "false"
              in the Section "ServerLayout"
              because AIGLX doesn't work with fglrx (keep error messages off).
              without:
              (EE) AIGLX error: dlsym for __driCreateNewScreen_20050727 failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __driCreateNewScreen_20050727)
              (EE) AIGLX: reverting to software rendering
              After that, my xorg.conf as example:
              Code:
              # /etc/X11/xorg.conf (xorg X Window System server configuration file)
              #
              # This file was generated by dexconf, the Debian X Configuration tool, using
              # values from the debconf database.
              #
              # Edit this file with caution, and see the xorg.conf(5) manual page.
              # (Type "man xorg.conf" at the shell prompt.)
              #
              # This file is automatically updated on xserver-xorg package upgrades *only*
              # if it has not been modified since the last upgrade of the xserver-xorg
              # package.
              #
              # If you have edited this file but would like it to be automatically updated
              # again, run the following command:
              #  sudo dpkg-reconfigure -phigh xserver-xorg
              
              Section "Files"
              	FontPath	"/usr/share/X11/fonts/misc"
              	FontPath	"/usr/share/X11/fonts/cyrillic"
              	FontPath	"/usr/share/X11/fonts/100dpi/:unscaled"
              	FontPath	"/usr/share/X11/fonts/75dpi/:unscaled"
              	FontPath	"/usr/share/X11/fonts/Type1"
              	FontPath	"/usr/share/X11/fonts/100dpi"
              	FontPath	"/usr/share/X11/fonts/75dpi"
              	FontPath	"/usr/share/fonts/X11/misc"
              	# path to defoma fonts
              	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
              EndSection
              
              Section "Module"
              	Load	"bitmap"
              	Load	"dbe"
              	Load	"ddc"
              	Load	"dri"
              	Load	"extmod"
              	Load	"freetype"
              	Load	"glx"
              	Load	"int10"
              	Load	"record"
              	Load	"v4l"
              	Load	"vbe"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Generic Keyboard"
              	Driver		"kbd"
              	Option		"CoreKeyboard"
              	Option		"XkbRules"	"xorg"
              	Option		"XkbModel"	"pc105"
              	Option		"XkbLayout"	"fi"
              EndSection
              
              Section "InputDevice"
              	Identifier	"Configured Mouse"
              	Driver		"mouse"
              	Option		"CorePointer"
              	Option		"Device"		"/dev/input/mice"
              	Option		"Protocol"		"ImPS/2"
              	Option		"ZAxisMapping"		"4 5"
              	Option		"Emulate3Buttons"	"true"
              EndSection
              
              Section "Device"
              	Identifier	"Ati Radeon 9600 XT"
              	Driver		"fglrx"
              	BusID		"PCI:3:0:0"
              Option			"UseInternalAGPGART" "no"
              Option			"VideoOverlay" "on"
              EndSection
              
              Section "Extensions"
              	Option		"Composite"	"0"
              EndSection
              
              Section "Monitor"
              	Identifier	"VX2235wm"
              	Option		"DPMS"
              	HorizSync	30-130
              	VertRefresh	50-160
              EndSection
              
              Section "Screen"
              	Identifier	"Default Screen"
              	Device		"Ati Radeon 9600 XT"
              	Monitor		"VX2235wm"
              	DefaultDepth	24
              	SubSection "Display"
              		Depth		1
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              	SubSection "Display"
              		Depth		4
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              	SubSection "Display"
              		Depth		8
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              	SubSection "Display"
              		Depth		15
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              	SubSection "Display"
              		Depth		16
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              	SubSection "Display"
              		Depth		24
              		Modes		"1680x1050" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
              	EndSubSection
              EndSection
              
              Section "ServerLayout"
              	Identifier	"Default Layout"
              	Screen		"Default Screen"
              	InputDevice	"Generic Keyboard"
              	InputDevice	"Configured Mouse"
                  Option     "AIGLX"	"false"
              EndSection
              
              Section "DRI"
              	Mode	0666
              EndSection
              Save - restart - check
              Code:
              :~$ fglrxinfo
              display: :0.0 screen: 0
              OpenGL vendor string: ATI Technologies Inc.
              OpenGL renderer string: ATI RADEON 9600 Series
              OpenGL version string: 2.0.6458 (8.36.5)
              Code:
              :~$ xvinfo
              X-Video Extension version 2.2
              screen #0
               Adaptor #0: "video4linux"
                number of ports: 1
                port base: 115
                operations supported: PutVideo
              ...
              Code:
              :~$ glxinfo | grep direct
              direct rendering: Yes

              If there is problems (still mesa/no xv/no direct rendering):
              I would check errors (/var/log/Xorg.0.log):
              Code:
              cat /var/log/Xorg.0.log | grep "(EE)"
              and warnings
              Code:
              cat /var/log/Xorg.0.log | grep "(WW)"

              This is by far the stupidest thing I have come across.
              Yes - this is ancient, not today.



              HELPPERS

              Envy
              http://www.albertomilone.com/nvidia_scripts1.html
              What is Envy?:

              "Envy" is an application for Ubuntu Linux written in Python and PyGTK which will:
              1) detect the model of your graphic card (ATI and Nvidia cards are supported). However "Manual installation" is also available
              2) download the right version of the proprietary driver for your ATI or Nvidia card from ATI or Nvidia's websites
              3) handle the dependencies (compilers, OpenGL, etc.) (according to your OS version and kernel) required to build the module
              4) install/uninstall the driver
              5) set up your xorg.conf (i.e. the configuration file of the Xserver) for you (according to your system specifications)
              6) restart the Xserver for you (if you wish so) (this feature is available only in the textual interface)
              fglrxKonf
              http://www.kde-apps.org/content/show.php?content=43612
              Description:
              This is a Kommander frontend for ATI fglrx video card driver utility "aticonfig".

              It can be used to:
              * configure X.org xith newly installed fglrx driver
              * setup tv-out and tune it up
              * set up different screen configuration options
              * view the current configuration of X.org from /etc/X11/xorg.conf file and elsewhere
              * back up the working configuration options
              * revert to open source driver and back to fglrx.
              kX Generator
              http://www.kde-apps.org/content/show.php?content=39085
              Description:
              kX Generator is a utilitty to configure the X server by modyfying X configuration file (xorg.conf).
              X.org Setup
              http://www.kde-apps.org/content/show...?content=56982
              Description:
              X.org Setup is a visual X.org 7.x setup utility that can detect video cards, monitors, etc. It is capable of running from a console, even though it is written entirely in KDE/Qt. It requires OpenSuSE's hwinfo and HAL/DBus support, and is part of the DARKSTAR Linux Project.
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment


                #8
                Re: Problems installing ATI driver

                Hmm, lots of information there. I will try it later today.

                Thank you

                -CW55

                Comment


                  #9
                  Re: Problems installing ATI driver

                  Well, Envy didn't work.

                  It completed the operation successfully however when I restart my computer and run fglrxinfo, I still get the Mesa GLX Indirect rendering

                  Here is my entire xorg.conf file

                  I still don't understand why it is not picking up my Video Card correctly. Envy seemed to do everything right but it still doesn't work.

                  Code:
                  # /etc/X11/xorg.conf (xorg X Window System server configuration file)
                  #
                  # This file was generated by dexconf, the Debian X Configuration tool, using
                  # values from the debconf database.
                  #
                  # Edit this file with caution, and see the xorg.conf(5) manual page.
                  # (Type "man xorg.conf" at the shell prompt.)
                  #
                  # This file is automatically updated on xserver-xorg package upgrades *only*
                  # if it has not been modified since the last upgrade of the xserver-xorg
                  # package.
                  #
                  # If you have edited this file but would like it to be automatically updated
                  # again, run the following command:
                  #  sudo dpkg-reconfigure -phigh xserver-xorg
                  
                  Section "Files"
                  	FontPath	"/usr/share/fonts/X11/misc"
                  	FontPath	"/usr/share/fonts/X11/cyrillic"
                  	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
                  	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
                  	FontPath	"/usr/share/fonts/X11/Type1"
                  	FontPath	"/usr/share/fonts/X11/100dpi"
                  	FontPath	"/usr/share/fonts/X11/75dpi"
                  	# path to defoma fonts
                  	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
                  EndSection
                  
                  Section "Module"
                  	Load	"i2c"
                  	Load	"bitmap"
                  	Load	"ddc"
                  	Load	"dri"
                  	Load	"extmod"
                  	Load	"freetype"
                  	Load	"glx"
                  	Load	"int10"
                  	Load	"vbe"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier	"Generic Keyboard"
                  	Driver		"kbd"
                  	Option		"CoreKeyboard"
                  	Option		"XkbRules"	"xorg"
                  	Option		"XkbModel"	"pc105"
                  	Option		"XkbLayout"	"us"
                  EndSection
                  
                  Section "InputDevice"
                  	Identifier	"Configured Mouse"
                  	Driver		"mouse"
                  	Option		"CorePointer"
                  	Option		"Device"		"/dev/input/mice"
                  	Option		"Protocol"		"ImPS/2"
                  	Option		"ZAxisMapping"		"4 5"
                  	Option		"Emulate3Buttons"	"true"
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"stylus"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"		"stylus"
                  	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"eraser"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"		"eraser"
                  	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
                  EndSection
                  
                  Section "InputDevice"
                  	Driver		"wacom"
                  	Identifier	"cursor"
                  	Option		"Device"	"/dev/input/wacom"
                  	Option		"Type"		"cursor"
                  	Option		"ForceDevice"	"ISDV4"		# Tablet PC ONLY
                  EndSection
                  
                  Section "Device"
                  	Identifier	"Generic Video Card"
                  	Driver		"fglrx"
                  	BusID		"PCI:1:0:0"
                  	Option     "VideoOverlay" "on"
                  EndSection
                  
                  Section "Monitor"
                  	Identifier	"Generic Monitor"
                  	Option		"DPMS"
                  EndSection
                  
                  Section "Screen"
                  	Identifier	"Default Screen"
                  	Device		"Generic Video Card"
                  	Monitor		"Generic Monitor"
                  	DefaultDepth	24
                  	SubSection "Display"
                  		Depth		1
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  	SubSection "Display"
                  		Depth		4
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  	SubSection "Display"
                  		Depth		8
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  	SubSection "Display"
                  		Depth		15
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  	SubSection "Display"
                  		Depth		16
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  	SubSection "Display"
                  		Depth		24
                  		Modes		"1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
                  	EndSubSection
                  EndSection
                  
                  Section "ServerLayout"
                  	Identifier	"Default Layout"
                  	Screen		"Default Screen"
                  	InputDevice	"Generic Keyboard"
                  	InputDevice	"Configured Mouse"
                  	InputDevice   "stylus"	"SendCoreEvents"
                  	InputDevice   "cursor"	"SendCoreEvents"
                  	InputDevice   "eraser"	"SendCoreEvents"
                  	Option "AIGLX"  "false"
                  EndSection
                  
                  Section "DRI"
                  	Mode	0666
                  EndSection
                  
                  Section "Extensions"
                  	Option "Composite" "Disable"
                  EndSection
                  -CW55

                  Comment


                    #10
                    Re: Problems installing ATI driver

                    Any errors in the xserver log (/var/log/Xorg.0.log)
                    K > System > KSystemLog => Display the X.org log (Big X)

                    Or in the konsole:
                    Errors
                    Code:
                    cat /var/log/Xorg.0.log | grep "(EE)"
                    and warnings
                    Code:
                    cat /var/log/Xorg.0.log | grep "(WW)"
                    Before you edit, BACKUP !

                    Why there are dead links ?
                    1. Thread: Please explain how to access old kubuntu forum posts
                    2. Thread: Lost Information

                    Comment


                      #11
                      Re: Problems installing ATI driver

                      This is the outputs I got:

                      Code:
                      xaero@xaero-desktop:~$ cat /var/log/Xorg.0.log | grep "(EE)"
                          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                      (EE) fglrx(0): GART is not initialized, disabling DRI
                      (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
                      (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
                      (EE) xf86OpenSerial: Cannot open device /dev/input/wacom
                      Code:
                      xaero@xaero-desktop:~$ sudo cat /var/log/Xorg.0.log | grep "(WW)"
                      Password:
                          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                      (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
                      (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
                      (WW) fglrx(0): Failed to open DRM connection
                      (WW) fglrx(0): board is an unknown third party board, chipset is supported
                      (WW) fglrx(0): No DRM connection for driver fglrx.
                      (WW) LoadModule: given non-canonical module name "glesx.so"
                      (WW) fglrx(0): ***********************************************
                      (WW) fglrx(0): * DRI initialization failed!         *
                      (WW) fglrx(0): * (maybe driver kernel module missing or bad) *
                      (WW) fglrx(0): * 2D acceleraton available (MMIO)       *
                      (WW) fglrx(0): * no 3D acceleration available        *
                      (WW) fglrx(0): ********************************************* *
                      (WW) fglrx(0): Textured Video not supported without DRI enabled.
                      (WW) fglrx(0): Video Overlay not supported on AVIVO based graphics cards. For XVideo support use Option "TexturedVideo".
                      And to reiterate my video card, I have a:

                      Sapphire Radeon X1600 Pro 256 MB AGP 8x

                      -CW55

                      Comment


                        #12
                        Re: Problems installing ATI driver

                        This is from Ubuntu Dapper Installation Guide:
                        http://wiki.cchtml.com/index.php/Ubu...allation_Guide

                        Missing fglrx.ko

                        If fglrx.ko is not being loaded properly, then /var/log/Xorg.0.log will say things like :

                        [drm] failed to load kernel module "fglrx"
                        (WW) fglrx(0): Failed to load DRM connection
                        (EE) GART is not initialized, disabling DRI

                        modprobe shows the problem is

                        sudo modprobe fglrx
                        FATAL: Could not open '/lib/modules/2.6.15-26-386/volatile/fglrx.ko': No such file or directory

                        The solution is to run depmod again with the -e option.

                        sudo depmod -ae
                        So you could try:
                        Code:
                        :~$ sudo depmod -ae
                        + restart

                        Did it help ?


                        If not - Next is from feisty getting feisty with my fglrx modules:
                        http://ubuntuforums.org/showthread.php?t=414604

                        Hi I got the same problem and when i looked to which modules were loaded, I missed fglrx. You can see which modules are loaded with the command lsmod.

                        For some reason the module doesn't get loaded.

                        To "fix" this, add fglrx to /etc/modules

                        sudo su -
                        echo fglrx >> /etc/modules
                        So try Alt + F2:
                        kdesu kate /etc/modules and add fglrx in the list.

                        /etc/modules file contains the names of kernel modules that should be loaded at boot time.

                        And fglrx module check:
                        Code:
                        :~$ lsmod | grep fglrx
                        Before you edit, BACKUP !

                        Why there are dead links ?
                        1. Thread: Please explain how to access old kubuntu forum posts
                        2. Thread: Lost Information

                        Comment


                          #13
                          Re: Problems installing ATI driver

                          Originally posted by Rog131
                          This is from Ubuntu Dapper Installation Guide:
                          http://wiki.cchtml.com/index.php/Ubu...allation_Guide

                          Missing fglrx.ko

                          If fglrx.ko is not being loaded properly, then /var/log/Xorg.0.log will say things like :

                          [drm] failed to load kernel module "fglrx"
                          (WW) fglrx(0): Failed to load DRM connection
                          (EE) GART is not initialized, disabling DRI

                          modprobe shows the problem is

                          sudo modprobe fglrx
                          FATAL: Could not open '/lib/modules/2.6.15-26-386/volatile/fglrx.ko': No such file or directory

                          The solution is to run depmod again with the -e option.

                          sudo depmod -ae
                          So you could try:
                          Code:
                          :~$ sudo depmod -ae
                          + restart

                          Did it help ?
                          Yes, the first part helped. Thank you for your help, I really appreciate it.

                          -CW55

                          Comment


                            #14
                            Re: Problems installing ATI driver

                            I've been following this thread and found myself with exactly the same errors as Coldwar at each step, but at the end I still have the same problem, no 3D acceleration.
                            Is there anything more I can do?

                            My card is an ATI Radeon 1900XT so maybe the problem comes from there...

                            Comment


                              #15
                              Re: Problems installing ATI driver

                              So you tried:
                              Code:
                              sudo depmod -ae
                              Did you try ?
                              Alt + F2:
                              kdesu kate /etc/modules and add fglrx in the list.

                              What says:
                              Code:
                              dmesg | grep fglrx
                              and
                              Code:
                              lsmod | grep fglrx
                              and
                              Code:
                              lspci -v |grep ATI

                              Before you edit, BACKUP !

                              Why there are dead links ?
                              1. Thread: Please explain how to access old kubuntu forum posts
                              2. Thread: Lost Information

                              Comment

                              Working...
                              X