compiz-manager script not correct detected memory size nvidia card... Fix: see patch
Responsible Changed From-To: freebsd-bugs->rnoland Ports PR.
Please add my patch, it is edible :-)
Responsible Changed From-To: rnoland->freebsd-ports-bugs Reassign to the heap
Responsible Changed From-To: freebsd-ports-bugs->stephen I'll have a go with this.
State Changed From-To: open->feedback I cannot get compiz to work, and I have questions.
Dear Ivan, I have been trying to get this port to work, with your changes. First, this port seems to require glxinfo (from graphics/mesa-demos) and nvidia-settings to work. So they need to be part of RUN_DEPENDS. But even then, when I try it out on my computer (which has a NVIDIA-7600, so I think I should see something), I don't get all the nice 3D effects - instead my window manager stops working. What else do I need to do to make this work? If I can get this working on my computer, then I will commit it. When I ran compiz-manager from my terminal, I got the following messages. I don't know if this will help diagnose anything. Checking for Xgl: not present. xset q doesn't reveal the location of the log file. Using fallback /var/log/Xorg.0.log Checking for texture_from_pixmap: present. Checking for non power of two support: present. Checking for Composite extension: present. Comparing resolution (1280x1024) to maximum 3D texture size (4096): Passed. Checking for nVidia: present. Checking for FBConfig: present. Checking for Xgl: not present. Starting gtk-window-decorator
=D0=92 Sat, 09 Jul 2011 22:24:41 -0500 Stephen Montgomery-Smith <stephen@missouri.edu> =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Dear Ivan, >=20 > I have been trying to get this port to work, with your changes. >=20 > First, this port seems to require glxinfo (from graphics/mesa-demos) > and nvidia-settings to work. So they need to be part of RUN_DEPENDS. Maybe ... I have not tried to fix the whole port, I only corrected the path to the library GL (with regard to his work with graphics cards from nvidia (/usr/ports/x11/nvidia-driver*) ) and correct detection of video RAM. original version: # nvidia-settings -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d= : -f3 | sed 's/[^0-9]//g' egrep: No match. with my changes: # nvidia-settings -q VideoRam | grep "Attribute 'VideoRam'" | cut -d: -f3 |= sed 's/[^0-9]//g'=20 262144 >=20 > But even then, when I try it out on my computer (which has a=20 > NVIDIA-7600, so I think I should see something), I don't get all the=20 > nice 3D effects - instead my window manager stops working. >=20 > What else do I need to do to make this work? If I can get this > working on my computer, then I will commit it. I do not know how to help you ... It is possible to look for files with names like compiz_crash-<pid proc>.ou= t and to investigate what caused damage >=20 > When I ran compiz-manager from my terminal, I got the following=20 > messages. I don't know if this will help diagnose anything. >=20 > Checking for Xgl: not present. > xset q doesn't reveal the location of the log file. Using fallback=20 > /var/log/Xorg.0.log > Checking for texture_from_pixmap: present. > Checking for non power of two support: present. > Checking for Composite extension: present. > Comparing resolution (1280x1024) to maximum 3D texture size (4096): > Passed. Checking for nVidia: present. > Checking for FBConfig: present. > Checking for Xgl: not present. > Starting gtk-window-decorator >=20 >=20
Ivan, Did you get compiz to work on your computer? Or did you just correct these two errors? (And I agree that they are good fixes.) Thanks, Stephen
=D0=92 Sun, 10 Jul 2011 09:55:26 -0500 Stephen Montgomery-Smith <stephen@missouri.edu> =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Ivan, >=20 > Did you get compiz to work on your computer? Or did you just correct=20 > these two errors? (And I agree that they are good fixes.) >=20 > Thanks, Stephen >=20 >=20 compiz works for me anyway and i use it long enough. http://www.youtube.com/watch?v=3DQ7lbMR8Gc28 http://www.youtube.com/watch?v=3D2pzZl8AKhMI
On 07/10/2011 10:17 AM, Ivan Klymenko wrote: > Ð Sun, 10 Jul 2011 09:55:26 -0500 > Stephen Montgomery-Smith<stephen@missouri.edu> пиÑеÑ: > >> Ivan, >> >> Did you get compiz to work on your computer? Or did you just correct >> these two errors? (And I agree that they are good fixes.) >> >> Thanks, Stephen >> >> > compiz works for me anyway > and i use it long enough. > > http://www.youtube.com/watch?v=Q7lbMR8Gc28 > http://www.youtube.com/watch?v=2pzZl8AKhMI Are you using "emerald" instead of "gtk-windowdresser"? That might be what is making it work for you. I'll try emerald later today.
=D0=92 Sun, 10 Jul 2011 10:27:22 -0500 Stephen Montgomery-Smith <stephen@missouri.edu> =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > On 07/10/2011 10:17 AM, Ivan Klymenko wrote: > > =D0=92 Sun, 10 Jul 2011 09:55:26 -0500 > > Stephen Montgomery-Smith<stephen@missouri.edu> =D0=BF=D0=B8=D1=88=D0= =B5=D1=82: > > > >> Ivan, > >> > >> Did you get compiz to work on your computer? Or did you just > >> correct these two errors? (And I agree that they are good fixes.) > >> > >> Thanks, Stephen > >> > >> > > compiz works for me anyway > > and i use it long enough. > > > > http://www.youtube.com/watch?v=3DQ7lbMR8Gc28 > > http://www.youtube.com/watch?v=3D2pzZl8AKhMI >=20 >=20 > Are you using "emerald" instead of "gtk-windowdresser"? That might > be what is making it work for you. I'll try emerald later today. >=20 >=20 I used the compiz with different windows decorators... now I use emerald (it is used by default in compiz-manager script) ... # Use emerald by default if it exist USE_EMERALD=3D"yes" ... gtk-window-decorator used previously wrote for this option in ccsm "gtk-window-decorator --replace" in windows decorator command and USE_EMERALD=3D"no" in compiz-manager script...
On 07/10/2011 10:52 AM, Ivan Klymenko wrote: > Ð Sun, 10 Jul 2011 10:27:22 -0500 > Stephen Montgomery-Smith<stephen@missouri.edu> пиÑеÑ: > >> On 07/10/2011 10:17 AM, Ivan Klymenko wrote: >>> Ð Sun, 10 Jul 2011 09:55:26 -0500 >>> Stephen Montgomery-Smith<stephen@missouri.edu> пиÑеÑ: >>> >>>> Ivan, >>>> >>>> Did you get compiz to work on your computer? Or did you just >>>> correct these two errors? (And I agree that they are good fixes.) >>>> >>>> Thanks, Stephen >>>> >>>> >>> compiz works for me anyway >>> and i use it long enough. >>> >>> http://www.youtube.com/watch?v=Q7lbMR8Gc28 >>> http://www.youtube.com/watch?v=2pzZl8AKhMI >> >> >> Are you using "emerald" instead of "gtk-windowdresser"? That might >> be what is making it work for you. I'll try emerald later today. >> >> > > I used the compiz with different windows decorators... > now I use emerald (it is used by default in compiz-manager script) Yes, but it won't use emerald unless it is installed. And I wouldn't have thought to install it without having seen your youtube videos. Anyway, I'm going to go ahead and commit your partial fixes. But maybe we can continue this discussion and decide what RUN_DEPENDS we need to add.
=D0=92 Sun, 10 Jul 2011 10:56:47 -0500 Stephen Montgomery-Smith <stephen@missouri.edu> =D0=BF=D0=B8=D1=88=D0=B5=D1= =82: > Yes, but it won't use emerald unless it is installed. And I wouldn't=20 > have thought to install it without having seen your youtube videos. >=20 > Anyway, I'm going to go ahead and commit your partial fixes. But > maybe we can continue this discussion and decide what RUN_DEPENDS we > need to add. ok. may add an default option: WITH_EMERALD=3Dtrue
On 07/10/2011 11:03 AM, Ivan Klymenko wrote: > Ð Sun, 10 Jul 2011 10:56:47 -0500 > Stephen Montgomery-Smith<stephen@missouri.edu> пиÑеÑ: > >> Yes, but it won't use emerald unless it is installed. And I wouldn't >> have thought to install it without having seen your youtube videos. >> >> Anyway, I'm going to go ahead and commit your partial fixes. But >> maybe we can continue this discussion and decide what RUN_DEPENDS we >> need to add. > ok. > > may add an default option: > WITH_EMERALD=true I cannot do that because compiz is a dependency of emerald, and this would create a loop in the dependencies. And anyway, installing emerald didn't fix it for me. If you ever work out what else is needed to make it work, email me or submit another PR. So I think I will just stick with adding RUN_DEPENDS= glxinfo:${PORTSDIR}/graphics/mesa-demos \ nvidia-settings:${PORTSDIR}/x11/nvidia-settings
stephen 2011-07-12 05:27:57 UTC FreeBSD ports repository Modified files: x11-wm/compiz Makefile pkg-message x11-wm/compiz/files compiz-manager.in Log: - Fix compiz-manager script to work with Nvidia graphics card. - Add run_depends needed by compiz-manager script. - Portlint. - Bump portrevision. PR: ports/151137 Submitted by: Ivan Klymenko <fidaj@ukr.net> Approved by: gabor (mentor) Revision Changes Path 1.31 +4 -3 ports/x11-wm/compiz/Makefile 1.2 +2 -2 ports/x11-wm/compiz/files/compiz-manager.in 1.2 +0 -1 ports/x11-wm/compiz/pkg-message _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, thanks.