免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 7341 | 回复: 6
打印 上一主题 下一主题

寻求redhat 9下sis315显卡驱动,help [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-09-23 22:07 |只看该作者 |倒序浏览
redhat linux 9下,sis315显卡驱动,系统没有提供,求救如何能找到合适的驱动,找了很多地方,没能发现/郁闷!
寻求解决方案中/
linux初学者/

论坛徽章:
0
2 [报告]
发表于 2003-09-23 22:16 |只看该作者

寻求redhat 9下sis315显卡驱动,help

如果你找不到合适的显卡驱动程序,可以尝试用Frame buffer驱动显卡.
我的系统配置:
显卡:Sis315(Sis740主板集成)
Linuxebian Woody3.0r0
Xfree86:4.0
Kernel:2.2.20(或2.4.1
原理上,只要是2.2.x以上版本的内核,就可以用Frame buffer.
要使用Frame buffer,显卡必须支持vesa 2.0标准,只要不是老古董的显卡,一般都支持这个标准.使用Frame buffer分四个步骤:
1.建立一个支持Frame buffer的内核
2.建立Frame buffer设备
3.配置lilo
4.设置Xfree86
1.编译内核
取得内核的源代码,解压到/usr/src/linux目录,'make menuconfig'就进入内核参数的设置画面.
这里只介绍与Frame buffer有关的选项.
character device ->;
<*>;/dev/agpgart 支持AGP标准
...
  • Generic SiS support 我的显卡是SiS的,所以选这一项
    ...
  • Direct Rendering Manager (XFree86 DRI support)
    ...
    <*>; SiS SiS支持,不知道不选有没有关系,我一直选上
    Console drivers ->;
  • VGA text console
  • Video mode selection support
    Frame-buffer support --->;
  • Support for frame buffer devices (EXPERIMENTAL) 这个一定要
    ...
  • VESA VGA graphics console 必选
    ...
    <*>; SIS acceleration (EXPERIMENTAL) 这一项根据自己的显卡选
    ...
  • SIS 315H/315 support
    <*>; Virtual Frame Buffer support (ONLY FOR TESTING!) 可能不用选,没试
  • Advanced low level driver options 选上这一项后,下面多出很多,用缺省的就行

    make bzImage
      make modules
      make modules_install

      把编译好的内核拷到 /boot目录,文件名可自定,如 

      cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.5-fb
    2.建立 frame buffer设备

      frame buffer设备的 major为 29,minor 为 0(fb0),32(fb1). . . 224(fb7)?


      创建fb设备
    # mknod /dev/fb0 c 29 0
      ....

      3.配置 lilo 的启动选项,主要是vga一项
      下面是典型的lilo.conf文件(位于/etc目录)

      boot = /dev/hda2
      timeout = 500
      prompt
      read-only
      image = /boot/vmlinuz-2.2.x
      label = linux
      root = /dev/hda2
      other = /dev/hda1
      label = dos

      添加一新配置需添加 image,label,root及配合VESA frame buffer的 vga等四项:
    image = /boot/vmlinuz-2.2.5-fb (新编译的内核)
      label = linuxfb (启动标号,可自定)
       root = /dev/hda2 (着一句具体会有不同,照你自己的lilo.conf)
       vga = 0x314 (显示模式,参照下表)
       other = /dev/hda1
       label = dos

       Linux_kernel_mode_number = VESA_mode_number + 0x200
       640x480 800x600 1024x768 1280x1024
       256 0x301 0x303 0x305 0x307
       32k 0x310 0x313 0x316 0x319
       64k 0x311 0x314 0x317 0x31A
       16M 0x312 0x315 0x318 0x31B
    我用的vga=788,相当于800*600*16,色彩深度16足够了,华丽,速度也可以.
    重新起动,选新内核,应该有小企鹅的logo出现

    4.设置Xfree86
    主要是设置用vesa驱动,并配置相应的Screen
    重新设置xserver-xfree86,Debian里用命令dpkg-reconfigure xserver-xfree86
    驱动程序选vesa,色彩深度选16(跟前面lilo里的色彩深度一致,否则起动不了)
    /etc/X11/XF86Config-4应该像这样
    Device部分
    Section "Device"
    Identifier "Generic Video Card"
    Driver "vesa" 用vesa驱动
    Option "UseFBDev" "true"
    EndSection

    Screen部分
    Section "Screen"
    Identifier "Default Screen"
    Device "Generic Video Card"
    Monitor "Generic Monitor"
    DefaultDepth 16 这是关键,前面选的色彩深度是16,这里也必须是16
    ...
    SubSection "Display" 这是对应的Screen部分
    Depth 16
    Modes "1024x768" "800x600" "640x480"
    EndSubSection
    ...
    EndSection
    现在试试startx,应该就可以了.至少能看到图形界面.
  • 论坛徽章:
    1
    荣誉会员
日期:2011-11-23 16:44:17
    3 [报告]
    发表于 2003-09-23 22:21 |只看该作者

    寻求redhat 9下sis315显卡驱动,help

    在讯怡网站的其他相关驱动下载中,提供了sis315的linux驱动



    安装方法是:
    sis315显卡LINUX下的安装步骤(以红旗linux2.4桌面版为例):
    1, 解压SIS315文件后会在解压后的目录中看到一个makefile文件。
    2, 在含有makefile文件所在的目录下运行make命令系统将会自动的编译makefile文件。
    3, 然后再运行Xconfigurator命令,在选择显卡的时候将其指定为任意一个SIS的显卡就可以了。

    但是purge没有在speedy的网站上找到, 只好这样:

    -- 作者: lawson
    -- 发布时间: 2002/05/31 10:39am

    SIS矽統公司沒有linux下的sis315驅動程式:
    下面是解決方式:
    請使用VESA驅動,它内置於内核中。
    1. 啓動 Start Xconfigurator 選擇任何 SIS 卡(支援x視窗的)
    2. 不要 probe 以及不要測試 X configuration
    3. 編輯 /etc/X11/XF86Config-4
    Section "Device"
    # no known options
    Identifier "SiS 315"
    Driver "vesa"
    VendorName "EliteGroup Computer Systems"
    BoardName "SiS 315GT"

    #BusID
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "SiS 315"
    Monitor "Monitor0"
    DefaultDepth 16

    Subsection "Display"
    Depth 16
    Modes "1024x768"
    EndSubsection

    EndSection

    以上的更改後還不能start X ,那麽改變resolution(Modes) 到 800x600

    VESA不支援 >; 16bpp
    請確認存在 Screen0 和 Monitor0

    參考資料:http://www.winischhofer.net/linuxsis630.shtml


    It looks like SIS does not release drivers for SIS 315 on linux.
    You need to use VESA driver. It is built in the kernel.

    1. Start Xconfigurator and select any SIS card

    2. Do not probe or do not test X configuration
    3. Edit /etc/X11/XF86Config-4

    Here is what I have changed to make it work

    Section "Device"
    # no known options
    Identifier "SiS 315"
    Driver "vesa"
    VendorName "EliteGroup Computer Systems"
    BoardName "SiS 315GT"

    #BusID
    EndSection

    Section "Screen"
    Identifier "Screen0"
    Device "SiS 315"
    Monitor "Monitor0"
    DefaultDepth 16

    Subsection "Display"
    Depth 16
    Modes "1024x768"
    EndSubsection

    EndSection


    If you still cannot start X after making those changes, change the resolution(Modes) to 800x600.
    VESA does not support >; 16bpp
    Please make sure Screen0 and Monitor0 exist. If it does not work please upload error log

    论坛徽章:
    1
    荣誉会员
日期:2011-11-23 16:44:17
    4 [报告]
    发表于 2003-09-23 22:39 |只看该作者

    寻求redhat 9下sis315显卡驱动,help

    http://www.winischhofer.net/linuxsis630.shtml
    看看这里.

    from:
    http://www.justlinux.com/forum/showthread.php?s=8de47ca51e9d4eb17adc920084f8636e&threadid=93326&highlight=sis315+driver

    论坛徽章:
    0
    5 [报告]
    发表于 2004-09-10 00:45 |只看该作者

    寻求redhat 9下sis315显卡驱动,help

    原帖由 "天外闲云" 发表:
    目前linux下还没有提供对sis的3d加速支持,我用的芯片也是sis的,sis650,gpu是sis315但是查阅了不少英文站点都明确表示不能提供3d加速支持,也就是说就算有单独的驱动也指能提供2d显示支持,3d加速是不可使用的。

    ..........

    论坛徽章:
    0
    6 [报告]
    发表于 2004-09-26 19:34 |只看该作者

    寻求redhat 9下sis315显卡驱动,help

    升级内核至2.6.8,内核已经自带了SIS315显示的驱动。
    您需要登录后才可以回帖 登录 | 注册

    本版积分规则 发表回复

      

    北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
    未成年举报专区
    中国互联网协会会员  联系我们:huangweiwei@itpub.net
    感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

    清除 Cookies - ChinaUnix - Archiver - WAP - TOP