Announcement

Collapse
No announcement yet.

fglrx 8.10 on Fedora 9 64bit: Error: ./default_policy.sh does not support version

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

  • fglrx 8.10 on Fedora 9 64bit: Error: ./default_policy.sh does not support version

    Hi guys and thanks for this nice forum. This is my first post here - I have searched the forum to try to find the solution to my problem, and found
    "The Sad FGLRX Journey of Kernel Cheese" from 2007:
    Technical support and discussion of the open-source AMD Radeon graphics drivers.

    which describes my problem pretty well.
    Unfortunately, I was not able to follow the receipt given, so here goes...

    My short story:
    I have recently bought a new mediacenter PC, where the motherboard does not have TV-OUT (Asus P5E-VM HDMI), so I also bought an Asus EAH3450 HD (ATI Technologies Inc Mobilitiy Radeon HD 3450) for the sole purpose of giving me TV-out to my old CRT TV (SCART).

    My box is running Fedora 9 kernel 2.6.26.5-45.fc9.x86_64.

    Having read some time back that ATI provide binary drivers I hoped this would "just work". So I downloaded ati-driver-installer-8-10-x86.x86_64.run and ran it as root, just to see:

    Code:
    # sh ati-driver-installer-8-10-x86.x86_64.run
    ...
    ==================================================
     ATI Technologies Linux Driver Installer/Packager
    ==================================================
    which: no XFree86 in
    (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/
    usr/sbin:/usr/bin:/root/bin)
    
    Error: ./default_policy.sh does not support version
    default:v2:x86_64:lib::none:2.6.26.5-45.fc9.x86_64; make sure that the
    version is being
    correctly set by --iscurrentdistro
    
    Removing temporary directory: fglrx-install.YeqIWq
    Thats pretty much the exact same thing as "Kernel Cheese" reported back in 2007. So I tried to reproduce what he did:
    Code:
    # sh ati-driver-installer-8-10-x86.x86_64.run --keep
    ...
    # cd fglrx-install.mUUCfe/
    # sh check.sh
    Detected configuration:
    Architecture: x86_64 (64-bit)
    which: no XFree86 in
    (/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/
    usr/sbin:/usr/bin:/root/bin)
    X Server: unable to detect
    Okay, I did this from an ssh terminal, so that might explain the "unable to detect". But then I did:

    Code:
    # sh ati-installer.sh 8.54.2 --buildpkg Fedora/F9
    ==================================================
     ATI Technologies Linux Driver Installer/Packager 
    ==================================================
    Generating package: Fedora/F9
    mv: cannot stat `/tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542/usr/X11R6/lib/modules/dri/*': No such file or directory
    mv: cannot stat `/tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542/usr/X11R6/lib/*.so.*': No such file or directory
    Package build failed!
    Package build utility output:
    Building target platforms: x86_64
    Building for target x86_64
    Executing(%prep): /bin/sh -e /tmp/ATI-fglrx-8.542-1-10332-root/tmp/rpm-tmp.16579
    + umask 022
    + cd /tmp/ATI-fglrx-8.542-1-10332-root/BUILD
    + LANG=C
    + export LANG
    + unset DISPLAY
    + cd /tmp/ATI-fglrx-8.542-1-10332-root/BUILD
    + cd ATI-fglrx-8.542
    ++ /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.542-1-10332-root/tmp/rpm-tmp.16579
    + umask 022
    + cd /tmp/ATI-fglrx-8.542-1-10332-root/BUILD
    + cd ATI-fglrx-8.542
    + LANG=C
    + export LANG
    + unset DISPLAY
    + exit 0
    Executing(%install): /bin/sh -e /tmp/ATI-fglrx-8.542-1-10332-root/tmp/rpm-tmp.16579
    + umask 022
    + cd /tmp/ATI-fglrx-8.542-1-10332-root/BUILD
    + cd ATI-fglrx-8.542
    + LANG=C
    + export LANG
    + unset DISPLAY
    + rm -rf /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root
    + '[' -d /etc/ld.so.conf.d ']'
    + mkdir -p /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/etc/ld.so.conf.d
    + pushd /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/etc/ld.so.conf.d
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/etc/ld.so.conf.d /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542
    + cat
    + popd
    /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542
    + mkdir -p /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/share/applications
    + pushd /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/share/applications
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/share/applications /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542
    + cat
    + popd
    /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542
    + cp -pR /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542/etc /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542/lib /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542/usr /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root
    + find /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/share/doc -type f -perm 0555 -exec chmod 0644 '{}' ';'
    + find /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root -type f -perm 0555 -exec chmod 0755 '{}' ';'
    + export AS_USER=y
    + AS_USER=y
    + pushd /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod /tmp/ATI-fglrx-8.542-1-10332-root/BUILD/ATI-fglrx-8.542
    + bash make.sh verbose
    ATI module generator V 2.0
    ==========================
    initializing...
    make.sh: line 304: [: =: unary operator expected
    OsRelease=2.6.26.5-45.fc9.x86_64
    major=2
    minor=6
    patch=26
    extra=.5-45.fc9.x86_64
    SMP=1
    smp=-SMP
    doing Makefile based build for kernel 2.6.x and higher
    rm -rf *.c *.h *.o *.ko *.GCC* .??* *.symvers
    make -C /lib/modules/2.6.26.5-45.fc9.x86_64/build SUBDIRS=/tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x modules
    make[1]: Entering directory `/usr/src/kernels/2.6.26.5-45.fc9.x86_64'
      CC [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_vm_phys_addr_str':
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3522: warning: return makes pointer from integer without a cast
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3523: warning: return makes pointer from integer without a cast
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3524: warning: return makes pointer from integer without a cast
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3526: warning: return makes pointer from integer without a cast
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5774: warning: initialization from incompatible pointer type
    /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5800: warning: initialization from incompatible pointer type
      CC [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o
      CC [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o
      CC [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o
      LD [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.o
      Building modules, stage 2.
      MODPOST 1 modules
      CC      /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
      LD [M]  /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
    make[1]: Leaving directory `/usr/src/kernels/2.6.26.5-45.fc9.x86_64'
    build succeeded with return value 0
    duplicating results into driver repository...
    done.
    You must change your working directory to /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/lib/modules/fglrx
    and then call ./make_install.sh in order to install the built module.
    
    
    
    <snip>
    
    
    
    error: File not found by glob: /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/X11R6/lib/modules/dri/*
    Processing files: kernel-module-ATI-fglrx-2.6.26.5-45.fc9.x86_64-8.542-1.f9
    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
    Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root
    
    
    RPM build errors:
        File not found by glob: /tmp/ATI-fglrx-8.542-1-10332-root/tmp/ATI-fglrx-8.542-1.f9-root-root/usr/X11R6/lib/modules/dri/*
    The version "8.54.2" was just something I guessed, not really sure if it is right.

    Now, it might very well be that I've done something wrong here, and I would appreciate any suggestions on how to get this going.

    Maybe I don't really need the binary driver at all. I have tried the "radeon" driver in xorg.conf, but was not able to activate TV-out. Since I am going to use this as my mediacenter (MythTV), I am interested in the best possible video performance (non-tearing etc).

    Any suggestions?
Working...
X