关于xgl导致Compiz无法运行的问题。

各种窗口管理器和美化相关
回复
emyself
帖子: 54
注册时间: 2007-07-09 18:53

关于xgl导致Compiz无法运行的问题。

#1

帖子 emyself » 2008-06-22 18:58

1.compiz 无法运行

代码: 全选

Checking for Xgl: not present. 
Detected PCI ID for VGA: 02:00.0 0300: 10de:0393 (rev a1) (prog-if 00 [VGA controller])
Checking for texture_from_pixmap: not present. 
Trying again with indirect rendering:
Checking for texture_from_pixmap: not present. 
aborting and using fallback: /usr/bin/metacity 

2.xgl状态

代码: 全选

chan@chan-ubuntu:~$ glxinfo
name of display: :0.0
Error: glXCreateContext failed

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0 1869902965 1651863141 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0 1818781545 1747873391 None
0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16 1633824366 1869902965 None
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16 1768712295 1768435310 None
0x27 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  0  0  0  0  0 705312613 1650812517 None
0x28 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0 1970238055 1801675106 None
0x29 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  8 16 16 16 16 705310769 808529969 None
0x2a 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  8 16 16 16 16 1298492528 1835619114 None
0x83 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0 154821742 1970238055 Ncon

3.重新安装驱动程序。

代码: 全选

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Jun 22 18:11:14 2008
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.09.
-> There appears to already be a driver installed on your system (version: 173.
   14.05).  As part of installing this driver (version: 173.14.09), the existin
   g driver will be uninstalled.  Are you sure you want to continue? ('no' will
   abort installation) (Answer: Yes)
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.24-19-rt/build'
-> Kernel output path: '/lib/modules/2.6.24-19-rt/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.24-19-rt/bu
   ild SYSOUT=/lib/modules/2.6.24-19-rt/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.24-19-rt/build SUBDIRS=/tmp
   /selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_ver
   sions ; rm -f /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tm
   p_versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz6590/NVIDIA-Linux-x86-173.14.0
   9-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.nv.
   o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL
   __  -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prot
   otypes -Wno-trigraphs -fno-stric
   t-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msof
   t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2  -march
   =i586 -mtune=generic -ffreestanding -maccumulate-outgoing-args   -Iinclude/a
   sm-x86/mach-default -fomit-frame-pointer -g  -fno-stack-protector -Wdeclarat
   ion-after-statement -Wno-pointer-sign   -I/tmp/selfgz6590/NVIDIA-Linux-x86-1
   73.14.09-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
   char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD   -
   Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
   RSION_STRING=\"173.14.09\" -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR
   (s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvi
   dia)" -c -o /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_
   nv.o /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:85,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:19,
                    from /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: 在函数‘prefetch_range’中:
   include/linux/prefetch.h:57: 警告: ‘void *’型指针用在了算术è
   ¡¨è¾¾å¼ä¸­
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:88,
                    from include/linux/pci.h:796,
                    from /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv-linux.h:86,
                    from /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/scatterlist.h: 在函数‘sg_virt’中:
   include/linux/scatterlist.h:293: 警告: ‘void *’型指针用在了算
   术表达式中
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c: 在函数â€
   ˜nv_alloc_file_private’中:
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:1887: 错误
   : 隐式声明函数‘__SEMAPHORE_INITIALIZER’
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:1887: 错误
   : 无效的初始化语句
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c: 在函数â€
   ˜nv_lock_init_locks’中:
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:3808: 错误
   : 无效的初始化语句
   /tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:3809: 错误
   : 无效的初始化语句
   make[3]: *** [/tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.
   o] 错误 1
   make[2]: *** [_module_/tmp/selfgz6590/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
   c/nv] 错误 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] 错误 1
   make: *** [module] 错误 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.
emyself
帖子: 54
注册时间: 2007-07-09 18:53

#2

帖子 emyself » 2008-06-22 19:00

我投降了。不知道怎么办?!
头像
cnkilior
论坛版主
帖子: 4984
注册时间: 2007-08-05 17:40

#3

帖子 cnkilior » 2008-06-22 19:03

请卸了xgl

xgl是老式的ati显卡驱动开3d的xserver程序,现在也不要了。

---------------
应该是这样的!
头像
hethe
帖子: 3666
注册时间: 2005-08-01 9:14

#4

帖子 hethe » 2008-06-22 19:11

这年头用xgl就是跟自己过不去
Gedanken ohne Inhalt sind leer .Anschauungen ohne Begriffe sind blind.
emyself
帖子: 54
注册时间: 2007-07-09 18:53

#5

帖子 emyself » 2008-06-22 19:17

cnkilior 写了:请卸了xgl

xgl是老式的ati显卡驱动开3d的xserver程序,现在也不要了。

---------------
应该是这样的!
what can i do!?!
回复