View previous topic :: View next topic |
Author |
Message |
fldc2 Tux's lil' helper
Joined: 14 Jun 2006 Posts: 112 Location: Motala, Sweden
|
Posted: Fri Jun 16, 2006 9:25 pm Post subject: |
|
|
ok, so i've installed these drivers on my EMT64 machine using an onboard integrated PCI-E Radeon Xpress 200. Everything loads ok into the kernel,
xorg reports it's using DRI, so far, so good, but now when running glxgears it's slow as hell, well, it's faster than before, but 530fps,
that can't be right? Could anyone point out some possible causes?
Linux xanax 2.6.16-gentoo-r9 #7 Fri Jun 16 00:24:29 UTC 2006 x86_64 Intel(R) Celeron(R) CPU 2.53GHz GenuineIntel GNU/Linux
Code: |
glxgears:
libglut.so.3 => /usr/lib/libglut.so.3 (0x00002aebdb1f9000)
libGLU.so.1 => /usr/lib/libGLU.so.1 (0x00002aebdb33e000)
libGL.so.1 => //usr/lib64/opengl/ati/lib/libGL.so.1 (0x00002aebdb4bf000)
libm.so.6 => /lib/libm.so.6 (0x00002aebdb682000)
libc.so.6 => /lib/libc.so.6 (0x00002aebdb7d8000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00002aebdba00000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00002aebdbc13000)
libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x00002aebdbd27000)
libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libstdc++.so.6 (0x00002aebdbe2c000)
libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/libgcc_s.so.1 (0x00002aebdc027000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aebdc134000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aebdc24a000)
/lib64/ld-linux-x86-64.so.2 (0x00002aebdb0dd000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00002aebdc34f000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00002aebdc452000)
|
Code: |
[fglrx] Maximum main memory to use for locked dma buffers: 369 MBytes.
[fglrx] module loaded - fglrx 8.25.18 [May 18 2006] on minor 0
ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 17 (level, low) -> IRQ 193
[fglrx] total GART = 67108864
[fglrx] free GART = 51118080
[fglrx] max single GART = 51118080
[fglrx] total LFB = 57262080
[fglrx] free LFB = 41799680
[fglrx] max single LFB = 41799680
[fglrx] total Inv = 0
[fglrx] free Inv = 0
[fglrx] max single Inv = 0
[fglrx] total TIM = 0
|
EDIT: I can't go on like this, i'm buying myself an nvidia card
Last edited by fldc2 on Sat Jun 17, 2006 12:17 pm; edited 1 time in total |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Sat Jun 17, 2006 12:11 am Post subject: |
|
|
BetterUnborn wrote: | Is aticonfig hiding powerPlay options?
I found this in Xorg.0.log:
Code: | (II) fglrx(0): POWERplay version 3. 5 power states available:
(II) fglrx(0): 1. 392/250MHz @ 60Hz [enable load balancing, overdrive]
(II) fglrx(0): 2. 105/122MHz @ 60Hz [low voltage, enable sleep]
(II) fglrx(0): 3. 344/176MHz @ 60Hz [thermal diode mode]
(II) fglrx(0): 4. 209/182MHz @ 60Hz [low voltage]
(II) fglrx(0): 5. 304/250MHz @ 60Hz [enable load balancing, overdrive] |
They are ordered differently and two are missing ... and what could "enable load balancing" possibly mean ... dynamic clock reduction
That would be perfect... |
i got an x1400 mobility radeon ... maybe is correct that different cards have different clocks ... we have to investigate about the 5 options in xorg but only 3 selectables with aticonfig _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Sat Jun 17, 2006 12:56 pm Post subject: |
|
|
unz wrote: | BetterUnborn wrote: | Is aticonfig hiding powerPlay options?
I found this in Xorg.0.log:
Code: | (II) fglrx(0): POWERplay version 3. 5 power states available:
(II) fglrx(0): 1. 392/250MHz @ 60Hz [enable load balancing, overdrive]
(II) fglrx(0): 2. 105/122MHz @ 60Hz [low voltage, enable sleep]
(II) fglrx(0): 3. 344/176MHz @ 60Hz [thermal diode mode]
(II) fglrx(0): 4. 209/182MHz @ 60Hz [low voltage]
(II) fglrx(0): 5. 304/250MHz @ 60Hz [enable load balancing, overdrive] |
They are ordered differently and two are missing ... and what could "enable load balancing" possibly mean ... dynamic clock reduction
That would be perfect... |
i got an x1400 mobility radeon ... maybe is correct that different cards have different clocks ... we have to investigate about the 5 options in xorg but only 3 selectables with aticonfig |
i got something like that too. but here fglrx tells only about 3 powerstates.
i really would like to know if the powerstate i set with aticonfig is that one which aticonfig lists or if it is that one that is listed in xorg.0.log, because the same numbers have different states when comparing both. aticonfigs state "1" is like state "2" in xorg.0.log for example
@Admiral_Trigger_Happy: you're my god, i finally got powerplay running with that option now and my notebook is much cooler when setting a lower powerstate |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Sat Jun 17, 2006 1:13 pm Post subject: |
|
|
I set powersave state 1 in xorg, and it is the state 1 of aticonfig ... i'll try to boot with state 5 and check what happen . _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Sat Jun 17, 2006 1:33 pm Post subject: |
|
|
unz wrote: | I set powersave state 1 in xorg, and it is the state 1 of aticonfig ... i'll try to boot with state 5 and check what happen . |
how do you do this? and does it really work with the proprietary driver? |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Sat Jun 17, 2006 2:34 pm Post subject: |
|
|
I'm sorry ... i checked my xorg.log and Code: | (WW) fglrx(0): Option "PowerState" is not used
| ... so my previous statement is false _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Sat Jun 17, 2006 2:45 pm Post subject: |
|
|
yes, i already thought so, because this option is for the open source driver afaik |
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Mon Jun 19, 2006 3:51 am Post subject: |
|
|
Every time I do an emerge --update --deep world, emerge wants to downgrade ati-drivers to the previous release. Once the upgrade is done, I immediately turn around and run it again, and it upgrades back to 8.25.18. Any one else see this? Not a big deal, but an annoyance. _________________ Guy Rouillier |
|
Back to top |
|
|
akb Guru
Joined: 25 Jan 2003 Posts: 314 Location: Wolfenbüttel/Germany
|
Posted: Mon Jun 19, 2006 4:03 am Post subject: |
|
|
how often do you do this? |
|
Back to top |
|
|
unz l33t
Joined: 28 Jul 2004 Posts: 819 Location: Roma, Italia
|
Posted: Mon Jun 19, 2006 9:08 am Post subject: |
|
|
guyr wrote: | Every time I do an emerge --update --deep world, emerge wants to downgrade ati-drivers to the previous release. Once the upgrade is done, I immediately turn around and run it again, and it upgrades back to 8.25.18. Any one else see this? Not a big deal, but an annoyance. |
it is a confirmed bug _________________ Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/ |
|
Back to top |
|
|
guyr Apprentice
Joined: 17 Aug 2004 Posts: 237
|
Posted: Tue Jun 20, 2006 2:19 am Post subject: |
|
|
unz, thanks for the bug reference. akb, I run emerge --sync usually once a week. This downgrade-upgrade happens every time. As I said, more an annoyance than anything important. _________________ Guy Rouillier |
|
Back to top |
|
|
Lloeki Guru
Joined: 14 Jun 2006 Posts: 437 Location: France
|
Posted: Mon Jul 03, 2006 2:03 pm Post subject: |
|
|
I have:
Code: | (II) fglrx(0): POWERplay version 3. 3 power states available:
(II) fglrx(0): 1. 398/250MHz @ 60Hz [enable load balancing]
(II) fglrx(0): 2. 105/122MHz @ 60Hz [low voltage, enable sleep]
(II) fglrx(0): 3. 209/182MHz @ 60Hz [low voltage] |
same as --lsp:
Code: |
core/mem [flags]
-----------------
1: 105/122 MHz [low voltage]
2: 209/182 MHz [low voltage]
* 3: 398/250 MHz [default state]
|
OS radeon driver makes use of only DynamicClocks AFAIK. PowerState is only for fglrx, and I just don't know why in hell aticonfig puts it back in xorg.conf everytime (provided it's writable) since it's "unused"... _________________ Moved to using Arch Linux
Life is meant to be lived, not given up...
HOLY COW I'M TOTALLY GOING SO FAST OH F*** |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Tue Feb 06, 2007 11:45 am Post subject: Re: ATI PowerPlay XGL |
|
|
BetterUnborn wrote: | I think I'm getting closer to activating ati's powerplay with xgl ... somewhere I found the info that xgl runs a secondary X server alongside the "normal", underlying X. And this secondary X doesn't know about the extensions of the primary X. So powerstate changes should be issued to the primary X.
For me, this one is running on :94, but when I type
Code: | DISPLAY=:94 aticonfig --set-powerstate=1 |
I just get
Code: | Xlib: connection to ":94:0" refused by server
Xlib: No protocol specified |
Any Ideas, anyone? |
yay!
Finally, I've found a way to run beryl with xgl & powerplay
Thanks a lot,
I hope you got it to work, too, in the meantime _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
ChrisPHL n00b
Joined: 19 Feb 2007 Posts: 1
|
Posted: Mon Feb 19, 2007 2:25 pm Post subject: |
|
|
So please give us a deteiled HowTo! What did you how configure? Thanks in advance!
ChrisP _________________ Christian
Acer Aspire 1692WMLi DDR2
PentiumM 1,73GHz; ATI Mobility Radeon X700 128MB; WLAN(ipw2200); Gbit-LAN; 80GB-HDD |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Wed Feb 28, 2007 6:23 pm Post subject: |
|
|
ChrisPHL wrote: | So please give us a deteiled HowTo! What did you how configure? Thanks in advance!
ChrisP |
hm, a "detailed howto" is a little too much, I unfortunatelty don't have much time but I'll post my files, that should suffice, too,
just adapt xorg.conf, for example to your card:
http://www.ubuntuusers.de/paste/7943/?format=txt
http://www.ubuntuusers.de/paste/7943/
this startxgl file was taken from Ixnay overlay, I think, then I modified it:
Code: |
userclientrc=$HOME/.xinitrc
## userclientrc=$HOME/.xglinitrc
## xinit $clientargs -- $serverargs -deferglyphs 16 &
# ATI
xinit $clientargs -- /usr/bin/Xgl :1 $serverargs -ac -accel xv -accel glx:pbuffer -deferglyphs 16 -xorgAc &
# NVIDIA
# xinit $clientargs -- /usr/bin/Xgl :1 $serverargs -ac -accel #xv -accel glx:fbo -deferglyphs 16 &
###!/bin/sh
#cmd=0
#if [ -z "$1" ]; then
# cmd=1
#else
# if [ "$1" = "e16" ]; then
# cmd=0
# elif [ "$1" = "fluxbox" ]; then
# cmd=0
# elif [ "$1" = "gnome" ]; then
# cmd=0
# else
# cmd=1
# fi
#fi
#
#if [ "$cmd" = "1" ]; then
# emerald --replace & beryl --indirect-rendering --replace #dbus settings
#fi |
ati-drivers running here atm are 8.33.6, others should work too (not tested)
also get yourself radeontool to disable the monitor output
here's a short script of mine to enable powersave (highest energy-savings) & disable the monitor output
powersave.sh
Code: | #!/bin/sh
DISPLAY=:94 /opt/ati/bin/aticonfig --set-powerstate=1
#aticonfig --set-powerstate=1
radeontool dac off
radeontool dac |
that's all, the essentiell / important part is that with "-xorgAc" (without the "") in the file startxgl you give Xgl the order to start another Xserver, namely xorg which is then active on virtual terminal number 94 (1 +93), aticonfig works with xorg therefore powerplay is activated on xorg and "virtually" on xgl
-> I tried this on battery mode and it worked: battery time went from 2 hours to 4-5 hours
additionally you may want to use laptop-mode-tools and disable hdd-intensive daemons such as cupsd _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
|