nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Compize (compiz/beryl) very very slow on nVidia (http://www.nvnews.net/vbulletin/showthread.php?t=115163)

kenorb 06-21-08 10:12 AM

Compize (compiz/beryl) very very slow on nVidia
3 Attachment(s)
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?

Skalla 07-13-08 04:12 PM

Re: Compize (compiz/beryl) very very slow on nVidia
I have a crash in the same function on FreeBSD 7-STABLE too. I'm running two Dualhead X screen (:0 and :1) on my machine. Sometimes when I'm working on :1 screen gets black and then I'm on the KDM login on :0. The whole :0 crashed while :1 is still fine! nv(4) works perfectly stable albeit very slow.

vgapci0@pci0:1:0:0: class=0x030000 card=0x31501458 chip=0x00f110de rev=0xa2 hdr=0x00
vendor = 'Nvidia Corp'
device = 'NV43+BR02 GeForce 6600 GT AGP'
class = display
subclass = VGA

#0 0x2849da67 in kill () from /lib/libc.so.7
#1 0x283bd0d7 in raise () from /lib/libthr.so.3
#2 0x2849c5da in abort () from /lib/libc.so.7
#3 0x080a25ad in ddxGiveUp ()
#4 0x081b3248 in AbortServer ()
#5 0x081b3796 in FatalError ()
#6 0x080c0013 in xf86SigHandler ()
#7 <signal handler called>
#8 0x2956f6de in _nv002738X ()
from /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
#9 0x08ca3450 in ?? ()
#10 0x08226400 in ?? ()
#11 0xbfbfe924 in ?? ()
#12 0xbfbfe928 in ?? ()
#13 0x081d67cc in ?? ()
#14 0x08264170 in ?? ()
#15 0xbfbfe938 in ?? ()
#16 0x08164b70 in DamageExtensionInit ()
Previous frame inner to this frame (corrupt stack?)

All times are GMT -5. The time now is 09:40 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.