[问题]linux中如何调整集成显卡内存大小
- ghostdomcode
- 帖子: 151
- 注册时间: 2006-03-03 20:55
- 来自: 上海南汇大学城
- 联系:
[问题]linux中如何调整集成显卡内存大小
我用的是联想旭日150笔记本,
显卡是intel855集成显卡.安装了ubuntu5.10
没装显卡驱动(不会装).近期安装了cedega打魔兽3,进去后很卡很卡,不能玩.可是在windows里很顺畅的.
所以我想调整集成显卡的显存(因为是从内存里划的)
可是在BIOS里没有调显存大小的选项.后来去官网查了查,是因为这块显卡的显存是操作系统自动分配的(windows中自动分配了64M).
请问有没有人知道如何在ubuntu里调啊???
显卡是intel855集成显卡.安装了ubuntu5.10
没装显卡驱动(不会装).近期安装了cedega打魔兽3,进去后很卡很卡,不能玩.可是在windows里很顺畅的.
所以我想调整集成显卡的显存(因为是从内存里划的)
可是在BIOS里没有调显存大小的选项.后来去官网查了查,是因为这块显卡的显存是操作系统自动分配的(windows中自动分配了64M).
请问有没有人知道如何在ubuntu里调啊???
- nobrain
- 帖子: 808
- 注册时间: 2005-08-25 13:58
- 来自: ustc
- 联系:
-
- 帖子: 1074
- 注册时间: 2006-01-18 15:01
我的是915,但用的驱动是一样的,都是i810
glxinfo |grep direct
查看是否已经打开3D加速,如果是yes就行。
如果不是
sudo gedit /etc/X11/xorg.conf
将
Section "Device"
Identifier "Intel 915GM"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 65536
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
类似这一段的Driver 该为 "i810"
显存最大可能大小就是VideoRam 调节的
另外,i855,i915系列的集成显卡确实是自动动态分配显存的,BIOS不可设置。这在Intel的技术文档里是明确提到的。
Ctrl+alt+backspace重启X,就可以了。
系统自带的i810驱动是可以3D加速的,如果另外装了DRI,反而有问题,通常都是Driver被认成了vesa才会加速不了的。
glxinfo |grep direct
查看是否已经打开3D加速,如果是yes就行。
如果不是
sudo gedit /etc/X11/xorg.conf
将
Section "Device"
Identifier "Intel 915GM"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 65536
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
类似这一段的Driver 该为 "i810"
显存最大可能大小就是VideoRam 调节的
另外,i855,i915系列的集成显卡确实是自动动态分配显存的,BIOS不可设置。这在Intel的技术文档里是明确提到的。
Ctrl+alt+backspace重启X,就可以了。
系统自带的i810驱动是可以3D加速的,如果另外装了DRI,反而有问题,通常都是Driver被认成了vesa才会加速不了的。
- nobrain
- 帖子: 808
- 注册时间: 2005-08-25 13:58
- 来自: ustc
- 联系:
4楼的朋友,我照你说的把DRI都注释掉了,但是重启之后,打开planetpenguin-racer很卡,有DRI的时候,还有25fps,但是现在只有1fps了。
现在
glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
之前,direct rendering还是yes
下面是我改过的xorg.conf的一部分,与DRI有关的部分已经注释掉了。
现在
glxinfo | grep direct
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
之前,direct rendering还是yes
下面是我改过的xorg.conf的一部分,与DRI有关的部分已经注释掉了。
代码: 全选
Section "Module"
Load "GLcore"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "Device"
Identifier "Intel Corporation 82852/855GM Integrated Graphics Device"
Driver "i810"
BusID "PCI:0:2:0"
VideoRam 65536
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
#Section "DRI"
# Mode 0666
#EndSection
上次由 nobrain 在 2006-03-21 21:59,总共编辑 1 次。
爱喝真猪奶茶的夜鸣猪
-
- 帖子: 1074
- 注册时间: 2006-01-18 15:01
- nobrain
- 帖子: 808
- 注册时间: 2005-08-25 13:58
- 来自: ustc
- 联系:
看了一下 /var/log/Xorg.0.log,有这样一段:
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 8000 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
是不是这里导致的不能3D加速啊?
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 8000 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller
(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
是不是这里导致的不能3D加速啊?
爱喝真猪奶茶的夜鸣猪
- nobrain
- 帖子: 808
- 注册时间: 2005-08-25 13:58
- 来自: ustc
- 联系:
-
- 帖子: 1074
- 注册时间: 2006-01-18 15:01
- nobrain
- 帖子: 808
- 注册时间: 2005-08-25 13:58
- 来自: ustc
- 联系:
-
- 帖子: 335
- 注册时间: 2005-06-12 12:23
终于碰到一样的本本了
偶也是想试试xgl,但是不知道i852/855的显卡在ubuntu下怎么样,是不是需要安装最新的intel显卡驱动?