hiweed真是不错

Ubuntu各种衍生版本
回复
tangyin
帖子: 11
注册时间: 2007-07-14 17:55

hiweed真是不错

#1

帖子 tangyin » 2007-07-31 0:44

一装上就可以用了。
只有一个问题:我是宽屏啊,怎么把分辨率改成1440*900呢?
头像
xiaosilent
帖子: 513
注册时间: 2006-05-09 9:59
来自: 四川成都
联系:

#2

帖子 xiaosilent » 2007-07-31 1:14

要装显卡的商业驱动


N卡的话,可以用 nvidia-glx / nvidia-xgl-new 装好后,sudo nvidia-xconfig
xaerochina
帖子: 67
注册时间: 2007-02-10 21:14
来自: The Earth
联系:

#3

帖子 xaerochina » 2007-07-31 7:39

按照我的经验,如果驱动搞定了,只要修改xwindow设置就可以了。
Postgraduate majoring in Finance and Economics
My blog: http://econ.shineblog.com
Homepage: http://www.macro2.cn
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#4

帖子 huangjiahua » 2007-07-31 10:18

如果是新的 LCD + 较旧的显卡,需要手工修改下 /etc/X11/xorg.conf
(执行 gksudo leafpad /etc/X11/xorg.conf 来修改)


贴一个 三星 961GW 1440x900 19' 宽屏的 /etc/X11/xorg.conf 配置
参照里边粗体部分
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection


Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection


Section "ServerFlags"
Option "Xinerama" "0"
EndSection


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "@@@"
HorizSync 30 - 81
VertRefresh 56 - 75

Option "DPMS"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection


Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
Option "UseEDID" "False"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "CRT: 1440x900_60 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_60 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"

SubSection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection

EndSection
跃过无数的时间断层,只为了在
tangyin
帖子: 11
注册时间: 2007-07-14 17:55

我用手册上的sudo apt-get install nvidia-glx 安装显卡驱动出现的错误

#5

帖子 tangyin » 2007-08-03 22:22

安装 nvidia-glx-legacy 也是一样virtualbox出错,请问huahua是什么原因啊?
获取:1 http://archive.ubuntu.org.cn dapper-security/restricted nvidia-glx-legacy 1.0.7174+2.6.15.12-28.2 [3061kB]
下载 3061kB,耗时 14s (206kB/s)
(正在读取数据库 ... 系统当前总共安装有 72965 个文件和目录。)
正在删除 nvidia-glx ...
ldconfig: /usr/lib/libgaim.so.0 is not a symbolic link

ldconfig: /usr/lib/libgaim-client.so.0 is not a symbolic link

选中了曾被取消选择的软件包 nvidia-glx-legacy。
(正在读取数据库 ... 系统当前总共安装有 72920 个文件和目录。)
正在解压缩 nvidia-glx-legacy (从 .../nvidia-glx-legacy_1.0.7174+2.6.15.12-28.2_i386.deb) ...
正在设置 virtualbox (1.3.6_Ubuntu_dapper) ...

Creating group 'vboxusers'. VM users must be member of that group!

* Starting VirtualBox kernel module vboxdrv FATAL: Module vboxdrv not found.

* Modprobe vboxdrv failed. Please use 'dmesg' to find out why.
invoke-rc.d: initscript virtualbox, action "start" failed.
dpkg:处理 virtualbox (--configure)时出错:
子进程·post-installation script·返回了错误号·1
正在设置 nvidia-glx-legacy (1.0.7174+2.6.15.12-28.2) ...
ldconfig: /usr/lib/libgaim.so.0 is not a symbolic link

ldconfig: /usr/lib/libgaim-client.so.0 is not a symbolic link


在处理时有错误发生:
virtualbox
E: Sub-process /usr/bin/dpkg returned an error code (1)


huangjiahua 写了:如果是新的 LCD + 较旧的显卡,需要手工修改下 /etc/X11/xorg.conf
(执行 gksudo leafpad /etc/X11/xorg.conf 来修改)


贴一个 三星 961GW 1440x900 19' 宽屏的 /etc/X11/xorg.conf 配置
参照里边粗体部分
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection


Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection


Section "ServerFlags"
Option "Xinerama" "0"
EndSection


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "@@@"
HorizSync 30 - 81
VertRefresh 56 - 75

Option "DPMS"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection


Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
Option "UseEDID" "False"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "CRT: 1440x900_60 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_60 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"

SubSection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection

EndSection
tangyin
帖子: 11
注册时间: 2007-07-14 17:55

另外,用你里边的粗体部分也搞不定啊。。。

#6

帖子 tangyin » 2007-08-03 22:24

huangjiahua 写了:如果是新的 LCD + 较旧的显卡,需要手工修改下 /etc/X11/xorg.conf
(执行 gksudo leafpad /etc/X11/xorg.conf 来修改)


贴一个 三星 961GW 1440x900 19' 宽屏的 /etc/X11/xorg.conf 配置
参照里边粗体部分
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection


Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
EndSection


Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection


Section "ServerFlags"
Option "Xinerama" "0"
EndSection


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "@@@"
HorizSync 30 - 81
VertRefresh 56 - 75

Option "DPMS"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection


Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce4 MX 440 with AGP8X"
Option "UseEDID" "False"
EndSection


Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "metamodes" "CRT: 1440x900_60 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_60 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"

SubSection "Display"
Depth 24
Modes "1440x900" "1024x768" "800x600" "640x480"
EndSubSection

EndSection
tangyin
帖子: 11
注册时间: 2007-07-14 17:55

贴一下我的xorg.conf,请教了!显示器19''宽屏液晶,型号是SyncMaster 940bw, 显卡nVidia

#7

帖子 tangyin » 2007-08-03 22:49

显示器19''宽屏液晶,型号是SyncMaster 940bw, 显卡nVidia GeForce 6100
需要安装驱动么?

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "stylus"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "eraser"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "cursor"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
HorizSync 30 - 81
VertRefresh 56 - 75
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "SyncMaster"
DefaultDepth 24
Option "metamodes" "CRT: 1440x900_60 +0+0; CRT: 1024x768_75 +0+0; CRT: 1024x768_60 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0; CRT: 640x480 +0+0"
SubSection "Display"
Depth 1
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1440x1440" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection

Section "DRI"
Mode 0666
EndSection
头像
huangjiahua
帖子: 3294
注册时间: 2005-03-30 0:27
联系:

#8

帖子 huangjiahua » 2007-08-04 12:22

驱动是安装 nvidia-glx 而不是 nvidia-glx-legacy

关于 vbox ,需要升级 linux-686 linux-headers-686 然后重启用新内核

记得把你的用户加入 'vboxusers' 组
sudo adduser $USER vboxusers
跃过无数的时间断层,只为了在
头像
aitilang
帖子: 1026
注册时间: 2007-04-28 21:38

#9

帖子 aitilang » 2007-08-07 19:40

高手阿
thinkpad x61 2G DDR no cdrom
--------------------------------------------
ABS学习中
sed学习中
awk学习中
perl学习中
新手描述不清,老手猜测不到,胡乱指挥一通,后果难以预料
jrqrunq
帖子: 5
注册时间: 2007-03-04 18:27

Re: 我用手册上的sudo apt-get install nvidia-glx 安装显卡驱动出现的错误

#10

帖子 jrqrunq » 2007-09-12 21:19

tangyin 写了:安装 nvidia-glx-legacy 也是一样virtualbox出错,请问huahua是什么原因啊?
获取:1 http://archive.ubuntu.org.cn dapper-security/restricted nvidia-glx-legacy 1.0.7174+2.6.15.12-28.2 [3061kB]
下载 3061kB,耗时 14s (206kB/s)
(正在读取数据库 ... 系统当前总共安装有 72965 个文件和目录。)
正在删除 nvidia-glx ...
ldconfig: /usr/lib/libgaim.so.0 is not a symbolic link

ldconfig: /usr/lib/libgaim-client.so.0 is not a symbolic link

选中了曾被取消选择的软件包 nvidia-glx-legacy。
(正在读取数据库 ... 系统当前总共安装有 72920 个文件和目录。)
正在解压缩 nvidia-glx-legacy (从 .../nvidia-glx-legacy_1.0.7174+2.6.15.12-28.2_i386.deb) ...
正在设置 virtualbox (1.3.6_Ubuntu_dapper) ...

Creating group 'vboxusers'. VM users must be member of that group!

* Starting VirtualBox kernel module vboxdrv FATAL: Module vboxdrv not found.

* Modprobe vboxdrv failed. Please use 'dmesg' to find out why.
invoke-rc.d: initscript virtualbox, action "start" failed.
dpkg:处理 virtualbox (--configure)时出错:
子进程·post-installation script·返回了错误号·1
正在设置 nvidia-glx-legacy (1.0.7174+2.6.15.12-28.2) ...
ldconfig: /usr/lib/libgaim.so.0 is not a symbolic link

ldconfig: /usr/lib/libgaim-client.so.0 is not a symbolic link


在处理时有错误发生:
virtualbox
E: Sub-process /usr/bin/dpkg returned an error code (1)
试试这条命令看看?:
sudo insmod /lib/modules/`uname -r`/misc/vboxdrv.ko :lol:
回复