Announcement

Collapse
No announcement yet.

Legacy ATI fglrx Drivers on Fedora Core 6 Zod (DISCUSSION)

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

  • jordandalley
    replied
    I rebooted into the older kernel. The results, though not conclusive look slightly better than last time. Here's the output this time:

    Code:
    ==================================================
     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
    Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/rpm-tmp.8331
    + umask 022
    + cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
    + cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
    + cd ATI-fglrx-8.28.8
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chown -Rhf root .
    ++ /usr/bin/id -u
    + '[' 0 = 0 ']'
    + /bin/chgrp -Rhf root .
    + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
    + exit 0
    Executing(%build): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/rpm-tmp.8331
    + umask 022
    + cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
    + cd ATI-fglrx-8.28.8
    + exit 0
    Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/rpm-tmp.8331
    + umask 022
    + cd /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD
    + cd ATI-fglrx-8.28.8
    + rm -rf /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
    + '[' -d /etc/ld.so.conf.d ']'
    + mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
    + pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + cat
    + popd
    /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
    + pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/applications /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + cat
    + popd
    /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + cp -pR /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/etc /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/lib /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8/usr /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root
    + find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
    + find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
    + export AS_USER=y
    + AS_USER=y
    + pushd /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + bash make.sh verbose
    ATI module generator V 2.0
    ==========================
    initializing...
    cat: /lib/modules/2.6.18-1.2798.fc6.stk16/build/include/linux/version-*.h: No such file or directory
    OsRelease=2.6.18-1.2798.fc6.stk16
    major=2
    minor=6
    patch=18
    extra=-1.2798.fc6.stk16
    SMP=1
    smp=-SMP
    iii=
    AGP=1
    CC=gcc
    cc_version=
    cleaning...
    patching 'highmem.h'...
    assuming new VMA API since we do have kernel 2.6.x...
     Assuming default VMAP API
    doing Makefile based build for kernel 2.6.x and higher
    make -C /lib/modules/2.6.18-1.2798.fc6.stk16/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i586'
      CC [M]  /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:459: warning: initialization from incompatible pointer type
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'firegl_stub_open':
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:582: warning: assignment discards qualifiers from pointer target type
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_smp_call_function':
    /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3896: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
      LD [M]  /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
      Building modules, stage 2.
      MODPOST
    WARNING: could not find /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/.libfglrx_ip.a.GCC4.cmd for /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/libfglrx_ip.a.GCC4
      CC      /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
      LD [M]  /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2798.fc6.stk16-i586'
    build succeeded with return value 0
    duplicating results into driver repository...
    done.
    ==============================
    You must change your working directory to /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
    and then call ./make_install.sh in order to install the built module.
    ==============================
    + mkdir -p /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.18-1.2798.fc6.stk16/extra
    + install -D -m 0644 fglrx.ko /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/2.6.18-1.2798.fc6.stk16/extra/fglrx/fglrx.ko
    + rm -rf /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx
    + popd
    /tmp/ATI-fglrx-8.28.8-1-5360-root/BUILD/ATI-fglrx-8.28.8
    + /usr/lib/rpm/brp-compress
    + /usr/lib/rpm/brp-strip
    + /usr/lib/rpm/brp-strip-static-archive
    + /usr/lib/rpm/brp-strip-comment-note
    Processing files: ATI-fglrx-8.28.8-1.fc6
    Provides: atiogl_a_dri.so config(ATI-fglrx) = 8.28.8-1.fc6 fglrx_dri.so fglrx_drv.so libGL.so.1 libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libfglrxdrm.so
    Requires(interp): /bin/sh /bin/sh /bin/sh
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires(post): /bin/sh /sbin/chkconfig /sbin/ldconfig
    Requires(preun): /bin/sh /sbin/chkconfig /sbin/service
    Requires(postun): /bin/sh /sbin/ldconfig /sbin/service
    Requires: /bin/bash /bin/sh config(ATI-fglrx) = 8.28.8-1.fc6 kernel-module-ATI-fglrx-2.6.18-1.2798.fc6.stk16 = 8.28.8-1.fc6 libGL.so.1 libX11.so.6 libXext.so.6 libXrandr.so.2 libXrender.so.1 libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.2.3) libdl.so.2 libdl.so.2(GLIBC_2.0) libdl.so.2(GLIBC_2.1) libfglrx_dm.so.1.0 libfglrx_gamma.so.1 libfglrx_pp.so.1.0 libfglrx_tvout.so.1 libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GLIBC_2.0) libm.so.6 libm.so.6(GLIBC_2.0) libm.so.6(GLIBC_2.1) libpthread.so.0 libpthread.so.0(GLIBC_2.0) librt.so.1 librt.so.1(GLIBC_2.2) libstdc++.so.5 libstdc++.so.5(CXXABI_1.2) libstdc++.so.5(GLIBCPP_3.2) system-config-display
    Conflicts: fglrx fglrx-glc22 fglrx_4_3_0 fglrx_6_8_0 kernel-module-fglrx ati-fglrx ati-fglrx-devel kmod-fglrx xorg-x11-drv-fglrx xorg-x11-drv-fglrx-devel nvidia-glx nvidia-glx-legacy xorg-x11-drv-nvidia xorg-x11-drv-nvidia-legacy
    Processing files: ATI-fglrx-control-panel-8.28.8-1.fc6
    error: File not found: /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
    Processing files: ATI-fglrx-devel-8.28.8-1.fc6
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires: /usr/include/GL ATI-fglrx = 8.28.8-1.fc6 libGL.so.1
    Processing files: kernel-module-ATI-fglrx-2.6.18-1.2798.fc6.stk16-8.28.8-1.fc6
    Requires(interp): /bin/sh /bin/sh
    Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
    Requires(post): /bin/sh
    Requires(postun): /bin/sh
    
    
    RPM build errors:
        File not found: /tmp/ATI-fglrx-8.28.8-1-5360-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/usr/bin/fireglcontrolpanel
    _______________________________________________________________
    ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
    Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
    New drivers are available for post-R200 hardware.
    Created by Michael Larabel of Phoronix
    Install resulting RPMs using rpm -ivh
    Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
    Hit any key to continue
    _______________________________________________________________

    Leave a comment:


  • Michael
    replied
    Yes, see if it compiles in the older kernel. Last time I worked on that script it had built fine (original FC6 kernel). I can also update the script if needed if it turns out to be a issue introduced in the new kernel.

    Leave a comment:


  • jordandalley
    replied
    Thanks for the quick reply Michael. The kernel is just an everyday vanilla rpm package Here's the output of uname -a:

    [root@blackbraes Desktop]# uname -a
    Linux blackbraes 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:36:14 EST 2006 i686 athlon i386 GNU/Linux

    Here's some additional info on kernel packages:

    [root@blackbraes Desktop]# rpm -qa | grep kernel
    kernel-devel-2.6.18-1.2849.fc6
    kernel-headers-2.6.18-1.2798.fc6
    kernel-devel-2.6.18-1.2798.fc6.stk16
    kernel-2.6.18-1.2849.fc6
    kernel-2.6.18-1.2798.fc6.stk16
    kernel-headers-2.6.18-1.2849.fc6


    I could always reboot into the older kernel and see if it compiles in there...
    Last edited by jordandalley; 08 December 2006, 09:33 PM.

    Leave a comment:


  • Michael
    replied
    Did you compile the kernel yourself, or what version are you using (uname -a)?

    It's having a problem with the kernel.

    Leave a comment:


  • jordandalley
    replied
    Hi all,
    great script! I have been trying to get my 8200LE card going for ages!

    I have one small snag. Heres the output of the script where it fails. This one has got me to a dead end..

    I've had to chop most of the output out as it's quite long and wont fit in a post, but here goes.

    Code:
    ATI module generator V 2.0
    ==========================
    initializing...
    make.sh: line 451: [: =: unary operator expected
    make.sh: line 525: [: =: unary operator expected
    OsRelease=2.6.18-1.2849.fc6
    major=2
    minor=6
    patch=18
    extra=-1.2849.fc6
    SMP=
    smp=
    iii=
    AGP=1
    CC=gcc
    cc_version=
    cleaning...
    patching 'highmem.h'...
    assuming new VMA API since we do have kernel 2.6.x...
     Assuming default VMAP API
    doing Makefile based build for kernel 2.6.x and higher
    make -C /lib/modules/2.6.18-1.2849.fc6/build SUBDIRS=/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/kernels/2.6.18-1.2849.fc6-i586'
      CC [M]  /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:49:2: error: #error unknown or undefined architecture configured
    In file included from include/asm/thread_info.h:16,
                     from include/linux/thread_info.h:21,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:49,
                     from include/linux/capability.h:45,
                     from include/linux/sched.h:44,
                     from include/linux/module.h:9,
                     from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:90:
    include/asm/processor.h:80: error: 'CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
    include/asm/processor.h:80: error: requested alignment is not a constant
    In file included from include/linux/sched.h:49,
                     from include/linux/module.h:9,
                     from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:90:
    include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
    include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
    I get multiple pages of this:

    include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined

    Until eventually this is shown:

    Code:
    /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3170: error: 'CONFIG_PAGE_OFFSET' undeclared (first use in this function)
    make[2]: *** [/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
    make[1]: *** [_module_/tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/ATI-fglrx-8.28.8-1.fc6-root-root/lib/modules/fglrx/build_mod/2.6.x] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.18-1.2849.fc6-i586'
    make: *** [kmod_build] Error 2
    build failed with return value 2
    error: Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/rpm-tmp.97873 (%install)
    
    
    RPM build errors:
        Bad exit status from /tmp/ATI-fglrx-8.28.8-1-5280-root/tmp/rpm-tmp.97873 (%install)
    _______________________________________________________________
    ATI fglrx 8.28.8 Legacy drivers for Fedora Core 6 Zod
    Run this only if you are using an R200 (e.g. Radeon 9200) graphics card.
    New drivers are available for post-R200 hardware.
    Created by Michael Larabel of Phoronix
    Install resulting RPMs using rpm -ivh
    Usage See: http://www.phoronix.net/forums/forumdisplay.php?f=19
    Hit any key to continue
    Any advice much appreciated

    Leave a comment:


  • bill_mcgonigle
    replied
    I think I spoke too soon. Based on some further experimentation I can crash fglrx just on startup. Using the configuration generated by:

    aticonfig --initial=dual-head --input=/etc/X11/xorg.conf --tvf=NTSC --tvs=VIDEO --hsync2=30-50 --vrefresh2=60 --ovon=1 -v

    I get the xorg.conf as follows:

    Code:
    Section "ServerLayout"
            Identifier     "single head configuration"
            Screen      0  "aticonfig-Screen[0]" 0 0
            Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
            InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
            Load  "dri"
            Load  "glx"
    EndSection
    
    Section "Extensions"
            Option "Composite" "Disable"
    EndSection
    
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "us"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[1]"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]"
            Driver      "fglrx"
            Option      "TVFormat" "NTSC-M"
            Option      "TVStandard" "VIDEO"
            Option      "HSync2" "30-50"
            Option      "VRefresh2" "60"
            Option      "OverlayOnCRTC2" "1"
            BusID       "PCI:1:5:0"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[1]"
            Driver      "fglrx"
            BusID       "PCI:1:5:0"
            Screen      1
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[0]"
            Device     "aticonfig-Device[0]"
            Monitor    "aticonfig-Monitor[0]"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes "800x600@60"
            EndSubSection
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[1]"
            Device     "aticonfig-Device[1]"
            Monitor    "aticonfig-Monitor[1]"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
                    Modes "800x600@60"
            EndSubSection
    EndSection
    and then the driver crashes:

    Code:
    (EE) fglrx(0): PreInitDAL failed
    (EE) fglrx(0): R200PreInit failed
    
    Backtrace:
    0: X(xf86SigHandler+0x81) [0x80e53b1]
    1: [0xc27420]
    2: /usr/lib/xorg/modules/drivers/fglrx_drv.so(R200PreInit+0x526) [0x259f26]
    3: X(InitOutput+0x9c1) [0x80a1cb1]
    4: X(main+0x276) [0x806f856]
    5: /lib/libc.so.6(__libc_start_main+0xdc) [0x78cf2c]
    6: X(FontFileCompleteXLFD+0x1e9) [0x806eda1]

    Leave a comment:


  • bill_mcgonigle
    replied
    Some progress to report. I can get the X server to start now with:

    Option "ForceMonitors" "notv"

    I saw some Ubuntu bugs about a similar problem and figured I'd try their solution.

    This of course defeats my purposes so I need to figure out now how to get both crt1 and tv working and mirroring. Using "ForceMonitors" "crt1,tv" and "DesktopSetup" "clone" just gets me back to the "no screens" problem.

    X -configure's crash still happens and may be a separate issue, but I'm not sure it'll directly affect this setup.

    EDIT: "DesktopSetup" "mirror" is what I should have had. X will now start, but no picture on the CRT. So my quest has morphed from a "drat, X won't start" to a "how do I get the blasted TV-Out to work." If anybody has a working xorg.conf to share, much appreciated. Here's a device section that doesn't work:
    Code:
            Driver      "fglrx"
            Option      "VideoOverlay" "on"
            Option      "TVStandard" "VIDEO"
            Option      "TVFormat" "NTSC-M"
            Option      "DesktopSetup" "mirror"
            Option      "EnableMonitor" "tv,crt1"
            Option      "HSync2" "30-50"
            Option      "VRefresh2" "60"
            Option      "ForceMonitors" "crt1,tv"
    Last edited by bill_mcgonigle; 21 November 2006, 01:23 AM.

    Leave a comment:


  • bill_mcgonigle
    replied
    Originally posted by Michael View Post
    So you have the drivers built and installed but they aren't working now?
    Correct.

    Originally posted by Michael View Post
    What is the specific graphics card that you are using?
    This is an integrated Radeon 9100 IGP which from what I can gather uses an RS300 chipset with (maybe?) an R200 (mumble)theater chip for TV-Out.

    Originally posted by Michael View Post
    Had you tried any AGP options or other non-(aticonfig --initial) options in your config file
    No, perhaps I should. I looked through the aticonfig help file and it doesn't appear to offer much in the way of AGP options.

    Originally posted by Michael View Post
    (what does your xorg.conf look like right now)?
    To make this I ran system-config-display, set my resolution, then ran aticonfig --initial --input=/etc/X11/xorg.conf and manually removed the Radeon driver's Device and the non-ATI Screen section


    Code:
    Section "ServerLayout"
            Identifier     "single head configuration"
            Screen      0  "aticonfig-Screen[0]" 0 0
            InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
            Load  "dri"
            Load  "glx"
    EndSection
    
    Section "Extensions"
            Option "Composite" "Disable"
    EndSection
    
    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "kbd"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "us"
    EndSection
    
    Section "Monitor"
            Identifier   "aticonfig-Monitor[0]"
            Option      "VendorName" "ATI Proprietary Driver"
            Option      "ModelName" "Generic Autodetecting Monitor"
            Option      "DPMS" "true"
    EndSection
    
    Section "Device"
            Identifier  "aticonfig-Device[0]"
            Driver      "fglrx"
    EndSection
    
    Section "Screen"
            Identifier "aticonfig-Screen[0]"
            Device     "aticonfig-Device[0]"
            Monitor    "aticonfig-Monitor[0]"
            DefaultDepth     24
            SubSection "Display"
                    Viewport   0 0
                    Depth     24
            EndSubSection
    EndSection
    Originally posted by Michael View Post
    If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.
    Please let me know what would be most helpful. Some bits that might help:

    lspci -v -v -v

    Code:
    01:05.0 VGA compatible controller: ATI Technologies Inc Radeon 9100 IGP (prog-if 00 [VGA])
            Subsystem: ASUSTeK Computer Inc. Unknown device 8107
            Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
            Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
            Latency: 255 (2000ns min), Cache Line Size: 64 bytes
            Interrupt: pin A routed to IRQ 177
            Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
            Region 1: I/O ports at d000 [size=256]
            Region 2: Memory at fdc00000 (32-bit, non-prefetchable) [size=64K]
            Expansion ROM at fdb00000 [disabled] [size=128K]
            Capabilities: [58] AGP version 3.0
                    Status: RQ=256 Iso- ArqSz=0 Cal=7 SBA+ ITACoh- GART64- HTrans- 64bit+ FW+ AGP3+ Rate=x4,x8
                    Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x4
            Capabilities: [50] Power Management version 2
                    Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                    Status: D0 PME-Enable- DSel=0 DScale=0 PME-
    dmesg:

    Code:
    agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
    agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
    agpgart: Putting AGP V3 device at 0000:01:05.0 into 4x mode
    [drm] Setting GART location based on old memory map
    [drm] Loading R200 Microcode
    [drm] writeback test succeeded in 1 usecs
    [drm] Module unloaded
    fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
    [fglrx] Maximum main memory to use for locked dma buffers: 865 MBytes.
    [fglrx] module loaded - fglrx 8.28.8 [Aug 17 2006] on minor 0
    uname -a : Linux malp.bfc 2.6.18-1.2849.fc6 #1 SMP Fri Nov 10 12:45:28 EST 2006 i686 i686 i386 GNU/Linux

    Other curious bits:

    I seem to have to do a depmod -a before I can modprobe fglrx on each reboot.

    Errors the driver outputs:

    Code:
    (EE) fglrx(0): PreInitDAL failed
    (EE) fglrx(0): R200PreInit failed
    (EE) Screen(s) found, but none have a usable configuration.
    Thanks for looking at this.

    Leave a comment:


  • Michael
    replied
    You're very welcome.

    So you have the drivers built and installed but they aren't working now? What is the specific graphics card that you are using? Had you tried any AGP options or other non-(aticonfig --initial) options in your config file (what does your xorg.conf look like right now)? If you can post some more detailed information I can try to possibly reproduce the problem and hopefully figure out a fix.

    Leave a comment:


  • bill_mcgonigle
    replied
    getting X to start with legacy drivers

    First, thanks to Michael for his hard work on helping folks with "older" hardware (my machine was brand new 1.5 years ago...) stay current with software and his support of the community.

    Using Michael's script I've been able to, after some exasperation, get the fglrx drivers compiled and installed. I needed to do the config.h hack, symlink libqt-mt to libqt and libGL.so.1 to libGL, and then finally the control panel would compile and I got Zod packages.

    For starters I can run X just fine with the open source drivers but I need TV-out and my chip isn't supported by the Gatos code. So, here I am.

    I've tried aticonfig --initial and it makes a config file (without modes, incidentally), but it fails with 'no screens'. If I put in an "800x600" mode it still fails with 'no screens'.

    Interestingly, if I turn off the monitor X will get further, but it doesn't initialize the display, just black. I've tried this with DPMS on and off.

    I think I have a handle on what's going on but don't know how to proceed. If I start Xorg -configure, I get a crash in fglrx at R200Probe:

    Code:
    Backtrace:
    0: Xorg(xf86SigHandler+0x81) [0x80e53b1]
    1: [0x9f8420]
    2: /lib/libc.so.6(memcpy+0x1c) [0x7e49ec]
    3: Xorg(xf86memcpy+0x2b) [0x80b4efb]
    4: /usr/lib/xorg/modules/drivers/fglrx_drv.so(R200Probe+0x121) [0xd8dfd1]
    5: Xorg(DoConfigure+0x228) [0x80d22c8]
    6: Xorg(InitOutput+0x645) [0x80a1935]
    7: Xorg(main+0x276) [0x806f856]
    8: /lib/libc.so.6(__libc_start_main+0xdc) [0x78cf2c]
    9: Xorg(FontFileCompleteXLFD+0x1e9) [0x806eda1]
    There are a few other clueless users out there that Google knows about with similar crashes, but no posted solutions. I figured someone here is likely to know what might be going on. Any ideas appreciated.

    Leave a comment:

Working...
X