有关一个重启后3D效果消失的问题

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
bayern_de
帖子: 44
注册时间: 2008-06-29 12:34

有关一个重启后3D效果消失的问题

#1

帖子 bayern_de » 2008-11-07 22:53

安装了COMPIZ,以及设置,设置完成后,3D效果一切正常。但是重起后出现一个问题,视觉效果变为无,3D丢失。在网上找了好几天,终于找到可能的解决方法,但是网页打不开。希望有人能将网页的内容贴上来,不胜感激。
网址是
https://answers.launchpad.net/ubuntu/+s ... tion/13803
hesion
帖子: 107
注册时间: 2008-04-19 14:10

Re: 有关一个重启后3D效果消失的问题

#2

帖子 hesion » 2008-11-07 22:57

How to modify compiz fusion's autostart

I am using Gutsy 7.10, and compiz fusion is starting automatically. However, it is using direct-rendering, which gives me the black window Nvidia bug. How can I modify this startup script to make it run compiz --indirect-rendering instead?

And I looked in System -> Preferences -> Sessions, nothing related to compiz there.
Best Bryan Haskins said on 2007-09-22:

This isn't really a real answer... I mean it'll get the job done... but there you have it.
gksu gedit /usr/bin/compiz

right at the very bottom it says:
${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS

Try:
${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS --indirect-rendering "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS

In place of it.
This changes what it run at the end so even if the script sees that you should run with direct rendering, the final exec line has it within. Easier than hacking up the actual script.
Jean Azzopardi said on 2007-09-22:

Thanks for the answer. I've also tried the suggestions in this site : http://forum.compiz-fusion.org/showthread.php?t=2153
回复