Bug #959

Flickering and bad performance with X11 composite under KDE and Archlinux

Added by vbmithr about 8 years ago. Updated over 7 years ago.

Status:New Start date:06/04/2010
Priority:Low Due date:
Assignee:- % Done:

0%

Category:OS: GNU/Linux
Target version:-

Description

When using KDE with composition enabled, the client is flickering and the general performance really bad..
This is not the case, with, say, Openarena and the other opengl games that I tested.

glxinfo.txt (16.5 kB) Magnifier gardon, 12/31/2010 08:10 pm

glxinfo.txt (18.3 kB) Magnifier Yusei, 03/30/2011 01:10 pm

History

#1 Updated by kervala about 8 years ago

Which drivers are you using ?

Under Gnome and proprietary nvidia drivers with Compiz enabled or disabled, all is working fine.

#2 Updated by kervala about 8 years ago

  • Category changed from Client: General to NeL: General

#3 Updated by vbmithr about 8 years ago

I’m using the opensource radeon drivers with an ATI r500 card. Yes, they are probably highly objectable, but I can use only those. It might be a driver bug rather than a bug in NeL though :)

#4 Updated by kervala about 8 years ago

We have to investigate further because with Compiz under Gnome and NVidia driver, it's working fine :)

#5 Updated by kervala about 8 years ago

  • Category changed from NeL: General to OS: GNU/Linux

#6 Updated by gardon over 7 years ago

vbmithr wrote:

I’m using the opensource radeon drivers with an ATI r500 card. Yes, they are probably highly objectable, but I can use only those. It might be a driver bug rather than a bug in NeL though :)

I have a newer ATI, same opensource drivers:

1 - Flickering happens on other games like Enemy Territory and Tremulous. On those, disabling compositing on KDE (Gentoo) solves.
2 - Performance is still an issue on Ryzom. Even setting graphic options to low, it's slow, dropping frames, and oddly, consuming a whole CPU core (seems to be using sofware rendering?)

#7 Updated by kervala over 7 years ago

Please could you post information about your card on the page : http://dev.ryzom.com/wiki/ryzom/OpenGLSupportedExtensions ?

Thanks :)

#8 Updated by gardon over 7 years ago

Did it!

I'm still fighting to keep performance up. I got KMS now, but performance is even slower. Trying to upgrade to dev versions of the drivers, might get better results.

#9 Updated by kervala over 7 years ago

Thanks :)

I suspect NeL to choose a slow GLX Visual :(

#10 Updated by gardon over 7 years ago

Mmm, I'm now playing in windowed mode, around 1280x960. After upgrading drivers and overclocking (:P) I got a slightly better performance, but still it doesn't make sense, should be much better. Well, also I need to point that when I'm playing, one core of my CPU is constantly at 100% use (it is an Athlon 2 X3/4 and it's overclocked to 3300MHz)

#11 Updated by gardon over 7 years ago

kervala, is there some way I can assert this? Some debug info to help out?

#12 Updated by kervala over 7 years ago

Your core at 100% is normal, because Ryzom is forcing the use of only one core to avoid some sync problems.

Please could you try ATI proprietary driver only to compare (and eventually post your glxinfo for it) ?

#13 Updated by gardon over 7 years ago

I tried yesterday, same results. One thing I noticed. It doesn't matter the resolution or graphics settings. When I'm in a fully-loaded ambient, like when I'm still at some point or a the character selection screen, it's perfectly smooth. When I move and it seems to load more graphical data (landscape mostly) the laggin appears, even on really slow resolutions. Seems like if there is an issue on loading the graphics on the board's RAM =/

Also, using fglrx the textures look much better

#14 Updated by gardon over 7 years ago

Typo: "... even on really low resolutions"

#15 Updated by gardon over 7 years ago

UPDATING:

Seems the performance issue was related to low memory on GPU, usign open-source radeon I manually set the memory to be a lot greater (shared 1GB o.O) and no more lags. Still the textures are not being properly displayed =/ Probably because I'm not running DRI2, which has a lot more GL extensions (will try later)

#16 Updated by gardon over 7 years ago

Visible texture issue was solved by setting texture to 128Mb. I just don't see microvegetation and the bloom effect is said to not be supported.

#17 Updated by kervala over 7 years ago

Ah yes Ryzom needs at least 128 MB by default (I don't know if 64 MB mode is still working...)

#18 Updated by gardon over 7 years ago

well, last update, enabling KMS (and therefore DRI2) again now and I even hav the bloom effect. But still no microveg and now the shadows are rendered like big darker squares (wrong shape). Performance is great now.

Oh, the card is supposed to have 256Mb, but I think it the texture buffer is set to 50% of that, by default.

#19 Updated by gardon over 7 years ago

The water is also invisible

#20 Updated by kervala over 7 years ago

The bug with water and other shaders parts has been fixed in Hg :)

#21 Updated by Khudsa over 7 years ago

Hello, I have the Ryzom client uptdated to the last patch (1.11). My system specs are:

- Phenom X6 1055
- 8 Gb ram dd3
- AMD/ATI 5750 with the last Catalyst drivers (11.2)
- OS Ubuntu 10.10

I don't have the flickering isue but I have the bad perfomance problem. I have tested the game with 1650x1080 screen resolution and:

- With and without compiz.
- With and without tear free desktop (new feature with ATI drivers).
- Low, medium and high settings.
- Low (32), medium (64) and high (128) textures.
- With and without VBL Syncro.

The performance is bad in all cases making the game lag continually. Most of the time, after 15-30 min of gaming, it shows a window with a connection problem icon (network problem?) making the game totally unplayable (almost frozen). Sometimes when I enter the world it takes a lot of time to load all the houses, people, landscape etc. meanwhile I see white smoke and people or objects floating until all is loaded, with the network icon and the game frozen.

And to finish, when I log into the game, the character selection screen is totally smooth.

#22 Updated by kervala over 7 years ago

Could it be related to your HDD ? speed ? fragmentation ?

Ryzom is continuously streaming 3d models and textures from data folder.

#23 Updated by Khudsa over 7 years ago

The HDD (1 TB Seagate) seems to be OK, the SMART says it. Also no problems coping files (larger or not) or playing another demanding games/tasks. I have checked the fragmentation with e2freefrag and filefrag on the partition and the data directory of ryzom and seems to be ok. The HDD doesn't seems to be the problem.

I have noticed that when a big transition happen (day/night) the game get frozen. I have also run the game in the terminal but it doesn't output anything.

#24 Updated by Yusei over 7 years ago

My problem is similar to Khudsa, but with lower quality hardware:
- ATI Radeon HD 5450 with proprietary drivers
- Core i3 processor (3.2 GHz)
- 3 Gb of RAM
- no compositing

The performance is bad with the lowest settings under GNU/Linux. The game is playable if few characters are displayed, but becomes so laggy when I'm in a team that I can't do anything useful.

Under Windows 7, with the best graphics settings, everything works very well.

I'd rather play under GNU/Linux, so I'm willing to spend some time on this problem.

Also available in: Atom PDF