You are not logged in.

#1126 2010-04-10 23:37:01

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

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

Please forgive my ignorance?

Could someone give me a clue as to why I have the following, as I would like to grow my understanding:

[drm] Internal thermal controller without fan control
[drm] 2 Power State(s)
[drm] State 0 Default (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
[drm] radeon: dynamic power management enabled
[drm] radeon: power management initialized

Are there any means of configuring the PM?

Do I have this situation because PM is a work in progress?

Thanks for your time.


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

#1127 2010-04-11 01:32:47

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

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

@venky80:

Kernel:
- kernel26-drm-radeon-testing
- kernel26-firmware-git
- radeon_ucode
X-server:
- dri2proto-git
- glproto-git
- libdrm-git
- mesa-full
- xf86-video-ati-git

@handy: Which kernel are you using? Did you append radeon.dynpm=1 to your kernel parameters (i don't know if it is the default)?

Last edited by Perry3D (2010-04-11 02:00:52)

Offline

#1128 2010-04-11 03:04:00

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

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

Yes I added that to the kernel line in menu.lst.

I upgraded today, so I'm using kernel .34-rc3 & everything else that comes with the upgrade from your repo.

By the way, a fellow over at the Ubuntu forums looked at your OP here from a link I provided & got his KMS & PM working on kernel .34 in kubuntu, he offered his gratitude to you as you provided the missing key for him. I told him I'd pass it on.  He also posted what he had to do, so it will help other adventurers over there. Good stuff.


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

#1129 2010-04-11 03:35:00

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

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

Perry3D wrote:

@venky80:

Kernel:
- kernel26-drm-radeon-testing
- kernel26-firmware-git
- radeon_ucode
X-server:
- dri2proto-git
- glproto-git
- libdrm-git
- mesa-full
- xf86-video-ati-git

@handy: Which kernel are you using? Did you append radeon.dynpm=1 to your kernel parameters (i don't know if it is the default)?

@perry How is - kernel26-drm-radeon-testing different from kernel26-pm and kernel26-git are you also maintaining other kernels?
Also could the first post be edited with this info, does not look like it has any mention of this kernel

Last edited by venky80 (2010-04-11 03:36:15)


Acer Aspire V5-573P Antergos KDE

Offline

#1130 2010-04-11 07:08:44

flexoid
Member
Registered: 2010-04-11
Posts: 4

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

Why 2D and 3D with KMS under r600 is much slower than without it? It's normal?

Offline

#1131 2010-04-11 10:50:35

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

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

flexoid wrote:

Why 2D and 3D with KMS under r600 is much slower than without it? It's normal?

Here KMS is much faster on my R3450 than UMS. However when I turn dynpm in KMS it's really really laggy. Try without dynpm.

Offline

#1132 2010-04-11 11:03:59

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

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

flexoid wrote:

Why 2D and 3D with KMS under r600 is much slower than without it? It's normal?

It's been that way for quite a bit.

But the impact is not that big... I only get a 400-800fps hit.. its down to 1500fps in glxgears.

but yeah..

Offline

#1133 2010-04-11 11:12:42

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

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

Perry3D wrote:

@venky80:

Kernel:
- kernel26-drm-radeon-testing
- kernel26-firmware-git
- radeon_ucode
X-server:
- dri2proto-git
- glproto-git
- libdrm-git
- mesa-full
- xf86-video-ati-git

@handy: Which kernel are you using? Did you append radeon.dynpm=1 to your kernel parameters (i don't know if it is the default)?

kernel26-drm-radeon-testing? I tried it yesterday, and it just didn't build. sad

Offline

#1134 2010-04-11 11:41:44

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

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

@venky: To clarify this:
kernel26-git ist the kernel branch from Linus.
kernel26-drm-radeon-testing is a special branch from David Airlie (the developer from Red Hat): http://airlied.livejournal.com/71261.html .
kernel26-pm is the same branch with some powermanagment-patches. But i think this is obsulete cause these patches were merged in the drm-radeon-testing branch.

@flexoid: Don't use glxgears to compare UMS and KMS. A game would be more meaningful.
@gtklocker: I also get build errors with the pm-patches. So i removed them.

Offline

#1135 2010-04-11 11:49:19

flexoid
Member
Registered: 2010-04-11
Posts: 4

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

Perry3D wrote:

@venky: To clarify this:
Don't use glxgears to compare UMS and KMS. A game would be more meaningful.

Glxgears, games, kwin... they all work slower by feeleng.

Neuro wrote:
flexoid wrote:

Why 2D and 3D with KMS under r600 is much slower than without it? It's normal?

Here KMS is much faster on my R3450 than UMS. However when I turn dynpm in KMS it's really really laggy. Try without dynpm.

Thanks, i will try it.

Offline

#1136 2010-04-11 11:51:14

delmonico
Member
Registered: 2004-06-27
Posts: 82

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

(update) now, after a reboot and not changing anything I think, acceleration is broken as well hmm And another reboot later I have WXGA without hw accel....
I'm having a little trouble after upgrading to .33: KMS works fine (finally, I can see my ttys on my resolution-picky hdtv), also the hardware acceleration (including xbmc NOT using 100% cpu when idle anymore), but I can't use a WXGA resolution anymore, only XGA. radeonhd sets the display to XGA, then fails, radeon sets the display to XGA and works fine hmm xorg.conf follows (but its basically the same if I don't use any xorg.conf at all):

Section "Device"
        Identifier  "Ati"
        Driver      "radeon"
        Option "AccelMethod" "EXA"
        Option "EnablePageFlip" "on" 
        Option "AGPFastWrite" "yes"
        Option "EXAVSync" "yes"
EndSection

Section "Screen"
        Identifier "Screen"
        Device     "Ati"
        DefaultDepth 24
        SubSection "Display"
          Depth     24
          Modes    "1360x768"
        EndSubSection
EndSection

Hardware:

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon HD 3200 Graphics

Last edited by delmonico (2010-04-11 12:11:52)

Offline

#1137 2010-04-11 12:28:59

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

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

Ok, i updated my first post. wink

@delmonico: Don't use radeonhd with KMS. It is not supported. I think you can set your resolution manually by adding video=VGA-1:1024x768 to your kernel parameters (not tested). To set it for all output connectors use video=1024x768.

@flexoid: Are you using the drivers from the extra repo? There will be some performance improvements with KMS when mesa 7.8 is in the repository.

Offline

#1138 2010-04-11 14:21:41

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

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

Using the kernel26-drm-radeon-testing has improved dmesg | grep drm, It is half as long as it was, & an error with radeondrmfb is no longer there, but PM is having no noticeable effect on fan speeds or temperatures at this stage:

handy ~  $  dmesg | grep drm
[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.
[drm] radeon: Initializing kernel modesetting.
[drm] register mmio base: 0x50620000
[drm] register mmio size: 65536
[drm] Clocks initialized !
[drm] Internal thermal controller without fan control
[drm] 2 Power State(s)
[drm] State 0 Default (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
[drm] radeon: dynamic power management enabled
[drm] radeon: power management initialized
[drm] Detected VRAM RAM=256M, BAR=256M
[drm] RAM width 128bits DDR
[drm] radeon: 256M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] radeon: using MSI.
[drm] radeon: irq initialized.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading RV630 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] Default TV standard: NTSC
[drm] Default TV standard: NTSC
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   DVI-I
[drm]   HPD1
[drm]   DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[drm]   Encoders:
[drm]     CRT1: INTERNAL_KLDSCP_DAC1
[drm]     DFP1: INTERNAL_KLDSCP_TMDS1
[drm] Connector 1:
[drm]   LVDS
[drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
[drm]   Encoders:
[drm]     LCD1: INTERNAL_LVTM1
[drm] Connector 2:
[drm]   DIN
[drm]   Encoders:
[drm]     TV1: INTERNAL_KLDSCP_DAC2
[drm] Requested: e: 60000 m: 65000 p: 16
[drm] Setting: e: 60000 m: 65000 p: 16
[drm] fb mappable at 0x40141000
[drm] vram apper at 0x40000000
[drm] size 9216000
[drm] fb depth is 24
[drm]    pitch is 7680
[drm] Requested: e: 60000 m: 65000 p: 16
[drm] Setting: e: 60000 m: 65000 p: 16
fb0: radeondrmfb frame buffer device
[drm] Initialized radeon 2.2.0 20080528 for 0000:01:00.0 on minor 0
[drm] Requested: e: 60000 m: 65000 p: 16
[drm] Setting: e: 60000 m: 65000 p: 16
[drm] not in vbl for pm change 00020002 00000000 at entry


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

#1139 2010-04-11 16:46:57

aline
Member
Registered: 2009-12-17
Posts: 22

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

With the 2.6.33 release in core I've switched all my git packages to stable branch. For my needs everything is working as it should.

I have KMS enabled:

[drm] Initialized drm 1.1.0 20060810
[drm] radeon kernel modesetting enabled.

DRI2:

OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Mesa DRI R600 (RS880 9712) 20090101  TCL DRI2
OpenGL version string: 1.5 Mesa 7.7.1
OpenGL extensions:

glxgears performance in my HD 4200 is not the best, but it's acceptable, as I don't play any games:
5683 frames in 5.0 seconds = 1136.572 FPS
5685 frames in 5.0 seconds = 1136.960 FPS
5683 frames in 5.0 seconds = 1136.591 FPS

Thanks Perry3D and everyone else for this very helpful thread.

Offline

#1140 2010-04-11 17:52:12

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

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

can someone confirm if they can connect to wifi using intel 5100 AGN. After the openssl update and 2.6.33.2 I am not able to connect to wifi

Solved had wpa_supplicant issue upgraded now it is fine

Last edited by venky80 (2010-04-11 22:20:43)


Acer Aspire V5-573P Antergos KDE

Offline

#1141 2010-04-11 18:00:43

flexoid
Member
Registered: 2010-04-11
Posts: 4

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

Perry3D wrote:

Ok, i updated my first post. wink
Are you using the drivers from the extra repo? There will be some performance improvements with KMS when mesa 7.8 is in the repository.

I'm using *-git packages from nightly repo. I don't wanna very good performance, i don't play games, but lagging of Xorg (especially kwin effects) is feeling.

Offline

#1142 2010-04-13 07:52:21

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

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

Hey Guys,

I used to run the -git versions of xf86-video-ati etc and mesa-full from aur to get my DRI2 going and KMS ... which all worked great.

But, that was awhile ago, and on hearing 3D support is now in the mainline, I reverted all my -git files and re-installed mesa, libgl, ati-dri etc
and uninstalled mesa-full etc .. I also did a full upgrade at the same time.

However, even though KMS seems to work (I get a high res TTY ..) I do not get any DRI2 happening, I am only seeing the software renderer again ..

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.7.1
OpenGL shading language version string: 1.20
OpenGL extensions:

Can someone help me with getting the hardware accel working? It seems I am missing something ..

(Is it because I have ati-dri installed .... maybe)

LSPCI shows my card as:

01:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO [Radeon HD 4650]
01:00.1 Audio device: ATI Technologies Inc RV710/730

Thanks,
B

Last edited by bmentink (2010-04-13 07:56:49)

Offline

#1143 2010-04-13 08:09:55

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

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

Can you post the ouput of dmesg and Xorg.0.log?

Offline

#1144 2010-04-13 09:27:54

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

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


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

#1145 2010-04-13 09:35:23

lman
Member
From: CZ
Registered: 2007-12-18
Posts: 255

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

quite a few fixes
I hope hdmi will work again

Offline

#1146 2010-04-13 10:40:47

Pitmairen
Member
Registered: 2007-08-02
Posts: 37

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

bmentink wrote:

...

Can someone help me with getting the hardware accel working? It seems I am missing something ..
...

have you installed radeon_ucode?

Offline

#1147 2010-04-13 13:13:23

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

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

Arch does not provide the firmware files for irq support (radeon_ucode) although KMS is enabled by default?
I found nothing in the bug tracker sad.

Offline

#1148 2010-04-13 20:03:27

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

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

Pitmairen wrote:
bmentink wrote:

...

Can someone help me with getting the hardware accel working? It seems I am missing something ..
...

have you installed radeon_ucode?

Do I have to get that from AUR? it is not in the normal repositories ..

Anyway, I installed it using yaourt ... I take it it puts the binary files in /lib/firmware/radeon ??

It hasn't made any difference after a new boot though ..

Just to recap, I have installed:

xf86-video-ati
mesa
libdrm
glproto
dri2proto
libgl
freeglut
ati-dri
kernel26-firmware
radeon_ucode

All but the last from the normal repositories.


Cheers,
Bernie

Last edited by bmentink (2010-04-13 20:29:22)

Offline

#1149 2010-04-13 20:35:53

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

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

An update, I noticed this in dmesg:

[drm] Loading RV730 Microcode
platform radeon_cp.0: firmware: requesting radeon/RV730_pfp.bin
platform radeon_cp.0: firmware: requesting radeon/RV730_me.bin
platform radeon_cp.0: firmware: requesting radeon/R700_rlc.bin
r600_cp: Failed to load firmware "radeon/R700_rlc.bin"
[drm:rv770_startup] *ERROR* Failed to load firmware!
radeon 0000:01:00.0: disabling GPU acceleration
radeon 0000:01:00.0: f73f7f00 unpin not necessary
radeon 0000:01:00.0: f73f7f00 unpin not necessary

The firmware directory shows:

ls /lib/firmware/radeon/
CEDAR_rlc.bin    R200_cp.bin   REDWOOD_me.bin   RV610_pfp.bin  RV670_pfp.bin
CYPRESS_me.bin   R300_cp.bin   REDWOOD_pfp.bin  RV620_me.bin   RV710_me.bin
CYPRESS_pfp.bin  R420_cp.bin   REDWOOD_rlc.bin  RV620_pfp.bin  RV710_pfp.bin
CYPRESS_rlc.bin  R520_cp.bin   RS600_cp.bin     RV630_me.bin   RV730_me.bin
JUNIPER_me.bin   R600_me.bin   RS690_cp.bin     RV630_pfp.bin  RV730_pfp.bin
JUNIPER_pfp.bin  R600_pfp.bin  RS780_me.bin     RV635_me.bin   RV770_me.bin
JUNIPER_rlc.bin  R600_rlc.bin  RS780_pfp.bin    RV635_pfp.bin  RV770_pfp.bin
R100_cp.bin      R700_rlc.bin  RV610_me.bin     RV670_me.bin

R700_rlc.bin is there which is strange,... why can't it load it?

01:00.0 VGA compatible controller: ATI Technologies Inc RV730 PRO [Radeon HD 4650]

Very strange, this all used to work with the *-git versions of stuff and mesa-full

Thanks,

Last edited by bmentink (2010-04-13 21:00:03)

Offline

#1150 2010-04-13 21:38:02

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

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

Are you using the early start method for KMS? Then read this part in the wiki: http://wiki.archlinux.org/index.php/Ati … _.28KMS.29

Offline

Board footer

Powered by FluxBB