Intel945gme显卡在8.04中的驱动安装和打开特效(hp520)
-
- 帖子: 6
- 注册时间: 2007-05-25 20:47
Intel945gme显卡在8.04中的驱动安装和打开特效(hp520)
我机器是hp520。在安装完8.04后,屏幕分辨率正常,但无法打开特效。运行glxinfo | grep rendering后,发现direct rendering : NO 从老外那找到一种解决方法,与需要的朋友共享一下。[注意]需要能够连接到源才可以。
1. #lspci -vn | grep VGA | awk '{ print $3 }'
2. 查看输出是否为8086:27ae。
3. 如果是,则说明你的显卡为945gme显卡,8.04的内核有个bug, 不能正确识别945gme的显卡(但可以正确识945gm 汗!)。解决方法是重新编译内核。外国的哥们很厚道,写了一个自动编译内核的脚本,可以修复这个错误。脚本在附件中。
4. $tar -xvvf 945.tar
5. $chmod +x 945correct.sh 给脚本增加执行权限。
6. ./945correct.sh
7. 脚本会自动安装编译需要的工具和下载源码,重新编译内核并安装。可能会需要1小时。然后重启。
8. 测试:
8.1 $glxinfo | grep rendering 输出:direct rendering : Yes;
8.2 打开普通特效,正常;
8.3 打开全部特效,X死掉,重启后正常。
至此,问题解决。Have fun.
老外的原贴:http://ubuntuforums.org/showthread.php?t=735539
1. #lspci -vn | grep VGA | awk '{ print $3 }'
2. 查看输出是否为8086:27ae。
3. 如果是,则说明你的显卡为945gme显卡,8.04的内核有个bug, 不能正确识别945gme的显卡(但可以正确识945gm 汗!)。解决方法是重新编译内核。外国的哥们很厚道,写了一个自动编译内核的脚本,可以修复这个错误。脚本在附件中。
4. $tar -xvvf 945.tar
5. $chmod +x 945correct.sh 给脚本增加执行权限。
6. ./945correct.sh
7. 脚本会自动安装编译需要的工具和下载源码,重新编译内核并安装。可能会需要1小时。然后重启。
8. 测试:
8.1 $glxinfo | grep rendering 输出:direct rendering : Yes;
8.2 打开普通特效,正常;
8.3 打开全部特效,X死掉,重启后正常。
至此,问题解决。Have fun.
老外的原贴:http://ubuntuforums.org/showthread.php?t=735539
- 附件
-
- 945.tar
- 自动编译脚本
- (10 KiB) 已下载 341 次
-
- 帖子: 6
- 注册时间: 2008-05-03 8:57
请问楼主 我在编译时总出现 No such file or directory 如:
weisongbo@weisongbo-laptop:~$ lspci -vn | grep VGA | awk '{ print $3 }'
8086:27ae
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
weisongbo@weisongbo-laptop:~$ $tar -xvvf 945.tar
bash: -xvvf: command not found
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
weisongbo@weisongbo-laptop:~$ chmod +x 945correct.sh
chmod: cannot access `945correct.sh': No such file or directory
weisongbo@weisongbo-laptop:~$ ./945correct.sh
bash: ./945correct.sh: No such file or directory
weisongbo@weisongbo-laptop:~$
还望您能指教
weisongbo@weisongbo-laptop:~$ lspci -vn | grep VGA | awk '{ print $3 }'
8086:27ae
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
weisongbo@weisongbo-laptop:~$ $tar -xvvf 945.tar
bash: -xvvf: command not found
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
weisongbo@weisongbo-laptop:~$ chmod +x 945correct.sh
chmod: cannot access `945correct.sh': No such file or directory
weisongbo@weisongbo-laptop:~$ ./945correct.sh
bash: ./945correct.sh: No such file or directory
weisongbo@weisongbo-laptop:~$
还望您能指教
- 内存不足
- 论坛版主
- 帖子: 3277
- 注册时间: 2005-08-18 18:43
- 联系:
- 内存不足
- 论坛版主
- 帖子: 3277
- 注册时间: 2005-08-18 18:43
- 联系:
-
- 帖子: 2
- 注册时间: 2008-05-25 15:19
我按照楼主的方法作的,但是不成功!
Here's what will happen:
1. Check if you even need this
2. Download kernel sources in /home/xiaodou/src
3. Modify kernel sources to include the definition for Intel i945GME
4. Compile the kernel
5. Install the kernel
================================
Now installing packages necessary for compiling kernel
================================
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
linux-kernel-devel 已经是最新的版本了。
fakeroot 已经是最新的版本了。
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 113 个软件未被升级。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
E: 无法打开文件 /var/lib/apt/lists/ubuntu.csie.ntu.edu.tw_ubuntu_dists_hardy_main_source_Sources - open (2 没有该文件或目录)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
E: 无法打开文件 /var/lib/apt/lists/ubuntu.csie.ntu.edu.tw_ubuntu_dists_hardy_main_source_Sources - open (2 没有该文件或目录)
./945correct.sh: line 43: cd: linux-2.6.24/: 没有该文件或目录
================================
Updating architecture
================================
chmod: 无法访问“debian/scripts/misc/splitconfig.pl”: 没有该文件或目录
./945correct.sh: line 49: debian/rules: 没有该文件或目录
================================
Adding graphics card definition to kernel
================================
sed:无法读取 drivers/char/drm/i915_drv.h:没有该文件或目录
sed:无法读取 debian/changelog:没有该文件或目录
================================
Building the kernel
================================
/usr/bin/fakeroot: 166: debian/rules: not found
================================
Done building kernel
Installing new kernel
================================
vesafb
fbcon
dpkg:处理 linux*deb (--install)时出错:
无法访问打包文件: 没有该文件或目录
在处理时有错误发生:
linux*deb
Please reboot for new kernel to take effect
请问这是为什么?我是新手,请多指教!
Here's what will happen:
1. Check if you even need this
2. Download kernel sources in /home/xiaodou/src
3. Modify kernel sources to include the definition for Intel i945GME
4. Compile the kernel
5. Install the kernel
================================
Now installing packages necessary for compiling kernel
================================
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
linux-kernel-devel 已经是最新的版本了。
fakeroot 已经是最新的版本了。
build-essential 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 113 个软件未被升级。
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
E: 无法打开文件 /var/lib/apt/lists/ubuntu.csie.ntu.edu.tw_ubuntu_dists_hardy_main_source_Sources - open (2 没有该文件或目录)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
读取状态信息... 完成
E: 无法打开文件 /var/lib/apt/lists/ubuntu.csie.ntu.edu.tw_ubuntu_dists_hardy_main_source_Sources - open (2 没有该文件或目录)
./945correct.sh: line 43: cd: linux-2.6.24/: 没有该文件或目录
================================
Updating architecture
================================
chmod: 无法访问“debian/scripts/misc/splitconfig.pl”: 没有该文件或目录
./945correct.sh: line 49: debian/rules: 没有该文件或目录
================================
Adding graphics card definition to kernel
================================
sed:无法读取 drivers/char/drm/i915_drv.h:没有该文件或目录
sed:无法读取 debian/changelog:没有该文件或目录
================================
Building the kernel
================================
/usr/bin/fakeroot: 166: debian/rules: not found
================================
Done building kernel
Installing new kernel
================================
vesafb
fbcon
dpkg:处理 linux*deb (--install)时出错:
无法访问打包文件: 没有该文件或目录
在处理时有错误发生:
linux*deb
Please reboot for new kernel to take effect
请问这是为什么?我是新手,请多指教!
-
- 帖子: 794
- 注册时间: 2008-01-30 19:19
[quote="weisongbo"]请问楼主 我在编译时总出现 No such file or directory 如:
weisongbo@weisongbo-laptop:~$ lspci -vn | grep VGA | awk '{ print $3 }'
8086:27ae
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
^^^^^^^^^^^ 从这里开始,连945.rar都没有,怎么解包编译执行啊???
哎
weisongbo@weisongbo-laptop:~$ lspci -vn | grep VGA | awk '{ print $3 }'
8086:27ae
weisongbo@weisongbo-laptop:~$ tar -xvvf 945.tar
tar: 945.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
^^^^^^^^^^^ 从这里开始,连945.rar都没有,怎么解包编译执行啊???
哎
-
- 帖子: 14
- 注册时间: 2008-01-14 13:07
- 系统: windows
- 来自: 三全路文化路
- 联系:
-
- 帖子: 128
- 注册时间: 2007-11-12 11:20
-
- 帖子: 6
- 注册时间: 2007-05-25 20:47
-
- 帖子: 14
- 注册时间: 2008-01-14 13:07
- 系统: windows
- 来自: 三全路文化路
- 联系: