Announcement

Collapse
No announcement yet.

ATI Mobility Radeon X1400 - fglrx Problems (Goes to Mesa)

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #11
    See: http://phoronix.net/forums/showthread.php?t=318
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #12
      Ok, so I'm trying to follow all the stuff about extracting the folder, then using that .tgz file, extracting it and using make. This is the output I get.
      gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy FGLRXExtensions.c
      gcc -c -g -O2 -fno-strength-reduce -funsigned-char -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/X11R6/include -I. -I./include_dummy ATITVOExtensions.c
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy main.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy Sheet.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy Page.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy InfoPage.cpp
      InfoPage.cpp: In member function ‘void InfoPage::Init()’:
      InfoPage.cpp:15: warning: unused variable ‘ChipRevision’
      InfoPage.cpp:17: warning: unused variable ‘ChipRevision1’
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy DualScreenPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy AdjustPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy TVoutAdjustPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy BoardInfo.cpp
      /usr/lib/qt-3.3/bin/moc Sheet.h -o moc_Sheet.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_Sheet.cpp
      /usr/lib/qt-3.3/bin/moc Page.h -o moc_Page.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_Page.cpp
      /usr/lib/qt-3.3/bin/moc InfoPage.h -o moc_InfoPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_InfoPage.cpp
      /usr/lib/qt-3.3/bin/moc DualScreenPage.h -o moc_DualScreenPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_DualScreenPage.cpp
      /usr/lib/qt-3.3/bin/moc AdjustPage.h -o moc_AdjustPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_AdjustPage.cpp
      /usr/lib/qt-3.3/bin/moc TVoutAdjustPage.h -o moc_TVoutAdjustPage.cpp
      g++ -c -O2 -fno-strength-reduce -funsigned-char -Wall -W -Dlinux -DFGLRX_USE_XEXTENSIONS -DFGLRX_OGL_INFO -DQT_NO_STL -I/usr/lib/qt-3.3/include -I. -I./include_dummy moc_TVoutAdjustPage.cpp
      g++ FGLRXExtensions.o ATITVOExtensions.o main.o Sheet.o Page.o InfoPage.o DualScreenPage.o AdjustPage.o TVoutAdjustPage.o BoardInfo.o moc_Sheet.o moc_Page.o moc_InfoPage.o moc_DualScreenPage.o moc_AdjustPage.o moc_TVoutAdjustPage.o -o fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -lGL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf86vm -L/usr/X11R6/lib -lXft
      /usr/bin/ld: cannot find -lqt
      collect2: ld returned 1 exit status
      make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1
      rm moc_Page.cpp moc_TVoutAdjustPage.cpp moc_AdjustPage.cpp moc_InfoPage.cpp moc_DualScreenPage.cpp moc_Sheet.cpp
      I'm confused about alot of the symbolic link stuff, mainly because they all seem to be referencing 64-bit systems whereas I'm using 32-bit. Will those symbolic link commands work but use lib instead of lib64?

      Comment


      • #13
        yes they will work.
        Michael Larabel
        http://www.michaellarabel.com/

        Comment


        • #14
          Thanks. I went ahead and everything is working. 3D is coming from ATI and glxgears is running extremely smoothly, 1850 FPS compared to 300FPS before and 150 before that. fgl_glxgears runs around 300FPS.

          I'm trying to remember what I did to help anyone else who might have similar problems although I most followed the help you gave to exobg at http://phoronix.net/forums/showthread.php?t=318&page=5

          I did everything as root. I changed directories and used a symbolic link as follows
          cd /usr/lib/qt-3.3/lib
          ln -s libqt-mt.so libqt.so
          Returned to the directory of the extracted files from fglrx_panel_sources.tgz then used make once more. This produced an error with the following in
          /usr/bin/ld: cannot find -lXmu
          so
          yum install libXmu-devel (I think! It was the devlopment packages for libXmu)
          then got
          /usr/bin/ld: cannot find -lXxf86vm
          and so
          yum install libXxf86vm-devel
          That then worked fine for me unlike exobg.

          So I used
          sh ./ati-driver-installer-8.34.8-x86.x86_64.run --buildpkg Fedora/FC6
          which produced
          kernel-module-ATI-fglrx-2.6.19-1.2911.fc6-8.34.8-1.fc6.i386.rpm
          ATI-fglrx-8.34.8-1.fc6.i386.rpm
          ATI-fglrx-devel-8.34.8-1.fc6.i386.rpm
          ATI-fglrx-control-panel-8.34.8-1.fc6.i386.rpm
          I then used rpm -Uvh and the name of those packages in the order above. Then used CTRL-ALT-BACKSPACE to restart X server and everything worked fine.

          Thanks for all your help Michael, and sorry for being so pedantic with everything but being a newbie, I wanted to make sure I was doing the right thing. Cheers for everything.

          Comment


          • #15
            These below are all my graphic card driver infomation,so what's wrong,why does my X1400 can not enable 3D acceleration ???
            Why does my glxgears so slow??
            Code:
            # glxgears
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            4311 frames in 5.0 seconds = 859.012 FPS
            4256 frames in 5.0 seconds = 843.571 FPS
            4442 frames in 5.1 seconds = 868.489 FPS
            4440 frames in 5.1 seconds = 868.429 FPS
            4440 frames in 5.1 seconds = 865.188 FPS
            4440 frames in 5.1 seconds = 866.926 FPS
            4440 frames in 5.1 seconds = 869.493 FPS
            X connection to :0.0 broken (explicit kill or server shutdown).
            Code:
            # fglrxinfo
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            display: :0.0  screen: 0
            OpenGL vendor string: Mesa project: www.mesa3d.org
            OpenGL renderer string: Mesa GLX Indirect
            OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
            Code:
            # fgl_glxgears
            Using GLX_SGIX_pbuffer
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            X Error of failed request:  BadMatch (invalid parameter attributes)
              Major opcode of failed request:  128 (GLX)
              Minor opcode of failed request:  5 (X_GLXMakeCurrent)
              Serial number of failed request:  29
              Current serial number in output stream:  29
            Code:
            # glxinfo|grep direct
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            direct rendering: No
            OpenGL renderer string: Mesa GLX Indirect
            Code:
            # rpm -qa|grep ATI
            ATI-fglrx-devel-8.34.8-1.fc6
            ATI-fglrx-8.34.8-1.fc6
            kernel-module-ATI-fglrx-2.6.19-1.2911.fc6-8.34.8-1.fc6
            ATI-fglrx-control-panel-8.34.8-1.fc6
            this is my Xorg.conf:
            # Xorg configuration created by system-config-display

            Section "ServerLayout"
            Identifier "single head configuration"
            Screen 0 "Screen0" 0 0
            InputDevice "Synaptics" "CorePointer"
            InputDevice "Keyboard0" "CoreKeyboard"
            EndSection

            Section "Files"
            FontPath "unix/:7100"
            EndSection

            Section "Module"
            Load "type1"
            Load "bitmap"
            Load "ddc"
            Load "dri"
            Load "extmod"
            Load "freetype"
            Load "glx"
            Load "int10"
            Load "vbe"
            EndSection



            Section "InputDevice"
            Identifier "Keyboard0"
            Driver "kbd"
            Option "XkbModel" "pc105"
            Option "XkbLayout" "us"
            EndSection

            Section "InputDevice"
            Identifier "Synaptics"
            Driver "synaptics"
            Option "Device" "/dev/input/mice"
            Option "Protocol" "auto-dev"
            Option "Emulate3Buttons" "yes"
            EndSection

            Section "Monitor"

            #HorizSync 31.5 - 57.0
            #VertRefresh 50.0 - 70.0
            Identifier "Monitor0"
            ModelName "Monitor "
            Option "dpms"
            EndSection

            Section "Device"
            Identifier "Videocard0"
            Driver "fglrx"
            Option "UseInternalAGPGART" "no"
            Option "AddARGBGLXVisuals" "True"
            Option "DisableGLXRootClipping" "True"
            EndSection

            Section "Screen"
            Identifier "Screen0"
            Device "Videocard0"
            Monitor "Monitor0"
            DefaultDepth 24
            SubSection "Display"
            Viewport 0 0
            Depth 24
            EndSubSection
            EndSection

            Section "DRI"
            Mode 0666
            EndSection

            Section "Extensions"
            Option "Composite" "off"
            Option "AIGLX" "off"
            EndSection
            help me solve the problem,please......
            I had read so many subjects about ATI driver...but this still doesn't work out...
            Michael ,I know you have many experiences on ATI drivers ...tell me the way ...THX...
            Last edited by wangrui2885; 03-01-2007, 03:50 AM.

            Comment


            • #16
              What is output of:

              cat /var/log/Xorg.0.log | grep EE
              Michael Larabel
              http://www.michaellarabel.com/

              Comment


              • #17
                Originally posted by Michael View Post
                What is output of:

                cat /var/log/Xorg.0.log | grep EE
                Code:
                # cat /var/log/Xorg.0.log | grep EE
                        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
                (II) Loading extension MIT-SCREEN-SAVER
                (EE) fglrx(0): GART is not initialized, disabling DRI
                (EE) AIGLX: Screen 0 is not DRI capable

                Comment


                • #18
                  That is the problem there with GART.

                  What kernel are you using?
                  Michael Larabel
                  http://www.michaellarabel.com/

                  Comment


                  • #19
                    Originally posted by Michael View Post
                    That is the problem there with GART.

                    What kernel are you using?
                    didn't you see my signiture?

                    FC6 2.6.19-1.2911

                    so what's the problem ???

                    Comment


                    • #20
                      Didn't 2.6.19-1.2911 come out only yesterday (March 2)?

                      Had it worked with any previous kernels?
                      Michael Larabel
                      http://www.michaellarabel.com/

                      Comment

                      Working...
                      X