Portál AbcLinuxu, 10. května 2025 08:14

Dotaz: Xinerama na ntb - lagy

H0ax avatar 19.5.2007 10:22 H0ax | skóre: 36 | blog: Odnikud_nikam
Xinerama na ntb - lagy
Přečteno: 232×
Odpovědět | Admin
Dobré dopoledne,
mám gentoo (2.6.20-gentoo-r8) s podporou xineramy a notebook Acer Aspire 3000 s grafikou SiS (lspci):
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter

Při výstupu jen na monitor notebooku je vše ok, nikdy s tím nebyly problémy. Pokud upravím xorg.conf na podporu xineramy, tak v 50% zatuhne notebook při startu X (nelze se nikam přepnout). Pokud najede, tak xinerama funguje, ale s dvěma problémy.
1. na obou plochách je myš (ovšem reaguje jen ten ukazatel na ploše, kde skutečně pracuji)
2. každou chvíli je několika sekundové vytuhnutí pc a to tak, že se nelze ani nikam přepnout, zastaví se hodiny. Pc se třeba za 5-10 sekund opět rozběhne.
Přikládám xorg.conf:
Section "Module" 
 SubSection  "extmod" 
 EndSubSection 
Load        "type1" 
Load        "freetype" 
Load        "glx" 
#    Load "dbe"
#    Load "extmod"
#    Load "type1"
#    Load "dri"
EndSection 
Section "Files" 

FontPath    "/usr/share/fonts/dejavu/"
#    FontPath    "/usr/local/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath    "/usr/share/fonts/terminus/"
    FontPath    "/usr/share/fonts/unifont/"
    FontPath    "/usr/share/fonts/corefonts/"
    FontPath    "/usr/share/fonts/freefont/"
    FontPath    "/usr/share/fonts/Type1"
    FontPath    "/usr/share/fonts/misc/"
    FontPath    "/usr/share/fonts/artwiz/"
    FontPath    "/usr/share/fonts/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/sharefonts/"

#    FontPath   "/usr/share/fonts/CID/"
#    FontPath   "/usr/share/fonts/Speedo/"
    FontPath    "/usr/share/fonts/75dpi/"
    FontPath    "/usr/share/fonts/100dpi/"
    FontPath    "/usr/share/fonts/cyrillic/"


EndSection 
Section "ServerFlags"
Option "RandR" "off"
Option          "DefaultServerLayout" "Dual" 
#Option    "Xinerama" "on" 
EndSection 
Section "InputDevice" 
Identifier   "Keyboard1" 
Driver   "kbd" 
Option "AutoRepeat" "500 30" 

Option "XkbModel"   "pc101" 
Option "XkbLayout"   "cz" 
EndSection 
Section "InputDevice" 
Identifier   "Mouse1" 
Driver   "mouse" 
Option "Protocol"    "ExplorerPS/2" 
Option "Device"      "/dev/psaux"
Option "ZAxisMapping" "4 5" 
EndSection

Section "Monitor" 
Identifier  "Monitor0" 
#HorizSync   30-83 
#VertRefresh 56-75 
#Modeline "1024x768" 60.80  1024 1056 1128 1272   768  768  770  796
Option "dpms"
EndSection

Section "Monitor"
        Identifier   "Monitor1"
        ModelName    "LCD Panel 1280x1024"
#        HorizSync    30.0 - 83.0
#        VertRefresh  56.0 - 76.0
        Option      "dpms"
EndSection 

Section "Device" 
Identifier  "SiS1" 
Driver      "sis" 
Screen 0
VideoRam    65000 
BusID "PCI:1:0:0"
Screen 0
Option "EnableSiSCtrl" "yes"
EndSection 

Section "Device" 
Identifier  "SiS2" 
Driver      "sis" 
BusID "PCI:1:0:0"
Screen 1
VideoRam    65000 
Option "EnableSiSCtrl" "yes"
EndSection 

Section "Screen" 
Identifier  "Screen0" 
Device      "SiS1" 
Monitor     "Monitor0" 
DefaultDepth 24 
Subsection "Display" 
Depth       24 
Modes     "1024x768"
EndSubsection 
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "SiS2"
        Monitor    "Monitor1"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

 
Section "ServerLayout" 
Identifier  "Dual" 
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0" 
Option "Xinerama" "on"
Option "AIGLX" "false"
InputDevice "Mouse1" "CorePointer" 
InputDevice "Keyboard1" "CoreKeyboard" 
EndSection
Díky za pomoc :-)
uid=0(root) gid=0(root) skupiny=0(root)
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

andree avatar 19.5.2007 16:43 andree | skóre: 39 | blog: andreeeeelog
Rozbalit Rozbalit vše Re: Xinerama na ntb - lagy
Odpovědět | | Sbalit | Link | Blokovat | Admin
mohol by to byt problem ovladacov...
H0ax avatar 2.8.2007 09:58 H0ax | skóre: 36 | blog: Odnikud_nikam
Rozbalit Rozbalit vše Re: Xinerama na ntb - lagy
Odpovědět | | Sbalit | Link | Blokovat | Admin
Tak jsem zjistil, že pokud oba displaye nastavím na stejné rozlišení, tak k zásekům nedochází. Je to pro mě záhada :-/
uid=0(root) gid=0(root) skupiny=0(root)

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.