Announcement

Collapse
No announcement yet.

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

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

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

    Originally posted by Michael View Post
    Can you post your xorg.conf (found in /etc/X11/) and cat /var/log/Xorg.0.log | grep "EE" That would help in diagnosing the problem.
    Hi there,
    I'm pretty new with Linux myself and am also running FC6. I'm basically in the same situation as the topic starter in that I didn't seem to have much luck with the drivers from the ATI website, but when I installed the xorg-X11-drv-fglrx drivers using yum I was able to get the resolution working.

    However more recently when I tried to run Google Earth, I found out that my 3D support was not enabled. I'm currently running the ATI Mobility Radeon X1400 using the latest drivers from yum (xorg-X11-drv-fglrx 8.33.6-4.lvn6 and kmod-fglrx#8.33.6-1.2.6.19_1.2911.fc6)

    fglrxinfo
    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)
    aticonfig --initial
    Found fglrx primary device section
    Nothing to do, terminating.
    xorg.conf (after aticonfig --initial)
    # Xorg configuration created by system-config-display

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

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

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

    Section "Monitor"

    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    ### Comment all HorizSync and VertSync values to use DDC:
    Identifier "Monitor0"
    ModelName "LCD Panel 1440x900"
    ### Comment all HorizSync and VertSync values to use DDC:
    HorizSync 31.5 - 100.0
    VertRefresh 59.0 - 75.0
    Option "dpms"
    EndSection

    Section "Device"
    Identifier "Videocard0"
    Driver "fglrx"
    Option "UseInternalAGPGART" "no"
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Viewport 0 0
    Depth 24
    Modes "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    EndSection
    and

    cat /var/log/Xorg.0.log | grep "EE"
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (II) Loading extension MIT-SCREEN-SAVER
    (EE) AIGLX: Screen 0 is not DRI capable
    Yesterday, I tried to uninstall the drivers from the livna repository and attempted to install the drivers from the ATI website again. I got an error but I can't remember exactly the output, but I think it was something about multiple versions of fglrx in the kernel. I didn't really want to mess around with it so I uninstalled those and reinstalled the livna drivers. Just wondering if anyone can help me as I still don't know a lot about Linux.

    Thanks

  • #2
    Install Livna again. What you were missing were disabling AIGLX and Composite.

    Add:

    Section "Extensions"
    Option "AIGLX" "off"
    Option "Composite" "off"
    EndSection

    to the end of your xorg.conf, and then restart.
    Michael Larabel
    http://www.michaellarabel.com/

    Comment


    • #3
      Originally posted by Michael View Post
      Install Livna again. What you were missing were disabling AIGLX and Composite.

      Add:

      Section "Extensions"
      Option "AIGLX" "off"
      Option "Composite" "off"
      EndSection

      to the end of your xorg.conf, and then restart.
      Thanks for the very quick reply.

      That seems to have worked great. glxgears seems to be running much more smoothly than before. Thanks for the help, I really appreciate it!

      EDIT: I didn't want to double post so I decided to edit this message. I just wanted to make sure really. Is it still supposed to be using Mesa for 3D? I get the same output from fglrxinfo as I posted previously and I wasn't sure if it was supposed to be something else. Just checking to make sure if everything I have now is as it should be or if I'm still neglecting something.

      Thanks
      Last edited by gigabz666; 02-23-2007, 04:49 AM.

      Comment


      • #4
        I just checked what was going on with a couple of commands and noticed something different from the previous outputs.

        cat /var/log/Xorg.0.log | grep "EE"
        (II) Loading extension MIT-SCREEN-SAVER
        (EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)
        (EE) AIGLX: reverting to software rendering
        Also this morning, I used yum update and it has now updated the livna fglrx drivers to 8.34.8-3.lvn6 but no difference. As I mentioned in the previous post with my update, glxgears was running much faster compared to before, but it's not running smoothly. I thought it was supposed to be like that but I'm guessing with the above error, mentioning software rendering, then that's not true.

        Comment


        • #5
          Do you have

          Section "Extensions"
          Option "AIGLX" "off"
          Option "Composite" "off"
          EndSection

          in your xorg.conf?
          Michael Larabel
          http://www.michaellarabel.com/

          Comment


          • #6
            Yes I do. I did that and restarted yesterday and glxgears was running much more smoothly than before. However when I checked the info, it still had mesa as the 3D support. I also found out more recently about fgl_glxgears to see what that produced but that doesn't even run.

            fgl_glxgears
            Using GLX_SGIX_pbuffer
            X Error of failed request: GLXUnsupportedPrivateRequest
            Major opcode of failed request: 143 (GLX)
            Minor opcode of failed request: 16 (X_GLXVendorPrivate)
            Serial number of failed request: 30
            Current serial number in output stream: 32
            Here is the xorg.conf
            # Xorg configuration created by system-config-display

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

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

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

            Section "Monitor"

            ### Comment all HorizSync and VertSync values to use DDC:
            ### Comment all HorizSync and VertSync values to use DDC:
            ### Comment all HorizSync and VertSync values to use DDC:
            ### Comment all HorizSync and VertSync values to use DDC:
            ### Comment all HorizSync and VertSync values to use DDC:
            Identifier "Monitor0"
            ModelName "LCD Panel 1440x900"
            ### Comment all HorizSync and VertSync values to use DDC:
            HorizSync 31.5 - 100.0
            VertRefresh 59.0 - 75.0
            Option "dpms"
            EndSection

            Section "Device"
            Identifier "Videocard0"
            Driver "fglrx"
            Option "UseInternalAGPGART" "no"
            EndSection

            Section "Screen"
            Identifier "Screen0"
            Device "Videocard0"
            Monitor "Monitor0"
            DefaultDepth 24
            SubSection "Display"
            Viewport 0 0
            Depth 24
            Modes "1440x900" "1400x1050" "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768" "800x600" "640x480"
            EndSubSection
            EndSection

            Section "Extensions"
            Option "AIGLX" "off"
            Option "Composite" "off"
            EndSection
            Last edited by gigabz666; 02-23-2007, 09:03 AM.

            Comment


            • #7
              Did you try generating the packages then and not using Livna?
              Michael Larabel
              http://www.michaellarabel.com/

              Comment


              • #8
                Originally posted by Michael View Post
                Did you try generating the packages then and not using Livna?
                When I tried this yesterday I had something about the kernel. The exact output I couldn't remember. So I'm not going to attempt to try and state what it was. Anyway, I've tried using the installer just now after uninstalling the livna packages and this is what I get.

                sh ./ati-driver-installer-8.34.8-x86.x86_64.run --buildpkg Fedora/FC6
                Creating directory fglrx-install
                Verifying archive integrity... All good.
                Uncompressing ATI Proprietary Linux Driver-8.34.8............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ..................................
                ==================================================
                ATI Technologies Linux Driver Installer/Packager
                ==================================================
                Generating package: Fedora/FC6
                ./packages/Fedora/ati-packager.sh: line 172: /etc/profile.d/qt.sh: No such file or directory
                Removing temporary directory: fglrx-install

                Comment


                • #9
                  Run as root:

                  yum install qt-devel
                  Michael Larabel
                  http://www.michaellarabel.com/

                  Comment


                  • #10
                    Must be really annoying with people like me, lol

                    Ok just done that and tried again and now have another error. The problem is that it's extremely long so don't think I can post it all in here. But the immediate error is this.

                    sh ./ati-driver-installer-8.34.8-x86.x86_64.run --buildpkg Fedora/FC6
                    Creating directory fglrx-install
                    Verifying archive integrity... All good.
                    Uncompressing ATI Proprietary Linux Driver-8.34.8............................................ .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ..................................
                    ==================================================
                    ATI Technologies Linux Driver Installer/Packager
                    ==================================================
                    Generating package: Fedora/FC6
                    install: cannot stat `fireglcontrolpanel': No such file or directory
                    Package build failed!
                    Package build utility output:
                    Building target platforms: i386
                    Building for target i386
                    This then continues on for a hundred lines or so. I'm sure I've seen this fireglcontrolpanel somewhere before in a search on this forum or on google, but can't seem the find the solution.

                    Really appreciate all the help here, I know it must be annoying.

                    EDIT: Ok, just noticed this at the end of that long output
                    RPM build errors:
                    File not found: /tmp/ATI-fglrx-8.34.8-1-8897-root/tmp/ATI-fglrx-8.34.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
                    Removing temporary directory: fglrx-install

                    Comment


                    • #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

                              Working...
                              X