LinuxSir.cn,穿越时空的Linuxsir!

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

寻求笔记本电脑 Intel 945gm 集成显卡双头显示配置及修改方法

[复制链接]
发表于 2007-9-26 09:43:16 | 显示全部楼层 |阅读模式
我现在正在试图解决用笔记本进行投影,结果试遍所有网上能找到的配置文件,都无法实现。现在的问题是:

1。如果用网上找到的双头显示配置文件,在投影仪上根本无信号;

2。用一个双头同步显示的配置文件,可以在投影仪上得到图像,但是60Hz,显示是虚的,而且不知道怎么改变它,因为在 gnome 中只有一个改变主显示器分辨率的选项。这个配置文件附后。

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/X11/modules"
FontPath "/usr/lib/X11/fonts/misc/"
FontPath "/usr/lib/X11/fonts/TTF/"
FontPath "/usr/lib/X11/fonts/OTF"
FontPath "/usr/lib/X11/fonts/Type1/"
FontPath "/usr/lib/X11/fonts/CID/"
FontPath "/usr/lib/X11/fonts/100dpi/"
FontPath "/usr/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load "dri"
Load "xtrap"
Load "extmod"
Load "glx"
Load "dbe"
Load "record"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "rotocol" "auto"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 300 190 # mm
Identifier "Monitor0"
VendorName "Generic Monitor"
ModelName "Generic Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "ageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
BusID "CI:0:2:0"
Option "MonitorLayout" "NONE,LFP+CRT"
Option "DevicePresence" "true"
Option "CheckLid" "false"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection
发表于 2007-9-26 20:04:32 | 显示全部楼层
我是在开机前连接好了投影仪,然后就好了!(我忘了我有按笔记本切换显示的按键没)

然后就是只有投影仪有输出,笔记本LCD黑屏!如果切换回笔记本,LCD花屏!

那时在投影仪上看过系统X的分辨率,高于我的LCD!


你可以试一下接到一个普通的显示器上看看!
好像和接投影时不一样!
附上我现在的xorg.conf

基本我是使用debian 配置的,一些多余的东西没删除!有些分辨率对于笔记本来说的确是没用的
我有显卡的DEB包驱动,如有需要,请论坛短信我你的邮箱地址!
  1. Section "Files"
  2.       FontPath        "/usr/share/fonts/X11/misc"
  3.         FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  4. EndSection
  5. Section "InputDevice"
  6.         Identifier        "Generic Keyboard"
  7.         Driver                "kbd"
  8.         Option                "CoreKeyboard"
  9.         Option                "XkbRules"        "xorg"
  10.         Option                "XkbModel"        "pc104"
  11.         Option                "XkbLayout"        "us"
  12. EndSection
  13. Section "InputDevice"
  14.         Identifier        "Configured Mouse"
  15.         Driver                "mouse"
  16.         Option                "CorePointer"
  17.         Option                "Device"                "/dev/input/mice"
  18.         Option                "Protocol"                "ImPS/2"
  19.         Option                "Emulate3Buttons"        "true"
  20. EndSection
  21. Section "InputDevice"
  22.         Identifier        "Synaptics Touchpad"
  23.         Driver                "synaptics"
  24.         Option                "SendCoreEvents"        "true"
  25.         Option                "Device"                "/dev/psaux"
  26.         Option                "Protocol"                "auto-dev"
  27.         Option                "HorizScrollDelta"        "0"
  28. EndSection
  29. Section "Device"
  30.         Identifier        "Generic Video Card"
  31.         Driver                "i810"
  32.         BusID                "PCI:0:2:0"
  33. Option "XAANoOffscreenPixmaps" "true"
  34. EndSection
  35. Section "Module"
  36.     Load  "dri"
  37.     Load  "glx"
  38. EndSection
  39. Section "Monitor"
  40.         Identifier        "通用显示器"
  41.         Option                "DPMS"
  42.         HorizSync        28-51
  43.         VertRefresh        43-60
  44. EndSection
  45. Section "Screen"
  46.         Identifier        "Default Screen"
  47.         Device                "Generic Video Card"
  48.         Monitor                "通用显示器"
  49.         DefaultDepth        24
  50.         SubSection "Display"
  51.                 Depth                1
  52.                 Modes                "1024x768" "800x600" "640x480"
  53.         EndSubSection
  54.         SubSection "Display"
  55.                 Depth                4
  56.                 Modes                "1024x768" "800x600" "640x480"
  57.         EndSubSection
  58.         SubSection "Display"
  59.                 Depth                8
  60.                 Modes                "1024x768" "800x600" "640x480"
  61.         EndSubSection
  62.         SubSection "Display"
  63.                 Depth                15
  64.                 Modes                "1024x768" "800x600" "640x480"
  65.         EndSubSection
  66.         SubSection "Display"
  67.                 Depth                16
  68.                 Modes                "1024x768" "800x600" "640x480"
  69.         EndSubSection
  70.         SubSection "Display"
  71.                 Depth                24
  72.                 Modes                "1024x768" "800x600" "640x480"
  73.         EndSubSection
  74. EndSection
  75. Section "ServerLayout"
  76.         Identifier        "Default Layout"
  77.         Screen                "Default Screen"
  78.         InputDevice        "Generic Keyboard"
  79.         InputDevice        "Configured Mouse"
  80.         InputDevice        "Synaptics Touchpad"
  81. EndSection
  82. Section "DRI"
  83.         Mode        0666
  84. EndSection
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-28 12:21:59 | 显示全部楼层
谢谢回复。用你的配置试过了,问题依旧。

我机器的细节是: intel 945gm 显卡 GMA950 默认显存8M。显示器默认分辨率1280x800。lspci结果:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)

经过在不同情况下反复试验,终于发现了共同的问题:就是不管显示配置是什么,外接输出自动使用了不正确的扫描频率进行显示(通过仔细调整显示参数,包括用VGA参数直接传递给内核,发现分辨率是变为设置的值,是正确的,只是场频和行频是完全错误的,显示结果看起来怪怪的)。因此,要解决问题必须有办法直接设置外接显示的扫描频率(ModeLine值?)。就是说必须能够采用双显的设置方法!但是我用了从网上能找到的几个配置文件,都不能正常使用。例如:
Section "ServerLayout"
        Identifier      "Dual-monitor Layout"
        Screen 0        "Default Screen"
        Screen 1        "Secondary Screen" RightOf "Default Screen"
#        Option "Xinerama" "on"
       Option "Clone" "On"
        InputDevice     "Keyboard0"
        InputDevice     "Mouse0"
EndSection

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/X11/modules"
        FontPath     "/usr/lib/X11/fonts/misc/"
        FontPath     "/usr/lib/X11/fonts/TTF/"
        FontPath     "/usr/lib/X11/fonts/OTF"
        FontPath     "/usr/lib/X11/fonts/Type1/"
        FontPath     "/usr/lib/X11/fonts/CID/"
        FontPath     "/usr/lib/X11/fonts/100dpi/"
        FontPath     "/usr/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "xtrap"
        Load  "extmod"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "rotocol" "auto"
        Option      "Device" "/dev/mouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection


Section "Device"
        Identifier  "intel"
        Driver      "i810"
        Screen          0
        BusID       "CI:0:2:0"
#Option      "VBERestore" "true"
#VideoRam    64000
#Option      "BackingStore" "true"
#Option      "BusType" "CIE"
#Option      "NoAccel" "false"
#Option      "DRI" "true"
        Option "DevicePresence" "true"
        Option "CheckLid" "false"
        Option "MonitorLayout" "NONE,LFP+LFP"
EndSection

Section "Device"
        Identifier  "device1"
        Driver      "i810"
        Screen          1
        BusID       "CI:0:2:1"
#       Option      "VBERestore" "true"
#VideoRam    64000
#Option      "BackingStore" "true"
#Option      "BusType" "CIE"
#       Option      "NoAccel" "false"
        Option "DevicePresence" "true"
        Option "CheckLid" "false"
        Option      "DRI" "true"
        Option "MonitorLayout" "NONE,LFP+LFP"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        #DisplaySize      300   190     # mm
        #Identifier   "Monitor0"
        Option      "DPMS"
#VendorName   "LPL"
#ModelName    "8d00"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "intel"
        Monitor         "Generic Monitor"
        DefaultDepth    24
        SubSection "Display"
                Depth           16
                Modes           "1024x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1024x768"
        EndSubSection
EndSection

Section "Monitor"
        #DisplaySize      280   210     # mm
        Identifier   "Mag"
        VendorName   "MAG"
        ModelName    "MAG XJ500T"
### Uncomment if you don't want to default to DDC:
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 120.0

        # Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
        ModeLine "1024x768"   94.50 1024 1092 1188 1376   768  769  772  808 +hs ync +vsync

        # TV fullscreen mode or DVD fullscreen output.
        # 768x576 @ 79 Hz, 50 kHz hsync
        ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

        # 768x576 @ 100 Hz, 61.6 kHz hsync
        ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616

        Option      "DPMS"
EndSection

Section "Screen"
        Identifier "Secondary Screen"
        Device     "device1"
        Monitor    "Mag"
        DefaultColorDepth 24
        SubSection "Display"
                 Depth     1
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
        Modes                "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "DRI"
        Mode    0666
EndSection
回复 支持 反对

使用道具 举报

发表于 2007-9-28 12:25:07 | 显示全部楼层
会不会因为你的是宽屏而投影仪是标准屏有关呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-28 15:09:12 | 显示全部楼层
不是的。上个配置是直接接的MAG 15吋CRT。在WINDOWS下是正常的。

在我的台式机上,因为用的ATI显卡,所以用ATI显示驱动程序,这个程序有双显的设置界面,可以容易地分别设置两个显示,但INTEL的XFREE86驱动程序没有这种设置功能。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-29 09:39:50 | 显示全部楼层
找到一个起作用的配置,希望对其它使用 intel GMA950集成显卡的人有用!
#Intel i945GM GMA950 Dual Display - Xorg.conf

Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/X11/modules"
        FontPath     "/usr/lib/X11/fonts/misc/"
        FontPath     "/usr/lib/X11/fonts/TTF/"
        FontPath     "/usr/lib/X11/fonts/OTF"
        FontPath     "/usr/lib/X11/fonts/Type1/"
        FontPath     "/usr/lib/X11/fonts/CID/"
        FontPath     "/usr/lib/X11/fonts/100dpi/"
        FontPath     "/usr/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dri"
        Load  "xtrap"
        Load  "extmod"
        Load  "glx"
        Load  "dbe"
        Load  "record"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier        "Generic Keyboard"
        Driver                "kbd"
        Option                "CoreKeyboard"
        Option                "XkbRules"        "xorg"
        Option                "XkbModel"        "pc104"
        Option                "XkbLayout"        "us"
EndSection

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

Section "Device"
        Identifier "LCD"
        Driver "i810"
        Option "MonitorLayout"        "CRT,LFP"
        Option "DDCMode" "True"
        Screen 0
        BusID "CI:0:2:0"
EndSection

Section "Device"
        Identifier "CRT"
        Driver "i810"
        Option "MonitorLayout"        "CRT,LFP"
        Option "DDCMode" "True"
        Screen 1
        BusID "CI:0:2:0"
EndSection

Section "Monitor"
        Identifier        "LCD"
        Option                "DPMS"
EndSection

Section "Monitor"
        Identifier        "CRT"
        Option                "DPMS"
EndSection

Section "Screen"
        Identifier        "LCD"
        Device                "LCD"
        Monitor                "LCD"
        DefaultDepth        24
        SubSection "Display"
                Depth                1
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                4
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                8
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                15
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                16
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
        SubSection "Display"
                Depth                24
                Modes                "1280x800" "1024x768" "800x600"
        EndSubSection
EndSection

Section "Screen"
        Identifier        "CRT"
        Device                "CRT"
        Monitor                "CRT"
        DefaultDepth        24

        SubSection "Display"
                Depth        24
                Modes        "1024x768" "800x600" "800x600"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier        "LCDandCRT"
        Screen                0 "LCD"
        Screen                1 "CRT" RightOf "LCD"
        InputDevice        "Generic Keyboard"
        InputDevice        "Configured Mouse"
        Option                "Xinerama" "true"
EndSection

Section "ServerFlags"
        Option                "DefaultServerLayout" "LCDandCRT"
EndSection

Section "DRI"
        Mode        0666
EndSection
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-29 09:42:42 | 显示全部楼层
已经在 MAG XJ500T 15吋 CRT 和 AOC 193P+ 19吋液晶屏上外接测试通过。

晚上试一下投影。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-30 09:21:21 | 显示全部楼层
在投影仪上测试成功,这个配置可用。
回复 支持 反对

使用道具 举报

发表于 2007-9-30 22:12:40 | 显示全部楼层
收下。
感谢楼主。
我的好像是 GM965 。应该也可以用吧?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-9-30 22:23:51 | 显示全部楼层
部分投影仪必须设置刷新率才能正确显示,修改如下:
Section "Monitor"
        Identifier        "CRT"
        Option                "DPMS"
        HorizSync        30 - 70
        VertRefresh        50 - 120
EndSection
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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