LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: seantokyo

笔记本集成显示卡i830,如何解决显示分辩率的问题

[复制链接]
发表于 2003-5-22 20:11:02 | 显示全部楼层
ftp://aiedownload.intel.com/df-s ... ipkg-1.0-4.i386.rpm
ftp://aiedownload.intel.com/df-s ... 0-i386-linux.tar.gz

这个可能差不多,把这个安装上。
#rpm -ivh dripkg-1.0-4.i386.rpm

然后再把i830-20030120-i386-linux.tar.gz这个驱动安装上。
发表于 2003-5-22 20:12:30 | 显示全部楼层
************************************************************
*
*
*  Production Version Releases
*  
*  Intel(R) Extreme Graphics Driver                                             
*  XFree86* 4.2.0 or later                                               
*  Driver Revision: 20030414
*
*
*
*  April 14, 2003
*
*  NOTE:  This document refers to systems containing the
*         following Intel chipsets:
*
*         Intel(R) 830M Chipset                                
*         Intel(R) 830MG Chipset                              
*         Intel(R) 845G Chipset                                
*         Intel(R) 845GL Chipset                              
*         Intel(R) 845GE Chipset                              
*         Intel(R) 845GV Chipset
*         Intel(R) 852GM Chipset
*         Intel(R) 852GME Chipset
*         Intel(R) 855GM Chipset
*         Intel(R) 855GME Chipset
*         Intel(R) 865G Chipset                              
*       
*  Installation Information
*
*  This document makes references to products developed by
*  Intel. There are some restrictions on how these products
*  may be used, and what information may be disclosed to
*  others. Please read the Disclaimer section and contact
*  your Intel field representative if you would like more
*  information.
*
************************************************************
************************************************************
*  DISCLAIMER: Intel is making no claims of usability,
*  efficacy or warranty.  The INTEL SOFTWARE LICENSE
*  AGREEMENT contained herein completely defines the license
*  and use of this software.
************************************************************
************************************************************

************************************************************
*  CONTENTS OF THIS DOCUMENT
************************************************************

This document contains the following sections:

1.  System Requirements
2.  Localized Language Abbreviations
3.  Installing the Software
4.  Verifying Installation of the Software
5.  Identifying the Software Version Number
6.  Uninstalling the Software
7.  Installation Switches Available

************************************************************
* 1.  SYSTEM REQUIREMENTS
************************************************************

1.  The system must contain one of the following Intel
    Chipsets:

         Intel(R) 830M Chipset                                
         Intel(R) 830MG Chipset                              
         Intel(R) 845G Chipset                                
         Intel(R) 845GL Chipset                              
         Intel(R) 845GE Chipset                              
         Intel(R) 845GV Chipset  
         Intel(R) 852GM Chipset
         Intel(R) 852GME Chipset
         Intel(R) 855GM Chipset
         Intel(R) 855GME Chipset
         Intel(R) 865G Chipset                        

2.  The software should be installed on systems with at
    least 128 MB of system memory.

3.  There should be sufficient hard disk space in the <TEMP>
    directory on the system in order to install this
    software.

4.  XFree86* 4.2.0 or later with Linux* kernel 2.4.11 or later
   
     Other operating systems using XFree86 may work but are
     not tested or supported by Intel

Please check with your system provider to determine the
operating system and Intel Chipset used in your system.

************************************************************
* 2.  LOCALIZED LANGUAGE ABBREVIATIONS
************************************************************

The Intel(R) Extreme Graphics driver for XFree86*
has not been localized to any language other than
U.S. English

************************************************************
* 3.  INSTALLING THE SOFTWARE
************************************************************

General Installation Notes:

-  The operating system must be installed prior to the
    installation of the driver.

-  This installation procedure is specific only to the
    version of driver and installation file included in this
    release.

-  This procedure assumes that all of the software
    associated with this release is located in the same
    directory.

-  Updating the kernel after installing the driver files
   requires that you install header files for your new
   kernel, delete the existing folder containing files
   extracted from the tar.gz file and re-extract the
   files. This removes files compiled under your old
   kernel.

-   Some distributions use "XF86Config" while others
    use "XF86Config-4" for compatibility reasons.

-   Modify the instructions as appropriate for your
    distribution

************************************************************
*3.a. TAR INSTRUCTIONS
************************************************************

1.  Install Linux

2.  Log in as root or as a superuser

3.  Install kernel headers

            a.  For Red Hat versions, this is normally on CD2:
            /RedHat/RPMS/kernel-source-2.4.18-3.i386.rpm

            b.  Alternately, load your kernel config file,
            save the config, and run “make dep”

4.  Extract the downloaded files:
        
        a.  tar –zxvf 20030106-i386-Linux.tar.gz

5.  Ensure X Windows is not running

6.  cd dripkg

7.  ./install.sh

8.  Follow the prompts; most users should be able to press
    “Enter” at each prompt

************************************************************
*3.b RPM INSTRUCTIONS
************************************************************
1.  go to the directory where you saved the driver package

2.  su

3.  rpm -Uvh dripkg-1.0-3.i386.rpm

4.  exit su
************************************************************
*3.c FINISHING UP (ALL PACKAGE TYPES)
************************************************************

1.  Make a backup copy of your XF86Config-4 file

2. Modify the XF86Config-4 file by _ONE_ of three methods:

        a.  Use a text editor to modify section “Device” –
            modify “Driver” entry to read “i810”

        b.  _OR_ run ‘Xconfigurator,’ selecting “Intel 830”
            from the list

        c.  _OR_ run ‘X –configure’ the edit ~/XF86Config.new

                i.  Immediately after the “Monitor” line in
                    the "Screen" section, add
                    ‘DefaultDepth 16’

                ii. At the end of the file (if not already
                    there), add:

                          Section "DRI"
                            Mode 0666
                        EndSection

                iii.Make the new config file the default by
                    copying it to XF86Config-4:
                        1.  cp ~/XF86Config.new
                            /etc/X11/XF86Config-4
3. Log out of root or superuser

4. startx

************************************************************
* 4.  VERIFYING INSTALLATION OF THE SOFTWARE
************************************************************

1.  Start X Windows and play a 3D accelerated game

OR

2.  Run 'modprobe -l  \* | grep i830.o'

************************************************************
* 5.  IDENTIFYING THE SOFTWARE VERSION NUMBER
************************************************************

1.  Run 'cat ~/dripkg/pkginfo'

************************************************************
* 6.  UNINSTALLING THE SOFTWARE
************************************************************

No uninstallation script is provided

************************************************************
* 7.  INSTALLATION SWITCHES AVAILABLE
************************************************************

No installation switches are provided

************************************************************
* INTEL SOFTWARE LICENSE AGREEMENT
*   (OEM/IHV Distribution & Single User)
************************************************************
IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
Do not use or load this software and any associated materials
(collectively, the “Software”) until you have carefully read
the following terms and conditions. By loading or using the
Software, you agree to the terms of this Agreement. If you do
not wish to so agree, do not install or use the Software.

Please Also Note:
a) If you are an Original Equipment Manufacturer (OEM),
Independent Hardware Vendor (IHV), or Independent Software Vendor (ISV),
this complete LICENSE AGREEMENT applies;
b) If you are an End-User, then only Exhibit A, the INTEL SOFTWARE LICENSE
AGREEMENT, applies.

---------------------------------------------------------
For OEMs, IHVs, and ISVs:

LICENSE. This Software is licensed for use only in conjunction
with Intel component products.  Use of the Software in conjunction
with non-Intel component products is not licensed hereunder. Subject
to the terms of this Agreement, Intel grants to You a nonexclusive,
nontransferable, worldwide, fully paid-up license under Intel’s copyrights to:
        a) use, modify and copy Software internally for Your own development
        and maintenance purposes; and
        b) modify, copy and distribute Software, including derivative
        works of the Software, to Your end-users, but only under a license
        agreement with terms at least as restrictive as those contained in
        Intel's Final, Single User License Agreement, attached as Exhibit A; and
        c) modify, copy and distribute the end-user documentation which may
        accompany the Software, but only in association with the Software.
If You are not the final manufacturer or vendor of a computer system or
software program incorporating the Software, then You may transfer a copy
of the Software, including derivative works of the Software (and related
end-user documentation) to Your recipient for use in accordance with the
terms of this Agreement, provided such recipient agrees to be fully bound
by the terms hereof.  You shall not otherwise assign, sublicense, lease,
or in any other way transfer or disclose Software to any third party. You
shall not reverse- compile, disassemble or otherwise reverse-engineer the Software.

Except as expressly stated in this Agreement, no license or right is granted
to You directly or by implication, inducement, estoppel or otherwise.         Intel
shall have the right to inspect or have an independent auditor inspect Your
relevant records to verify Your compliance with the terms and conditions of
this Agreement.

CONFIDENTIALITY.   If You wish to have a third party consultant or
subcontractor ("Contractor") perform work on Your behalf which involves
access to or use of Software, You shall obtain a written confidentiality
agreement from the Contractor which contains terms and obligations with
respect to access to or use of Software no less restrictive than those set
forth in this Agreement and excluding any distribution rights, and use for
any other purpose.
Otherwise, You shall not disclose the terms or existence of this Agreement
or use Intel's name in any publications, advertisements, or other announcements
without Intel's prior written consent.  You do not have any rights to use any
Intel trademarks or logos.

OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software
remains with Intel or its suppliers. The Software is copyrighted and protected
by the laws of the United States and other countries, and international treaty
provisions. You may not remove any copyright notices from the Software. Intel
may make changes to the Software, or to items referenced therein, at any time
and without notice, but is not obligated to support or update the Software.
Except as otherwise expressly provided, Intel grants no express or implied right
under Intel patents, copyrights, trademarks, or other intellectual property rights.
You may transfer the Software only if the recipient agrees to be fully bound by these
terms and if you retain no copies of the Software.

LIMITED MEDIA WARRANTY.  If the Software has been delivered by Intel on physical media,
Intel warrants the media to be free from material physical defects for a period
of ninety (90) days after delivery by Intel. If such a defect is found, return
the media to Intel for replacement or alternate delivery of the Software as
Intel may select.

EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS
PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND, INCLUDING
WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.  
Intel does not warrant or assume responsibility for the accuracy or completeness of
any information, text, graphics, links or other items contained within the Software.

LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE FOR ANY
DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS INTERRUPTION
OR LOST INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN
IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME JURISDICTIONS
PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY FOR IMPLIED WARRANTIES OR CONSEQUENTIAL
OR INCIDENTAL DAMAGES, SO THE ABOVE LIMITATION MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE
OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION TO JURISDICTION.

TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at any time
if you violate its terms. Upon termination, you will immediately destroy the
Software or return all copies of the Software to Intel.

APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
laws of California, excluding its principles of conflict of laws and the United Nations
Convention on Contracts for the Sale of Goods. You may not export the Software in
violation of applicable export laws and regulations. Intel is not obligated under
any other agreements unless they are in writing and signed by an authorized representative
of Intel.

GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED RIGHTS."
Use, duplication, or disclosure by the Government is subject to restrictions as set
forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use of the Software
by the Government constitutes acknowledgment of Intel's proprietary rights therein.
Contractor or Manufacturer is Intel Corporation, 2200 Mission College Blvd.,
Santa Clara, CA 95052.


---------------------------------------------------------
EXHIBIT "A"
INTEL SOFTWARE LICENSE AGREEMENT (Final, Single User)

IMPORTANT - READ BEFORE COPYING, INSTALLING OR USING.
Do not use or load this software and any associated materials
(collectively, the “Software”) until you have carefully read the following
terms and conditions. By loading or using the Software, you agree to the terms
of this Agreement. If you do not wish to so agree, do not install or use the Software.

LICENSE. You may copy the Software onto a single computer for your personal,
noncommercial use, and you may make one back-up copy of the Software, subject
to these conditions:
1.This Software is licensed for use only in conjunction with Intel component
products.  Use of the Software in conjunction with non-Intel component products is
not licensed hereunder.
2.You may not copy, modify, rent, sell, distribute or transfer any part of
the Software except as provided in this Agreement, and you agree to prevent
unauthorized copying of the Software.
3.You may not reverse engineer, decompile, or disassemble the Software.
4.You may not sublicense or permit simultaneous use of the Software by more
than one user.
5.The Software may contain the software or other property of third party
suppliers, some of which may be identified in, and licensed in accordance
with, any enclosed “license.txt” file or other text or file.

OWNERSHIP OF SOFTWARE AND COPYRIGHTS. Title to all copies of the Software remains
with Intel or its suppliers. The Software is copyrighted and protected by the
laws of the United States and other countries, and international treaty provisions.
You may not remove any copyright notices from the Software. Intel may make changes
to the Software, or to items referenced therein, at any time without notice, but is
not obligated to support or update the Software. Except as otherwise expressly
provided, Intel grants no express or implied right under Intel patents, copyrights,
trademarks, or other intellectual property rights. You may transfer the Software
only if the recipient agrees to be fully bound by these terms and if you retain
no copies of the Software.

LIMITED MEDIA WARRANTY.  If the Software has been delivered by Intel on
physical media, Intel warrants the media to be free from material physical
defects for a period of ninety (90) days after delivery by Intel. If such a
defect is found, return the media to Intel for replacement or alternate delivery
of the Software as Intel may select.

EXCLUSION OF OTHER WARRANTIES. EXCEPT AS PROVIDED ABOVE, THE SOFTWARE IS PROVIDED
"AS IS" WITHOUT ANY EXPRESS OR IMPLIED WARRANTY OF ANY KIND INCLUDING WARRANTIES
OF MERCHANTABILITY, NONINFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE.  Intel
does not warrant or assume responsibility for the accuracy or completeness of any
information, text, graphics, links or other items contained within the Software.

LIMITATION OF LIABILITY. IN NO EVENT SHALL INTEL OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, LOST PROFITS, BUSINESS
INTERRUPTION, OR LOST INFORMATION) ARISING OUT OF THE USE OF OR INABILITY TO
USE THE SOFTWARE, EVEN IF INTEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES. SOME JURISDICTIONS PROHIBIT EXCLUSION OR LIMITATION OF LIABILITY FOR
IMPLIED WARRANTIES OR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE LIMITATION
MAY NOT APPLY TO YOU. YOU MAY ALSO HAVE OTHER LEGAL RIGHTS THAT VARY FROM JURISDICTION
TO JURISDICTION.


TERMINATION OF THIS AGREEMENT. Intel may terminate this Agreement at
any time if you violate its terms. Upon termination, you will immediately destroy
the Software or return all copies of the Software to Intel.

APPLICABLE LAWS. Claims arising under this Agreement shall be governed by the
laws of California, excluding its principles of conflict of laws and the
United Nations Convention on Contracts for the Sale of Goods. You may not
export the Software in violation of applicable export laws and regulations.
Intel is not obligated under any other agreements unless they are in writing
and signed by an authorized representative of Intel.

GOVERNMENT RESTRICTED RIGHTS. The Software is provided with "RESTRICTED RIGHTS."
Use, duplication, or disclosure by the Government is subject to restrictions as
set forth in FAR52.227-14 and DFAR252.227-7013 et seq. or their successors. Use
of the Software by the Government constitutes acknowledgment of Intel's
proprietary rights therein. Contractor or Manufacturer is
Intel Corporation, 2200 Mission College Blvd., Santa Clara, CA 95052.



SLAOEMIHV/RBK/November 4, 1998
************************************************************

************************************************************
* DISCLAIMER
************************************************************
Intel is making no claims of usability, efficacy or warranty.
The INTEL SOFTWARE LICENSE AGREEMENT contained herein
completely defines the license and use of this software.
************************************************************
Information in this document is provided in connection with
Intel products. Except as expressly stated in the INTEL
SOFTWARE LICENSE AGREEMENT contained herein, no license,
express or implied, by estoppel or otherwise, to any
intellectual property rights is granted by this document.
Except as provided in Intel's Terms and Conditions of Sale
for such products, Intel assumes no liability whatsoever,
and Intel disclaims any express or implied warranty,
relating to sale and/or use of Intel products, including
liability or warranties relating to fitness for a particular
purpose, merchantability or infringement of any patent,
copyright or other intellectual property right. Intel
products are not intended for use in medical, lifesaving,
or life-sustaining applications.

************************************************************
* Intel Corporation disclaims all warranties and liabilities
* for the use of this document, the software and the
* information contained herein, and assumes no
* responsibility for any errors which may appear in this
* document or the software, nor does Intel make a commitment
* to update the information or software contained herein.
* Intel reserves the right to make changes to this document
* or software at any time, without notice.
************************************************************

* Other names and brands may be claimed as the property of others.
 楼主| 发表于 2003-5-22 21:20:13 | 显示全部楼层
#rpm -ivh dripkg-1.0-4.i386.rpm
Preparing...   ***********************[100%]
  1.dripkg     ***********************[100%]

ERROR: AGPGART module did not compile

ERROR: Kernel module did not compile

#startx  (错误提示和之前一样)

i830-20030120-i386-linux.tar.gz就是之前的那个呀。重新安装一次以后,出现的安装过程和结果跟我之前说的一样。
郁闷。
发表于 2003-5-22 22:10:31 | 显示全部楼层
再重新来。这样。。。。
#cd /usr/src
# ln -s linux-2.4.20-8 linux
# cp linux/configs/kernel-2.4.20-i686.config /usr/src/linux/.config
#cd linux
#make dep

然后再重新安装驱动,按咱们原先操作的过程一步一步的来。

一。安装
ftp://aiedownload.intel.com/df-s ... ipkg-1.0-4.i386.rpm

#rpm -Uvh dripkg-1.0-4.i386.rpm

二。安装 i830-20030120-i386-linux.tar.gz

其它的过程就不用说了吧
试一下。
 楼主| 发表于 2003-5-22 22:54:18 | 显示全部楼层
#cd /usr/src
# ln -s linux-2.4.20-8 linux
# cp linux/configs/kernel-2.4.20-i686.config /usr/src/linux/.config
#cd linux
#make dep
#rpm -Uvh dripkg-1.0-4.i386.rpm
#cd /tmp/dripkg
#./install.sh
#startx
还是一样

重启也是一样,没变化。会是哪里的问题呢。
问一个问题,那个网站上的2个i830的文件本质上有什么区别?我比较了了一下他们的readme文件,几乎就是一样的东西阿,那个1.0-4是不是就是20030414
的升级,如果这样的话,为什么两个都要装呢?


需要重装linux吗,显示器就没法认,我就只能用800*600吗?
发表于 2003-5-22 23:47:42 | 显示全部楼层
#cp /root/XF86Config.new /etc/X11/XF86Config

然后改/etc/X11/XF86Config

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection


改成如下的:

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection


并确保下在中红字的完全一样
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 830"
#VideoRam 16384
EndSection
 楼主| 发表于 2003-5-23 00:05:46 | 显示全部楼层
#cp /root/XF86Config.new /etc/X11/XF86Config
复制好像出错。我怀疑我系统上就没有/root/XF86Config.new这个文件啊。。。。。。这个是不是问题所在?

另外,目前的XF86Config(上次改过的),跟你要求的设定是一样的
发表于 2003-5-23 02:06:55 | 显示全部楼层
应该看一下/root目录下是否有XF86Config.new这个文件。
#ls -la /root

在windows中改的文件无效,因为换行符不同。。
 楼主| 发表于 2003-5-23 07:48:46 | 显示全部楼层
#ls -la /root
没有XF86Config.new这个文件。

可能还是我最开始在windows下面改了文件造成的错误。实在不好意思。

我准备重装一次linux以后,再按之前说的步骤试试。当然这回全部在linux下进行。先下载那两个软件包,再修改inittab5为3,重起后顺次安装。如果不行的话就#cp /root/XF86Config.new /etc/X11/XF86Config,这个过程不错吧? 老大帮忙确认一下,我今天中午就开始重装。到时再来问。


另外,在
“#vi 文件名”下面修改以后,是不是 “:exit!”就能保存退出?  修改文件的方法一直不是很明确,希望稍微指点一下,谢谢。
 楼主| 发表于 2003-5-23 15:20:36 | 显示全部楼层

我搞定了!很简单!!!

今天下午重装的时候,完整地读了一遍《Red Hat Linux 9: Red Hat Linux x86 安装指南》。看到了这样一段:


3.32.1. 配置你的显示器
安装程序会给你提供一个显示器列表。你既可以使用自动为你检测到的显示器,也可以在这个列表中另选一个。

注记
  如果你在一个带有 LCD 屏幕的便携电脑上安装 Red Hat Linux,你应该选择最恰当的「通用」 型号。


如果你的显示器没有在列表中出现,选择最恰当的「通用」 型号。若选择「通用」显示器,安装程序会建议一个水平和垂直频率范围。这些数值通常在你的显示器文档中可以找到,也可从你的显示器的销售商或制作商处得到。请核对你的文档以确保这些数值被正确设置了。




安装完linux9初期设置显示器型号的时候,我把“不可识别的显示器”改为了“Generic Laptop Display Panel 1024*768”
设置完以后显示有错误,不过重新启动后一切正常!!

谢谢 北南南北 !

这样的话,那个 dripkg-1.0-4.i386.rpm有必要装上去吗?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表