nvidia的驱动只提供x86和x86_64两种,现在很多32位系统都可以使用64位的内核,在这种情况下nvidia提供这两种版本就不能使用了,使用x86_64的版本的话,里面的nvidia-installer是64位,所以都不能运行,而使用x86的版本的话检查出当前是64位的内核就不能继续运行,先将NVIDIA-Linux-x86-100.14.19-pkg1.run解压(sh NVIDIA-Linux-x86-100.14.19-pkg1.run -x),然后里面的nvidia-installer的可以运行,但是在后面编译内核的地方失败,失败的原因基本上是usr/src/nv/nv-kernel.o这个文件是32位,不能链接到要编译的64位模块中。
解决这个问题的办法是将x86_64版本里的这个文件拷贝到x86版本中覆盖原来的文件,更改了这个文件的x86版本己可以正确安装了。操作过程如下:
#./NVIDIA-Linux-x86-100.14.19-pkg1.run -x
#./NVIDIA-Linux-x86_64-100.14.19-pkg2.run -x
#cp NVIDIA-Linux-x86_64-100.14.19-pkg2/usr/src/nv/nv-kernel.o NVIDIA-Linux-x86-100.14.19-pkg1/usr/src/nv/nv-kernel.o
#cd NVIDIA-Linux-x86-100.14.19-pkg1
#./nvidia-installer
Wednesday, November 7, 2007
Tuesday, November 6, 2007
系统更新后xfce挂了
昨天apt-get dist-upgrade后进入xfce,就开了几个程序后就不响应鼠标和键盘输入了,但是鼠标还可以在桌面上移动,就是不响应按键了,CTRL+ALT+BS也不响应了。试了几次都是这个情况。
在网上搜索了一下,这个问题和下面的链接说的是一回事:
http://bugzilla.xfce.org/show_bug.cgi?id=3346
xfwm和新的libgtk不兼容,我看了一下的确更新了libgtk2.0-0 (从2.10.13-1更新到了2.12.1-1)。查看了一下xfwm4在sid中的包已经升级到了4.4.1-3,该版本的changelog如下:
Changes:
xfwm4 (4.4.1-3) unstable; urgency=high .
* debian/xfwm4.1: update bugs reporting in manpage.
* debian/xfwm4.menu: switch to new menu policy.
* debian/postinst: use posix kill -s to avoid problems on hurd.
* debian/rules: enable output of distclean target.
* debian/lintian: ignore safe lintian warnings.
* debian/patches/02_fix-xfwm-hang.patch added to fix deadlock with gtk 2.12
urgency=high because gtk 2.12 entered archive so we need to reach testing
before it does.
最后一个更改就是修复这个问题的,将xfwm4更新到4.4.1-3果然解决这个问题
在网上搜索了一下,这个问题和下面的链接说的是一回事:
http://bugzilla.xfce.org/show_bug.cgi?id=3346
xfwm和新的libgtk不兼容,我看了一下的确更新了libgtk2.0-0 (从2.10.13-1更新到了2.12.1-1)。查看了一下xfwm4在sid中的包已经升级到了4.4.1-3,该版本的changelog如下:
Changes:
xfwm4 (4.4.1-3) unstable; urgency=high .
* debian/xfwm4.1: update bugs reporting in manpage.
* debian/xfwm4.menu: switch to new menu policy.
* debian/postinst: use posix kill -s to avoid problems on hurd.
* debian/rules: enable output of distclean target.
* debian/lintian: ignore safe lintian warnings.
* debian/patches/02_fix-xfwm-hang.patch added to fix deadlock with gtk 2.12
urgency=high because gtk 2.12 entered archive so we need to reach testing
before it does.
最后一个更改就是修复这个问题的,将xfwm4更新到4.4.1-3果然解决这个问题
Subscribe to:
Posts (Atom)