View previous topic :: View next topic |
Author |
Message |
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Tue Oct 25, 2005 2:59 pm Post subject: Configurazione Xorg e Nvidia |
|
|
CIao a tutti
Ho due video da collegare alla mia scheda nvidia.
Facendo qualche modifica al file xorg.con sono riuscito ad ottenere qualche risultato, ma non quello che vorrei io. Mi spiego...
Quando X parte mi trovo ad avere un desktop che e' dato dalla somma da due video , ovvero 2056x1920. Cosa succede, le finistre che si aprono al centro del video sono divise meta su un video e meta' sull' altro.
Invece vorrei avere due desktop da 1280x960 e quando apro una finestra, questa si devi aprire al centro del video dove sto lavorando. Nel caso poi sara mia cura spostare le finestra da un video all' altro, o fargli prendere la dimensione dei due video.
Un'altro esempio per chiarire il problema... se ad un finestra gli faccio prendere la dimensione massima dello schermo, la finestra invade tutti e due i video , mentre dovrebbe rimanere dentro un video solo e occupare quello....
NB:Con windows, mi costa dirlo, ma funziona cosi come voglio io ...
Spero di essermi spiegato.
Qui sotto c'e' il mio xorg.conf , un po' pasticciato
Code: |
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
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 "xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"
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/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)
#
#
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/local"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/local/share/fonts/win"
FontPath "/usr/share/fonts"
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 "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 "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc101"
Option "XkbLayout" "it"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "auto"
# Option "Protocol" "Imps2"
# Option "Device" "/dev/mouse"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
# Option "Protocol" "PS/2"
# Mouse-speed setting for PS/2 mouse.
Option "Resolution" "100"
# 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"
# 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
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
Section "Monitor"
Identifier "Dell 17"
HorizSync 31.5 - 64.3
VertRefresh 50-90
EndSection
Section "Monitor"
Identifier "Dell 17-2"
HorizSync 31.5 - 64.3
VertRefresh 50-90
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Nvida Card 64mb"
Driver "nvidia"
VideoRam 65536
BoardName "NV18GL Quadro NVS AGP 8x"
BusID "PCI:1:0:0"
# Option "TwinView"
option "NvAGP" "3"
option "NoDDC" "false"
option "DMPS"
Option "AGPMode" "4"
Option "RenderAccel" "true"
Option "AGPFastWrite" "True"
Option "MetaModes" "1280x1024,1024x768"
# Option "MetaModes" "1280x960,1280x960"
Option "TwinViewOrientation" "RigtOf"
Option "NoTwinViewXineramaInfo" "True"
Option "Xinerama" "on"
Option "TwinViewOption" "Clone"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "Nvida Card 64mb"
Monitor "Dell 17"
DefaultDepth 24
Subsection "Display"
Depth 8
# Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
# Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
# Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Identifier "Screen 2"
Device "Nvida Card 64mb"
Monitor "Dell 17-2"
DefaultDepth 24
Subsection "Display"
Depth 8
Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x960" "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
Screen "Screen 1"
# Screen "Screen 2"
#LeftOf "Screen 1"
# rightof "screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
#Section "extensions"
# Option "Composite" "Enable"
#EndSection
|
Se puo tornare utile, sto usando il kernel 2.6.13 con i relativi driver nvidia e KDE come desktop manager... |
|
Back to top |
|
|
CarloJekko Veteran
Joined: 31 Mar 2005 Posts: 1315 Location: Baia Domizia :-)
|
Posted: Tue Oct 25, 2005 3:36 pm Post subject: |
|
|
io ho quello che vuoi tu copiati la mia configurazione ed adattatela (facendoti un backup della tua attuale)
Code: | #Per trasparenza
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Module"
Load "dbe"
# Load the glx module.
Load "glx"
Load "extmod"
Load "type1"
Load "freetype"
EndSection
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
Section "Files"
RgbPath "/usr/lib/X11/rgb"
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/ukr"
FontPath "/usr/share/fonts/freefont"
EndSection
# **********************************************************************
# Server flags section.
# **********************************************************************
Section "ServerFlags"
AllowMouseOpenFail
EndSection
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
Driver "mouse"
Identifier "Mouse1"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
Section "Monitor"
Identifier "Monitor[0]" #CRT
HorizSync 30-95
VertRefresh 50-160
EndSection
Section "Monitor"
Identifier "Monitor[1]" #TV
HorizSync 60
VertRefresh 30-150
EndSection
# **********************************************************************
# Graphics device section
# **********************************************************************
Section "Device"
Identifier "Device[0]"
Driver "nvidia"
BusID "PCI:1:0:0" #adjust using 'lspci' or cat /proc/pci
Screen 0
Option "nologo"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"
EndSection
Section "Device"
Driver "nvidia"
Identifier "Device[1]"
Screen 1
Option "TVOutFormat" "S-VIDEO" #or S-VIDEO etc
Option "TVStandard" "PAL-B" #or NTSC etc
Option "ConnectedMonitor" "Monitor[1]"
BusID "PCI:1:0:0" #adjust using 'lspci' or cat /proc/pci
Option "nologo"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200"
ViewPort 0 0
EndSubsection
EndSection
Section "Screen"
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
EndSection
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen[0]"
Screen 1 "Screen[1]" RightOf "Screen[0]"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
| ciao _________________ C. |
|
Back to top |
|
|
maruscya Guru
Joined: 13 Aug 2004 Posts: 507
|
Posted: Wed Oct 26, 2005 8:53 am Post subject: |
|
|
CarloJekko wrote: |
io ho quello che vuoi tu copiati la mia configurazione ed adattatela (facendoti un backup della tua attuale)
|
Grazie... funziona come volevo io, ho pero' qualche dubbio che forse mi puoi aiutare a risolvere
1- le finestre non passano dal video 1 al video 2 e viceversa.... mentre le icone si
2- il video 2 ha un desktop tutto nuovo, ovvero impostazione base di KDE... lingua inglese al posto dell' italiano etc... e' normale ?? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|