Kod: Zaznacz cały
sudo apt-get remove xserver-xorg-video-mga
Kod: Zaznacz cały
sudo apt-get install gcc g++ binutils make coreutils pkg-config xserver-xorg-dev x11proto-core-dev libxau-dev x11proto-fonts-dev x11proto-input-dev x11proto-randr-dev x11proto-render-dev x11proto-video-dev x11proto-xext-dev libdrm-dev x11proto-xf86dri-dev x11proto-gl-dev mesa-common-dev libtool xutils-dev libgl1-mesa-dri
Kod: Zaznacz cały
wget http://www.tuxx-home.at/projects/mga/mga_xorg7_installer.run
Kod: Zaznacz cały
chmod +x mga_xorg7_installer.run
Kod: Zaznacz cały
sudo sh mga_xorg7_installer.run
Kod: Zaznacz cały
sudo gedit /etc/X11/xorg.conf
Kod: Zaznacz cały
Section "Monitor"
Option "ReducedBlanking"
EndSection
Section "Device"
Option "NoDDC"
EndSection
Kod: Zaznacz cały
Section "Module"
Load "glx" # GL module
Load "dri" # Direct Rendering module
EndSection
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Option "DPMS"
Option "ReducedBlanking"
Option "noDDCvbe"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
DefaultFbBPP 32
Option "PreferredMode" "1280x1024"
SubSection "Display"
Depth 24
Modes "1280x1024_75.00"
EndSubSection
EndSection
Section "Device"
Identifier "Configured Video Device"
Option "NoDDC"
VideoRam 32768
EndSection
Section "DRI"
Mode 0666
EndSection
Section "ServerFlags"
Option "DontZap" "False"
EndSection
gtf rozdzielczość odświeżanie np:
Kod: Zaznacz cały
gtf 1280 1024 75
Kod: Zaznacz cały
# gtf 1280 1024 75
# 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Kod: Zaznacz cały
xrandr --newmode "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
Na koniec:
Kod: Zaznacz cały
xrandr --output DVI --mode 1280x1024_75.00
Kod: Zaznacz cały
xrandr --output VGA --mode 1280x1024_75.00
-------------------------------------------------------------------------------------------------------
Edit:
Tryb dwumonitorowy DVI+VGA, wymaga doinstalowania paczki xinerama*:
Kod: Zaznacz cały
Section "ServerFlags"
Option "AIGLX" "off"
Option "true"
Option "IgnoreABI" "True"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi:unscaled"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "pl"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" "lv3:ralt_switch_multikey"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "Display 1"
VendorName "LG"
ModelName "NN"
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Display 2"
VendorName "IIYAMA"
ModelName "NN"
Option "DPMS"
EndSection
Section "Device"
Option "AGPMode" "4"
Identifier "MATROX CARD 1"
Driver "mga"
Screen 0
VendorName "Matrox"
BusID "PCI:2:0:0"
EndSection
Section "Device"
Option "AGPMode" "4"
Identifier "MATROX CARD 2"
Driver "mga"
Screen 1
VendorName "Matrox"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "MATROX CARD 1"
Monitor "Display 1"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "MATROX CARD 2"
Monitor "Display 2"
DefaultDepth 24
DefaultFbBPP 32
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "on"
EndSection
Section "ServerLayout"
Identifier "Matrox PowerDesk configured."
Screen "Screen 1"
Screen "Screen 2" LeftOf "Screen 1"
Option "Clone" "Off"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection