You are not logged in.

#926 2010-03-07 14:51:34

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

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

Wow... +100 fps from the last update. smile

3570 frames in 5.0 seconds = 713.522 FPS

Offline

#927 2010-03-07 18:38:30

ZoYeR
Member
From: Rio Grande - TDF - Argentina
Registered: 2008-01-29
Posts: 5
Website

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

gtklocker wrote:

Is powersaving enabled in kernel26-git ? smile

I'm wondering that too, could anyone please tell us? smile.

Offline

#928 2010-03-07 19:29:22

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

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

Hi folks!
At first, i'd like to thank Perry3d for the repo. I didn't have the free time to build all this bleeding edge code from aur, so i was stuck with catalyst drivers or radeon/radeonhd in the official repo.
Now i'm very excited of what can be done using latest radeon drivers and kernel.
On the other hand i'm currently running arch on my laptop, so i NEED power management working. Is it finally enabled? I installed today's packages and couldn't get it working.

@endlessroad1991: I have the same card (on a Dell Studio 1555), so... did you managed to dynamicpm working?

Last edited by mjr (2010-03-07 20:36:09)

Offline

#929 2010-03-07 22:38:28

ungraven
Member
Registered: 2008-10-23
Posts: 6

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

Hi,

I recently came across this on the mesa-3D list:

http://sourceforge.net/mailarchive/mess … 0gmail.com

It may interest anyone trying to get Heroes of Newerth (and possibly other things) working with r600/700.

Offline

#930 2010-03-08 05:37:08

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

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

@mjr : I have the same laptop as yours wink
I've found 2 ways of power saving, both of them are effective to some content,
but neither of them can catch up with official ati driver for Windows.

Firstly, upgrade all packages in Perry3D's repo.

Without KMS (It won't work if KMS is enabled!!):
    In your xorg.conf file, add 2 lines to "Device" Section:
            Option      "DynamicPM"                   "on"
            Option      "ClockGating"                  "on"
    --------
    If the two options are enabled successfully, you will see following lines in /var/log/Xorg.0.log:
            (**) RADEON(0): Option "ClockGating" "on"
            (**) RADEON(0): Option "DynamicPM" "on"
            ......
            Static power management enable success
            (II) RADEON(0): Dynamic Clock Gating Enabled
            (II) RADEON(0): Dynamic Power Management Enabled
    --------
    If you desire low power cost, you can add an extra line to "Device" Section of xorg.conf:
            Option      "ForceLowPowerMode"   "on"

With KMS (It won't work if KMS is disabled!!):
    Add
            radeon.dynpm=1
    to grub commandline,
    or add
            options radeon dynpm=1
    to /etc/modprobe.conf
    --------
    If it's enabled successfully, you will see following lines in output of "dmesg | grep drm":
            [drm] radeon: dynamic power management enabled
            [drm] radeon: power management initialized

On my laptop, both of the 2 ways decrease fan noise significantly, which is really a great news to me.
But I haven't tested which of them can save more power and then lead to a longer battery life.
Maybe you should give both of them a shot and decide which to use.

Last edited by endlessroad1991 (2010-03-08 07:56:23)

Offline

#931 2010-03-08 07:47:56

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

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

Thanks for your repo Perry3D, it makes life so much easier. smile

I used the repo to install the -git kernel & other packages.  After which I'm still the 400 fps down in glxgears that I lost yesterday after upgrading the xf86-vide-ati-git, so upgrading all of the other packages, which were a good month old didn't improve that.

The error messages are now gone as shown below:

handy ~  $  glxgears
6342 frames in 5.0 seconds = 1268.252 FPS
6330 frames in 5.0 seconds = 1265.934 FPS
6336 frames in 5.0 seconds = 1267.168 FPS
6331 frames in 5.0 seconds = 1266.144 FPS
6330 frames in 5.0 seconds = 1265.925 FPS
6337 frames in 5.0 seconds = 1267.371 FPS
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 121722 requests (121719 known processed) with 0 events remaining.
handy ~  $  glxinfo |grep -i opengl
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV630 9583) 20090101  TCL DRI2
OpenGL version string: 2.0 Mesa 7.9-devel
OpenGL shading language version string: 1.10
OpenGL extensions:

The phoronix test suite showed a minor drop in frame rates across the board:

http://global.phoronix-test-suite.com/i … 6676-10968

Interestingly, the changes made today have allowed me to be able to play Glest. It has remained unplayable on the OS drivers up until now. Even though I previously had better than 1600 fps in glxgears & tested a bit faster in the PST.

So that's good news.  There are obviously a lot of improvements going on in the code, that don't easily show themselves, not even in the PST.

Last edited by handy (2010-03-08 08:02:27)


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

#932 2010-03-08 13:14:06

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

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

@endlessroad1991:
Thanks for your answer, i figured out both methods and tried yesterday for a while.
I found the dynpm in xorg.conf (without kms) better than the other. Anyway i'm using kms because it's very nice...
I'm waiting now pm full support, in 2.6.34 maybe...

By the way, and off-topic of course:
Could you make the laptop suspend without the messed up sensors issue? I can get it suspended and then wake it up, but the fan never spins and sensors reads for thermal zones 1-3 are 0°.

Last edited by mjr (2010-03-08 13:15:06)

Offline

#933 2010-03-08 13:23:26

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

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

Hey Studio 1555 owners, how cool can you make your ati card? Mine stays around 65°C

Offline

#934 2010-03-08 16:16:32

Neuro
Member
From: Poland
Registered: 2005-10-12
Posts: 352

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

Ok, one question:
Kwin with compositing spawns some errors:

WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported!  This is an application bug!                                       
WARNING: Application calling GLX 1.3 function "glXQueryDrawable" when GLX 1.3 is not supported!  This is an application bug!                                       
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported!  This is an application bug!

I'm using yesterdays GIT, radeon in UMS. my glxinfo says:

IRQ's not enabled, falling back to busy waits: 2 0
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
GLX version: 1.2
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RV620 95C4) 20090101  TCL
OpenGL version string: 2.0 Mesa 7.9-devel
OpenGL shading language version string: 1.10
OpenGL extensions:

Why is the server glx version 1.2 and not 1.4? What am I missing?

Offline

#935 2010-03-08 20:04:23

Coragem
Member
Registered: 2009-01-17
Posts: 6

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

Guys first id like to thank you all for the time invested in this thread i read almost 20 pages of it and managed to get the OSD working on the second try.

Right now im using stock kernel from core, and driver and mesa GIT packages from that nightly repo on page 15 for Arch 64.

KMS is On late start, i want to try early start later. UMS does not work on my ATI 4830.

Iḿ using a crossfire setup so even tho OSD driver is way better than i last tested. if ATI fixes the driver for new Xorg ill switch back to catalyst. the performance hit is too high.

I have a few questions if you guys can help me.

grep -i "Direct rendering" /var/log/Xorg.0.log
(II) RADEON(0): Direct rendering enabled

but Glxinfo.

name of display: :0.0
display: :0  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)

How can i set this libgl_debug=verbose and how i check its status? why one says direct rendering yes and the other no?

Neuro im getting the same 1.2 version on glxinfo as you saying guess its normal?

Last edited by Coragem (2010-03-08 20:05:09)


My System: Arch Linux x86_64 Bits CPU: AMD Phenom II X4 995 RAM: Kingston DDR2 800Mhz 8 GB GPU: Dual ATI Radeon HD 4830 512 MB Opensource ATI-Git Drivers. HD: SATA 160 Gb WindowManager: KDE4

Offline

#936 2010-03-08 20:22:16

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

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

@endlessroad1991: I appended your howto to the first post. I hope that's ok?

@Coragem: If direct rendering is disabled your system is really slow. There should be more errors on /var/log/Xorg.0.log or dmesg.

@Neuro: I think server is the xorg-server and the client is mesa. But that is just a speculation.

Offline

#937 2010-03-08 21:01:18

Coragem
Member
Registered: 2009-01-17
Posts: 6

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

Perry,

Thats the point, i dont see any other errors. and says its using DRI2, X is running normal speed, Google earth Opengl works same as Chromium-BSU, Stellarium.

grep -i "Direct rendering" /var/log/Xorg.0.log shows:
(II) RADEON(0): Direct rendering enabled

So i belive its working but why glxinfo says its off?

Iḿ getting around 900-1000 fps in glxgears with a 4830 and Phenom II X4 kinda low for what you guys saying around 3000. (i know its not good benchmarch but...)

How can i use this LIBGL_DEBUG=verbose to check???

And Perry thank you for the other replies on the thread you helped me a lot.

Any ideas? Thank you.

Last edited by Coragem (2010-03-08 21:06:46)


My System: Arch Linux x86_64 Bits CPU: AMD Phenom II X4 995 RAM: Kingston DDR2 800Mhz 8 GB GPU: Dual ATI Radeon HD 4830 512 MB Opensource ATI-Git Drivers. HD: SATA 160 Gb WindowManager: KDE4

Offline

#938 2010-03-08 21:37:24

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

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

@ijanos:
I could keep it 64° with catalyst, 73° with KMS-enabled radeon (dynpm=1) and about 71° with UMS radeon and ClockGating/DynamicPM on.
So you have a Studio 1555, i guess... then could you make it suspend and resume usable?

Offline

#939 2010-03-08 21:48:22

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

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

mjr wrote:

@ijanos:
I could keep it 64° with catalyst, 73° with KMS-enabled radeon (dynpm=1) and about 71° with UMS radeon and ClockGating/DynamicPM on.
So you have a Studio 1555, i guess... then could you make it suspend and resume usable?

I have to confess that I am using windows because of this sad Though I am using my arch install from my previous machine in virtualbox (and running the x server on windows, its suprisingly fun).

Offline

#940 2010-03-08 21:58:18

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

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

ijanos wrote:
mjr wrote:

@ijanos:
I could keep it 64° with catalyst, 73° with KMS-enabled radeon (dynpm=1) and about 71° with UMS radeon and ClockGating/DynamicPM on.
So you have a Studio 1555, i guess... then could you make it suspend and resume usable?

I have to confess that I am using windows because of this sad Though I am using my arch install from my previous machine in virtualbox (and running the x server on windows, its suprisingly fun).

Ha! I'm not using windows but i'm always considering it... This Studio is my first laptop, and every step i take in making arch work better i get the (scary) feeling that laptops are meant to be running windows. I'm afraid that these little quirks somehow are gonna cutoff the computer's lifetime...
But every time i boot windows... yikes... if freezes, and annoys me with autoupdates and stuff. It really makes me sick, so i get back to archie smile

Last edited by mjr (2010-03-08 21:58:50)

Offline

#941 2010-03-08 22:07:33

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

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

Dont feel that way. My prevoius acer travelmate was running better with linux. I have the same feeling about windows and my computers lifetime, like "oh god, its using the HDD again...". But I have to admit, this win7 is pretty stable for me, freezed only in 6 months, it boots in 30 seconds (okay i tweaked it a little smile ) and running arch in vbox smoothly, i'm using linux as my main developement platform, windows is just the host until ati supports get better.

Offline

#942 2010-03-09 00:11:33

ZoYeR
Member
From: Rio Grande - TDF - Argentina
Registered: 2008-01-29
Posts: 5
Website

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

I've read on Phoronix that Linux 2.6.34-rc1 has been released. Maybe power management has improved there.
I'm trying this out tomorrow, if I'm right, kernel26-git pkgbuild should provide me with that version tongue.


I don't really care about power consume, I'm running an ATI HD4850 on a desktop PC, but without pm the fan spins at full speed and that noise really gets on my nerves... it's impossible to sleep with the computer on tongue.

Offline

#943 2010-03-09 03:49:11

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

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

Actually i've got the updated pkgs and my linux version is 2.6.33-05679-g4da0b66-dirty.
@Perry3D: is this pkg 2.6.34-rc1? i guess not, so i'm hopefully waiting for it... tongue

Last edited by mjr (2010-03-09 03:49:27)

Offline

#944 2010-03-09 04:54:23

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

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

@Perry3D
Do you have packages for i686 too?


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#945 2010-03-09 08:59:06

venky80
Member
Registered: 2007-05-13
Posts: 1,002

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

if there is one thing in which linux sucks big time ..it is power management.  With win 7 my laptop runs so much cooler and suspends/hibernates seamlessly....


Acer Aspire V5-573P Antergos KDE

Offline

#946 2010-03-09 10:12:39

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

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

@Pery3D:
        I'm glad to make them help others, so thank you for appending them to the first post~~
@mjr:
        I haven't tried yet... In my everyday life, I don't use suspend...

My card stays around 68C with xorg.conf way, and 70C with KMS way.
My laptop fell onto the ground yesterday and didn't boot since then, I've sent it to Dell...

Offline

#947 2010-03-09 13:09:45

ChemBro
Member
Registered: 2008-10-22
Posts: 704

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

I guess, power management works with 2.6.34-git. My pc is not so loud anymore (it is quiet). Have to test it more, but it seems to work.

Before 2.6.34-git, my pc was loud, even if didn't do anything on my desktop. Didn't test it with games, though.

Offline

#948 2010-03-09 13:49:59

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

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

@mjr: I think i updated the kernel 2 days ago. So the drm-patches should already be included. Yesterday Linus taged the kernel with rc-1. If i have some time i will update the package this evening.

@Cdh: No, i just offer the packages that i build for my system. Is there a simply way to build i686 packages on a x86_64 system?

@Coragem: I have nearly the same setup (Phenom II X4 and a HD4850). But direct rendering is working with DRI2. Did you try to disable KMS? With KMS i get almost the same result (~1000fps). I think there was a performance drop when vline support was introduced. But now we have tear free opengl/gl video smile.

Offline

#949 2010-03-09 17:39:24

Coragem
Member
Registered: 2009-01-17
Posts: 6

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

Perry, UMS was my first try, but i get this message:

(WW) RADEON(0): Direct rendering is not supported when VGA arb is
> >> necessary for the device
> >> (EE) RADEON(0): [dri] DRIScreenInit failed. Disabling DRI.

I read in some Debian buglist this was not going to be fixed for UMS and only would work in KMS.

So i turned KMS on and it worked.
Do you have any idea what could fix it so i could run using UMS?

Thank you.


My System: Arch Linux x86_64 Bits CPU: AMD Phenom II X4 995 RAM: Kingston DDR2 800Mhz 8 GB GPU: Dual ATI Radeon HD 4830 512 MB Opensource ATI-Git Drivers. HD: SATA 160 Gb WindowManager: KDE4

Offline

#950 2010-03-09 18:44:28

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

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

Stay with KMS: there is no reason to use UMS. Ok, at the moment it is slower than UMS but that will hopefully change in the future.

/edit:kernel in the repo is updated:

perry64 ~ % uname -r
2.6.34-rc1-dirty

Last edited by Perry3D (2010-03-09 20:42:17)

Offline

Board footer

Powered by FluxBB