You are not logged in.

#26 2010-08-13 04:50:27

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Kernel 2.6.35 and ati video card problem?

If you do not want vertical sync, but you still want to use KMS, you need a patch for xf86-video-ati because it is hard-coded into the driver.

Darkbasic from Phoronix wrote:
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 103972f..7ddcda0 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -313,7 +313,7 @@ radeon_dri2_copy_region(DrawablePtr drawable,
     }
 
     vsync = info->accel_state->vsync;
-    info->accel_state->vsync = TRUE;
+    //info->accel_state->vsync = TRUE;
 
     (*gc->ops->CopyArea)(&src_pixmap->drawable, &dst_pixmap->drawable, gc,
                          0, 0, drawable->width, drawable->height, 0, 0);

Last edited by Wintervenom (2010-08-13 04:52:13)

Offline

#27 2010-08-16 19:07:23

TigTex
Member
From: Portugal
Registered: 2008-06-19
Posts: 301

Re: Kernel 2.6.35 and ati video card problem?

Hummm... using driconf I've disabled vsync without patching the driver. at least glxgears tells me that (1500fps aka more than 59.8fps vsync).


.::. TigTex @ Portugal .::.

Offline

#28 2010-08-19 09:08:23

airstep
Member
Registered: 2008-01-21
Posts: 54

Re: Kernel 2.6.35 and ati video card problem?

I have the same problem (only ~60 fps). Driconf didn't help -- when I restart program values become default.

Offline

#29 2010-08-19 14:02:27

vae77
Member
Registered: 2010-07-02
Posts: 75
Website

Re: Kernel 2.6.35 and ati video card problem?

I also have related problems, and using xf86-video-ati-git doesn't solve.

I reported here:
https://bbs.archlinux.org/viewtopic.php?pid=811475 :

vae77 wrote:

After update, I got big fonts on tty and no default fullscreen on mplayer

When I run xvinfo:

X-Video Extension version 2.2
screen #0
no adaptors present

I have an ATI Radeon HD3200 and I'm using  xf86-video-ati

Edit.: Disable dynpm seems to solve.

Last edited by vae77 (2010-08-19 14:40:56)

Offline

#30 2010-08-19 18:12:37

chris_debian
Member
From: Wiltshire, UK
Registered: 2009-02-24
Posts: 284

Re: Kernel 2.6.35 and ati video card problem?

Zapp! wrote:

I have an Ati Radeon HD 3200 and have the same problems mentioned earlier.
I noted an error that might me causing this:

cat /var/log/everything.log | grep mesa
Aug 11 18:13:48 zapp kernel: You have old & broken userspace please consider updating mesa

Maybe mesa needs to be compiled against kernel 2.6.35, I'll try that later.

I got this too. I'm using an ATI Radeon and the problem seemed to start today after I upgraded my kernel to 2.6.35 on an (Athlon(tm) 64).

I get this message on dmesg:

You have old & broken userspace please consider updating mesa

This also keeps logging me out of my session and back to the login prompt.

I'll try to see whether some sort of mesa bug has been created upstream.

Cheers,

Chris.

Last edited by chris_debian (2010-08-19 18:13:18)


Reasons why you may want to try GNU/Linux:

www.whylinuxisbetter.net/

Offline

#31 2010-08-22 09:18:29

waylls
Member
Registered: 2010-04-19
Posts: 4

Re: Kernel 2.6.35 and ati video card problem?

Lol, i just have more.. I'm using kernel 2.6.35.3 from repo.
If, i boot my kernel with radeon.dynpm=1 - kms don't start because of "radeon: Unknown parameter `dynpm'".
If, i remove this option kms works, but SUDDENLY occures error, memory corruption, and my hard disks cannot be find by kernel, so i can't do anything smile
I can't say why this is happening.. but still problems.

Offline

#32 2010-08-22 17:17:57

Diaz
Member
From: Portugal
Registered: 2008-04-16
Posts: 366

Re: Kernel 2.6.35 and ati video card problem?

waylls wrote:

Lol, i just have more.. I'm using kernel 2.6.35.3 from repo.
If, i boot my kernel with radeon.dynpm=1 - kms don't start because of "radeon: Unknown parameter `dynpm'".
If, i remove this option kms works, but SUDDENLY occures error, memory corruption, and my hard disks cannot be find by kernel, so i can't do anything smile
I can't say why this is happening.. but still problems.

I think i read yesterday that dynpm=1 is disabled in this kernel if using KMS.
See if i find that info.

EDIT: It was quick to find this, it was a link in phoronix forums: http://www.overclock.net/linux-unix/731 … river.html

Last edited by Diaz (2010-08-22 17:20:09)

Offline

#33 2010-08-23 10:39:28

kfgz
Member
From: Supraśl, Poland
Registered: 2009-03-02
Posts: 114

Re: Kernel 2.6.35 and ati video card problem?

waylls wrote:

If, i boot my kernel with radeon.dynpm=1 - kms don't start because of "radeon: Unknown parameter `dynpm'".

Since kernel 2.6.35, dynclks is the correct parameter.

Last edited by kfgz (2010-08-23 10:39:58)

Offline

#34 2010-08-23 11:43:41

waylls
Member
Registered: 2010-04-19
Posts: 4

Re: Kernel 2.6.35 and ati video card problem?

Maybe, but it's only a part of problem - i think memory corruptions more important smile

Offline

#35 2010-08-24 10:22:02

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Kernel 2.6.35 and ati video card problem?

csslayer wrote:
Lothium wrote:

Anyone else notice a huge performance drop? With kernel 2.6.34 I get round about 1000 fps in glxgears and now with the kernel 2.6.35 I only get 50 fps (I know glxgears is not a benchmark, but the desktop effects are laggy too). I have an ATI X700 and the latest radeon driver from the testing repo.

I think that is cause by vertical synchronize.
glxgear's fps will approximately the same as the monitor refresh rate.

But I don't know how to disable it though...

I don't think so. After I downgrade my kernel to 2.6.34, the fps grows to 500ps using vertical synchronize. I'm using hd3450.

Offline

#36 2010-08-24 12:42:27

Zapp!
Member
From: Germany
Registered: 2007-07-08
Posts: 7

Re: Kernel 2.6.35 and ati video card problem?

I don't get the broken userspace error anymore (maybe because libgl got updated today?).

But the problem still exists. Passing radeon.dynclks=0 to the kernel doesn't change anything here...

Offline

#37 2010-08-24 15:15:40

Nibble
Member
Registered: 2009-09-29
Posts: 34

Re: Kernel 2.6.35 and ati video card problem?

Same here, I also suffer from artifacts.

Offline

#38 2010-08-25 08:11:22

waylls
Member
Registered: 2010-04-19
Posts: 4

Re: Kernel 2.6.35 and ati video card problem?

Lucky guys, i just want to start my system smile

Offline

#39 2010-09-03 20:38:35

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: Kernel 2.6.35 and ati video card problem?

Nibble wrote:

Same here, I also suffer from artifacts.

Check out the wiki, there are several workarounds there: http://wiki.archlinux.org/index.php/ATI_Catalyst (for propietary drivers) and http://wiki.archlinux.org/index.php/Ati (open source alternative).


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#40 2010-09-04 04:24:18

DarksideEE7
Member
From: Arkansas, United States
Registered: 2009-06-06
Posts: 356

Re: Kernel 2.6.35 and ati video card problem?

csslayer wrote:
Lothium wrote:

Anyone else notice a huge performance drop? With kernel 2.6.34 I get round about 1000 fps in glxgears and now with the kernel 2.6.35 I only get 50 fps (I know glxgears is not a benchmark, but the desktop effects are laggy too). I have an ATI X700 and the latest radeon driver from the testing repo.

I think that is cause by vertical synchronize.
glxgear's fps will approximately the same as the monitor refresh rate.

But I don't know how to disable it though...

Yea there is a known bug AFAIK in fglrx when VSync is enabled to put the refresh rate at 30 Hz, which locks 3d apps at 30 FPS.  I get that on my desktop with a 4870x2 when running glxgears.  In order to disable forcing vsync with fglrx:

sudo amdcccle

This will launch catalyst control center.  Go to 3d>Other options and move the slider to the left.  You should be able to run glxgears and get a high FPS.

This can also be done using:

sudo aticonfig --vs=off

There is a separate option for video vsync, which I would keep on.  It's enabled by default.

Offline

#41 2010-09-12 21:17:23

dcc24
Member
Registered: 2009-10-31
Posts: 732

Re: Kernel 2.6.35 and ati video card problem?

The problem still exists with kernel 2.6.36rc3. But, as previously stated, building the entire libgl/mesa/dri/ati stuff from git solves the issue. This seems to be the only way of fixing this until mesa 7.9 arrives.


It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

My AUR packages

Offline

#42 2010-09-14 20:37:50

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Kernel 2.6.35 and ati video card problem?

I can't say that we are in the same boat, since I use xfce, but after enabling KMS even "top" refresh became slow.

The card is Radeon xpress 200M, shared video memory; I don't use xfce compositing.

What seemed to help was

Option         "EnablePageFlip" "on"
Option         "EXAPixmaps" "on"

in xorg.conf.

On the bright side, KMS fixed my MTRR issues and also my glxgears finally started to make sense: ~59 FPS.

BTW, I have this in dmesg.log:

[drm:rs400_gart_adjust_size] *ERROR* Forcing to 32M GART size (because of ASIC bug ?)

which is a known issue. Does anyone know a fix for this?

Last edited by Leonid.I (2010-09-14 20:39:04)


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#43 2010-09-19 04:00:42

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

Re: Kernel 2.6.35 and ati video card problem?

dcc24 wrote:

The problem still exists with kernel 2.6.36rc3. But, as previously stated, building the entire libgl/mesa/dri/ati stuff from git solves the issue. This seems to be the only way of fixing this until mesa 7.9 arrives.

I did rebuild everything (libgl/mesa/dri/xf86-video-ati) but still my 3D accelerarion was 10 times slower using 2.6.35 than 2.6.34 in my HD 4200. So I'm back with 2.6.34 and waiting any news here about improvements.

Offline

#44 2010-09-20 01:29:36

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: Kernel 2.6.35 and ati video card problem?

I did try xf86-video-ati and can't make it work with latest x86_64 .35-4 kernel, however Vi0L0's Catalyst 10.9 module works quite well here, even faster than 10.7 (I jumped 10.8 because so much bugs and slowness...)
Hope this help you'll smile


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#45 2010-09-28 05:43:45

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Kernel 2.6.35 and ati video card problem?

dcc24 wrote:

The problem still exists with kernel 2.6.36rc3. But, as previously stated, building the entire libgl/mesa/dri/ati stuff from git solves the issue. This seems to be the only way of fixing this until mesa 7.9 arrives.

Is there any mirror of git.freedesktop.org? My download speed is about 2k per sec.

Offline

#46 2010-10-05 07:44:00

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Kernel 2.6.35 and ati video card problem?

This problem reoccured after xorg-server updates to 1.9 with or without the git version of tool chain. All of the windows are flickering, some parts of the plasma would turn black for a while then become normal.
any ideas?

Offline

Board footer

Powered by FluxBB