当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 9 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : [问题,解决了]我的液晶显示器,分辨率搞不定阿。帮帮我啊
帖子发表于 : 2007-04-13 9:56 
头像

注册: 2007-04-10 11:30
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
首先说阿,我的机子是单机环境的。没有网络连接。还在上大学,宿舍没有联网,可是我还是很喜欢ubuntu.
前些日子我安装了ubuntu.分辨率不论怎么搞都是最大1024*768。
我的是液晶显示器,分辨率要达到1280*1024,要不图象不好看。我在windows下的分辨率就是1280*1024;
可是到了ubuntu分辨率没法设置到1280*1024。现在ubuntu下1027*768的分辨率,图像有点不爽阿。
我的显卡是nv 7300GT.
显示器 优派VA703B.
我安装的是dubuntu cd2中的nv显卡驱动。
我从nv官方下载的驱动,安装官方的安装说明搞不定阿。(我的机子单机,我在网吧下了东西,用u盘转到ubuntu中)。


那位兄弟帮个忙阿。
新手小弟先谢过了。


最后由 hdzz 编辑于 2007-04-14 8:58,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2007-04-13 9:58 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
看wiki去。提示nvidia-glx,源里面有。xorg.conf自己加一个分辨率。


_________________
● 鸣学


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2007-04-13 10:14 
头像

注册: 2007-04-10 11:30
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
楼上仔细看看wo怎么说的。


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2007-04-13 10:26 
头像

注册: 2005-12-10 17:36
帖子: 336
地址: 北京市海淀区上地十街辉煌国际
送出感谢: 0 次
接收感谢: 0 次
看到很多朋友在装nvidia驱动时碰到很多问题,我也碰到过。后来看到一个方法很好,朋友们可以试用一下
(1)到nvidia网站上下载nvidia的驱动,PS:我用的是9755的
(2)进入控制台(tty)下(同时按下Ctrl, Alt, F1),在终端输入
代码:
 sudo /etc/init.d/gdm stop

(3)安装驱动sudo sh ./<nvidia_installation_pkg_filename>
(4)
代码:
sudo nvidia-xconfig --add-argb-glx-visuals
(到时就可以用beryl了)
(5)
代码:
sudo /etc/init.d/gdm start


这时驱动就正常工作了,但会有一个问题,就是重新启动不能进入X,这是因为系统会调用内核中默认的nv驱动,所以需要禁掉。
(6)
代码:
sudo rmmod nvidia && sudo modprobe nvidia

(7)
代码:
sudo cp /etc/default/linux-restricted-modules-common /etc/default/_linux-restricted-modules-common.backup
,并修改此文件,在这句中加入 DISABLED_MODULES="nv"
按照这样安装之后,我的系统就可以正常工作了
如果你英文好的话看英文的:我是在tty1里面安装显卡驱动,在tty2里面看帮助~~呵呵

Users planning to install the officially distributed version of the beta nVidia drivers should be advised that X.org may fail to start upon upgrading the kernel as modules are built for specific kernel configurations. Thus, installing from a repository (see Install Beryl on Ubuntu Edgy with nVidia#Installing the nVIDIA Beta Driver) is recommended. The following instructions, however, document methods for performing the installation of the official packages, should you decide to make use of them.

[edit]Retrieval of package files from the nVidia webserver
To retrieve the current version of the nVidia driver complied for 32-bit x86 systems, execute:

wget http://us.download.nvidia.com/XFree86/L ... 6-pkg1.run
Otherwise, if you are using an AMD64/EM64T system, you may run

wget http://us.download.nvidia.com/XFree86/L ... 6-pkg2.run
instead.

[edit]Installation of packages required to build kernel modules
Because the process of installing nVidia driver involves some compilation, it is necessary to install some header files, software, and libraries. To do so, simply issue:

sudo apt-get install linux-headers-$(uname -r) build-essential
[edit]About TTY sessions
Note: This section is intended mainly for inexperienced users. If you are experienced using Linux and are confident you will be able to work effectively in a TTY (teletypewriter) environment, see Install Beryl on Ubuntu Edgy with nVidia#Running the nVidia installation package.

For the installation of the official packages to be possible, it is necessary to temporarily shut down the X server, meaning that for a brief period of time, you will not have access to a graphical interface. For this reason, viewing this documentation in Firefox or any other graphical browser is not possible if you only have one computer available for use.

To continue viewing this documentation while performing the installation of the driver, it is necessary to first install a browser which requires no graphical environment to operate.

It is extremely likely that you are currently viewing output from the X server from TTY0. Thus to access a graphical environment whenever an implementation of the X Window System is running, one should press CTRL + ALT + F7. Making note of this important keystroke combination is advisable.

A recommended means to access the documentation on this webpage from a command line interface is to launch links while the X.org is still running. Select a terminal to use for viewing the documentation; the teletypewriter interfaces available most likely include TTY1-TTY6. To access any one of the these terminals, press CTRL + ALT + Ftty_number, where tty_number corresponds to terminal you wish to view. For instance, to access TTY2, one would press CTRL + ALT + F2.

Links will access any URL passed to it in the form of a command line argument immediately. However, switching to and from the graphical environment to transfer the URI from the browser into the TTY interface may prove to be unpleasant and frustrating. To ease the process, you might run

echo "http://wiki.beryl-project.org/index.php?title=Install_Beryl_on_Ubuntu_Edgy_with_nVidia" > beryl-nvidia-doc-uri
which will create a text file containing the URI that corresponds to this page.

To view the documentation, you should run the command above if you have not already. Install Links by running

sudo aptitude install links
Now, press CTRL + ALT + F2 to access TTY2 (assuming it is not in use, if so, you may select a different terminal; also recall that CTRL + ALT + F7 will return you to the graphical interface while X.org is running) and execute

links $(cat beryl-nvidia-doc-uri)
You may scroll across documents using either the arrow keys or Page Up and Page Down buttons. Press q at anytime to quit Links and return to your TTY interface. Of course, running the above command again will return you to the documentation after Links is closed. <RETURN> accesses links to other webpages, and <BACKSPACE> will cause links to return to the most recently viewed webpage.

Copying and pasting across multiple TTY terminals may not be possible, and therefore the user is encouraged to use <TAB> completion whenever possible. Assuming no other files in your home directory or in your path contain "NVIDIA", it possible to insert the name of the previously downloaded file simply by entering

sudo sh ./NVIDIA<TAB>
into the terminal. The above keystokes should result in, for instance

sudo sh ./NVIDIA-Linux-x86-1.0-9746-pkg1.run
being displayed. Thus, it is not always necessary to type long filenames manually.

Now, press CTRL + ALT + F1 to access TTY1. Assuming the terminal is not in use, you will now be able to log in and perform tasks related to the installation of the nVidia drivers without the need for X11.

[edit]Running the nVidia installation package
For the installation of the nVidia drivers to continue, X.org must be shut down. Note that after executing the following command, it is not possible to return to a graphical interface until X.org is restarted.

One way to shutdown the X.org server is by stopping GDM. To do so, execute

sudo /etc/init.d/gdm stop
Now, actually running the installer is possible. Run

sudo sh ./<nvidia_installation_pkg_filename>
where <nvidia_installation_pkg_filename> is the filename of the previously downloaded package. The actual installation and compilation of the kernel modules is automatic and, in general, the selection of the default choice at each prompt should suffice. However, you should not run the nvidia-xconfig (configuration) utility from the installation, please wait until after the installation to do so (the default invocation will not enable the required ARGBGLXVisuals option in /etc/X11/xorg.conf).

After the installation of the drivers is complete, a prompt will appear. Execute

sudo nvidia-xconfig --add-argb-glx-visuals
and restart GDM and X11 with

sudo /etc/init.d/gdm start
In most cases, the graphical interface should reappear immediately. If not, please see Install Beryl on Ubuntu Edgy with nVidia#If problems with an installation with an official package occur.

[edit]Upon upgrading the kernel at a later time
Unfortunately, X11 will most likely refuse to start if the kernel is upgraded after a manual installation of the nVidia drivers. Because new modules will need to be compiled and installed, it is necessary to rerun the installation procedures documented above (see Install Beryl on Ubuntu Edgy with nVidia#Running the nVidia installation package), with one exception: nvidia-xconfig will not need to be reinvoked in most cases.

[edit]If problems with an installation with an official package occur
After the installation of the official nVidia package, it is possible (though perhaps unlikely) that X11 will refuse due its attempt to utilize the older version of the nVidia kernel module. In such a situation, you should unload and subsequently reload the nvidia kernel module by running:

代码:
sudo rmmod nvidia && sudo modprobe nvidia


--------------------------------------------------------------------------------

In the case that the user receives an API mismatch error upon restarting Ubuntu, it is necessary disable the "nv" module. To simultaneously backup linux-restricted-modules-common and automatically disable the nv module, you may execute:

sudo cp /etc/default/linux-restricted-modules-common /etc/default/_linux-restricted-modules-common.backup && sudo sed -i -e 's/^DISABLED_MODULES="/DISABLED_MODULES="nv /' -e 's/ "/"/' /etc/default/linux-restricted-modules-common
Or, to simultaneously backup linux-restricted-modules-common and edit the file manually, run:

sudo cp /etc/default/linux-restricted-modules-common /etc/default/_linux-restricted-modules-common.backup && sudo nano /etc/default/linux-restricted-modules-common
and add "nv, " the following line:

DISABLED_MODULES="nv" # Edit only this line.
代码:
代码:


_________________
Laptop:HP Compaq Presario V3210AU
OS:Gentoo openbox+stalonetray+rox-filer+gmrun+mplayer+firefox+ibus+sonata+tilda
Phone:Orange Dopod 838+ SPV C600
OS:Windows Mobile 6.1


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2007-04-13 10:38 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
只是nv官方的不行??劝你用源的。内核一升级,官方的又要编译,而且编译出来的,会比ub官方维护的好?


_________________
● 鸣学


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2007-04-13 10:40 
头像

注册: 2007-04-10 11:30
帖子: 6
送出感谢: 0 次
接收感谢: 0 次
eexpress 写道:
只是nv官方的不行??劝你用源的。内核一升级,官方的又要编译,而且编译出来的,会比ub官方维护的好?



单机环境,如何升级???我在网吧上了,宿舍没有联网,咋升级。


页首
 用户资料  
 
7 楼 
 文章标题 :
帖子发表于 : 2007-04-13 10:45 
头像

注册: 2005-08-14 21:55
帖子: 58428
地址: 长沙
送出感谢: 4
接收感谢: 272
有pacake.ubuntu.org.cn啊。
http://packages.ubuntu.com/


_________________
● 鸣学


页首
 用户资料  
 
8 楼 
 文章标题 :
帖子发表于 : 2007-04-13 11:34 
头像

注册: 2006-04-12 18:54
帖子: 4671
送出感谢: 0 次
接收感谢: 7
nvidia驱动记得光盘上有


_________________
荃创想


页首
 用户资料  
 
9 楼 
 文章标题 :
帖子发表于 : 2007-04-14 18:24 

注册: 2007-02-23 8:59
帖子: 81
送出感谢: 0 次
接收感谢: 0 次
不会吧我的自动设成1280*1024了呢


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 9 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译