LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 811|回复: 7

在VMware 4.5中装Gentoo的常见问题,及解决方案

[复制链接]
发表于 2004-12-6 18:16:41 | 显示全部楼层 |阅读模式
在VMware 4.5中装Gentoo的常见问题:

直接在硬件上安装Linux我无论如何都达不到1024x768的分辨率,只好在虚拟机里试试了,遇到这样一些问题,我想大概很多人也会有同样的问题,所以写出来给大家参考。如果有那位好心人能帮我直接在电脑上达到1024x768的分辨率,万分感谢!

1、网卡:VMware中虚拟的网卡是AMD PCnet32;所以你需要在内核编译里加上这一项。
2、SCSI: 如果你选择使用SCSI硬盘的话,需要在内核编译时,要到SCSI的low level drivers里,选上BusLogic SCSI support,编译进内核。不然无法启动。
3、显卡:使用X Window时,选择VMware 的虚拟显卡就可以到高分辨率了。

---------------------
附上我的问题:
我是联想L510笔记本电脑,显卡为Intel852/855GM,内核使用gentoo-2.6.9-r1,笔记本有输出到CRT的接口。
从X运行后的log文件看来,系统是认识我的显卡的。我也试过连一个CRT显示器,CRT上能达到1024x768的分辨率。笔记本自己的LCD显示器上却不行。
发表于 2004-12-6 18:53:09 | 显示全部楼层
请问  vmware 的虚拟显卡是哪项 没找到
我是用knoppixCD的配置文件才进x的

笔记本也可以试试knoppixCD
发表于 2004-12-6 20:52:25 | 显示全部楼层
lcd应该可以的,我的就没问题,应该是xorg.cong没设置好吧
发表于 2004-12-6 21:00:58 | 显示全部楼层
运行/etc/X11R6/bin/xorgcfg --textmode就可以配置了xorg, 里面可以选显卡的
 楼主| 发表于 2004-12-7 07:47:14 | 显示全部楼层
/etc/X11R6/bin/xorgconfig
在显卡里可以选择第29项,然后启动就可以了。
 楼主| 发表于 2004-12-7 07:48:15 | 显示全部楼层
请问daqie
你的LCD怎么配置的?可以拿来参考一下吗?
发表于 2004-12-7 08:13:50 | 显示全部楼层
Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
    FontPath    "/usr/share/fonts/zhttf/"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/Speedo/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/100dpi/"
    ModulePath        "/usr/X11R6/lib/modules"
EndSection

Section "Module"
    Load        "dbe"
    #SubSection        "extmod"
        #Option        "omit xfree86-dga"
    #EndSubSection
    Load                    "extmod"
    Load          "bitmap"
    Load                    "ddc"
    Load            "GLcore"
    Load            "dri"
    Load                    "type1"
    Load            "glx"
    Load                    "freetype"
    Load            "record"
    Load           "xtrap"
    Load                   "speedo"
    Load                   "v4l"
    Load                    "vbe"
    Load         "int10"
EndSection

Section "ServerFlags"
    Option        "blank time"        "10"
    Option        "standby time"        "20"
    Option        "suspend time"        "30"
    Option        "off time"        "60"

EndSection

Section "InputDevice"

    Identifier        "Generic Keyboard"
    Driver        "keyboard"
    Option        "AutoRepeat"        "500 5"
    Option        "XkbModel"        "pc104"
    Option        "XkbLayout"        "us"
EndSection

Section "InputDevice"
    Identifier        "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "rotocol"              "S/2"
    Option        "Device"                "/dev/psaux"
    Option        "Emulate3Buttons"       "true"
    Option      "ZAxisMapping"                "4 5"
EndSection

Section "InputDevice"
    Identifier        "Generic Mouse"
    Driver        "mouse"
    Option        "SendCoreEvents"        "true"
    Option        "rotocol"                "ImPS/2"
    Option        "Device"                "/dev/input/mice"
    Option        "Emulate3Buttons"        "true"
    Option        "ZAxisMapping"                "4 5"
EndSection

Section "Monitor"
        Identifier        "Generic Monitor"
        HorizSync        28-49
        VertRefresh        43-72
        Option                "DPMS"
EndSection

Section "Device"
    Identifier  "Generic Video Card"
    Driver      "i810"
    ChipSet     "852GM/855GM"
    BusID       ""
    VideoRam    65536
    #Option      "DRI"   "True"
    Option      "AGPMode" "4"
    Option      "AGPFastWrite" "True"
    Option      "UseInternalAGPGART" "no"
    Option      "Capabilities" "0x00000000" # disable v-sync
EndSection


#Section "Device"
#    Identifier        "Generic Video Card"
#    Driver        "i810"
#EndSection

Section "Screen"
        Identifier        "Default Screen"
        Device                "Generic Video Card"
        Monitor                "Generic Monitor"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1024x768" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "Default Layout"
        Screen                "Default Screen"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        InputDevice        "Generic Mouse"
EndSection

Section "DRI"
        Mode        0666
EndSection

#Setion "Extensions"
#        Option "Composite" "Enable"
#EndSection
发表于 2004-12-7 08:17:39 | 显示全部楼层
上面是我的xorg.conf,注意如果你要load “dri“等模块记得在内核里把相应的显卡模块选上,具体的在论坛里搜一下吧,或者到forum.gentoo.org搜855GM,不难的。我说的是真实的环境里装的gentoo阿,虚拟机里设置不一样的。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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