View Single Post
Old 06-21-08, 10:12 AM   #1
kenorb
Registered User
 
Join Date: Jun 2008
Posts: 1
Default Compize (compiz/beryl) very very slow on nVidia

Hi,
I've HP dv6277ea Pavilion laptop with integrated followed nVidia card:
vgapci0@pci0:1:0:0: class=0x030000 card=0x30bb103c chip=0x01d810de rev=0xa1 hdr=0x00
vendor = 'Nvidia Corp'
device = 'Quadro NVS 120M / GeForce Go 7400'

I'm using lastest FreeBSD 7.0-STABLE #4 with nVidia 173.14.09 driver.
I don't have any problems with KDE and rendering using other softwares like glchess, gliv, even Quake 3 under wine works very fast (exempt some nvidia driver crashes sometimes).
Basically I've problem during Composite under compiz or beryl.

After running command:
compiz --replace ccp &
...my KDE almost freeze. Sometimes I can write something, sometimes not (I don't see what I write, but I when I write kwin --replace, then everything back to normal). Sometimes I see black windows during painting, black rectangles (see nvidia-black-rect-bottom.jpg at the bottom of image) or most of the screen is black, until I'll hover somewhere), sometimes I see pixels with different colors (see attachment: nvidia_problem_1.jpg). When I have lucky and compiz is loaded properly, when I'm moving the windows or choosing some options from menu or any operation it is very very slow, like there is no any graphics rendering or even worse.
I spent some looking for this issue on google, there is lots of similar problems, but without any progress, I tried different options in xorg.conf, different parameters of compiz and beryl (I tried AIGLX = true as well). I read only about some black window bug where is no VRAM (so I don't think so it's the problem).

BTW. beryl:
After run: beryl --replace &
all options are passed, but there is only one error: 'beryl: Error int SHM creation' and after this it starts. I tried some patches which I found on internet, but without any result.

After going back to kwin, everything back to normal, the only effect that starting to work it's sometimes fade in and fade out when I click some menu.

Before I'd PC-BSD 6.2 or something, but I couldn't configure it as well.

My versions of packages are up-to-date:
> pkg_version -v | egrep 'dri|mesa|nvidia|xorg|compiz|beryl'
beryl-0.2.1_1 = up-to-date with port
beryl-core-0.2.1_2 = up-to-date with port
compiz-0.6.2_2 = up-to-date with port
dri-7.0.3_1,2 = up-to-date with port
libcompizconfig-0.6.0 = up-to-date with port
linux-xorg-libs-6.8.2_5 = up-to-date with port
linux_dri-7.0 = up-to-date with port
nvidia-driver-173.14.09 = up-to-date with port
nvidia-settings-173.14.09 = up-to-date with port
nvidia-xconfig-1.0_2 = up-to-date with port
xdriinfo-1.0.2 = up-to-date with port
xf86driproto-2.0.3 = up-to-date with port
xorg-7.3_1 < needs updating (port has 7.3_2)
xorg-server-1.4.2,1 = up-to-date with port

Some crash from of Xorg.core:
#0 0x2846a95b in kill () from /lib/libc.so.7
#1 0x2838fb52 in raise () from /lib/libthr.so.3
#2 0x28469654 in abort () from /lib/libc.so.7
#3 0x080a06a6 in ddxGiveUp ()
#4 0x081a899c in AbortServer ()
#5 0x081a8e8d in FatalError ()
#6 0x080bcebf in xf86SigHandler ()
#7 <signal handler called>
#8 0x294bc353 in _nv002738X () from /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
#9 0xbfbfe658 in ?? ()
...
#16 0x2968c1a0 in ?? () from /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
...
#20 0x294e3bd2 in _nv002738X () from /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
...
#34 0x294e3b00 in _nv002738X () from /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
Sometimes even crashes after I click some menu.

So I don't have idea what's wrong and basically why compiz doesn't work.
Any help?
Thanks.
Attached Thumbnails
Click image for larger version

Name:	nvidia_problem_1.jpg
Views:	201
Size:	48.5 KB
ID:	32014  Click image for larger version

Name:	nvidia-black-rect-bottom.jpg
Views:	247
Size:	153.6 KB
ID:	32016  
Attached Files
File Type: log nvidia-bug-report.log (78.5 KB, 177 views)
kenorb is offline   Reply With Quote