Announcement

Collapse
No announcement yet.

Wow, the current radeon works exceptionally well!

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

  • Porter
    started a topic Wow, the current radeon works exceptionally well!

    Wow, the current radeon works exceptionally well!

    I'm really surprised, enough that I felt compelled to post about it with a how-to.

    I'm running Jaunty 64bit on a Thinkpad T60, which has a Core 2 Duo T7200 (2.0Ghz), 2GB DDR2, and ATI Mobility X1400 128mb (R500).

    I made a few specific updates that have COMPLETELY changed the game, and the system runs better than I have ever seen it before... quick desktop performance, fluid scrolling, low GPU temp, low CPU utilization, and totally flicker-free Xv accelerated video under SMplayer/mplayer, even in Compiz. Flicker free even when scaling the window dynamically in the Compiz "scale" window switcher (similar to Expose in OSX). Suspend/resume work without any problems. I'm also getting ~2000 FPS in glxgears!


    Here's what I did:


    1. Ensure all normal Jaunty updates are done/current, including backports.
    This guide assumes that you are already using the latest radeon build from the Jaunty repos and that everything is working normally.


    2. Update manually to newer kernel.
    The current Jaunty kernel is 2.6.28-11. This is ok, but there have been a number of updates in the newer 2.6.29 branch that are highly relevant to video. The next distro release, Karmic Koala, is on the 2.6.30 branch, so upgrading to a 2.6.29 kernel is an "intermediate" step between Jaunty and Karmic.

    Ubuntu pre-packaged (.deb) kernel upgrades can be downloaded directly from the Ubuntu kernel team site here: http://kernel.ubuntu.com/~kernel-ppa/mainline/

    The most recent build of the .29 branch (as of this post) is 2.6.29.4. The two packages needed to do a manual upgrade are the "image" package and the "headers" package. Download the correct linux-image package for your architecture, ending in _i386 for 32bit, or _amd64 for 64bit. Download the linux-headers package ending in _all , rather than the architecture-specific one.

    Install both packages manually, and reboot.

    NOTE: Manual kernel upgrade *MAY* break your system or disable certain devices if you have kernel modules compiled/loaded for specific devices. Many wireless drivers are like this. IF THE UPGRADED KERNEL BREAKS SOMETHING IMPORTANT, SIMPLY BOOT THE PREVIOUS KERNEL FROM THE GRUB BOOT MENU. No harm, no foul. You can uninstall the new kernel through Synaptic if it didn't work for you.

    2nd NOTE: The Jaunty repos will not automatically provide security upgrades/updates for the new kernel. You will need to check the site periodically to see if there have been new kernel packages released in the .29 branch.


    3. Add the Ubuntu-X team (stable) repository for automatic updates to latest stable radeon/drm/etc.
    The Ubuntu X-SWAT repo is fantastic for new/stable upstream packages of various video drivers, including all of the the open source X video drivers (radeon, radeonhd, nv, intel, etc.), as well as new/stable Ubuntu packages of the proprietary fglrx and nvidia drivers. Updated DRM packages and a few input drivers are also in there.

    Since upstream ongoing driver developments and releases (even stable releases) are rarely backported once an Ubuntu distro is released, this is the next best thing!

    Ubuntu-X team site: https://launchpad.net/~ubuntu-x-swat
    The Ubuntu X-Swat PPA: https://launchpad.net/~ubuntu-x-swat...ive/x-updates/

    Add the Jaunty sources and the authentication key to your system, and you can use the Update Manager to upgrade to the newest stable builds.

    NOTE: Current builds (as of this post) are radeon 6.12.2 and drm 2.4.9-1.


    4. Add the SMPlayer and MPlayer repos that are recommended by the SMPlayer devs for Ubuntu. These are for much newer builds that support explicit (detected) Xv Textured Video outputs.
    The SMPlayer download page is here: http://smplayer.sourceforge.net/down...php?tr_lang=en

    Note the Ubuntu package repos listed for SMPlayer and MPlayer, by rvm. Go here and add the sources and authentication key for each:

    SMPlayer: https://launchpad.net/~rvm/+archive/smplayer
    MPlayer: https://launchpad.net/~rvm/+archive/mplayer

    Once the repos are added, install or upgrade SMPlayer and MPlayer. Then configure SMPlayer for the correct video and audio outputs for your system.

    NOTE: Current builds (as of this post) are SMPlayer 0.6.7-1 and MPlayer 1.0rc3-pre1.


    5. Enjoy!




    HD-quality video works great, but I found lower-res (SD) video to be a bit soft when scaled to full-screen, so I added a 3x3 unsharp filter to the MPlayer options within SMPlayer, which helped immensely. Refer to the docs on that one if you want to try it, or post in this thread and I can help.

    I hope this assists someone... it worked perfectly for me but your experience may not be as ideal. I have not tried the driver and drm updates on the current .28 kernel, so I don't know if they work well that way or not. Post up and let me know what happens!

    Thanks,

    Porter
    Last edited by Porter; 05-27-2009, 01:45 PM.

  • Extreme Coder
    replied
    Wow i feel stupid i totally forgot that i was playing around with catalyst control center in windows and changed the amount of built-in memory to 32...
    Anyway now with tormod,xorg-edgers,radeon-rewrite ppa things are working more smoothly, etracer and most texture issues are gone
    but still one issue that i have is that blender still has artifacts,mainly with the menu and also yo frankie doesnt work , but i still need to check rest of my games
    (sorry for the way my post looks as i am posting on my phone)

    Leave a comment:


  • tormod
    replied
    Originally posted by Extreme Coder View Post
    Hmm, Well, I will be giving it another go.
    I already have the latest .30 kernel from Karmic, should I add the 3 repos mentioned, do an apt-get upgrade?
    No, you don't have to add any other repo.

    Leave a comment:


  • Extreme Coder
    replied
    Hmm, Well, I will be giving it another go.
    I already have the latest .30 kernel from Karmic, should I add the 3 repos mentioned, do an apt-get upgrade?

    Leave a comment:


  • tormod
    replied
    Originally posted by Extreme Coder View Post
    Well, I tried it out, and it's like I expected, I disabled xorg-crackers and radeon-rewrite PPAs, added X-Swat updates, downgraded to latest, 3D is working properly, but very slowly (performance regression), but that's kinda expected seeing Ubuntu X-Swat does not provide an updated Mesa package :/

    Oh well, any one has an idea about how to fix this?
    If you see something not working with radeon-rewrite which works fine with the "classic" mesa, other components being the same, please report a bug as explained on the radeon-rewrite PPA page.

    BTW, we will update mesa in x-updates as soon as a stable update exists.

    Leave a comment:


  • Extreme Coder
    replied
    Originally posted by Porter View Post
    My 3D seems to be ok at the moment, with the X-Swat repo builds of DRM and radeon, and the 2.6.29.4 kernel installed manually on Jaunty. I'm not using radeon-rewrite. I'm on an X1400 Mobility, so take it with a grain of salt if you are using other hardware.

    Tormod is a contributor to the X-Swat team as well, so you should see the good bits from his builds reflected there.
    Well, I tried it out, and it's like I expected, I disabled xorg-crackers and radeon-rewrite PPAs, added X-Swat updates, downgraded to latest, 3D is working properly, but very slowly (performance regression), but that's kinda expected seeing Ubuntu X-Swat does not provide an updated Mesa package :/

    Oh well, any one has an idea about how to fix this?

    Leave a comment:


  • Porter
    replied
    Originally posted by Extreme Coder View Post
    Well, I'm mainly talking about the performance regression from previous versions to a default Jaunty set-up.

    With the Tormod and radeon-rewrite PPAs, Compiz seems a bit faster, and glxgears shows a higher FPS (~800), but anything else that uses 3D is messed up, textures, or something like that, mainly unplayable.

    So I'm wondering if I use the Ubuntu X-Swat or the tormod PPAs without radeon-rewrite, will I have usable 3D without performance problems?
    My 3D seems to be ok at the moment, with the X-Swat repo builds of DRM and radeon, and the 2.6.29.4 kernel installed manually on Jaunty. I'm not using radeon-rewrite. I'm on an X1400 Mobility, so take it with a grain of salt if you are using other hardware.

    Tormod is a contributor to the X-Swat team as well, so you should see the good bits from his builds reflected there.

    Leave a comment:


  • Extreme Coder
    replied
    Originally posted by Porter View Post
    What was the performance regression, and in what app? Maybe I can check it for you.
    Well, I'm mainly talking about the performance regression from previous versions to a default Jaunty set-up.

    With the Tormod and radeon-rewrite PPAs, Compiz seems a bit faster, and glxgears shows a higher FPS (~800), but anything else that uses 3D is messed up, textures, or something like that, mainly unplayable.

    So I'm wondering if I use the Ubuntu X-Swat or the tormod PPAs without radeon-rewrite, will I have usable 3D without performance problems?

    Leave a comment:


  • Porter
    replied
    Not much to see.

    Section "Monitor"
    Identifier "Configured Monitor"
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Monitor "Configured Monitor"
    Device "Configured Video Device"
    EndSection

    Section "Device"
    Identifier "Configured Video Device"
    Option "ClockGating" "on"
    EndSection

    Leave a comment:


  • elsie
    replied
    Porter, could you post your xorg.conf for us noobs?

    Leave a comment:

Working...
X