Page 1 of 5 123 ... LastLast
Results 1 to 10 of 42

Thread: Generating catalyst 9.11 rpm's on openSUSE 11.2

  1. #1

    Default Generating catalyst 9.11 rpm's on openSUSE 11.2

    since catalyst 9.10 now package generation is somehow broken (at least for me) but I got it to work (described here)

    I refined the workaround and build a shell script which does all that automatically for you ( I don't see a file upload here, so I'll put the script in text):

    catalyst_911-suse112.sh
    Code:
    #!/bin/bash
    
    sh ./ati-driver-installer-9-11-x86.x86_64.run --extract fglrx-install.11
    
    pushd fglrx-install.11
    
    patch -p1 < ../fglrx-install.11.diff
    
    if [ X`uname -m` = "Xx86_64" ]; then
    ./packages/SuSE/ati-packager.sh --buildpkg SUSE112-AMD64
    else
    ./packages/SuSE/ati-packager.sh --buildpkg SUSE112-IA32
    fi
    
    popd
    fglrx-install.11.diff
    Code:
    diff -U 3 -H -d -r -N -- fglrx-install.11.orig/packages/SuSE/ati-packager.sh fglrx-install.11.new/packages/SuSE/ati-packager.sh
    --- fglrx-install.11.orig/packages/SuSE/ati-packager.sh	2009-11-12 07:07:59.000000000 +0100
    +++ fglrx-install.11.new/packages/SuSE/ati-packager.sh	2009-11-18 09:46:35.275689274 +0100
    @@ -91,7 +91,7 @@
     END_SED_SCRIPT
         
         #Build the package
    -    rpmbuild -bb --root ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
    +    rpmbuild -bb --buildroot ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
     
         #Retrieve the absolute path to the built package
         if [ $? -eq 0 ]; then
    1. download catalyst 9.11 (ati-driver-installer-9-11-x86.x86_64.run)
    2. generate the two above-mentioned files with the given content and put them into the same directory as the catalyst file
    3. execute
      Code:
      sudo sh ./catalyst_911-suse112.sh
      it will extract the package to a directory called "fglrx-install.11", patch the build script and generate a suitable rpm in its directory


    Of course you could do all that manually, too...

  2. #2

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    great catch, NicoK. i read thru your explaination and did the modification manually to build the 9.11 rpm.

    i hope you communicate the error to ATI feedback so the script can be corrected for the 9.12 release.

    for me, the last two releases of the proprietary driver have been the best ever in performance for my 3850HD card. shame that a scripting error keeps that away from widespread use.

    good show.

  3. #3

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    Quote Originally Posted by j_xavier View Post
    i hope you communicate the error to ATI feedback so the script can be corrected for the 9.12 release
    when 9.10 was released, I was hoping their quality assurance would find the error (after all, it was an "early-look support"), but that didn't happen

    However, I just filled out the "Linux Crew Driver Feedback" and reported that - let's hope, they'll react...

  4. #4
    cubed_za NNTP User

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    Hi

    When i run the script i receive a 'Package is not Supported Error'
    for
    ./packages/SuSE/ati-packager.sh --buildpkg SUSE112-AMD64

    And i'm running 64bit 11.2

    Any ideas ?

  5. #5

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    Quote Originally Posted by cubed_za View Post
    When i run the script i receive a 'Package is not Supported Error'
    for
    ./packages/SuSE/ati-packager.sh --buildpkg SUSE112-AMD64
    Just to clarify: you are using the package from 9.10 or 9.11 and are in the directory of the extracted files from that package?
    (I tested this for 64bit, too - in fact, I did only test my script for that )

  6. #6
    Join Date
    Jun 2008
    Location
    USA
    Posts
    77

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    NicoK,

    You are my hero of the day for solving all my ATI problems. Thanks a bunch!

    Nathan

  7. #7

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    Excellent job! I manually run the patch as well as the complation successfully!

  8. #8
    Join Date
    Aug 2008
    Location
    Bendigo, Australia
    Posts
    230

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    I must be missing something here...
    I have the "fglrx-install.11" directory, but what do I do now?
    When I try running ati-installer.sh, I get

    Unrecognized parameter '' to ati-installer.sh
    This script supports the following arguments:
    --help : print help messages
    --listpkg : print out a list of generatable packages
    --buildpkg [package] [--dryrun] : if generatable, the package will be created
    --buildandinstallpkg [package] [--dryrun] : if generatable, the package will be creadted and installed
    --install

    I have tried it again with --install, but I get the same message.
    As you can see, I don't really know what I'm doing

    Can anyone help?

    I have just had a look at the text from the last step

    It looks like I'm having problems with it

    sarge@linux-sarge:~/Ati installer/fglrx-install.11> diff -U 3 -H -d -r -N -- fglrx-install.11.orig/packages/SuSE/ati-packager.sh fglrx-install.11.new/packages/SuSE/ati-packager.sh
    diff: fglrx-install.11.orig/packages/SuSE/ati-packager.sh: No such file or directory
    diff: fglrx-install.11.new/packages/SuSE/ati-packager.sh: No such file or directory
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> --- fglrx-install.11.orig/packages/SuSE/ati-packager.sh2009-11-12 07:07:59.000000000 +0100
    If '---' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf ---
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> +++ fglrx-install.11.new/packages/SuSE/ati-packager.sh2009-11-18 09:46:35.275689274 +0100
    If '+++' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf +++
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> @@ -91,7 +91,7 @@
    If '@@' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf @@
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> END_SED_SCRIPT
    If 'END_SED_SCRIPT' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf END_SED_SCRIPT
    sarge@linux-sarge:~/Ati installer/fglrx-install.11>
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> #Build the package
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> - rpmbuild -bb --root ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
    bash: ${TmpPkgBuildOut}: ambiguous redirect
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> + rpmbuild -bb --buildroot ${TmpDrvFilesDir} --target ${ARCH} ${TmpPkgSpec} > ${TmpPkgBuildOut} 2>&1
    bash: ${TmpPkgBuildOut}: ambiguous redirect
    sarge@linux-sarge:~/Ati installer/fglrx-install.11>
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> #Retrieve the absolute path to the built package
    sarge@linux-sarge:~/Ati installer/fglrx-install.11> if [ $? -eq 0 ]; then

    Is this helpful?

  9. #9

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    you're not supposed to put the code snippets into a console...just follow my the three steps below

    Quote Originally Posted by NicoK View Post
    1. download catalyst 9.11 (ati-driver-installer-9-11-x86.x86_64.run)
    2. generate the two above-mentioned files with the given content and put them into the same directory as the catalyst file
    3. execute
      Code:
      sudo sh ./catalyst_911-suse112.sh
      it will extract the package to a directory called "fglrx-install.11", patch the build script and generate a suitable rpm in its directory
    (you can generate the two files of the second step by using your favourite editor, e.g. kwrite)

  10. #10
    Join Date
    Aug 2008
    Location
    Bendigo, Australia
    Posts
    230

    Default Re: Generating catalyst 9.11 rpm's on openSUSE 11.2

    Ahhhh, thanks for that.

    I now get this after uncompressing

    "/home/sarge/Ati installer/fglrx-install.11 /home/sarge/Ati installer
    ./catalyst_911-suse112.sh: line 7: patch: command not found
    Requested package is not supported"

Page 1 of 5 123 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •