Portál AbcLinuxu, 21. května 2025 10:59
Dneska jsem zkusil nastavit tuto integrovanou grafiku na dualhead a hned napoprvé jsem uspěl.
Celá funkční konfigurace pro XOrg.conf je k dispozici ke stažení. Stačí jen editovat některé parametry (obnovovací frekvence monitorů, rozlišení podle libosti atd)
Narazil jsem však na dva problémy. Za prvé -- používám GNOME a GNOME používá manažer oken Metacity. Ten se při dualheadu snaží okna "chytře" rozmísťovat a když mám druhý monitor vypnutý, tak na něj umisťuje okna.
Je to zkrátka vlastnost programu Metacity, která mi ovšem nevyhovuje. Zdá se, že se projevuje hlavní "výhoda" GNOME -- It just works. A jestli se ti to nelíbí, běž jinam. Řešení pochopitelně existuje v podobě neoficiálního patche do Metacity. Ale mně se nechce nic patchovat, chci používat distribuční programy, které jsou updatované, udržované...
Takže moje první otázka je na snadě -- jak to vyřešit bez kompilací/komplikací? Tajně doufám, že třeba existuje nějaký flag, který zapne normální chování (tj. umísťování oken na aktivní xinerama plochu). Prohlédl jsem gconf položky pro metacity, ovšem bezúspěšně.
Druhá věc není až tak tragická, ale nefunguje mi DRI. XOrg píše I810(0): [dri] DRIScreenInit failed. Disabling DRI. Hry nehraji, ale mohlo by to být zapnuté. Třeba bude jednou nový Flash používat akceleraci, co já vím. Pokud někdo rozchodil na této grafice XINERAMU+DRI/GLX, nebo se chce podělit o zkušenosti s OpenGL a Xineramou, použijte diskuzi.
Tiskni
Sdílej:
Section "Files" FontPath "/usr/share/X11/fonts/misc" FontPath "/usr/share/X11/fonts/cyrillic" FontPath "/usr/share/X11/fonts/100dpi/:unscaled" FontPath "/usr/share/X11/fonts/75dpi/:unscaled" FontPath "/usr/share/X11/fonts/Type1" FontPath "/usr/share/X11/fonts/100dpi" FontPath "/usr/share/X11/fonts/75dpi" # path to defoma fonts FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" EndSection Section "ServerFlags" Option "Xinerama" "true" Option "AllowMouseOpenFail" #Option "RandR" "on" EndSection Section "Extensions" #Option "Composite" "Enable" EndSection Section "Module" Load "i2c" Load "bitmap" Load "ddc" Load "dri" Load "extmod" Load "freetype" Load "glx" Load "int10" Load "type1" Load "vbe" EndSection Section "InputDevice" Identifier "Generic Keyboard" Driver "kbd" Option "CoreKeyboard" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "cz" EndSection Section "InputDevice" Identifier "Configured Mouse" Driver "mouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ExplorerPS/2" Option "ZAxisMapping" "4 5" Option "Emulate3Buttons" "true" EndSection Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" EndSection Section "Device" Identifier "Intel0" Driver "i810" Option "VBERestore" "yes" Option "MonitorLayout" "CRT,LFP" Option "DevicePresence" "yes" BusID "PCI:0:2:0" #VideoRam 128000 # default: 8 MB Screen 0 EndSection Section "Device" Identifier "Intel1" Driver "i810" Option "VBERestore" "no" Option "MonitorLayout" "CRT,LFP" #Option "DevicePresence" "yes" BusID "PCI:0:2:0" #VideoRam 128000 # default: 8 MB Screen 1 EndSection Section "Monitor" Identifier "LCD" Option "DPMS" HorizSync 28-51 VertRefresh 43-60 EndSection Section "Monitor" Identifier "VGA" Option "DPMS" HorizSync 31.5-64.3 # set this up VertRefresh 50-70 # set this up EndSection Section "Screen" Identifier "LCD" Device "Intel0" Monitor "LCD" DefaultDepth 24 # works with 16 SubSection "Display" Depth 1 Modes "1024x768" EndSubSection SubSection "Display" Depth 4 Modes "1024x768" EndSubSection SubSection "Display" Depth 8 Modes "1024x768" EndSubSection SubSection "Display" Depth 15 Modes "1024x768" EndSubSection SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "Screen" Identifier "VGA" Device "Intel1" Monitor "VGA" DefaultDepth 24 # works with 16 SubSection "Display" Depth 16 Modes "1024x768" EndSubSection SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Section "ServerLayout" Identifier "Default Layout" Screen 0 "LCD" Screen 1 "VGA" LeftOf "LCD" InputDevice "Generic Keyboard" InputDevice "Configured Mouse" InputDevice "Synaptics Touchpad" EndSection Section "DRI" Mode 0666 EndSectionPokud se někomu podaří rozchodit v dualheadu GLX, budu rád za reakce.
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.