求助;笔记本电脑耳机没有声音。。
其实,也挺简单的,只不过我是个新手,比较生,见笑了。
首先,我想澄清一下,我的 hp520 是 intel 945GME 芯片组的,但是我在网上看到一个一位仁兄说hp520是intel945GM的,于是照着intel 945GM 的装折腾了好几天,无获,google 了好久之后,我发现,intel 945GM的命中结果并不多,所以开始怀疑芯片组弄错了,仔细google了一下,少了一个E。
废话了一断,告诫一下自己。
进入正题
------------------------------------------
方法一
无法开启特效的原因是显卡驱动问题,显卡硬件加速没有打开。
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
OpenGL renderer string: Mesa GLX Indirect
需要更新驱动和DRM
1.安装最新驱动程序xf86-video-intel-2.3.0
下载地址:http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.3.0.tar.gz
$cd xf86-video-intel-2.3.0
$./configure --prefix=/usr
$make
$sudo make install
2.更新DRM
获得DRM 源码
git clone git://anongit.freedesktop.org/git/mesa/drm
编译并且安装libdrm
./autogen.sh --prefix=/usr
make
sudo make install
编译并且安装DRM kernel 模块
make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=i915
sudo cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/
sudo depmod -ae
重启系统,^_^
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GME 20061017 x86/MMX/SSE2
参考文章:
1.Intel 945GME + 2.6.24 = No 3D http://ubuntuforums.org/showthread.php?t=766381
2.Modular X development using the git trees http://wiki.x.org/wiki/Development/git
ps:其中在编译过程中需要安装许多的包,由于没有做笔记,所以先不一一列举,碰到问题,可以把错误发出来。
-------------------------------------------------------------------------------------------------------------------------------------
方法二
下面是我摸索出来的一种新的方法
不用再编译DRM和mesa,
去debain的源发布网站http://packages.debian.org/sid/
下载下列deb包
libgl1-mesa-dev_7.0.3-1_all.deb libglu1-mesa_7.0.3-1_i386.deb
libgl1-mesa-dri_7.0.3-1_i386.deb mesa-common-dev_7.0.3-1_all.deb
libgl1-mesa-glx_7.0.3-1_i386.deb mesa-utils_7.0.3-1_i386.deb
将这些deb拷贝到
然后在控制台用
驱动安装方法,请参照上面。
--------------------------------------------
方法三
Intel945gme显卡在8.04中的驱动安装和打开特效(hp520)
[url]http://forum.ubuntu.org.cn/viewtopic.php?t=120099
[/url]
最后由 vangie 编辑于 2008-05-17 11:14,总共编辑了 4 次
作者: vangie 发布时间: 2008-05-02
希望大哥能指教 我感激不尽
作者: weisongbo 发布时间: 2008-05-03
我显卡原来和lz一样故障:
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
OpenGL renderer string: Mesa GLX Indirect
很不爽。结果发生了很诡异的事,没装新版的xf86-video-intel-2.3.0.tar.gz,就:
~$ glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017
我是这么做的,先
下载:http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.3.0.tar.gz
然后
$tar zxvf xf86-video-intel-2.3.0.tar.gz
$cd xf86-video-intel-2.3.0
$./configure --prefix=/usr
期间把缺的包都装了。
然后改了/etc/X11/xorg.conf,改成这样
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
Boardname "Intel 945"
Busid "PCI:0:2:0"
Driver "intel"
Screen 0
Vendorname "Intel"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1280 800
Modes "1280x800@60"
#Virtual 640 480
#Modes "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
重启就好了。
作者: dsdsdds 发布时间: 2008-05-03
我显卡原来和lz一样故障:
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
GLX_ATI_pixel_format_float, GLX_ATI_render_texture
OpenGL renderer string: Mesa GLX Indirect
很不爽。结果发生了很诡异的事,没装新版的xf86-video-intel-2.3.0.tar.gz,就:
~$ glxinfo |grep render
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061017
我是这么做的,先
下载:http://xorg.freedesktop.org/archive/individual/driver/xf86-video-intel-2.3.0.tar.gz
然后
$tar zxvf xf86-video-intel-2.3.0.tar.gz
$cd xf86-video-intel-2.3.0
$./configure --prefix=/usr
期间把缺的包都装了。
然后改了/etc/X11/xorg.conf,改成这样
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
Boardname "Intel 945"
Busid "PCI:0:2:0"
Driver "intel"
Screen 0
Vendorname "Intel"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Vendorname "Plug 'n' Play"
Modelname "Plug 'n' Play"
# 1280x800 @ 60.00 Hz (GTF) hsync: 49.68 kHz; pclk: 83.46 MHz
Modeline "1280x800@60" 83.46 1280 1344 1480 1680 800 801 804 828 -HSync +Vsync
modeline "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
Gamma 1.0
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1280 800
Modes "1280x800@60"
#Virtual 640 480
#Modes "640x480@60"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
screen 0 "Default Screen" 0 0
Inputdevice "Synaptics Touchpad"
EndSection
Section "Module"
Load "glx"
Load "GLcore"
Load "v4l"
EndSection
Section "ServerFlags"
EndSection
重启就好了。
你的显卡是945GM,不是945GME,据我Google的结果,945GM改一下xorg.conf就可以了。
作者: vangie 发布时间: 2008-05-03
希望大哥能指教 我感激不尽
你编译的时候有没有提示缺少包,或者头文件什么的,我装了一大堆的东西,
可以把你的错误贴出来,一般在最后几行
作者: vangie 发布时间: 2008-05-03
第一个编译就出现下面错误:甚是不解 还望楼主能 救我
weisongbo@weisongbo-laptop:~$ tar zxvf xf86-video-intel-2.3.0.tar.gz
tar: xf86-video-intel-2.3.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
weisongbo@weisongbo-laptop:~$
作者: weisongbo 发布时间: 2008-05-04
第一个编译就出现下面错误:甚是不解 还望楼主能 救我
weisongbo@weisongbo-laptop:~$ tar zxvf xf86-video-intel-2.3.0.tar.gz
tar: xf86-video-intel-2.3.0.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
weisongbo@weisongbo-laptop:~$
你的当前用户对xf86-video-intel-2.3.0.tar.gz有没有读权限,试试
$chmod +r xf86-video-intel-2.3.0.tar.gz
$tar zxvf xf86-video-intel-2.3.0.tar.gz
我照着思路反过来做了一遍,等到一样的错误
vangie@vangie-laptop:~/Backup/x_drv$ tar zxvf xf86-video-intel-2.3.0.tar.gz
tar: xf86-video-intel-2.3.0.tar.gz:无法 open: Permission denied
tar: 错误不可恢复:现在退出
tar: Child returned status 2
tar: 由于前面延迟的错误而退出
作者: vangie 发布时间: 2008-05-04
作者: weisongbo 发布时间: 2008-05-04
作者: weisongbo 发布时间: 2008-05-04
作者: weisongbo 发布时间: 2008-05-04
作者: EcoliSCU 发布时间: 2008-05-04
新立得里的xserver-xorg-video-intel 的驱动对954GME支持不好,开不了桌面特效
作者: vangie 发布时间: 2008-05-04
No package 'xvmc' found
No package 'fontsproto' found
编译的时候发现找不到这些个包,但是新立德又找不到,请问怎么解决阿
作者: justincnn 发布时间: 2008-05-06
上面的几个包都找全了,这个在新利得怎么都找不到
谁来指导下呢
作者: justincnn 发布时间: 2008-05-06
还了哪个地址的源吗?
还是一个个下载安装的
作者: buxing 发布时间: 2008-05-08