You are not logged in.

#1026 2010-03-17 02:49:31

endlessroad1991
Member
Registered: 2010-02-02
Posts: 28

Re: Discussion: the ati/radeon open source drivers & radeon repository

@gtklocker: then skip step 1, do the rest and tell us the result smile
(Anyway, building the radeon module into the kernel is not a common choice, building it as module will cause less problems..)

Last edited by endlessroad1991 (2010-03-17 03:10:40)

Offline

#1027 2010-03-17 03:07:04

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

2 days in a row now I've not been able to access Perry3D's repo?

It times out using both packer & yaourt.

Is anyone else having this problem?

[Edit:] I've had to disable the [ati] repo in pacman.conf to be able to upgrade my system?

Last edited by handy (2010-03-17 08:51:46)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1028 2010-03-17 08:10:51

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

Now there are a lot of new patches wink  ( +12 )
http://people.freedesktop.org/~agd5f/pm2/

I am trying

Edit : Hm... with PM KMS "crash" (white screen on top and bottom of the screen, and screen frozen.), and without PM, it works. So... hmm

Last edited by yimm (2010-03-17 08:45:08)

Offline

#1029 2010-03-17 19:24:34

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

handy wrote:

2 days in a row now I've not been able to access Perry3D's repo?

It times out using both packer & yaourt.

Is anyone else having this problem?

[Edit:] I've had to disable the [ati] repo in pacman.conf to be able to upgrade my system?

Hmm...no problems here. Can you access the dropbox homepage: www.dropbox.com ?


Somebody here with a PKGBUILD for the drm-radeon-testing branch kernel?

Offline

#1030 2010-03-17 22:19:34

mjr
Member
From: Tandil,Buenos Aires,Argentina
Registered: 2010-03-07
Posts: 14

Re: Discussion: the ati/radeon open source drivers & radeon repository

I've modified the aur's pkgbuild to use drm-radeon-testing, but today isn't a good day for my ISP, so i'm still cloning the tree (@ < 4KiB/s!!!). If this works i'll let you know.
It would be really nice to have this alternative kernel in the repo!

Offline

#1031 2010-03-17 22:37:13

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:
handy wrote:

2 days in a row now I've not been able to access Perry3D's repo?

It times out using both packer & yaourt.

Is anyone else having this problem?

[Edit:] I've had to disable the [ati] repo in pacman.conf to be able to upgrade my system?

Hmm...no problems here. Can you access the dropbox homepage: www.dropbox.com ?
...

Yes I can access the dropbox homepage.

I just re-enabled the [ati] repo in pacman.conf & gave it another go with packer, I get the same waiting forever result that I eventually have to interrupt with ctrl c :

handy ~  $  packer -Syu
Password:
:: Synchronizing package databases...
ati                        2.2K   83.3K/s 00:00:00 [##############################################] 100%
core is up to date
extra                    445.9K   69.9K/s 00:00:06 [##############################################] 100%
community                369.1K   82.6K/s 00:00:04 [##############################################] 100%
archlinuxfr                5.6K    9.5M/s 00:00:00 [##############################################] 100%
arch-games is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (4): kernel26-git-20100314-1  libdrm-git-20100314-1  mesa-full-20100314-1 
             xf86-video-ati-git-20100314-1 

Total Download Size:    3.71 MB
Total Installed Size:   132.33 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from ati...


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1032 2010-03-18 16:24:27

endlessroad1991
Member
Registered: 2010-02-02
Posts: 28

Re: Discussion: the ati/radeon open source drivers & radeon repository

Hey guys, look at this:
ATI Kernel Power Management Moves A Bit More
http://www.phoronix.com/scan.php?page=n … &px=ODA3Mw
I've compiled drm-radeon-testing with all 26 pm2 patches here:
http://people.freedesktop.org/~agd5f/pm2/
KMS, 3D both work fine, but when glxgears/compiz-effects/kwin-effects are performed,
or in one word, when clocks are changed, the whole screen shake vertically...
My card is Mobility Radeon HD 4570, rv710. This had never happened before.
Anyone got any ideas?

Last edited by endlessroad1991 (2010-03-18 16:28:25)

Offline

#1033 2010-03-18 17:44:55

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Discussion: the ati/radeon open source drivers & radeon repository

Wow, so many patches ! big_smile

Please, please upload the powersaving-kernel on the repo big_smile

Offline

#1034 2010-03-18 19:45:37

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

I would provide it if someone gives me a PKGBUILD.
I have no time until the 1. april.

@mjr: cool avatar lol

Offline

#1035 2010-03-18 20:21:36

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Discussion: the ati/radeon open source drivers & radeon repository

Does anyone know when slowing down the fan will work without patches?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1036 2010-03-18 20:30:30

mjr
Member
From: Tandil,Buenos Aires,Argentina
Registered: 2010-03-07
Posts: 14

Re: Discussion: the ati/radeon open source drivers & radeon repository

(offtopic)
@Perry3D: you might like this one lol
23s6ett.gif

Last edited by mjr (2010-03-18 20:31:13)

Offline

#1037 2010-03-19 10:12:47

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

Out of interest, does anyone know what the problem is between Wine & the OS drivers that causes games to not run or run very poorly?

Last edited by handy (2010-03-19 11:54:25)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1038 2010-03-19 10:15:30

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

I would provide it if someone gives me a PKGBUILD.
I have no time until the 1. april.

http://yimboka.free.fr/PKGBUILD with all patches from here (30 patches).

endlessroad1991 wrote:

KMS, 3D both work fine, but when glxgears/compiz-effects/kwin-effects are performed,
or in one word, when clocks are changed, the whole screen shake vertically...
My card is Mobility Radeon HD 4570, rv710. This had never happened before.
Anyone got any ideas?

I have the same problem as you.
They are talking about this here.
http://www.mail-archive.com/dri-devel@l … 48913.html

Last edited by yimm (2010-03-19 14:17:31)

Offline

#1039 2010-03-19 17:56:27

spirit
Member
Registered: 2010-03-19
Posts: 11

Re: Discussion: the ati/radeon open source drivers & radeon repository

last PKGBUILD not working for me, it's blocking at "git checkout -b drm-radeon-testing origin/drm-radeon-testing", wrong directory.

so i move this line after

here mine:

pkgname=kernel26-git
pkgver=20100319
pkgrel=1
pkgdesc="The Linux Kernel and modules from Linus' git tree"
url="http://www.kernel.org/"
arch=(i686 x86_64)
license=('GPL2')
depends=('coreutils' 'kernel26-firmware-git' 'module-init-tools' 'mkinitcpio>=0.5.20')
makedepends=('git')
backup=(etc/mkinitcpio.d/$pkgname.preset)
install=$pkgname.install
changelog=$pkgname.changelog
source=($pkgname.preset config.{i686,x86_64} \
        logo_linux_{clut224.ppm,mono.pbm,vga16.ppm})
md5sums=('7dd364c1dea0c459f3f3c76e86acbea9'
         'a5549f442953feb52c3a6d03fe62e5a9'
         'c98b594b5abb99aa908de632c207fca2'
         '6a5a1925501fe20fafd04fdb3cb4f6ed'
         'e8c333eaeac43f5c6a1d7b2f47af12e2'
         'c120adbd9c0daa0136237a83adeabd1e'
         'e2207357e5f40100e9b8f0cfcc240928'
         '4a3da69b6f6b6e40c4da068aef7f26b9'
         '5e95e91a2475f92df12e114525e3e811'
         '9d4eb0613a65dc991c48abf2d3876a52'
         'f8f16c0a16964439a0cbc970d7e8a0ff'
         '7b5901acb28769e59cffad0e4af2c3d0'
         '0c592c56bb32e44988dbb98c0781e64d'
         'fe1101119587260385d6aa8faf30d9db'
         '9c6a5e8563698a9fd44cae5429130702'
         '1a4350a3115ac1d9815e79ad36cf8962'
         '7e212bca981bb8b4c6fb73b8fb85a592'
         '505b6c9d83f956ff905de899bdfb2451'
         'e123fd02e5c4d955ea3a6535f2b4d1a7'
         '6fd7f29f0321ac9c91658b069736545a'
         '14adf613d1a7f4291c9e3ee56613676b'
         '51cabc7986f1dd76a6d3f4a74104c467'
         '8c7355fc40f7723e4badf0a44b2dedd1'
         'a8ad29d1fc32948c61b52ecddcf3a4dd'
         'c97ed808ecbf90b4aa01ea65398ab966'
         'fe5cfbb2ff627842726f466683fab378'
         'bd58d0e20813d59643ce5013beacc217'
         '100a419a3b04d693355c696de9035e07'
         'f00a05b55f154b66cb3bc56620e734de'
         '085a01051012e3c0ae0181cf22df312c'
         '784f36de843ed03eaa16b56a9e07523d'
         'a0bc2143a3420aee0ea24ddca1e45eaa'
         'ed6e7f339bf011129f9f72e10fbe1043'
         '73deb75908b77cfbeb72769dd75f8a40'
         '7c767ba30969a2dc26657695aef14ee1'
         'e4c06a90ccd0b28ef69ecaecd9c4aee8') 




_gitroot="git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git"
_gitname="drm-2.6"


####################################################################
# KERNEL CONFIG FILES
#
# This PKGBUILD searches for config files in the current directory
# and will use the first one it finds from the following
# list as base configuration:
#     config.local
#     config.saved.$CARCH
#     config.$CARCH
#
####################################################################


#############################################################
# PATCHES
#
# This package builds the vanilla git kernel by default,
# but it is possible to patch the source without modifying
# this PKGBUILD.
#
# Simply create a directory 'patches' in your PKGBUILD
# directory and _any_ file (dotfiles excluded) in this
# folder will be applied to the kernel source.
#
# Prefixing the patch file names with dots will obviously
# excluded them from the patching process.
#
#############################################################


#############################
# CONFIGURATION
#
# Uncomment desired options
#############################


#######
# Set to e.g. menuconfig, xconfig or gconfig
#
# For a full list of supported commands, please have a look
# at "Configuration targets" section of `make help`'s output.
#
# If unset or set to an empty string, the (manual) kernel
# configuration step will be skipped.
#
_config_cmd="menuconfig"


#######
# The directory where the kernel should be built
#
# Can be useful, for example, if you want to compile on a
# tmpfs mount, which can speed up the compilation process
#
_build_dir="$srcdir"


#######
# Stop build process after kernel configuration
#
# This option enables _save_config implicitly.
#
# _configure_only=1


#######
# Append the date to the localversion
#
#    e.g. -ARCH -> -ARCH-20090422
#
# _date_localversion=1


#######
# Set the pkgver to the kernel version
# rather than the build date
#
# _kernel_pkgver=1


#######
# Save the .config file to package directory
# as config.saved.$CARCH
#
# _save_config=1


#######
# Make the kernel build process verbose
#
# _verbose=1



##############################
# where the magic happens...
##############################
build() {
    #################################
    # Get the latest kernel sources
    #################################
    msg "Fetching sources..."

    cd "$startdir"
    if [[ -d $_gitname ]]; then
        msg2 "Updating sources..."
        cd "$_gitname" && git fetch && cd "$OLDPWD" || return 1

    else
        msg2 "Cloning the project..."
        warning "The initial clone will download approximately 300 mb"
        git clone --mirror "$_gitroot" "$_gitname" || return 1
    fi

    msg "Creating build branch..."
    rm -rf "$_build_dir/$_gitname-build"
    git clone "$_gitname" "$_build_dir/$_gitname-build" || return 1

    cd "$_build_dir/$_gitname-build" || return 1
    git checkout -b drm-radeon-testing origin/drm-radeon-testing || return 1


    ####################################
    # Add Arch Linux logo to the source
    ####################################
    msg "Adding Arch Linux logo..."
    cp "$srcdir/logo_linux_clut224.ppm"  drivers/video/logo/ &&
    cp "$srcdir/logo_linux_mono.pbm"     drivers/video/logo/ &&
    cp "$srcdir/logo_linux_vga16.ppm"    drivers/video/logo/ || return 1


        #################
        # Apply patches
        #################
        shopt -s nullglob
        if [[ -d $startdir/patches && -n $(echo "$startdir/patches/"*) ]]; then
                msg "Applying patches..."
                local i
                for i in "$startdir/patches/"*; do
                        msg2 "Applying ${i##*/}..."
                        patch -Np1 -i "$i" || (error "Applying ${i##*/} failed" && return 1)
                done
        fi
        shopt -u nullglob



    #################
    # CONFIGURATION
    #################

    #########################
    # Loading configuration
    #########################
    msg "Loading configuration..."
    for i in local "saved.$CARCH" "$CARCH"; do
        if [[ -e $startdir/config.$i ]]; then
            msg2 "Using kernel config file config.$i..."
            cp -f "$startdir/config.$i" .config || return 1
            break
        fi
    done

    [[ ! -e .config ]] &&
        warning "No suitable kernel config file was found. You'll have to configure the kernel from scratch."


    ###########################
    # Start the configuration
    ###########################
    msg "Updating configuration..."
    yes "" | make config > /dev/null

    # fix lsmod path
    sed -ri "s@s(bin/lsmod)@\1@" scripts/kconfig/streamline_config.pl
    
    if [[ -n $_config_cmd ]]; then
        msg2 "Running make $_config_cmd..."
        make $_config_cmd || return 1
    else
        warning "Unknown config command: $_config_cmd"
    fi


    ##############################################
    # Save the config file the package directory
    ##############################################
    if [[ -n $_save_config || -n $_configure_only ]]; then
        msg "Saving configuration..."
        msg2 "Saving $_build_dir/$_gitname-build/.config as $startdir/config.saved.$CARCH"
        cp .config "$startdir/config.saved.$CARCH" || return 1
    fi


    #######################################
    # Stop after configuration if desired
    #######################################
    if [[ -n $_configure_only ]]; then
        rm -rf "$_build_dir/$_gitname-build"
        return 1
    fi


    ###############################
    # Append date to localversion
    ###############################
    if [[ -n $_date_localversion ]]; then
        local _localversion="$(sed -rn 's/^CONFIG_LOCALVERSION="([^"]*)"$/\1/p' .config)"
        [[ -n $_localversion ]] && msg2 "CONFIG_LOCALVERSION is set to: $_localversion"

        # since this is a git package, the $pkgver is equal to $(date +%Y%m%d)
        msg2 "Appending $pkgver to CONFIG_LOCALVERSION..."
        sed -i "s/^CONFIG_LOCALVERSION=.*$/CONFIG_LOCALVERSION=\"$_localversion-$pkgver\"/" \
            .config
    fi


    #################
    # BUILD PROCESS
    #################

    ################################
    # Build the kernel and modules
    ################################
    msg "Building kernel and modules..."
    make V="$_verbose" bzImage modules || return 1
}

package() {
    local _karch="x86"
    cd "$_build_dir/$_gitname-build" || return 1

    ######################
    # Get kernel version
    ######################
    local _kernver=$(make kernelrelease)
    local _basekernel=${_kernver%%-*}


    ############################################################
    # Use kernel version instead of the current date as pkgver
    ############################################################
    if [[ -n $_kernel_pkgver ]]; then
        msg "Updating pkgver..."
        # work around AUR parser bug
        (( 1 )) && pkgver=${_kernver//-/_}

        # do not silently overwrite existing packages
        if (( ! FORCE )) && [[ -e $PKGDEST/$pkgname-$pkgver-$pkgrel-${CARCH}${PKGEXT} ]]; then
            error "A package has already been built. (use -f to overwrite)"
            return 1
        fi
    fi


    #############################################################
    # Provide kernel26
    # (probably someone wants to use this kernel exclusively?)
    #############################################################
    provides=("${provides[@]}" kernel26{,-headers}"=${_kernver//-/_}")


    ################
    # INSTALLATION
    ################

    #####################
    # Install the image
    #####################
    msg "Installing kernel image..."
    install -D -m644 System.map                "$pkgdir/boot/System.map26-git" &&
    install -D -m644 arch/$_karch/boot/bzImage "$pkgdir/boot/vmlinuz26-git"    &&
    install -D -m644 .config                   "$pkgdir/boot/kconfig26-git"    || return 1


    ##########################
    # Install kernel modules
    ##########################
    msg "Installing kernel modules..."
    make INSTALL_MOD_PATH="$pkgdir" modules_install


    ##############################
    # Install fake kernel source
    ##############################
    install -D -m644 Module.symvers  "$pkgdir/usr/src/linux-$_kernver/Module.symvers"  &&
    install -D -m644 Makefile        "$pkgdir/usr/src/linux-$_kernver/Makefile"        &&
    install -D -m644 kernel/Makefile "$pkgdir/usr/src/linux-$_kernver/kernel/Makefile" &&
    install -D -m644 .config         "$pkgdir/usr/src/linux-$_kernver/.config"         &&
    install -D -m644 .config         "$pkgdir/lib/modules/$_kernver/.config"           || return 1


    #######################################################
    # Install scripts directory and fix permissions on it
    #######################################################
    cp -a scripts "$pkgdir/usr/src/linux-$_kernver" &&
    chmod og-w -R "$pkgdir/usr/src/linux-$_kernver" || return 1


    ##########################
    # Install header files
    ##########################
    msg "Installing header files..."

    # kernel headers
    msg2 "kernel"
    for i in acpi asm-generic config generated linux math-emu media net pcmcia scsi sound trace video; do
        mkdir -p "$pkgdir/usr/src/linux-$_kernver/include/$i" &&
        cp -a include/$i "$pkgdir/usr/src/linux-$_kernver/include" || return 1
    done
    # required by virtualbox and probably others
    ln -s "../generated/autoconf.h" "$pkgdir/usr/src/linux-$_kernver/include/linux/" || return 1

    # lirc headers
    msg2 "lirc"
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/drivers/media/video" &&
    cp drivers/media/video/*.h "$pkgdir/usr/src/linux-$_kernver/drivers/media/video/" || return 1

    for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
        mkdir -p "$pkgdir/usr/src/linux-$_kernver/drivers/media/video/$i" &&
        cp -a drivers/media/video/$i/*.h "$pkgdir/usr/src/linux-$_kernver/drivers/media/video/$i" || return 1
    done

    # md headers
    msg2 "md"
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/drivers/md" &&
    cp -a drivers/md/*.h "$pkgdir/usr/src/linux-$_kernver/drivers/md" || return 1

    # inotify.h
    msg2 "inotify.h"
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/include/linux" &&
    cp -a include/linux/inotify.h "$pkgdir/usr/src/linux-$_kernver/include/linux/" || return 1

    # CLUSTERIP file for iptables
    msg2 "CLUSTERIP file for iptables"
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/net/ipv4/netfilter/" &&
    cp -a net/ipv4/netfilter/ipt_CLUSTERIP.c "$pkgdir/usr/src/linux-$_kernver/net/ipv4/netfilter/" || return 1

    # wireless headers
    msg2 "wireless"
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/net/mac80211/" &&
    cp net/mac80211/*.h "$pkgdir/usr/src/linux-$_kernver/net/mac80211/" || return 1

    # Kconfig files
    msg2 "Kconfig files"
    for i in $(find . -name "Kconfig*"); do
        mkdir -p "$pkgdir/usr/src/linux-$_kernver/${i%/*}" &&
        cp -a "$i" "$pkgdir/usr/src/linux-$_kernver/$i" || return 1
    done


    ########################################
    # Install architecture dependent files
    ########################################
    msg "Installing architecture files..."
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/kernel" &&
    cp -a arch/$_karch/kernel/asm-offsets.s "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/kernel" || return 1

    cp -a arch/$_karch/Makefile* "$pkgdir/usr/src/linux-$_kernver/arch/$_karch" &&
    cp -a arch/$_karch/configs "$pkgdir/usr/src/linux-$_kernver/arch/$_karch" || return 1

    # copy arch includes for external modules and fix the nVidia issue
    mkdir -p "$pkgdir/usr/src/linux-$_kernver/arch/$_karch" &&
    cp -a "arch/$_karch/include" "$pkgdir/usr/src/linux-$_kernver/arch/$_karch/" || return 1

    # create a necessary symlink to the arch folder
    cd "$pkgdir/usr/src/linux-$_kernver/arch" || return 1

    if [[ $CARCH = "x86_64" ]]; then
        ln -s $_karch x86_64 || return 1
    else
        ln -s $_karch i386 || return 1
    fi

    cd "$OLDPWD" || return 1


    ################################
    # Remove unneeded architecures
    ################################
    msg "Removing unneeded architectures..."
    for i in "$pkgdir/usr/src/linux-$_kernver/arch/"*; do
        [[ ${i##*/} != $_karch ]] && rm -rf "$i"
    done


    ############################
    # Remove .gitignore files
    ############################
    msg "Removing .gitignore files from kernel source..."
    find "$pkgdir/usr/src/linux-$_kernver/" -name ".gitignore" -delete


    ##################################
    # Create some important symlinks
    ##################################
    msg "Creating important symlinks..."

    # the build symlink needs to be relative
    cd "$pkgdir/lib/modules/$_kernver" &&
        rm -rf source build &&
        ln -s "/usr/src/linux-$_kernver" build &&
        cd "$OLDPWD" || return 1

    cd "$pkgdir/usr/src" &&
        ln -s "linux-$_kernver" "linux-$_basekernel-git" &&
        cd "$OLDPWD" || return 1

    cd "$pkgdir/lib/modules" &&
        ln -s "$_kernver" "$_basekernel-git" &&
        cd "$OLDPWD" || return 1


    ###################
    # Fix permissions
    ###################
    msg "Fixing permissions..."
    chown -R root:root "$pkgdir/usr/src/linux-$_kernver" &&
    find "$pkgdir/usr/src/linux-$_kernver" -type d -exec chmod 755 {} \; || return 1


    ############################
    # Install mkinitcpio files
    ############################
    msg "Installing preset file..."
    install -D -m644 "$srcdir/kernel26-git.preset" \
        "$pkgdir/etc/mkinitcpio.d/kernel26-git.preset" || return 1

    msg "Generating kernel26-git.kver..."
    echo -e "# DO NOT EDIT THIS FILE\nALL_kver='$_kernver'" \
        > "$pkgdir/etc/mkinitcpio.d/kernel26-git.kver" || return 1


    #######################
    # Remove the firmware
    #######################
    rm -rf "$pkgdir/lib/firmware"


    ##########################
    # Remove build directory
    ##########################
    if (( ! CLEANUP )) && [[ $_build_dir != $srcdir ]]; then
        msg "Saving $_build_dir/$_gitname-build to $srcdir/$_gitname-build..."
        mv "$_build_dir/$_gitname-build" "$srcdir"
    fi
    rm -rf "$_build_dir/$_gitname-build"
}

# vim: set fenc=utf-8 ts=2 sw=2 noet:
md5sums=('7dd364c1dea0c459f3f3c76e86acbea9'
         'a5549f442953feb52c3a6d03fe62e5a9'
         'c195ce84a6961527e767482df492b70c'
         '6a5a1925501fe20fafd04fdb3cb4f6ed'
         'e8c333eaeac43f5c6a1d7b2f47af12e2'
         'c120adbd9c0daa0136237a83adeabd1e'
         'e2207357e5f40100e9b8f0cfcc240928'
         '4a3da69b6f6b6e40c4da068aef7f26b9'
         '5e95e91a2475f92df12e114525e3e811'
         '9d4eb0613a65dc991c48abf2d3876a52'
         'f8f16c0a16964439a0cbc970d7e8a0ff'
         '7b5901acb28769e59cffad0e4af2c3d0'
         '0c592c56bb32e44988dbb98c0781e64d'
         'fe1101119587260385d6aa8faf30d9db'
         '9c6a5e8563698a9fd44cae5429130702'
         '1a4350a3115ac1d9815e79ad36cf8962'
         '7e212bca981bb8b4c6fb73b8fb85a592'
         '505b6c9d83f956ff905de899bdfb2451'
         'e123fd02e5c4d955ea3a6535f2b4d1a7'
         '6fd7f29f0321ac9c91658b069736545a'
         '14adf613d1a7f4291c9e3ee56613676b'
         '51cabc7986f1dd76a6d3f4a74104c467'
         '8c7355fc40f7723e4badf0a44b2dedd1'
         'a8ad29d1fc32948c61b52ecddcf3a4dd'
         'c97ed808ecbf90b4aa01ea65398ab966'
         'fe5cfbb2ff627842726f466683fab378'
         'bd58d0e20813d59643ce5013beacc217'
         '100a419a3b04d693355c696de9035e07'
         'f00a05b55f154b66cb3bc56620e734de'
         '085a01051012e3c0ae0181cf22df312c'
         '784f36de843ed03eaa16b56a9e07523d'
         'a0bc2143a3420aee0ea24ddca1e45eaa'
         'ed6e7f339bf011129f9f72e10fbe1043'
         '73deb75908b77cfbeb72769dd75f8a40'
         '7c767ba30969a2dc26657695aef14ee1'
         'e4c06a90ccd0b28ef69ecaecd9c4aee8')
md5sums=('7dd364c1dea0c459f3f3c76e86acbea9'
         'a5549f442953feb52c3a6d03fe62e5a9'
         'c195ce84a6961527e767482df492b70c'
         '6a5a1925501fe20fafd04fdb3cb4f6ed'
         'e8c333eaeac43f5c6a1d7b2f47af12e2'
         'c120adbd9c0daa0136237a83adeabd1e')

Offline

#1040 2010-03-19 18:58:47

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D, it's time to show you have powersaving. big_smile

Offline

#1041 2010-03-19 21:34:05

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

Ok, at the moment the kernel is uploading to dropbox.

The package is called kernel26-pm. You can install it parallel to the other kernels.
Create a new entry in your grub.cfg (or menu.lst) with vmlinuz26-pm and kernel26-pm.img. And for powermanagment add radeon.dynpm=1.

/edit: It's up.

My results:

dmesg |grep drm

[drm] Clocks initialized !
[drm] Internal thermal controller with fan control
[drm] 4 Power State(s)
[drm] State 0 Default (default)
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 625000/993000
[drm]           1 engine/memory: 625000/993000
[drm]           2 engine/memory: 625000/993000
[drm] State 1 Performance
[drm]   16 PCIE Lanes
[drm]   Single display only
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 500000/1000000
[drm]           1 engine/memory: 500000/1000000
[drm]           2 engine/memory: 700000/1000000
[drm] State 2 Default
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 700000/1000000
[drm]           1 engine/memory: 700000/1000000
[drm]           2 engine/memory: 700000/1000000
[drm] State 3 Performance
[drm]   16 PCIE Lanes
[drm]   3 Clock Mode(s)
[drm]           0 engine/memory: 700000/1000000
[drm]           1 engine/memory: 700000/1000000
[drm]           2 engine/memory: 700000/1000000
[drm] radeon: dynamic power management enabled
[drm] radeon: power management initialized

Last edited by Perry3D (2010-03-19 22:28:32)

Offline

#1042 2010-03-19 22:40:02

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Discussion: the ati/radeon open source drivers & radeon repository

Many thanks Perry3D, downloading... smile

\edit: It doesn't make any serious difference here. The system is very quiet during the boot, but after the KDE load, the fan starts... and never ends tongue

It is the first time I heard my CPU sound (not the fan) so clearly big_smile

I think they should make some more patches... it'd be very cool then smile

Last edited by gtklocker (2010-03-19 22:48:40)

Offline

#1043 2010-03-19 23:04:54

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

What's the output of dmesg?
Do yoju have a [drm] Internal thermal controller with fan control?

Offline

#1044 2010-03-19 23:10:25

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Discussion: the ati/radeon open source drivers & radeon repository

$ dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
[drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0x92300000
[drm] register mmio size: 65536
[drm] Clocks initialized !
[drm] 4 Power State(s)
[drm] State 0 Default (default)
[drm]   1 Clock Mode(s)
[drm]           0 engine: 500000
[drm] State 1 Performance 
[drm]   1 Clock Mode(s)
[drm]           0 engine: 500000
[drm] State 2 Battery 
[drm]   1 Clock Mode(s)
[drm]           0 engine: 200000
[drm] State 3 Default 
[drm]   1 Clock Mode(s)
[drm]           0 engine: 500000
[drm] radeon: dynamic power management enabled
[drm] radeon: power management initialized
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 32bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RS780 Microcode
[drm] ring test succeeded in 1 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] Enabling audio support
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm] Connector 1:
[drm]   LVDS
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[drm]   Encoders:
[drm]     LCD1: INTERNAL_KLDSCP_LVTMA
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] fb mappable at 0x80141000
[drm] vram apper at 0x80000000
[drm] size 4096000
[drm] fb depth is 24
[drm]    pitch is 5120
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.1.0 20080528 for 0000:01:05.0 on minor 0
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Requested: e: 20000 m: 0 p: 16
[drm] Setting: e: 20000
[drm] Requested: e: 50000 m: 0 p: 16
[drm] Setting: e: 50000
[drm] Requested: e: 50000 m: 0 p: 16

I can't see this message hmm

Offline

#1045 2010-03-20 00:45:35

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

As stated previously in this thread, for some reason I can no longer access Perry3D's [ati] repo?

Can some one help me with using wget?

Do you use wget with the repo URL, & then list the files after that?

My own repo for x86_64 (kernel26-git, kernel26-firmware, radeon_ucode, libpthread-stubs, glproto-git, dri2proto-git, libdrm-git, mesa-full, xf86-video-ati-git)

[ati]
Server = http://dl.dropbox.com/u/4832298/x86_64

I just had another try & let it go without interuption, after maybe an hour the following is what I got:


:: Retrieving packages from ati...
error: failed retrieving file 'mesa-full-20100314-1-x86_64.pkg.tar.gz' from dl.dropbox.com : Connection timed out
warning: failed to retrieve some files from ati
error: failed to commit transaction (Connection timed out)
Errors occurred, no packages were upgraded.
:: Synchronizing aur database...

Last edited by handy (2010-03-20 09:03:45)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1046 2010-03-20 08:11:18

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

What's the output of dmesg?
Do yoju have a [drm] Internal thermal controller with fan control?

dmesg | grep fan
[drm] Internal thermal controller without fan control

hehe. But my fan seems to be self regulated (hardware)

http://www.mail-archive.com/dri-devel@l … 48842.html

Things left to do:
- add hwmon support for internal thermal/fan support used on some r6xx/r7xx boards

What is your card Perry3D?

Last edited by yimm (2010-03-20 08:17:24)

Offline

#1047 2010-03-20 08:42:20

gtklocker
Member
Registered: 2009-09-01
Posts: 462

Re: Discussion: the ati/radeon open source drivers & radeon repository

@handy: Try pacman -Syy.

Offline

#1048 2010-03-20 09:10:56

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

gtklocker wrote:

@handy: Try pacman -Syy.

Thanks for your reply gtklocker. After following your advice I did get to see some hash signs for the first package out of [ati], then it failed, the following is what I was left with in the Terminal:

Proceed with installation? [Y/n] y
:: Retrieving packages from ati...
warning: cannot resume download, starting over
error: failed retrieving file 'mesa-full-20100314-1-x86_64.pkg.tar.gz' from dl.dropbox.com---------]  73%
warning: failed to retrieve some files from ati
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
:: Synchronizing aur database...


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

#1049 2010-03-20 09:33:09

Perry3D
Member
Registered: 2008-03-20
Posts: 553

Re: Discussion: the ati/radeon open source drivers & radeon repository

yimm wrote:
Perry3D wrote:

What's the output of dmesg?
Do yoju have a [drm] Internal thermal controller with fan control?

dmesg | grep fan
[drm] Internal thermal controller without fan control

hehe. But my fan seems to be self regulated (hardware)

That means that i have to control my fan with software? At least i have this possibility smile.

yimm wrote:

http://www.mail-archive.com/dri-devel@l … 48842.html

Things left to do:
- add hwmon support for internal thermal/fan support used on some r6xx/r7xx boards

What is your card Perry3D?

I'm using a Gainward Radeon HD 4850 Golden Sample, 1024MB GDDR3.

@handy: maybe you have a unstable connection and there is no resuming with dropbox hmm
Some time ago gtklocker offers his ftp-webspace for the repo. I should switch.

Offline

#1050 2010-03-20 10:13:29

handy
Member
From: Oz
Registered: 2008-03-26
Posts: 719

Re: Discussion: the ati/radeon open source drivers & radeon repository

Perry3D wrote:

@handy: maybe you have a unstable connection and there is no resuming with dropbox hmm
Some time ago gtklocker offers his ftp-webspace for the repo. I should switch.

I don't know? 

I am using the most highly regarded ISP in this country (people's choice on whirlpool.net.au) re. reliability & customer service. I don't think it is quite as simple as an unstable connection somehow.

I could still upgrade the slower way I'm sure; but something has changed some days ago that is causing me this problem, & I don't think I changed it.

If you do switch (thanks for going to the trouble by the way, I know that you are busy with your educational commitments currently) it will certainly give us/me something to go on with one way or the other.

Last edited by handy (2010-03-20 10:15:13)


I used to be surprised that I was still surprised by my own stupidity, finding it strangely refreshing.
Well, now I don't find it refreshing.
I'm over it!

Offline

Board footer

Powered by FluxBB