You are not logged in.

#176 2009-11-10 15:23:55

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

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

Thanks, removing radeon from mkinitcpio.conf helped. KMS is working fine now.
Edit:
Also compiz is a little bit glitchy this way ( glxgears dropped from 3200 to 3000, but that's not a big difference).

I think I'm going to disable kms, as I don't switch to vc/* too often. Does it have an advantage other than that? (I don't care about the boot screen resolution)

Edit2:
back to kms. Without it there is a problem now with moving opengl windows. The old content isn't erased/redraw and stays on screen.

Last edited by lman (2009-11-10 16:37:18)

Offline

#177 2009-11-10 18:01:09

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

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

Any ideas for my problem of black lines? wink

Offline

#178 2009-11-10 18:21:45

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

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

lman wrote:

Thanks, removing radeon from mkinitcpio.conf helped. KMS is working fine now.
Edit:
Also compiz is a little bit glitchy this way ( glxgears dropped from 3200 to 3000, but that's not a big difference).

I think I'm going to disable kms, as I don't switch to vc/* too often. Does it have an advantage other than that? (I don't care about the boot screen resolution)

Edit2:
back to kms. Without it there is a problem now with moving opengl windows. The old content isn't erased/redraw and stays on screen.

With kms you can use dri2/direct rendering. Try to disable indirect rendering in compiz!
And remember: glxgears is not a benchmark tongue

@yimm: i think this is a bug in the current code. If you want to help the developers open a bugreport: https://bugs.freedesktop.org/

Last edited by Perry3D (2009-11-10 20:35:42)

Offline

#179 2009-11-11 00:46:14

luciferin
Member
Registered: 2007-05-10
Posts: 144

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

I just got this all running on my system (HD4850) and wanted to chime in with a big THANK YOU to everyone.  Seriously, I didn't know my desktop could be so fast and beautiful.  Blazing fast 2D with Compiz running is an absolute pleasure.  And EVERYTHING seems to be working for me: World of Goo, MythTV with OpenGL frontend (which doesn't even work on the closed source drivers!!), Stellarium, WormUX, and ZSNES.  All of these are running without speed problems.

Last edited by luciferin (2009-11-11 00:47:01)

Offline

#180 2009-11-11 01:55:57

JonimusPrime
Member
Registered: 2009-04-23
Posts: 13

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

Woot, I can now play UT2004 on max settings on my laptop which didn't work with the Closed drivers, and is teh rockzors!!!! I can't wait till 2.6.32 so we won't need all this -git stuff but its still awesome.

Offline

#181 2009-11-11 21:57:50

BastiaanN
Member
From: Netherlands
Registered: 2009-11-11
Posts: 6

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

Just registered to say, Thank You! Running Xorg 1.7 now with compiz and everything runs smooth even with KMS enabled. ArchLinux rocks smile

Offline

#182 2009-11-13 18:41:30

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

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

yimm wrote:

Any ideas for my problem of black lines? wink

For me the black lines and other rendering errors disappeared today after updating kernel26-git. Maybe it was a kms bug. The tearing is mostly gone, too.

Offline

#183 2009-11-14 05:35:33

csslayer
Member
Registered: 2009-03-05
Posts: 85

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

lman wrote:

Thanks, removing radeon from mkinitcpio.conf helped. KMS is working fine now.
Edit:
Also compiz is a little bit glitchy this way ( glxgears dropped from 3200 to 3000, but that's not a big difference).

I think I'm going to disable kms, as I don't switch to vc/* too often. Does it have an advantage other than that? (I don't care about the boot screen resolution)

Edit2:
back to kms. Without it there is a problem now with moving opengl windows. The old content isn't erased/redraw and stays on screen.

If you want to enable kms as soon as possible, install radeon-initrd from AUR and add radeon to hook after udev. And run mkinitcpio -p [kernel name]. This hook provide firmware file to your initrd, the error about cannot find file will not happen.

Offline

#184 2009-11-14 05:43:42

csslayer
Member
Registered: 2009-03-05
Posts: 85

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

I just want to ask everybody that what combination of package will make r6xx 3d works most prefect?
I tried kernel26-drm-next with mesa-full, it works good even with KMS before I upgrade to xorg 1.7, after xorg 1.7 there is some rendering error while using web browser or something else(most happen while using scroll bar, the old image which should be scrolled will not disappear.)
And kernel26-drm-next with mesa from official package, this will also have such problem. And enable KMS will cause some render error that can be observed just after log in to desktop.

Though kwin with composite works good, but I'm not able to use compiz. Seems that mesa or drm recently implement some new feature that can use compiz?

Should I give a last try with kernel26-git?

Offline

#185 2009-11-14 06:56:54

chinmaykamat
Member
Registered: 2009-11-14
Posts: 3

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

Thanks Perry3D - this method works big_smile.

I am using the drm-radeon-module-git-r6xx-r7xx-3d for my 4570. The only problem I face is that compiz requires me to give

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp

to start.

But i can live with that smile . Thanks.

Offline

#186 2009-11-14 08:58:20

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

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

csslayer wrote:

Should I give a last try with kernel26-git?

I haven't tried other method, but the combination of:
* mesa-full
* kernel26-git
* kernel26-firmware-git
* libdrm-git
* xf86-video-ati-git
works quite well with my hd4850 - compiz with direct rendering, kms enabled and since yesterday no rendering errors.
So I think it's worth a try...

Offline

#187 2009-11-14 10:11:58

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

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

lman wrote:

For me the black lines and other rendering errors disappeared today after updating kernel26-git. Maybe it was a kms bug. The tearing is mostly gone, too.

I update all packages needed, and now it seems to be fixed. wink

Last edited by yimm (2009-11-14 10:12:28)

Offline

#188 2009-11-14 10:34:44

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

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

chinmaykamat wrote:

Thanks Perry3D - this method works big_smile.

I am using the drm-radeon-module-git-r6xx-r7xx-3d for my 4570. The only problem I face is that compiz requires me to give

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp

to start.

But i can live with that smile . Thanks.

Try fusion-icon instead wink

Offline

#189 2009-11-14 14:38:48

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

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

chinmaykamat wrote:

Thanks Perry3D - this method works big_smile.

I am using the drm-radeon-module-git-r6xx-r7xx-3d for my 4570. The only problem I face is that compiz requires me to give

LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccp

to start.

But i can live with that smile . Thanks.

Jeah, if you want to use compiz with direct rendering you need KMS/DRI2.

I get the best results with kernel26-git.

Offline

#190 2009-11-14 22:41:39

yimm
Member
From: France
Registered: 2009-10-16
Posts: 106

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

yimm wrote:
lman wrote:

For me the black lines and other rendering errors disappeared today after updating kernel26-git. Maybe it was a kms bug. The tearing is mostly gone, too.

I update all packages needed, and now it seems to be fixed. wink

No chance, I update xorg-server to 1.7.1, I have this problem again, with the old X version (1.6.3), it seems me that I don't have this. So I suspect xorg server. Now I can't come back, because if I try, xf86-video-ati-git don't compile. mad:
I will wait for an update wink

Last edited by yimm (2009-11-14 22:45:41)

Offline

#191 2009-11-15 02:08:10

Vi0L0
Member
From: Poland
Registered: 2009-06-24
Posts: 1,349
Website

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

Yeeey smile i did it - kernel26-git + kernel26-firmware-git + mesa-full + xf86-video-ati-git + xorg-server 1.7 with kms and dri @ kde 4 with kwin effects on, all on 4850. KMS is cool smile
But sadly those artifacts (feel so uncomfortable with that) and general slower (than catalyst) behaviour on every case (well except youtube) results that I rallback to catalyst very quickly.
It's so good to see that open source driver is getting shape and is developing so fast, i hope that those artifacts/slower_behaviour will be gone in a matter of some quick time so we may all be happy of using it smile

Offline

#192 2009-11-15 16:54:53

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

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

Hi,
I startet using the open radeon driver some time ago. I used drm-radeon-module-git-r6xx-r7xx-3d with the current stable kernel. Well, today I tried compiling the kernel26-git and installed it. removed drm-radeon-module-git-r6xx-r7xx-3d and started a try.
2D works fine, but 3D does not. With kms or without, same result.

I get the following error:

drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

dmesg:

[drm:r600_cs_packet_next_reloc_nomm] *ERROR* No packet3 for relocation for packet at 47.
[drm:r600_packet3_check] *ERROR* bad SET_CONTEXT_REG 0x28014
[drm:r600_cs_legacy] *ERROR* Invalid command stream !
[drm:radeon_cp_indirect] *ERROR* sending pending buffer 31

I recompiled xf86-video-ati-git and libdrm-git, but still the same error. Any ideas, what's wrong?

Offline

#193 2009-11-15 17:13:11

csslayer
Member
Registered: 2009-03-05
Posts: 85

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

At last I give up...
I give a last try with kernel26-git and mesa-full/mesa-split xf86-video-ati-git, corruption even worse with KMS. Without KMS the corruption with web browser still exists. As far as the mesa develop log, maybe r7xx now works better than r6xx though. I will wait for 2.6.32...

Offline

#194 2009-11-15 18:10:13

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

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

I recompiled ati-dri-git, libgl-git and mesa-git with the pkgbuild from rapidshare and it works fine now.

Offline

#195 2009-11-16 10:52:11

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

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

Mine has been running fine for ages... And now.. No direct... Looks like DRI2 is broken.... Ill try and recompile.. :S

Offline

#196 2009-11-16 11:07:59

Zap
Member
Registered: 2006-07-21
Posts: 41

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

I tried to recompile mesa,libgl,ati-dri from git with the pkgbuild from rapidshare but glxinfo says "Software Rasterizer" and with LIBGL_DEBUG=verbose glxinfo it says something about rc_opcodes
How can I solve this problem?

Last edited by Zap (2009-11-16 11:11:56)

Offline

#197 2009-11-16 11:26:11

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

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

I fixed it.. Group membership is important.

Zap: You want to give us some more info? Error codes and such... or even like a copy paste of what it spits out?

Offline

#198 2009-11-16 19:24:19

xanderek
Member
From: Poland
Registered: 2009-09-27
Posts: 7

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

Pik wrote:

Hi,
I startet using the open radeon driver some time ago. I used drm-radeon-module-git-r6xx-r7xx-3d with the current stable kernel. Well, today I tried compiling the kernel26-git and installed it. removed drm-radeon-module-git-r6xx-r7xx-3d and started a try.
2D works fine, but 3D does not. With kms or without, same result.

I get the following error:

drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info.

dmesg:

[drm:r600_cs_packet_next_reloc_nomm] *ERROR* No packet3 for relocation for packet at 47.
[drm:r600_packet3_check] *ERROR* bad SET_CONTEXT_REG 0x28014
[drm:r600_cs_legacy] *ERROR* Invalid command stream !
[drm:radeon_cp_indirect] *ERROR* sending pending buffer 31

I recompiled xf86-video-ati-git and libdrm-git, but still the same error. Any ideas, what's wrong?

new DRI/mesa on ATI r600 needs kernel 2.6.32
https://bugs.freedesktop.org/show_bug.cgi?id=25008

BR Tomek

Offline

#199 2009-11-17 06:12:17

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

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

so does this impact the howto in the first post?


Acer Aspire V5-573P Antergos KDE

Offline

#200 2009-11-17 09:23:29

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

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

venky80 wrote:

so does this impact the howto in the first post?

I added a little note to use kernel26-git instead of the other methods.

What about r7xx? Any experience with this chip and kernel26-drm-next? I am using kernel26-git and it is working fine.

Offline

Board footer

Powered by FluxBB