红联Linux门户
Linux帮助

安装Linux显卡驱动,领略XWindow风采

发布时间:2006-10-05 11:37:51来源:红联作者:Temoc
  相信大多数人在安装Linux时遇到的第一个难题,就是Linux不认你的显卡。而显卡安装不正确或胡乱选一个驱动程序安上则难以进入X Window。即使勉强进去了,因为分辨率太低,桌面上的文字和图片都放大了好几倍,仍无法使用。我的Linux是Red Hat,显卡是Trident Blade 3D,属于Linux不认识之列。于我是四处找资料,经过一段时间的摸索,终于成功地安装了显卡驱动。现在我就把经验写出来,好让大家都能顺利进入X Window,领略Linux的风采。

  一、下载驱动程序

  首先要找到显卡for Linux的驱动程序。现在绝大多数的3D显卡都已有了for Linux的驱动程序,可到各显卡厂商的主页或Linux的相关站点上去寻找。我找到的驱动程序名为XF86_SVGA,文件格式是tar.gz,是Linux的压缩文件。需要说明的是,我的XFree86服务器下的显示模块有XF86_MONO、XF86_VGA16、XF86_SVGA等类型,在安装显卡时,服务器根据显卡的情况来加载不同的显示模块,如果显示模块加载不正确,显卡就不能正常显示。XF86_SVGA能支持256色或更高位的色彩,我们的3D显卡就靠它了。

  二、文件解压

  由于下载的是压缩文件,就需要进行解压缩,可以在Linux下用tar命令解压,也可在Windows下用Winzip将文件解压到硬盘的任意目录下(我将文件解压到C:\win98\TEMP目录下),不熟悉Linux命令的人最好在Windows下解压,可以省去许多麻烦。

  三、装载磁盘驱动器

  Linux需要装载磁盘驱动器才能读取文件,装载的方法详见《电脑报》2000年35期19版的《在Linux中共享Windows系统资源(上)》一文。启动Linux后,在字符界面下输入“mount -t vfat /dev/hda1 /mnt/winc”命令,将C盘装载到Linux下。需要注意的是,如果大家在上一步选择的是在Linux下解压,就得先进行装载磁盘驱动器这一步,再进行文件的解压缩,步骤刚好颠倒过来。

  四、拷贝文件

  将XF86_SVGA文件拷贝到/usr/X11R6/bin目录下。注意,这是针对Red Hat版本来说,其它版本的路径不一定相同。我用的命令是“cp /mnt/winc/win98/TEMP/XF86_SVGA /usr/X11R6/bin”(大家可根据自己的情况灵活掌握,关键是路径一定要正确,还要分清字母的大小写)。如果系统提示有同名文件,问是否覆盖,一定要选择“y”。这些旧文件可能是以前安装显卡时加载的,对我们没有实际用处。这里再告诉大家一个小窍门,在输入文件名的时候,输完XF86后按一下Tab键,再接着输SVGA,下划线_就可以出来了,按键盘上的下划线键是没用的,切记。

  五、配置显卡

  文件拷贝完成后,输入Xconfigurator,启动显卡配置程序。我在显卡列表中仍然没有找到Trident Blade 3D,于是选最后一个选项“Unlist”,然后选择加载的显示模块为SVGA,再选择显示器型号、显存大小、刷新频率,选定16位色、800×600的分辨率。一切就绪,X服务器开始检测,十几秒钟后,检测完毕,X服务器再没有像以往那样给出出错信息。我迫不及待键入startx,不一会儿,X Window蓝色的桌面终于呈现在我的面前。

  总结:在Linux下安装显卡驱动程序,首先要下载显卡支持Linux的驱动程序,再将其拷贝到/usr/X11R6/bin目录下,然后启动显卡配置程序进行配置即可。

  除了上述的方法外,还有一种更直接的办法,就是升级XFree86的版本,可到其主页http://www.xfree86.org下载最新的版本4.0.1,稳定版是3.3.2。新版本可支持更多的硬件设备,不过,你要首先到主页上查看相关说明,确定新版本是否支持你的显卡。
文章评论

共有 102 条评论

  1. 0.0.0.* 于 2007-09-05 03:53:31发表:

    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/
    http://emeraldring.fora.pl/ - emerald cut wedding ring

  2. 68.180.195.* 于 2007-09-03 19:49:27发表:

    child defense fund
    child defense fund
    child defense fund - http://fund.freewebpages.org/child-defense-fund/index.html
    free fund raising idea
    free fund raising idea
    free fund raising idea - http://fund.freewebpages.org/free-fund-raising-idea/index.html
    fund raising company
    fund raising company
    fund raising company - http://fund.freewebpages.org/fund-raising-company/index.html

  3. 68.180.195.* 于 2007-09-01 21:52:33发表:

    Hi, nice very nice page..!
    unique fund raising - http://fund.freewebpages.org/alaska-permanent-fund-dividend/index.html
    unique fund raising - http://fund.freewebpages.org/fund/index.html
    mutual fund company
    fund raising cook book
    fund raising cook book

    Good luck !
    PS: do you listen Linkin Park ?

  4. 83.149.19.* 于 2007-08-31 09:53:57发表:

    Hi, nice very nice page..!
    fund raising cook book
    abb fund
    fund
    fund raising cook book
    mutual fund company - http://fund.freewebpages.org/mutual-fund-company/index.html

    Good luck !
    PS: do you listen Linkin Park ?

  5. 216.244.231.* 于 2007-08-30 03:39:34发表:

    Hi, nice very nice page..!
    mutual fund research - http://fund.freewebpages.org/hedge-funds/index.html
    hedge funds
    fund raising company - http://fund.freewebpages.org/growth-fund-of-america/index.html
    fund raising company
    growth fund of america

    Good luck !
    PS: do you listen Linkin Park ?

  6. 125.7.203.* 于 2007-08-30 03:39:33发表:

    Hi, nice very nice page..!
    mutual fund research - http://fund.freewebpages.org/hedge-funds/index.html
    hedge funds
    fund raising company - http://fund.freewebpages.org/growth-fund-of-america/index.html
    fund raising company
    growth fund of america

    Good luck !
    PS: do you listen Linkin Park ?

  7. 124.128.14.* 于 2007-08-28 22:36:07发表:

    Hi, nice very nice page..!
    money market rate
    money market account
    ford money market
    money banking and financial market
    money market interest rate

    Good luck !
    PS: do you listen Linkin Park ?

  8. 125.46.36.* 于 2007-08-27 07:11:27发表:

    Hi, nice very nice page..!
    ford money market - http://www.volny.cz/moneymarket1/money-market-account/
    ford money market account - http://www.volny.cz/bestmoney/best-money-market/
    capital money market
    best money market account
    money market savings account

    Good luck !
    PS: do you listen Linkin Park ?

  9. 69.77.171.* 于 2007-08-23 19:52:36发表:

    Hi, nice very nice page..!
    best money market account
    highest money market rate - http://www.volny.cz/businessmoney/best-money-market-account
    best money market account
    ford money market account - http://www.volny.cz/moneymarket1/money-market/
    highest money market rate - http://www.volny.cz/businessmoney/best-rate-on-money-market-account

    Good luck !
    PS: do you listen Linkin Park ?

  10. 61.28.1.* 于 2007-08-14 07:14:36发表:

    good work !
    chandelier lamp shades
    chandelier lamp shades
    chandelier lamp shades - www.desklamp1.fora.pl


    buy viagra online
    buy viagra online
    buy viagra online - www.buyviagraonlinex.fora.pl

    .
    norwegian pearl
    norwegian pearl
    norwegian pearl - http://volny.cz/norwegianpearl
    blackberry pearl white
    blackberry pearl white
    blackberry pearl white - http://volny.cz/blackberrypearlwhite
    pink pearls
    pink pearls
    pink pearls - http://volny.cz/pinkpearls
    blackberry pearl review
    blackberry pearl review
    blackberry pearl review - http://volny.cz/blackberrypearlrev
    pearl white
    pearl white
    pearl white - http://volny.cz/pearlwhite
    good luck

  11. 65.68.190.* 于 2007-08-12 21:50:18发表:

    saltwater pearls
    saltwater pearls
    saltwater pearls - volny.cz/saltwaterpearls
    freshwater pearl jewelry
    freshwater pearl jewelry
    freshwater pearl jewelry - volny.cz/freshwaterpearljew
    cultured pearl jewelry
    cultured pearl jewelry
    cultured pearl jewelry - volny.cz/culturedpearljewelry
    black pearl earring
    black pearl earring
    black pearl earring - volny.cz/blackpearlearring
    pearl s buck
    pearl s buck
    pearl s buck - volny.cz/pearlsbuck

  12. 219.159.67.* 于 2007-08-09 03:39:31发表:

    Hi, nice very nice page..!
    gmc in chicago gmc in chicago gmc in chicago - www.volny.cz/gmcyokun/
    gmc in chicago gmc in chicago gmc in chicago - www.volny.cz/gmcyokun/
    356 porsche sale 356 porsche sale 356 porsche sale - www.volny.cz/porsche356
    356 porsche sale 356 porsche sale 356 porsche sale - www.volny.cz/porsche356
    944 porsche 944 porsche 944 porsche - www.volny.cz/porsche944

    Good luck !
    PS: do you listen Linkin Park ?

  13. 83.149.19.* 于 2007-08-07 06:14:16发表:

    desk lamp
    desk lamp - www.halogendesklamp.freehostia.com/desk-lamp/

    lamp shades
    lamp shades - www.halogendesklamp.freehostia.com/lamp-shades/

    office desk lamp
    office desk lamp - www.halogendesklamp.freehostia.com/office-desk-lamp/

  14. 217.141.105.* 于 2007-08-07 06:14:14发表:

    desk lamp
    desk lamp - www.halogendesklamp.freehostia.com/desk-lamp/

    lamp shades
    lamp shades - www.halogendesklamp.freehostia.com/lamp-shades/

    office desk lamp
    office desk lamp - www.halogendesklamp.freehostia.com/office-desk-lamp/

  15. 67.52.10.* 于 2007-08-05 06:22:11发表:

    nice site... look on my site

    http://www.desklamp.fora.pl - desk lamp
    http://www.lampshades.fora.pl - lamp shades

  16. 61.250.95.* 于 2007-08-03 12:19:14发表:

    thnx... nice site
    and i wan't see my:
    http://www.tablelamp.fora.pl/
    http://www.tablelamp.fora.pl/
    http://www.tablelamp.fora.pl/ - table lamp

  17. 217.141.105.* 于 2007-08-01 23:34:48发表:

    bondage drawing http://cartoonfox.150m.com/bondage_drawing.html bondage drawing bondage drawing

    extreme bdsm cartoons http://cartoonfox.150m.com/extreme_bdsm_cartoons.html extreme bdsm cartoons extreme bdsm cartoons

    bondage lesbian comic http://cartoonfox.150m.com/bondage_lesbian_comic.html bondage lesbian comic bondage lesbian comic

    free bondage art http://cartoonfox.150m.com/free_bondage_art.html free bondage art free bondage art

    d bondage art http://cartoonfox.150m.com/d_bondage_art.html d bondage art d bondage art

  18. 124.30.29.* 于 2007-08-01 23:34:38发表:

    bondage drawing http://cartoonfox.150m.com/bondage_drawing.html bondage drawing bondage drawing

    extreme bdsm cartoons http://cartoonfox.150m.com/extreme_bdsm_cartoons.html extreme bdsm cartoons extreme bdsm cartoons

    bondage lesbian comic http://cartoonfox.150m.com/bondage_lesbian_comic.html bondage lesbian comic bondage lesbian comic

    free bondage art

  19. 217.141.249.* 于 2007-08-01 23:34:13发表:

    bondage drawing http://cartoonfox.150m.com/bondage_drawing.html bondage drawing bondage drawing

    extreme bdsm cartoons http://cartoonfox.150m.com/extreme_bdsm_cartoons.html extreme bdsm cartoons extreme bdsm cartoons

    bondage lesbian comic http://cartoonfox.150m.com/bondage_lesbian_comic.html bondage lesbian comic bondage lesbian comic

    free bondage art http://cartoonfox.150m.com/free_bondage_art.html free bondage art free bondage art

    d bondage art http://cartoonfox.150m.com/d_bondage_art.html d bondage art d bondage art

  20. 217.101.122.* 于 2007-08-01 23:09:14发表:

    diesel ford truck used
    diesel ford truck used
    diesel ford truck used - http://www.bcars.fora.pl/

    car insurance quote
    car insurance quote
    car insurance quote - http://www.carinsurancequote.fora.pl/

  21. 217.141.105.* 于 2007-07-31 05:56:42发表:

    gmc trucks here www.gmctruck.fora.pl
    gmc from america www.gmctruck.fora.pl
    real gmc www.gmctruck.fora.pl


    and www.emeraldring.fora.pl rings

  22. 64.65.239.* 于 2007-07-30 10:07:20发表:

    emerald rings and gold rings www.emeraldring.fora.pl

  23. 64.65.239.* 于 2007-07-30 10:07:01发表:

    emerald rings and gold rings www.emeraldring.fora.pl

  24. 0.0.0.* 于 2007-07-18 17:26:18发表:

    adult anime comic http://adultcomics17jul.tripod.com/adult_anime_comic.html adult anime comic adult anime comic
    adult comic fantasy http://adultcomics17jul.tripod.com/adult_comic_fantasy.html adult comic fantasy adult comic fantasy
    adult adult book comic guest inurl movie http://adultcomics17jul.tripod.com/adult_adult_book_comic_guest_inurl_movie.html adult adult book comic guest inurl movie adult adult book comic guest inurl movie
    adult flintstone comic http://adultcomics17jul.tripod.com/adult_flintstone_comic.html adult flintstone comic adult flintstone comic
    adult flintstone comic http://adultcomics17jul.tripod.com/adult_flintstone_comic.html adult flintstone comic adult flintstone comic

  25. 203.175.68.* 于 2007-07-18 17:26:17发表:

    adult anime comic http://adultcomics17jul.tripod.com/adult_anime_comic.html adult anime comic adult anime comic
    adult comic fantasy http://adultcomics17jul.tripod.com/adult_comic_fantasy.html adult comic fantasy adult comic fantasy
    adult adult book comic guest inurl movie http://adultcomics17jul.tripod.com/adult_adult_book_comic_guest_inurl_movie.html adult adult book comic guest inurl movie adult adult book comic guest inurl movie
    adult flintstone comic http://adultcomics17jul.tripod.com/adult_flintstone_comic.html adult flintstone comic adult flintstone comic
    adult flintstone comic http://adultcomics17jul.tripod.com/adult_flintstone_comic.html adult flintstone comic adult flintstone comic

  26. 201.58.92.* 于 2007-07-17 10:59:54发表:

    http://2ca915e19b4df7a9522a679175ad8614-t.xkktxb.org 2ca915e19b4df7a9522a679175ad8614 http://2ca915e19b4df7a9522a679175ad8614-b1.xkktxb.org 2ca915e19b4df7a9522a679175ad8614 http://2ca915e19b4df7a9522a679175ad8614-b3.xkktxb.org 8d1f2bfe3cbc5359328d95464cab8b7c

  27. 68.203.203.* 于 2007-07-16 07:00:57发表:

    snuff comics http://adultcomics8jul.tripod.com/snuff_comics.html snuff comics snuff comics

    uncensored comics http://adultcomics8jul.tripod.com/uncensored_comics.html uncensored comics uncensored comics

    torture comics http://adultcomics8jul.tripod.com/torture_comics.html torture comics torture comics

    bondage comics http://adultcomics8jul.tripod.com/bondage_comics.html bondage comics bondage comics

    evil comics http://adultcomics8jul.tripod.com/evil_comics.html evil comics evil comics