Автор Тема: Две видео карти  (Прочетена 2948 пъти)

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« -: Feb 25, 2006, 12:21 »
Здр.
Сутринта се събудих с мисълта да поткарам и другия монитор които имам (тои прекара вече 6месеца на гардероба) та така.. проблема обаче е малко усобен понеже е малко старичък ..(не малко) неможе да подържа големите резолюци ... така че немога да го вържа към моята видео карта защото на практика тои няма да работи.. за това ми хрумна друга тъпа идея да закача втора видео карта и вече на нея да си я наглася .. обаче тук се замислих дали те няма да си пречат и няма ли да убъркат те цялата система ..също се по замислих как ще укажа различната резолюция но предполагам че за това някои е помислил в xorg  ':p' ... обаче за сега целта ми е да поткарам и двете видео карти .... ако някои има някакви идеи .. може да сподели ..

Мерси предварително и поздрави Ро.
Активен

Hapkoc

  • Напреднали
  • *****
  • Публикации: 2117
    • Профил
Две видео карти
« Отговор #1 -: Feb 25, 2006, 14:10 »
Значи, няма абсолютно никакъв проблем да подкараш 2 монитора с 2 видеокарти.

Това, което ти трябва, се нарича Screen в XF86Config/xorg.conf. Добавяш си втори Section Device, втори Section Monitor, втори Section Screen в конфигурацията на X (man xorg.conf), след което втория Screen го добавяш в ServerLayout секцията, например:

---------------
Section Device
  # настройки за видеокартата
EndSection
Section Monitor
  # настройки за втория монитор
EndSection
Section Screen
  # настройки за екрата (дълбочина на цвета, резолюция)
EndSection
Section ServerLayout
  ...
  Screen  "Default"
  Screen  "Second" leftof "Default" # това поставя втория екран отляво на първия
  ...
EndSection
---------------

Можеш да разгледаш също опциите за Xinerama.
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #2 -: Feb 26, 2006, 01:31 »
Разгледах тук там уж го написах но в момента в които сложих видео картата и натиснах копченцето системата тръгна обаче бес картина.. монитора дори не се стартира..:(
явно проблема идва от биос-а или нешо което е преди него(маи няма такова до което може да се има достъп) предложения утре пак ще го мъча но ако имате идеи! даите !

Поздрави Ро.
Активен

d1saster

  • Напреднали
  • *****
  • Публикации: 182
    • Профил
Две видео карти
« Отговор #3 -: Feb 26, 2006, 10:55 »
Предполагам първата ти карта е AGP или вградена. А втората е PCI. В биоса има настройка която казва кое първо да се инициализира AGP или PCI. Ти сложи PCI.
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #4 -: Feb 26, 2006, 12:49 »
Така това за картите още снощи ми доиде на идея. и го направих.. поткарах го с двете карти .. тоест черен екран но и това е напредак ..обаче изникна нещо ново..само единия монитор тръгва.. !
разбрах каде бъркам в кофига ми .. и двете карти са еднакви само с различни имена но не ми е ясно сега как да ги направя различни ..

много съм куц в .. xorg!
Примерен код

...
00:0a.0 VGA compatible controller: Trident Microsystems TGUI 9660/938x/968x (rev d3)
01:00.0 VGA compatible controller: ATI Technologies Inc Rage 128 PF/PRO AGP 4x TMDS
...


xorg.conf
Примерен код

Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection

Section "Monitor"
    Identifier  "Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Screen"
    Identifier "Screen 2"
    Monitor "Monitor"
    Device "VESA Framebuffer"
#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    Screen  "Screen 2"
    Screen  "Screen 1" leftof "Screen 2" # това поставя втория екран отляво на първия
EndSection

##################################################################################
##################################################################################
##################################################################################

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


предполагам че проблема не е друк освен това.. !?

пп
Поразрових се в гооглето обаче не намерих решението и други имат подобен проблем!но никаде не бе написано рашението ..  под други имам предвид един двама  ':crazy:'
хмм!
Активен

  • Гост
Две видео карти
« Отговор #5 -: Feb 26, 2006, 14:48 »
това което е по-долу е моят xorg.conf. С две карти съм. първата е AGP nvidia 6600 а втората е PCI ati /4mb. Може да видиш как съм ги конфигурирал. Само че е малко по-различно (да не те заблудя нещо). Голямата карта (AGP) си изкарва сигнала на Монитор -CTX, а малката (PCI) конфигурирана да изкарва сигнал на Телевизор през SCART букса. В това няма нищо различно (това НЕ Е tv-out). Просто телевизора се използва като втори монитор, който е настроен и може да работи само на един режим 50Hz 720x540. Не обръщай внимание на редовете  ModeLine   "PAL-min" 14.125 .... - изтрий си ги.

Това което при тебе би могло да е от проблем е на втория/стар монитор да му зададеш по малки стойности на  
HorizSync   8-75
VertRefresh 20-60
или нещо такова, за да може X-a да пусне режим с по-малка честота на опресняване към монитора и монитора да може да я изкара. Трябва да пробваш с различни стойности докато го уцелиш.


Друг проблем, който се сещам е в секциата 'Моdule'  редовете
#       Load        "glx"   # libglx.a
#       Load        "dri"   # libdri.a
съм ги забранил. Стават неприятни работи, ако първата карта подържа правилно glx, a пък втората няма? ами като се с от различни производители. glx на nvidia и glx на ATI? GlX-a май е глобален за X-a. Даже мислех да пускам питане тук в linux-bg, как може да се задава   GLX на всеки Device по отделно? И изобщо възможно ли е това с карти от различни производители.

Е на мен това ми е проблема. Не мога да си играя на UT2004 и едновреммено да гледам филм на втория монитор.....

 
 
Примерен код

# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************


Section "dri"
        # Access to OpenGL ICD is allowed for all users:
        Mode 0666
        # Access to OpenGL ICD is restricted to a specific user group:
        #    Group 100    # users
        #    Mode 0660
EndSection

Section "Module"
    Load        "dbe"   # Double buffer extension

    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection


    Load        "type1"
    Load        "freetype"


#       Load        "glx"   # libglx.a
#       Load        "dri"   # libdri.a
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"

#   FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
#   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
#   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
###add by my fixed#########
FontPath   "/usr/share/CyrFont/75dpi:unscaled"
FontPath   "/usr/share/CyrFont/100dpi:unscaled"
FontPath   "/usr/share/CyrFont/misc:unscaled"
FontPath   "/usr/share/CyrFont/Xfonts:unscaled"
###add by my PS#########
FontPath  "/usr/share/CyrFont/ADOBE"
FontPath  "/usr/share/CyrFont/ADOBE-WinFont-1251"
FontPath "unix/:7100"

# The module search path.  The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"
EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    #Driver     "kbd"
    Option "Xleds" "1 2 3"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "bg_st"
#   Option "XkbVariant" "BDS"
    Option "XkbVariant" "phonetic"
    Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,altwin:meta_alt"
EndSection


Section "InputDevice"
    Identifier  "Keyboard2"
    Driver      "kbd"
    Option "Device"      "/dev/zero"
    Option "AutoRepeat" "500 30"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "bg_st"
    Option "XkbVariant" "phonetic"
    Option "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll,altwin:meta_alt"
EndSection


Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
#        Option      "Device" "/dev/usb/mouse0"
         Option      "Device" "/dev/input/mice"
#        Option      "Device" "/dev/input/mouse0"

        Option      "Protocol" "IMPS/2"
        Option      "Emulate3Buttons" "on"
        Option      "ZAxisMapping" "4 5"
EndSection


Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
    Option "Protocol"    "PS/2"
    Option "Device"      "/dev/mouse"
    Option "Emulate3Buttons"
EndSection




Section "Monitor"
    Identifier  "CTX"
# sledwashtia red raboti bez GATOS draiveri
#   HorizSync   30 - 110
# sledwashtia red raboti SAS GATOS draiveri
#    HorizSync   31.5 - 75.5

     HorizSync   30 - 110.0
#     VertRefresh 30 - 110.0

#    HorizSync  30-64         # multisync
#    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies

# sledwashtia red raboti bez GATOS draiveri
    VertRefresh 50-150
#    NVIDIA LINE
#     ModeLine "800x600"  68  800  832  896 1048 600 601 604 631 -hsync +vsync

#     ModeLine "800x600" 56.30 800 832 896 1048 600 601 604 631 +hsync +vsync
#      ModeLine "800x600" 66.5 800 832 896 1048 600 601 604 631 -hsync +vsync

#      ModeLine "1024x768"  94.50 1024 1072 1168 1376 768 769 772 808 -hsync +vsync


EndSection

Section "Monitor"
    Identifier  "TV"
#    HorizSync   8 - 37.3
#    VertRefresh 20 - 800

    HorizSync   8-75
    VertRefresh 20-800

#    HorizSync   8 - 20
#    VertRefresh 20 - 60
#from auto mode 85hz


#ATI nadolu bez Vsync
#       ModeLine "800x600" 66.5 800 832 896 1048 600 601 604 631 -hsync +vsync
        ModeLine "1024x768"  94.50 1024 1072 1168 1376 768 769 772 808 -hsync +vsync
        ModeLine   "PAL-max" 14.125  768 772 836 904 576 578 581 625 -hsync +vsync Interlace
        ModeLine   "PAL-min" 14.125  720 744 808 904 540 558 561 625 -hsync +vsync Interlace
    Gamma 0.45
    Option "Composite_sync" "off"
EndSection


Section "Device"
    Identifier  "ATI-match"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "ati"
    BusID      "PCI:2:1:0"
#gresho-disable
#    BusID      "PCI:2:3:0"

EndSection

Section "Device"
    Identifier  "radeon"
    VendorName  "Unknown"
    BoardName   "Unknown"
    #driver      "nv"
    #Driver     "vesa"
    Driver     "nvidia"
    #Option "LoadKernelModule" "off"

    #Used to prevent flickering or tearing problem caused by display buffer underflow.
    #AUTO   -- Driver calculated (default).
    #BIOS   -- Remain unchanged from BIOS setting. Use this if the calculation is not correct for your card.
    #HIGH   -- Force to the highest priority. Use this if you have problem with above options. This may affect performence slightly.
    #Option "DisplayPriority" "BIOS"
    BusID      "PCI:1:0:0"
    #Option "NoAccel" "on"
EndSection



# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
    Identifier  "Screen1"
    Device      "radeon"
    Monitor     "CTX"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen2"
    Device      "ATI-match"
    Monitor     "TV"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "PAL-min"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "PAL-min"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "PAL-min"
        ViewPort    0 0
    EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************


Section "ServerLayout"
    Identifier  "Layout1"

    Screen "Screen1"
   Screen "Screen2" rightof "Screen1"

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Mouse2" "AlwaysCore"
#   InputDevice "Mouse2" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
Option "AllowMouseOpenFail" "true"
EndSection

Section "ServerLayout"
    Identifier  "Layout2"
    Screen "Screen2"

   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

[naka@P2 X11]$
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #6 -: Feb 26, 2006, 18:29 »
Ха след мъки мъки накарах монитора да посинее! но само това..
нагласих BusID-то и заредих правилните дривери сичко 6+ обаче монитора е син и нищо повече единия си работи както си трябва другия е син! някои имали представа как се управляват сега!

ползвам КДЕ!
Активен

july

  • Напреднали
  • *****
  • Публикации: 324
    • Профил
Две видео карти
« Отговор #7 -: Feb 27, 2006, 10:33 »
Цитат (Guest @ Фев. 26 2006,15:48)
а малката (PCI) конфигурирана да изкарва сигнал на Телевизор през SCART букса. В това няма нищо различно (това НЕ Е tv-out). Просто телевизора се използва като втори монитор, който е настроен и може да работи само на един режим 50Hz 720x540.

/offtopic

стана ми интересно за scarta-a...

ползваш ли някакъв преходник vga->scart ?
или scart-а ти разбира RGB ?
а синхронизация как му подаваш? или разчиташ да нацелиш някаква подразбираща се:?)
плс, сподели инфо...


п.с. сори за офффтопика,
Активен

  • Гост
Две видео карти
« Отговор #8 -: Feb 27, 2006, 11:21 »
Цитат (july @ Фев. 27 2006,11:33)
стана ми интересно за scarta-a...

ползваш ли някакъв преходник vga->scart ?
или scart-а ти разбира RGB ?
а синхронизация как му подаваш? или разчиташ да нацелиш някаква подразбираща се:?)
плс, сподели инфо..

/offtopic
Това е друг въпрос и е дълга тема. Даже си мислих да пусна статия как се прави подробно ама все не ми стига време.

Значи. на SCART буксата на телевизора има входове RGB, синхроимпулс и един сигнал дето превключва TV-to. Хубавото е че RGB  сигналите на TV-то са абсолютно същите които излизат от VGA - 1V пик до пик и могът да се вържат директно. Със синхро импулсите обаче не стои така въпроса. ТV-то иска един сигнал в който са смесени  хоризонталния и вертиклния синхро импулс, а на изхода на VGA картата са разделени. Смесването се прави с проста  XOR схема. Кабела е правен и такива неща не се продават.

Интересно е че открих че ATI-тата могът да изработват такъв смесен синхроимпулс който излиза на единия от синхронизациите на VGA -картата и май тогава не е необходима и XOR схема. Затова даже има и недокоментира опция на X-a.
Option "Composite_sync" "off"

а другото е да се напише правилен телевизионен режим и това е:

ModeLine   "PAL-max" 14.125  768 772 836 904 576 578 581 625 -hsync +vsync Interlace
ModeLine   "PAL-min" 14.125  720 744 808 904 540 558 561 625 -hsync +vsync Interlace

Сори за отклоненито от темата.
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #9 -: Feb 27, 2006, 12:39 »
Хубаво но това не решава проблема'<img'> някои ако има идеи как се управляват ..!? тези монитори да предложи.. пробвах

DISPLAY=":0.1" programm

Обаче бес ефект!

Някакви предложения!
Активен

  • Гост
Две видео карти
« Отговор #10 -: Feb 27, 2006, 13:11 »
Мога да ти кажа какво се получава при мен когато работят и двете.
Предполагам че ползваш графичен логин. Когато ти излезе логина, преди да си написал паролата, един от критериите че X-a е инициализирал правилно втората карта е като движиш мишката и стигнеш до края на екрана (отляво или отдясно) показалеца на мишката просто потъва в другия дисплей, личи си че има още един екран. Ако всичко работи плравилно то на 1-вия монитор излиза логина, А втория е все още сив и няма нищо по него но е с работещ X. на втория би трябвало да видиш мишката как минава от първия монитор.

след логване в КДЕ. КДЕ-то си изкарва менютата и на първия и на втория монитор. Тогава може да забележиш че в home директорията кде-то си е направило още една директория Desktop1.


тази Trident Microsystems с колко рам е? дали и стига рамтта да изобрази 640x480 с 24 битов цвят?

Защо не вземеш да пуснеш целия си конфигурационен файл. Някой може да види нещо?
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #11 -: Feb 27, 2006, 15:55 »
О.. така никви мишки не потъват .. значи единия монитор си работи нормално .. сичко 6+ другия седи син и в горния десен ъгал мига един курсар нищо повече пробах се да зареда Х :0.1 или такива подобни но бес резолтатно .. !

ето и хорга.конфиг
Примерен код

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"
    #Load        "speedo"

# This loads the GLX module
    Load       "glx"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath     "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

#    ModulePath "/usr/X11R6/lib/modules"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#    Option     "NoTrapSignals"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option     "DontVTSwitch"

# Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#    Option     "DontZap"

# Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.

#    Option     "DontZoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#    Option     "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#    Option     "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#    Option     "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option     "AllowNonLocalModInDev"

# Set the basic blanking screen saver timeout.

#    Option      "blank time"    "10"    # 10 minutes

# Set the DPMS timeouts.  These are set here because they are global
# rather than screen-specific.  These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

#    Option      "standby time"  "20"
#    Option      "suspend time"  "30"
#    Option      "off time"      "60"

# On some platform the server needs to estimate the sizes of PCI
# memory and pio ranges. This is done by assuming that PCI ranges
# don't overlap. Some broken BIOSes tend to set ranges of inactive
# devices wrong. Here one can adjust how aggressive the assumptions
# should be. Default is 0.

# Option   "EstimateSizesAggresively" "0"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier  "Keyboard1"
    Driver      "kbd"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

# Set the keyboard auto repeat parameters.  Not all platforms implement
# this.

#    Option     "AutoRepeat"    "500 5"

# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).

#    Option     "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.

#    Option     "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a European
# keyboard, you will probably want to use one of:
#
#    Option     "XkbModel"      "pc102"
#    Option     "XkbModel"      "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
#    Option     "XkbModel"      "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
#    Option     "XkbModel"      "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
#    Option     "XkbLayout"     "de"
#
# or:
#
#    Option     "XkbLayout"     "de"
#    Option     "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
#    Option     "XkbOptions"    "ctrl:swapcaps"


# These are the default XKB settings for X.Org
#
#    Option     "XkbRules"      "xorg"
#    Option     "XkbModel"      "pc101"
#    Option     "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
#    Option     "XkbOptions"    ""

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier  "Mouse1"
    Driver      "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

   Option     "Protocol"      "IMPS/2"

# The available mouse protocols types that you can set below are:
#    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
#    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
#    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
#    ThinkingMouse ThinkingMousePS/2 Xqueue
#    Option "Protocol"    "PS/2"

# The mouse device.  The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

    Option "Device"      "/dev/mouse"
#   Option "Device"      "/dev/psaux"
#   Option "Device"      "/dev/ttyS0"
#   Option "Device"      "/dev/ttyS1"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"  "Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"          "9600"
#    Option "SampleRate"        "150"


    Option "ZAxisMapping" "4 5"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"

EndSection

# Some examples of extended input devices

# Section "InputDevice"
#    Identifier "spaceball"
#    Driver     "magellan"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "spaceball2"
#    Driver     "spaceorb"
#    Option     "Device"        "/dev/cua0"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen0"
#    Driver     "microtouch"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "1412"
#    Option     "MaxX"          "15184"
#    Option     "MinY"          "15372"
#    Option     "MaxY"          "1230"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
#    Identifier "touchscreen1"
#    Driver     "elo2300"
#    Option     "Device"        "/dev/ttyS0"
#    Option     "MinX"          "231"
#    Option     "MaxX"          "3868"
#    Option     "MinY"          "3858"
#    Option     "MaxY"          "272"
#    Option     "ScreenNumber"  "0"
#    Option     "ReportingMode" "Scaled"
#    Option     "ButtonThreshold"       "17"
#    Option     "ButtonNumber"  "1"
#    Option     "SendCoreEvents"
# EndSection


#Tablet!
#############################################################################
# Section "InputDevice"
# Identifier "stylus"
# Driver "wacom"
# Option "Type" "stylus"
# Option "Device" "/dev/ttyS0"
# EndSection

# Section "InputDevice"
# Identifier "eraser"
# Driver "wacom"
# Option "Type" "eraser"
# Option "Device" "/dev/ttyS0"
# EndSection

# Section "InputDevice"
# Identifier "cursor"
# Driver "wacom"
# Option "Type" "cursor"
# Option "Device" "/dev/ttyS0"
# EndSection

# Section "ServerLayout"
# Identifier "layout1"
# Screen "screen1"
# InputDevice "Mouse1" "CorePointer"

# InputDevice "stylus" "AlwaysCore"
# InputDevice "eraser" "AlwaysCore"
# InputDevice "cursor" "AlwaysCore"

# InputDevice "Keyboard1" "CoreKeyboard"
# EndSection
########################################################################

# **********************************************************************
# Monitor section
# **********************************************************************
##// Vtori monitor!? what a shime!

Section "Device"
    Identifier  "Video2"
    Driver      "trident"
    VendorName  "Trident Microsystems"
    BoardName   "TGUI 9660/938x/968x"
    ChipSet     "tgui9680"
#Podqvolite kak se namira tova pusto BusID!
    BusID    "PCI:00:10:0"


EndSection

Section "Monitor"
    Identifier  "Hyundai"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Screen"
    Identifier "Screen2"
    Monitor "Hyundai"
    Device "Video2"
#   DefaultDepth 16
   DefaultDepth 24
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Layout 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
#       Screen 0 "Screen0" 0 0
#        Screen 1 "Screen1" LeftOf "Screen"
#        Screen 2 "Screen2" RightOf "Screen0"
    Screen 0 "Screen2" 0 0
    Screen 1 "Screen1" leftof "Screen2" # това поставя втория екран отляво на първия
#        Option "Xinerama"
EndSection

##################################################################################
##################################################################################
##################################################################################

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "vesa"
#    BusID "1:0:0"
EndSection
Section "Screen"
    Identifier  "Screen1"
    Device      "VESA Framebuffer"
    Monitor     "My Monitor"
#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32
    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

#Section "ServerLayout"
#   Identifier  "Layout2"
#   Screen "Screen2"
#  InputDevice "Mouse1" "CorePointer"
#  InputDevice "Keyboard1" "CoreKeyboard"
#EndSection




отностно видеото тествал съм го работи само че неможе да потдържа големи резолюции за това  и не съм хо ползвал.. но понеже монитора няма дргуга работа а е и по лесно да сложиш на единия монитор ман а на другия конзолата и да си програмираш бес да се узърташ и да се чудиш каде да сложиш проклетия джам!

 ':ok:'
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #12 -: Feb 28, 2006, 16:58 »
':crazy:'  ':crazy:'  ':crazy:'
След като се по блъсках .. постигнах следното!
монитор 1 работи монитор 2 работи .. но сам на единия има нещо! имам предвид на единия си има Х мишката ми потъва  от едната страна но нищо повече другия монитор става черен и то време на време (не знам по какви причини) може да се види десктоп но нито мишката нито клавиатурата имат някакав ефект ..
да има папка десктоп1 в $НОМЕ но .. нищо повече когато се опитам да преместя прозореца тои потъва и пак се появава на моя десктоп същото когато имаш 2 или повече виртуални десктоп-а  когато заредих хорг-а с (Option "Xinerama" "true") х орга не тръгва!

доста страно ако се пак това е нормално и трябва да зареда нещо ново или друго или каквото и да е .. даите съвети прегледах цялата документация но не открих правилното решение!

ето и част от хорг-а

Примерен код

Section "Device"
    Identifier  "Trident"
   #trident
    Driver      "vesa"
 #   VendorName  "Trident Microsystems"
 #   BoardName   "TGUI 9660/938x/968x"
 #   ChipSet     "tgui9680"
#Podqvolite kak se namira tova pusto BusID!
    BusID    "PCI:00:10:0"


EndSection

Section "Monitor"
    Identifier  "Hyundai"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Screen"
    Identifier "Screen2"
    Monitor "Hyundai"
    Device "Trident"
   DefaultDepth 16
#   DefaultDepth 24
#    Subsection "Display"
#        Depth       16
#        Modes "1024x768" "800x600" "640x480"
#    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "640x480"
#        Virtual 640 480
    EndSubsection
EndSection

##################################################################################
##################################################################################
##################################################################################

Section "Monitor"
    Identifier  "Sony"
    HorizSync   31.5 - 50.0
    VertRefresh 40-90
EndSection

Section "Device"
    Identifier  "ati"
    Driver      "r128"
#    BusID "1:0:0"
EndSection

Section "Screen"
    Identifier  "Screen1"
    Device      "ati"
    Monitor     "Sony"
#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32
    Subsection "Display"
        Depth       8
        Modes "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Section "ServerLayout"
   Identifier  "Simple Layout"
   Screen "Screen1" #Sony?
   Screen "Screen2" Rightof "Screen1"
   InputDevice "Mouse1" "CorePointer"
   InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Мерси и поздрави Ро.
Активен

  • Гост
Две видео карти
« Отговор #13 -: Mar 01, 2006, 19:30 »
Цитат (Rooted @ Фев. 28 2006,17:58)
След като се по блъсках .. постигнах следното!
монитор 1 работи монитор 2 работи .. но сам на единия има нещо! имам предвид на единия си има Х мишката ми потъва  от едната страна но нищо повече другия монитор става черен и то време на време (не знам по какви причини) може да се види десктоп но нито мишката нито клавиатурата имат някакав ефект ..
да има папка десктоп1 в $НОМЕ но ..

е ама ти си го пуснал вече.
Xinerama не е небходима за да пуснеш повече от два дисплея. Изглежда че всичко ти е наред но поради някаква причина не излиза сигнал на монитора. или монитора не може да изкара комбинацията   HorizSync   VertRefresh при зададения режим или незнам какво. тази карта тридент ми се струва много стара. Защо не опиташ с някоя друга карта например някое ATI PCI 4-8Mb. Би трябвало да струва 10-20лв. някъде на старо. За Тридент не зная нищо. Ако е много стара може и драйверите на X-a да са много стари, да не се разбират нещо с картата, и така да си е оснанало от 'едно време' в Х-а. В крайна сметка никой няма да подържа драйери на карта на повече от 10-години.
Активен

Rooted

  • Напреднали
  • *****
  • Публикации: 33
    • Профил
Две видео карти
« Отговор #14 -: Mar 01, 2006, 23:03 »
Не е въпроса с парите .. аз ако съм искал нещо страшно хубаво да съм си копил и монитори и карти! Имах частите пот ръка .. просто исках да ги уползотворя .. картата е работеща и преди съм работил с нея.. позлвах дривера 'веса' които си е по дефаулт само резолюцията сменях защото неможе да потдържа големи .. но мисля че проблема е доста странен мишката нито клавиатурата не работят на десктоп 2 и не знам защо е така!? мисля че е от layout-а  но ми се струва нормално написан ! ! !

Някакви предложения!
Мерси отново за вниманието и поздрави Ро.

пп
Обещавам... че щом тръгнат ще напиша стъпка по стъпка ! как да стигнем до заветната цел !
Активен