LINUX.ORG.RU

внешний монитор


0

0

как я могу сделать на ноуте внешний монитор основным?

00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04) (prog-if 00 [VGA])
        Subsystem: Lenovo Unknown device 2062
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d0000000 (32-bit, non-prefetchable) [size=512K]
        Region 1: I/O ports at e000 [size=8]
        Region 2: Memory at a0000000 (32-bit, prefetchable) [size=256M]
        Region 3: Memory at d0080000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
        Subsystem: Lenovo Unknown device 2062
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 0
        Region 0: Memory at d0100000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: [d0] Power Management version 2
                Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
★★★

Ответ на: комментарий от scyld

Ну видимо у человека железо работает по "ИЛИ". Либо изображение выводится на матрицу, либо на внешний монитор.

Lumi ★★★★★
()
Ответ на: комментарий от Lumi

не совсем. изображение выводится и туда, и туда, но одинаковое, и только 1024х768. а хотелось бы 1280х1024 (внешний монитор 17''). пробовал в xorg.conf матрицу вообще отключить - иксы валятся с ошибкой, мол праймари девайс (00:02.0) в конфиге отсутствует.

friday ★★★
() автор топика
Ответ на: комментарий от friday

> мол праймари девайс (00:02.0) в конфиге отсутствует

Пропиши другой девайс в конфиг.

Что показывает lspci ?

Lumi ★★★★★
()
Ответ на: комментарий от Lumi

> Пропиши другой девайс в конфиг.

так и делал - 0:02.0 убирал, 0:02.1 прописывал. итог - ругань на отсутствие 0:02.0

> Что показывает lspci ?

кусок вывода lspci -vv в первом посте

friday ★★★
() автор топика
Ответ на: комментарий от friday

> кусок вывода lspci -vv в первом посте

Совсем я плохой стал, пока до конца дочитал успел позабыть :)

> так и делал - 0:02.0 убирал, 0:02.1 прописывал.

http://i810fb.sourceforge.net/howto/x83.html

Вот здесь нашёл кое-что про "extvga"

enables secondary/external VGA output (default = not set)

Lumi ★★★★★
()
Ответ на: комментарий от scyld

> а разрешение в ксорге прописать ?

у обоих мониторов стоит

Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"

> Вот здесь нашёл кое-что про "extvga"

не помогло

friday ★★★
() автор топика
Ответ на: комментарий от friday

> не помогло

Тогда я пасс... Идеи кончились.

Lumi ★★★★★
()

Извиняюсь за чайницкое предположение: а видеопамяти хватает?

acheron ★★★★
()
Ответ на: комментарий от friday

> изображение выводится и туда, и туда, но одинаковое, и только 1024х768. а хотелось бы 1280х1024 (внешний монитор 17'').

А железо поддерживает такое разрешение? У меня старый ноут максимальное позволял 1024х768 и все, это было ограничение видеокарты.

anonymous
()
Ответ на: комментарий от anonymous

железо тянет вполне - под ХП работали оба монитора - встроенный на 1024х768, внешний - на 1280х1024

friday ★★★
() автор топика
Ответ на: комментарий от friday

+1, такая же хрень. только встроенная матрица 1280х800. подрубаем внешний моник, и обе матрицы работают на 1280х1024, причем на встроеннной обрезается нижняя часть экрана на (1024-800)пх. что я только не делал, убил вагон времени, но не помогло ничего. :\

isden ★★★★★
()

Попробуйте запустить X сервер с параметром -configure. Он проверит оборудование и создаст файл /root/xorg.conf.new. В секции ServerLayout поменяйте единички с нулями. Возможно в секции "Device" нужно вудет выставить опцию Clone в false. Загдяните ещё в man intel.

qwe ★★★
()
Ответ на: комментарий от qwe

сделал. в xorg.conf.new только по одной секции "Device", "Screen" и "Monitor" - для матрицы. о внешнем никаких упоминаний

friday ★★★
() автор топика
Ответ на: комментарий от friday

>xorg.conf.new только по одной секции "Device", "Screen" и "Monitor" - для матрицы. о внешнем никаких упоминаний

А если тупо добавить руками "Device" для второго устройства с его BusID. Добавить ещё секции "Screen" и "Monitor" (с соответствующими идентификаторами) и добавить в ServerLayout ещё один Screen.

qwe ★★★
()
Ответ на: комментарий от qwe

> А если тупо добавить руками "Device" для второго устройства с его BusID. Добавить ещё секции "Screen" и "Monitor" (с соответствующими идентификаторами) и добавить в ServerLayout ещё один Screen.

и получится старый конфиг:-)

friday ★★★
() автор топика
Ответ на: комментарий от friday

>> А как выглядит оригинальный /etc/X11/xorg.conf?

>как и xorg.conf.new - с одним девайсом

Угу, только я не видел ни того ни того. :)

qwe ★★★
()
Ответ на: комментарий от qwe

xorg.conf.new

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

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

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

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

Section "Monitor"
        #DisplaySize      340   270     # mm
        Identifier   "Monitor0"
        VendorName   "SAM"
        ModelName    "SyncMaster"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
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     "PageFlip"                  # [<bool>]
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
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

friday ★★★
() автор топика
Ответ на: комментарий от friday

А так пробовали ?(новое и изменённое помечено +):

8<---------------------------------------------------------------

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

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/Type1"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
        FontPath     "/usr/share/fonts/X11/100dpi"
        FontPath     "/usr/share/fonts/X11/75dpi"
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

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

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

+Section "Monitor"
+        Identifier   "Monitor0"
+        VendorName   "Monitor Vendor"                                                                               
+        ModelName    "Monitor Model"
+        Option      "DPMS"
+EndSection

Section "Monitor"
        #DisplaySize      340   270     # mm
+        Identifier   "Monitor1"
        VendorName   "SAM"
        ModelName    "SyncMaster"
 ### Comment all HorizSync and VertSync values to use DDC:
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        Option      "DPMS"
EndSection

+Section "Device"
+        Identifier  "Card0"
+        Driver      "i810"
+        VendorName  "Intel Corporation"
+        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
+        BusID       "PCI:0:2:1"
+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     "PageFlip"                  # [<bool>]
+        Identifier  "Card1"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
        BusID       "PCI:0:2:0"
EndSection

+Section "Screen"
+        Identifier "Screen0"
+        Device     "Card0"
+        Monitor    "Monitor0"
+EndSection

Section "Screen"
+       Identifier "Screen1"
+       Device     "Card1"
+       Monitor    "Monitor1"
        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
8<---------------------------------------------------------------

Больше не знаю что предложить. У меня так работает, но у меня две отдельные видео карточки.

qwe ★★★
()
Ответ на: комментарий от qwe

А, ну и в log выводит следующее:

(++) Using config file: "/root/xorg.conf.new"                                                                       
(==) ServerLayout "X.org Configured"                                                                                
(**) |-->Screen "Screen0" (0)                                                                                       
(**) |   |-->Monitor "Monitor0"                                                                                     
(**) |   |-->Device "Card0"                                                                                         
(**) |-->Screen "Screen1" (1)                                                                                       
(**) |   |-->Monitor "Monitor1"                                                                                     
(**) |   |-->Device "Card1"                                                                                         
(**) |-->Input Device "Mouse0"                                                                                      
(**) |-->Input Device "Keyboard0"                                                                                   
(==) Automatically adding devices                                                                                   
(==) Automatically enabling devices
...
(II) Loader running on linux                                                                                        
(II) LoadModule: "pcidata"                                                                                          
(II) Loading /666/lib/xorg/modules//libpcidata.so                                                                   
(++) using VT number 12                                                                                             
                                                                                                                   
(II) PCI: PCI scan (all values are in hex)                                                                          
(II) PCI: 00:02:0: chip 8086,2582 card 1014,02d9 rev 04 class 03,00,00 hdr 00
...
(II) PCI: 0a:0a:0: chip 100c,3208 card 0000,0000 rev 60 class 03,00,00 hdr 00
...
(II) PCI: End of PCI scan
...
(--) PCI:*(0:2:0) Intel Corporation 82915G/GV/910GL Integrated Graphics Controller rev 4, Mem @ 0xd1200000/19, 0xc00
00000/28, 0xd1280000/18, I/O @ 0x3800/3                                                                             
(--) PCI: (10:10:0) Tseng Labs Inc ET6000 rev 96, Mem @ 0xd0000000/24, I/O @ 0x4000/8
...
(II) Setting vga for screen 0.                                                                                      
(II) Setting vga for screen 1.                                                                                      
(II) Loading sub module "int10"                                                                                     
(II) LoadModule: "int10"                                                                                            
...
(II) Loading sub module "vbe"                                                                                       
(II) LoadModule: "vbe"                                                                                              
...
(II) Loading sub module "vgahw"                                                                                     
(II) LoadModule: "vgahw"                                                                                            
(**) intel(0): Depth 16, (--) framebuffer bpp 16                                                                    
(==) intel(0): RGB weight 565                                                                                       
(==) intel(0): Default visual is TrueColor                                                                          
(II) intel(0): Integrated Graphics Chipset: Intel(R) 915G                                                           
(--) intel(0): Chipset: "915G"
...
(II) Loading sub module "int10"                                                                                     
(II) LoadModule: "int10"                                                                                            
(II) TSENG(1): initializing int10                                                                                   
(II) Attempted to read BIOS 16384KB from /sys/bus/pci/devices/0000:0a:0a.0/rom: got 32KB                            
(II) Loading sub module "vgahw"                                                                                     
(II) LoadModule: "vgahw"                                                                                            
(II) TSENG(1): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000                                      
(--) TSENG(1): Chipset: "ET6000"                                                                                    
(--) TSENG(1): ET6000 PCI I/O registers at 0x4000                                                                   
(**) TSENG(1): Depth 16, (--) framebuffer bpp 16
...

qwe ★★★
()
Ответ на: комментарий от friday

Читал man`ы, долго думал... :)

из man i810:

Option "MonitorLayout" "anystr"
              Allow different monitor configurations. e.g. "CRT,LFP" will con-
              figure  a  CRT on Pipe A and an LFP on Pipe B. Regardless of the
              primary   heads'   pipe   it    is    always    configured    as
              "<PIPEA>,<PIPEB>".   Additionally you can add different configu-
              rations such as "CRT+DFP,LFP" which would  put  a  digital  flat
              panel  and  a  CRT  on pipe A, and a local flat panel on pipe B.
              For single pipe configurations you can just specify the monitors
              types on Pipe A, such as "CRT+DFP" which will enable the CRT and
              DFP on Pipe A.  Valid monitors are  CRT,  LFP,  DFP,  TV,  CRT2,
              LFP2,  DFP2, TV2 and NONE.  NOTE: Some configurations of monitor
              types may fail, this depends on the Video BIOS and  system  con-
              figuration.   Default:  Not configured, and will use the current
              head's pipe and monitor.

----------------------------------
из man xorg.conf

DEVICE SECTION
...
Screen  number
              This option is mandatory for cards where a single PCI entity can
              drive more than one display (i.e., multiple CRTCs sharing a sin-
              gle graphics accelerator and video memory).  One Device  section
              is  required  for each head, and this parameter determines which
              head each of the Device sections applies to.  The  legal  values
              of  number  range  from  0  to one less than the total number of
              heads per entity.  Most drivers require that the primary  screen
              (0) be present.
--------------------------------

Отсюда приходит в голову, что секции "Device" нужно описывать
примерно так:

--------------------------------

Section "Device"
        Identifier  "Card0"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML"
        BusID       "PCI:0:2:0"
        Option "MonitorLayout" "CRT,LFP"
        Screen  0
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "i810"
        VendorName  "Intel Corporation"
        BoardName   "Mobile 915GM/GMS/910GML"
        BusID       "PCI:0:2:0"
        Option "MonitorLayout" "CRT,LFP"
        Screen  1
EndSection

------------------------------------

BusID вроде должен быть одинаковым (возможно что можно и пропустить).

qwe ★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.