› Foros › PC › Software libre
Txukie escribió:Empieza por echarle un vistazo a xinerama
Section "Device"
Identifier "ATI out 1"
Driver "radeon"
BusID "PCI:0:16:0"
[...]
[b]Screen 0[/b]
EndSection
Section "Device"
Identifier "ATI out 2"
Driver "radeon"
BusID "PCI:0:16:0"
[...]
[b]Screen 1[/b]
EndSection
Section "Monitor"
[b]Identifier "Color LCD"[/b]
Option "DPMS"
EndSection
Section "Monitor"
[b]Identifier "External Monitor"[/b]
Option "DPMS"
HorizSync 80
VertRefresh 75
EndSection
Section "Screen"
[b]Identifier "Default Screen"
Device "ATI out 1"
Monitor "Color LCD"[/b]
DefaultDepth 24
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"
# Virtual 2048 1024
EndSubSection
EndSection
Section "Screen"
[b]Identifier "External Screen"
Device "ATI out 2"
Monitor "External Monitor"[/b]
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
[b]Option "Xinerama" "true"
Screen 0 "Default Screen" 0 330
Screen 1 "External Screen" 1024[/b]
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "dri"
Mode 0666
EndSection
apmomp escribió:Hola:
Yo uso una tarjeta Ati Mobility Radeon 9550 y mi xorg.conf es de esta forma:
En primer lugar tengo dos secciones de dispositivo, ambas con el mismo BusID, cada una con una pantalla asignada:Section "Device"
Identifier "ATI out 1"
Driver "radeon"
BusID "PCI:0:16:0"
[...]
[b]Screen 0[/b]
EndSectionSection "Device"
Identifier "ATI out 2"
Driver "radeon"
BusID "PCI:0:16:0"
[...]
[b]Screen 1[/b]
EndSection
Luego tengo dos secciones de monitor, cada uno con su nombre:Section "Monitor"
[b]Identifier "Color LCD"[/b]
Option "DPMS"
EndSectionSection "Monitor"
[b]Identifier "External Monitor"[/b]
Option "DPMS"
HorizSync 80
VertRefresh 75
EndSection
Dos secciones screen con un nombre, y un dispositivo y monitor asignado a cada una (lo marco en negrita):Section "Screen"
[b]Identifier "Default Screen"
Device "ATI out 1"
Monitor "Color LCD"[/b]
DefaultDepth 24
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"
# Virtual 2048 1024
EndSubSection
EndSectionSection "Screen"
[b]Identifier "External Screen"
Device "ATI out 2"
Monitor "External Monitor"[/b]
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
EndSubSection
EndSection
Y por último en la parte serverlayout tengo activado el xineraba que te comentaba Txukie y definida la colocación de las pantallas (en mi caso la principal está 330 pixel más abajo por la diferencia de altura):Section "ServerLayout"
Identifier "Default Layout"
[b]Option "Xinerama" "true"
Screen 0 "Default Screen" 0 330
Screen 1 "External Screen" 1024[/b]
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Section "dri"
Mode 0666
EndSection
Espero que te sirva como referencia. Uso diferentes resoluciones en cada monitor (1024x768 y 1280x1024) y va de fábula.
Un saludo.
Txukie escribió:Como de bien funciona esto con cosas como juegos, wine y demas?
he hecho lo que me has dicho y la pantalla de 32" se me ha puesto a 1360x768, como quería, peeeeero la pantalla de 17" se me ha desconfigurado completamente, y al encender me salía aquello de "Ubuntu se ha inicializado a la mínima resolución porque..." y no había manera de arreglarlo, y eso que en el xorg.conf tenía puesto 1280x1024 para esta... Si ejecutaba fglrxinfo me ponía que no se ha detectado la pantalla o algo así.
al final he restaurado un backup del xorg.conf y ya estoy como al principio.
saludos
apmomp escribió:
¿Podrías pegar tu xorg.conf actual y el que no te funcionaba?
Saludos.
Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/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/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "fglrx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "on"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Option "Xinerama" "true"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/fonts/X11/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/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
Load "fglrx"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "InputDevice"
Identifier "stylus"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "stylus"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "eraser"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "eraser"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "InputDevice"
Identifier "cursor"
Driver "wacom"
Option "Device" "/dev/input/wacom"
Option "Type" "cursor"
Option "ForceDevice" "ISDV4"# Tablet PC ONLY
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[1]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Screen 1
EndSection
Section "Device"
Identifier "aticonfig-Device[1]"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Screen 2
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[1]"
Device "aticonfig-Device[1]"
Monitor "aticonfig-Monitor[1]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1360x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "0"
EndSection