一种通用的显卡驱动方法(转)

一种通用的显卡驱动方法(转)[@more@]

  由于显卡产商支持有限,使得在Linux下驱动显卡一直都是难题。为了解决这个问题,Linux 2.2.x以上版本提供了一种新的解决方案---使用frame buffer设备,通过VESA VBE 2.0标准,利用显卡SVGA特性,配合XFree86的XF86_FBDev,驱动你的显卡。这的确可以帮你个忙........

  由于显卡产商支持有限,使得在Linux下驱动显卡一直都是难题。为了解决这个问题,Linux 2.2.x以上版本提供了一种新的解决方案---使用frame buffer设备,通过VESA VBE 2.0标准,利用显卡SVGA特性,配合XFree86的XF86_FBDev,驱动你的显卡。这的确可以帮你个忙。

  1)确认你有XF86_FBDev文件,如果没有就从ftp.xfree86.org下载;

  2)执行“mknod /dev/fb0 c 29 0”建立frame buffer设备;

  3)修改/etc/lilo.conf文件,加入:

  image = /boot/vmlinuz-2.2.5-fb (新编译的内核)

  label = linuxfb (启动标号,可自定)

  root = /dev/hda2 (参照lilo.conf其他部分)

  vga = 0x314 (显示模式,参照下表)

  附:显示模式表

  640x480 800x600 1024x768 1280x1024

  256色 0x301 0x303 0x305 0x307

  32k色 0x310 0x313 0x316 0x319

  64k色 0x311 0x314 0x317 0x31A

  16M色 0x312 0x315 0x318 0x31B

  4) 执行/sbin/lilo,使配置生效,然后重启系统,以新的内核启动系统。当然,如果你的内核已经支持了,就无需做这个修改,直接加上vga=那一行就行了。

  5) 接着进行frame buffer Server的配置:参照/etc/X11/XF86Config中vga的配置,加入一个screen小节,如下所示:

  Section "Screen"

Driver "fbdev"

Device "My Video Card"

Monitor "MAG XJ500T"

Subsection "Display"

Depth 16 (色深,须与前面所选显示模式的色深一致)

Modes "default"

ViewPort 0 0

EndSubsection

EndSection

  6) 将X指向XF6_FBDev:

  cd /etc/X11

  mv X X.bat

  ln -snf /usr/X11R6/bin/XF86_FBDev X

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10748419/viewspace-939954/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/10748419/viewspace-939954/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Windows 3.x 下少见的通用显示卡驱动,世所罕见,怀旧必须。 Windows 3.1 256 Color Display Driver Release Notes Copyright 1993 Microsoft Corporation -------------------------------------------------- This disk contains a new high-speed 256 color display driver for Windows 3.1 which supports most non-accelerated Super VGA display types. If you have a Video card other than what is listed below you may not want to use these drivers. For 800x600 256 colors and 1024x768 256 colorsresolutions you will need 1Mb of memory on you video card. You can install this driver by using Windows Setup to select one of the following display types: Super VGA 640x480 256 colors Super VGA 800x600 256 Large ; Large fonts Super VGA 800x600 256 Small ; Small fonts Super VGA 1024x768 256 Large ; Large fonts Super VGA 1024x768 256 Small ; Small fonts Displays supported by these selections include the following: ATI VGA series, including ATI VGA Wonder ATI VGA Wonder Plus ATI VGA Wonder 24XL Cirrus Logic VGA (6420, 5420 series) Oak Technology VGA (077 series) Paradise VGA, including Paradise VGA 1024 Paradise VGA Professional Trident VGA (8900C series) *, including Trident Impact Tseng VGA (ET4000 series) **, including: Boca VGA Cardinal VGA Diamond Speedstar series Everex Viewpoint series Metheus Premier VGA Orchid Prodesigner II Sigma VGA Legend STB Powergraph Video Seven VGA, including Video Seven FastWrite Video Seven 1024i Video Seven VRAM Video Seven VRAM II Western Digital VGA * NOTE: MS-DOS applications run on Trident adapters may not be restored correctly when switched back to full-screen mode from Windows. ** NOTE: MS-DOS applications run on some Tseng ET4000 adapters may not be restored correctly when switched back to full-screen mode from Windows. If this happens, use Windows Setup to select one of the ET4000 options. However, this may slow the operation of windowe
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值