Announcement

Collapse
No announcement yet.

amdcccle segmentation fault

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

  • amdcccle segmentation fault

    Hello,

    I recently upgraded to the most recent proprietary ATI drivers for my Mobility Radeon x1400 256mb. ATI control has been replaced with "ATI Catalyst Control Center", which will not run due to a segmentation fault. I tried running as root, to no avail.

    Here is the output of the command, "catchsegv amdcccle" Please Help! I'm no noob but I can't seem to figure this one out...


    tyler@tyler-laptop:~$ catchsegv amdcccle
    *** Segmentation fault
    Register dump:

    EAX: 00000000 EBX: 086117e8 ECX: 00000000 EDX: 7552726e
    ESI: 085cc248 EDI: 085cc248 EBP: bff76248 ESP: bff76240

    EIP: 0814ec02 EFLAGS: 00010202

    CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b

    Trap: 0000000e Error: 00000007 OldMask: 00000000
    ESP/signal: bff76240 CR2: 08611824

    FPUCW: ffff037f FPUSW: ffff0020 TAG: ffffffff
    IPOFF: 0828755a CSSEL: 0073 DATAOFF: 087b8b64 DATASEL: 007b

    ST(0) 0000 0000000000000000 ST(1) 0000 c000000000000000
    ST(2) 0000 e8274fe53a8fe563 ST(3) 0000 e827cfe53a8fe563
    ST(4) 0000 fafa000000000000 ST(5) 0000 8000000000000000
    ST(6) 0000 8000000000000000 ST(7) 0000 9000000000000000

    Backtrace:
    /lib/libSegFault.so[0xb7f4a23f]
    ??:0(??)[0xffffe420]
    amdcccle(_ZN10CColorRule12UnInitializeEv+0x29)[0x815a149]
    amdcccle(_ZN4CLDC10InitializeEv+0x49b)[0x8145d9b]
    amdcccle(main+0x44f)[0x81450af]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7ab78cc]
    amdcccle[0x8142fe1]

    Memory map:

    08048000-0869f000 r-xp 00000000 08:01 2294364 /usr/bin/amdcccle
    0869f000-08755000 rwxp 00657000 08:01 2294364 /usr/bin/amdcccle
    08755000-087e0000 rwxp 08755000 00:00 0 [heap]
    b7956000-b7989000 r-xp 00000000 08:01 2339485 /usr/lib/locale/en_US.utf8/LC_CTYPE
    b7989000-b7a60000 r-xp 00000000 08:01 2339484 /usr/lib/locale/en_US.utf8/LC_COLLATE
    b7a60000-b7a62000 rwxp b7a60000 00:00 0
    b7a62000-b7a66000 r-xp 00000000 08:01 2290768 /usr/lib/libXfixes.so.3.1.0
    b7a66000-b7a67000 rwxp 00003000 08:01 2290768 /usr/lib/libXfixes.so.3.1.0
    b7a67000-b7a83000 r-xp 00000000 08:01 2290954 /usr/lib/libexpat.so.1.0.0
    b7a83000-b7a85000 rwxp 0001c000 08:01 2290954 /usr/lib/libexpat.so.1.0.0
    b7a85000-b7a98000 r-xp 00000000 08:01 2291747 /usr/lib/libz.so.1.2.3
    b7a98000-b7a99000 rwxp 00012000 08:01 2291747 /usr/lib/libz.so.1.2.3
    b7a99000-b7a9a000 rwxp b7a99000 00:00 0
    b7a9a000-b7a9e000 r-xp 00000000 08:01 2290764 /usr/lib/libXdmcp.so.6.0.0
    b7a9e000-b7a9f000 rwxp 00003000 08:01 2290764 /usr/lib/libXdmcp.so.6.0.0
    b7a9f000-b7aa1000 r-xp 00000000 08:01 2290753 /usr/lib/libXau.so.6.0.0
    b7aa1000-b7aa2000 rwxp 00001000 08:01 2290753 /usr/lib/libXau.so.6.0.0
    b7aa2000-b7bcf000 r-xp 00000000 08:01 1864355 /lib/tls/i686/cmov/libc-2.4.so
    b7bcf000-b7bd1000 r-xp 0012c000 08:01 1864355 /lib/tls/i686/cmov/libc-2.4.so
    b7bd1000-b7bd3000 rwxp 0012e000 08:01 1864355 /lib/tls/i686/cmov/libc-2.4.so
    b7bd3000-b7bd6000 rwxp b7bd3000 00:00 0
    b7bd6000-b7be0000 r-xp 00000000 08:01 1128289 /usr/local/lib/libgcc_s.so.1
    b7be0000-b7be1000 rwxp 00009000 08:01 1128289 /usr/local/lib/libgcc_s.so.1
    b7be1000-b7c05000 r-xp 00000000 08:01 1864359 /lib/tls/i686/cmov/libm-2.4.so
    b7c05000-b7c07000 rwxp 00023000 08:01 1864359 /lib/tls/i686/cmov/libm-2.4.so
    b7c07000-b7c08000 rwxp b7c07000 00:00 0
    b7c08000-b7cb8000 r-xp 00000000 08:01 2291676 /usr/lib/libstdc++.so.5.0.7
    b7cb8000-b7cbd000 rwxp 000af000 08:01 2291676 /usr/lib/libstdc++.so.5.0.7
    b7cbd000-b7cc2000 rwxp b7cbd000 00:00 0
    b7cc2000-b7d5a000 r-xp 00000000 08:01 2294257 /usr/lib/libGL.so.1.2
    b7d5a000-b7d5f000 rwxp 00098000 08:01 2294257 /usr/lib/libGL.so.1.2
    b7d5f000-b7d62000 rwxp b7d5f000 00:00 0
    b7d62000-b7d69000 r-xp 00000000 08:01 2290774 /usr/lib/libXi.so.6.0.0
    b7d69000-b7d6a000 rwxp 00006000 08:01 2290774 /usr/lib/libXi.so.6.0.0
    b7d6a000-b7d79000 r-xp 00000000 08:01 1864388 /lib/tls/i686/cmov/libpthread-2.4.so
    b7d79000-b7d7b000 rwxp 0000f000 08:01 1864388 /lib/tls/i686/cmov/libpthread-2.4.so
    b7d7b000-b7d7d000 rwxp b7d7b000 00:00 0
    b7d7d000-b7d85000 r-xp 00000000 08:01 2290760 /usr/lib/libXcursor.so.1.0.2
    b7d85000-b7d86000 rwxp 00007000 08:01 2290760 /usr/lib/libXcursor.so.1.0.2
    b7d86000-b7def000 r-xp 00000000 08:01 2291132 /usr/lib/libfreetype.so.6.3.13
    b7def000-b7df3000 rwxp 00068000 08:01 2291132 /usr/lib/libfreetype.so.6.3.13
    b7df3000-b7df4000 rwxp b7df3000 00:00 0
    b7df4000-b7df6000 r-xp 00000000 08:01 2290786 /usr/lib/libXrandr.so.2.0.0
    b7df6000-b7df7000 rwxp 00002000 08:01 2290786 /usr/lib/libXrandr.so.2.0.0
    b7df7000-b7dfe000 r-xp 00000000 08:01 2290788 /usr/lib/libXrender.so.1.3.0
    b7dfe000-b7dff000 rwxp 00006000 08:01 2290788 /usr/lib/libXrender.so.1.3.0
    b7dff000-b7e28000 r-xp 00000000 08:01 2290958 /usr/lib/libfontconfig.so.1.0.4
    b7e28000-b7e2d000 rwxp 00028000 08:01 2290958 /usr/lib/libfontconfig.so.1.0.4
    b7e2d000-b7e2e000 rwxp b7e2d000 00:00 0
    b7e2e000-b7ef4000 r-xp 00000000 08:01 2290572 /usr/lib/libX11.so.6.2.0
    b7ef4000-b7ef7000 rwxp 000c5000 08:01 2290572 /usr/lib/libX11.so.6.2.0
    b7ef7000-b7f03000 r-xp 00000000 08:01 2290766 /usr/lib/libXext.so.6.4.0
    b7f03000-b7f04000 rwxp 0000c000 08:01 2290766 /usr/lib/libXext.so.6.4.0
    b7f04000-b7f06000 r-xp 00000000 08:01 1864358 /lib/tls/i686/cmov/libdl-2.4.so
    b7f06000-b7f08000 rwxp 00001000 08:01 1864358 /lib/tls/i686/cmov/libdl-2.4.so
    b7f08000-b7f09000 rwxp b7f08000 00:00 0
    b7f09000-b7f11000 r-xp 00000000 08:01 2290745 /usr/lib/libSM.so.6.0.0
    b7f11000-b7f12000 rwxp 00007000 08:01 2290745 /usr/lib/libSM.so.6.0.0
    b7f12000-b7f27000 r-xp 00000000 08:01 2290680 /usr/lib/libICE.so.6.3.0
    b7f27000-b7f28000 rwxp 00014000 08:01 2290680 /usr/lib/libICE.so.6.3.0
    b7f28000-b7f2a000 rwxp b7f28000 00:00 0
    b7f35000-b7f36000 r-xp 00000000 08:01 2339231 /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
    b7f36000-b7f37000 rwxp 00000000 08:01 2339231 /usr/lib/X11/locale/common/xlcUTF8Load.so.2.0.0
    b7f37000-b7f38000 r-xp 00000000 08:01 2339490 /usr/lib/locale/en_US.utf8/LC_NUMERIC
    b7f38000-b7f39000 r-xp 00000000 08:01 2339493 /usr/lib/locale/en_US.utf8/LC_TIME
    b7f39000-b7f3a000 r-xp 00000000 08:01 2339488 /usr/lib/locale/en_US.utf8/LC_MONETARY
    b7f3a000-b7f3b000 r-xp 00000000 08:01 2355258 /usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
    b7f3b000-b7f3c000 r-xp 00000000 08:01 2339491 /usr/lib/locale/en_US.utf8/LC_PAPER
    b7f3c000-b7f3d000 r-xp 00000000 08:01 2339489 /usr/lib/locale/en_US.utf8/LC_NAME
    b7f3d000-b7f3e000 r-xp 00000000 08:01 2339483 /usr/lib/locale/en_US.utf8/LC_ADDRESS
    b7f3e000-b7f3f000 r-xp 00000000 08:01 2339492 /usr/lib/locale/en_US.utf8/LC_TELEPHONE
    b7f3f000-b7f40000 r-xp 00000000 08:01 2339487 /usr/lib/locale/en_US.utf8/LC_MEASUREMENT
    b7f40000-b7f47000 r-xs 00000000 08:01 2305748 /usr/lib/gconv/gconv-modules.cache
    b7f47000-b7f48000 r-xp 00000000 08:01 2339486 /usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
    b7f48000-b7f4b000 r-xp 00000000 08:01 1831517 /lib/libSegFault.so
    b7f4b000-b7f4d000 rwxp 00002000 08:01 1831517 /lib/libSegFault.so
    b7f4d000-b7f4f000 rwxp b7f4d000 00:00 0
    b7f4f000-b7f68000 r-xp 00000000 08:01 1831467 /lib/ld-2.4.so
    b7f68000-b7f6a000 rwxp 00018000 08:01 1831467 /lib/ld-2.4.so
    bff62000-bff77000 rwxp bff62000 00:00 0 [stack]
    ffffe000-fffff000 ---p 00000000 00:00 0 [vdso]

  • #2
    I have the same problem on a T60 with x1400. It happens only with beryl/Xgl running. When not using beryl it works ok.

    Comment


    • #3
      You are either trying to run amdcccle with the radeon driver, or have a mismaching libGL file (ex: from Mesa3d). Make sure that the radeon module AND drm are not loaded (modprobe -r radeon drm) and that in your xorg.conf "Driver" is set to fglrx in the Device section.

      Next, check that your libs are properly linked. You may have an old libGL somewhere that links before fglrx's one. I've once seen Mesa install libGL.1.5 which linked before fglrx's libGL.1.2 (check in /usr/lib, /usr/local/lib, /usr/lib/xorg or /usr/X11/lib/xorg). Best way probably is to delete libGL.* and reinstall fglrx. But note that Mesa's libGL and fglrx's libGL are NOT compatible, and you won't get DRI with radeon and fglrx libGL (or vice versa).

      Hope that helps.

      Comment


      • #4
        I am using fgrlx driver in my xorg.conf. Beryl is working great with all its features. All the libGl are pointing to ATI's libGl.
        for example, ldd amdcccle returns this:
        Code:
        libGL.so.1 => //usr/lib32/opengl/ati/lib/libGL.so.1 (0xf7cae000)
        I don't know what is the problem but I think it's related to the fact that running xdpyinfo w/o Xgl returns 34 extensions among them is ATIFGLEXTENSION and a couple more with ATI. While running Xgl I only have 28 and the ATI extensions are missing. I think it's related because doing strace on amdcccle shows that the last thing it tries to do before the seg fault is to write ATIFGLEXTENSION to /tmp/.X11-unix/X0.
        Also with Xgl running, the xorg log shows this:
        Code:
        (II) LoadModule: "glesx.so" (glesx)
        (WW) LoadModule: given non-canonical module name "glesx.so"
        (WW) Warning, couldn't open module glesx.so
        But without Xgl, the first two lines are present but the library is found and loaded.
        I don't know much about X and Xgl but I'm pretty sure these things are related to my problem.

        And using the 8.37 drivers doesn't help either.

        Comment


        • #5
          This may seem redundant, but did you try amdcccle and fgl_glxgears on X and not XGL?

          I don't think glesx has anything to do with your problem, as it was just recently added and doesn't seem to do anything.

          Comment


          • #6
            With X everything works fine, so I have to chose between amdcccle and the ability to work with LCD screen while the laptop is docked or I can work with Xgl and have all the eyecandy of beryl.
            Of course I want it all
            I only now tried to run fgl_fglxgrears while Xgl is running and I got this:
            Code:
            Using GLX_SGIX_pbuffer
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            Error: couldn't get fbconfig
            Also running fglrxinfo gives this:
            Code:
            Xlib:  extension "XFree86-DRI" missing on display ":0.0".
            display: :0.0  screen: 0
            OpenGL vendor string: ATI Technologies Inc.
            OpenGL renderer string: ATI Mobility Radeon X1400
            OpenGL version string: 1.2 (2.0.6473 (8.37.6))
            Why is the XFree86-DRI missing?

            Comment


            • #7
              Originally posted by twinkle View Post
              With X everything works fine, so I have to chose between amdcccle and the ability to work with LCD screen while the laptop is docked or I can work with Xgl and have all the eyecandy of beryl.
              Of course I want it all
              I only now tried to run fgl_fglxgrears while Xgl is running and I got this:
              Code:
              Using GLX_SGIX_pbuffer
              Xlib:  extension "XFree86-DRI" missing on display ":0.0".
              Error: couldn't get fbconfig
              Also running fglrxinfo gives this:
              Code:
              Xlib:  extension "XFree86-DRI" missing on display ":0.0".
              display: :0.0  screen: 0
              OpenGL vendor string: ATI Technologies Inc.
              OpenGL renderer string: ATI Mobility Radeon X1400
              OpenGL version string: 1.2 (2.0.6473 (8.37.6))
              Why is the XFree86-DRI missing?

              I can probably tell you if you post your Xorg.log (or is it Xgl.log?). It may have something to do with Xgl, but i have no experience with it.

              Comment


              • #8
                The log can be found here:
                http://pastebin.ca/536629

                Comment


                • #9
                  According to your log, there is no problem with DRI, so I have to assume it has something to do with Xgl (ex: Xgl has composite built in, which on X it disables firegl's DRI).

                  At this point, I can't really help you anymore as I don't know much about Xgl. Good luck though..

                  Comment


                  • #10
                    thanks anyway!

                    Comment

                    Working...
                    X