You are not logged in.

#1176 2010-04-17 04:10:25

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

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

endlessroad1991 wrote:

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

Is kernel26-pm = to kernel26-drm-radeon-testing as mentioned in the OP?


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

#1177 2010-04-17 07:01:31

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

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

endlessroad1991 wrote:

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

The repos one? Its greatful!!

I can't resist the temptation of throwing off catalyst. tongue

Offline

#1178 2010-04-17 09:32:24

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

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

handy wrote:
endlessroad1991 wrote:

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

Is kernel26-pm = to kernel26-drm-radeon-testing as mentioned in the OP?

kernel26-pm = http://git.kernel.org/?p=linux/kernel/g … esting-pm2
kernel26-drm-radeon-testing = http://git.kernel.org/?p=linux/kernel/g … on-testing

Offline

#1179 2010-04-17 10:48: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:
endlessroad1991 wrote:

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

Is kernel26-pm = to kernel26-drm-radeon-testing as mentioned in the OP?

kernel26-pm = http://git.kernel.org/?p=linux/kernel/g … esting-pm2
kernel26-drm-radeon-testing = http://git.kernel.org/?p=linux/kernel/g … on-testing

Thanks Perry, I needed that. smile


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

#1180 2010-04-17 13:19:57

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

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

endlessroad1991 wrote:

kernel26-pm is a great news to me~~
by "echo 2 > /sys/class/drm/card0/device/power_state"
(power_state 2 of my card is battery mode)
I finally avoid the annoying endless fan noise~~

I'm wondering whether the HD2600Pro in the iMac is capable of using PM?

I'm using the new kernel26-pm & still get the same results as when using any other pm kernel:

[drm] State 0  (default)
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 600000/650000
[drm]         1 engine/memory: 600000/650000
[drm]         2 engine/memory: 600000/650000
[drm] State 1 Performance
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 600000/650000
[drm]         1 engine/memory: 600000/650000
[drm]         2 engine/memory: 600000/650000

When I try the following I get permission denied:

handy ~  $  sudo echo 2 > /sys/class/drm/card0/device/power_state
bash: /sys/class/drm/card0/device/power_state: Permission denied

I wonder whether some GPUs have been set up to not work with PM?  If anyone was going to do it for some strange reason, Apple would certainly be capable of it.

Still the thing is quiet & doesn't run hot, hmm...

Last edited by handy (2010-04-17 13:20:37)


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

#1181 2010-04-17 15:49:31

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

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

@handy:
    try "su" and then "echo X > /sys/class/drm/card0/device/power_state"
    make sure X is a valid status id!
    seems your card has only status 0 and 1, so X can only be 0 or 1 ??
    my card, mobility radoen hd 4570, part of "dmesg | grep drm" is:

[drm] 7 Power State(s)
[drm] State 0  (default)
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 500000/800000
[drm]         1 engine/memory: 500000/800000
[drm]         2 engine/memory: 500000/800000
[drm] State 1 Performance 
[drm]     16 PCIE Lanes
[drm]     Single display only
[drm]     2 Clock Mode(s)
[drm]         0 engine/memory: 220000/300000
[drm]         1 engine/memory: 300000/500000
[drm] State 2 Battery 
[drm]     16 PCIE Lanes
[drm]     Single display only
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 220000/300000
[drm]         1 engine/memory: 300000/300000
[drm]         2 engine/memory: 300000/300000
[drm] State 3 Performance 
[drm]     16 PCIE Lanes
[drm]     2 Clock Mode(s)
[drm]         0 engine/memory: 300000/800000
[drm]         1 engine/memory: 300000/800000
[drm] State 4 Battery 
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 300000/400000
[drm]         1 engine/memory: 300000/400000
[drm]         2 engine/memory: 300000/400000
[drm] State 5  
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 450000/500000
[drm]         1 engine/memory: 450000/500000
[drm]         2 engine/memory: 450000/500000
[drm] State 6  
[drm]     16 PCIE Lanes
[drm]     3 Clock Mode(s)
[drm]         0 engine/memory: 300000/400000
[drm]         1 engine/memory: 300000/400000
[drm]         2 engine/memory: 300000/400000

Last edited by endlessroad1991 (2010-04-17 15:51:11)

Offline

#1182 2010-04-17 20:44:58

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

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

endlessroad1991 wrote:

@handy:
try "su" and then "echo X > /sys/class/drm/card0/device/power_state"

Sorry for unrelated stuff but sudo has this feature already:
sudo -s "echo X > /sys/class/drm/card0/device/power_state"

Also don't lack the explanation: sudo only runs the first command as root which happens to be "echo". The > acts as another command for the shell which is not run as root and therefore you have no permission.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#1183 2010-04-18 02:40:39

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

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

By using either of the two methods above I get to add the following two lines to the end of the output from dmesg | grep drm :

[drm] Setting: e: 60000
[drm] Setting: m: 65000

So I think that nothing is really changing on my machine & it is likely the way the Apple built it to be. Hopefully I'm wrong. smile

Last edited by handy (2010-04-18 02:42:35)


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

#1184 2010-04-19 15:04:31

andrek
Member
From: Poland
Registered: 2007-12-27
Posts: 29

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

How's the power management working on kernel26-pm mentioned above? Is it as good as catalyst one? ( i'm using mobility 4570, i'm going to test these things out soon )

Offline

#1185 2010-04-19 22:39:45

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

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

andrek wrote:

How's the power management working on kernel26-pm mentioned above? Is it as good as catalyst one? ( i'm using mobility 4570, i'm going to test these things out soon )

I think it depends on the hardware you have at this stage anyway.

I also think that you will get satisfactory results.


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

#1186 2010-04-20 17:14:50

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

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

Hell, is it OK?

$ 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: 0x94300000
[drm] register mmio size: 65536
[drm] Clocks initialized !
[drm] 4 Power State(s)
[drm] State 0  (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  
[drm]   1 Clock Mode(s)
[drm]           0 engine: 500000
[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] Default TV standard: NTSC
[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] fb mappable at 0x80141000
[drm] vram apper at 0x80000000
[drm] size 4096000
[drm] fb depth is 24
[drm]    pitch is 5120
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.2.0 20080528 for 0000:01:05.0 on minor 0

Offline

#1187 2010-04-20 18:12:40

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

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

Looks good, doesn't it? Your card has two states: if you unplug your laptop it should go from 500Mhz to 200Mhz.
If you are using kernel26-pm you can test it with /sys/class/drm/card0/device/power_state. I don't know if it will switch automaticly.

Can i post your repo?

Offline

#1188 2010-04-20 19:21:15

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

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

Of course. I just took the update btw. smile

Offline

#1189 2010-04-20 21:40:12

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

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

OK big_smile

The repository switched to another webspace (tanks to gtklocker wink)

[ati]
Server = http://tiven.org/gtklocker/radeon-repo/x86_64/

Now you can browse it. Maybe gtklocker will offer a repo for i686.

Offline

#1190 2010-04-21 20:51:06

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

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

Perry3D, we should probably rename the repo to [radeon] wink

I'll start with the i686 repo when the chroot installation is finished smile

Offline

#1191 2010-04-23 14:19:55

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

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

I renamed the repository to radeon:

[radeon]
Server = http://tiven.org/gtklocker/radeon-repo/x86_64/

Pls use this repository. I will stop updating the dropbox repo. wink

Offline

#1192 2010-04-23 18:50:04

Pik
Member
Registered: 2009-11-15
Posts: 14

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

Did the new repo vanish? I get an 404 error message.

Last edited by Pik (2010-04-23 18:50:20)

Offline

#1193 2010-04-23 18:51:15

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

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

No, i just tested it. Works like it should.

Offline

#1194 2010-04-23 19:05:53

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

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

@Perry3D, I removed some old git files, but I dunno if its the problem. Please, rebuild the db and upload it again smile
@Pik, you're right. We are transferring files to a new ssh (root) controlled server, so please stand and wait to tar/untar. smile

Last edited by gtklocker (2010-04-23 19:21:46)

Offline

#1195 2010-04-24 05:42:47

TemplarGR
Member
From: Athens, Greece
Registered: 2009-12-16
Posts: 60

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

Perry your repo is great and i appreciate your efforts. Could you add some lib32 versions of your packages for all of us who would like to use 32 bit apps like bin32-wine and bin32-google-earth?

Offline

#1196 2010-04-24 06:17:44

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

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

Hey, it would be painful to include such files. You can use the adslgr32/adslgr64 repos for this work, these contain lib32 and the programs you mention.

Have a nice day. wink

Offline

#1197 2010-04-24 07:07:30

TemplarGR
Member
From: Athens, Greece
Registered: 2009-12-16
Posts: 60

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

gtklocker wrote:

Hey, it would be painful to include such files. You can use the adslgr32/adslgr64 repos for this work, these contain lib32 and the programs you mention.

Have a nice day. wink

Please explain to me why it would be painful? From my understanding, they are simply 686 versions with some minor modifications. So if you intent to create a 686 repo, it shouldn't be so difficult to add lib32 packages.

Offline

#1198 2010-04-24 07:10:15

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

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

Freeze.

I told you. Use adslgr64 repo by simply adding this line in your pacman.conf

[adslgr64]
Server = http://adslgr64.tiven.org/archlinux/x86_64

It has all the programs & libs you need.

I say painful, because there is no reason to bother with that. The repo has completely different orientation.

Offline

#1199 2010-04-24 07:20:42

TemplarGR
Member
From: Athens, Greece
Registered: 2009-12-16
Posts: 60

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

gtklocker wrote:

Freeze.

I told you. Use adslgr64 repo by simply adding this line in your pacman.conf

[adslgr64]
Server = http://adslgr64.tiven.org/archlinux/x86_64

It has all the programs & libs you need.

I say painful, because there is no reason to bother with that. The repo has completely different orientation.

I think you didn't actually understand what i asked for. In order to use 32 bit 3D apps in 64bit Arch you need lib32mesa libraries. Those available at community repo are same versions with extra, currently 7.7.1 . I am asking for a lib32-mesa-git(and all other packages), in order to use mesa 7-9 devel with 32 bit programs.

I looked at this repo, and there is no such packages in there, although it has some programs i use and i will keep it.

Last edited by TemplarGR (2010-04-24 07:21:50)

Offline

#1200 2010-04-24 07:27:19

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

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

Tell me what packages you need exactly and when the server comes up, I'll upload them smile

Offline

Board footer

Powered by FluxBB