Gå til innhold

[LØST- olear]Forlengelse av desktop (dual monitor)


Fjoggs

Anbefalte innlegg

Hei

Jeg har to skjermer som begge fungerer, men de viser det samme når jeg starter desktop brukersnittene min; Gnome, KDE og fluxbox (Hviste ikke hva jeg ville foretrekke så jeg instalerte alle.). Har forgjeves prøvd alle HowTo og tutorials jeg kunne finne på nettet, men klarer ikke å få det til å fungere.

 

Håper derfor at det er noen hjelpsome sjeler her på forumet som har tid til å peke ut mulige feil og mangler i min XF86Config-4.

 

Alle svar motas ydmykt og med stor taknemelighet.

 

For ordensskyld lister jeg opp distro og kernel versjonen min:

  • DIstro: Debian 3.1_r0a
  • Kernel: 2.4.27-2-386

XF86Config-4

Section "Device"
Identifier	"Generic Video Card"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName    "Unknown Board"
BusID        "PCI:3:0:0"

EndSection

Section "Monitor"
Identifier	"V70"
HorizSync	30-69
VertRefresh	50-150
Option  "DPMS"
EndSection

Section "Screen"
Identifier	"Screen0"
Device  "Generic Video Card"
Monitor  "V70"
DefaultDepth	24
SubSection "Display"
 Depth  1
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  4
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  8
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  15
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  16
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  24
               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Monitor"
Identifier	"Microscan4G"
HorizSync	30-64
VertRefresh	50-100
Option  "DPMS"
EndSection

Section "Screen"
Identifier	"Screen1"
Device  "Generic Video Card"
Monitor  "Microscan4G"
DefaultDepth	24
SubSection "Display"
 Depth  1
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  4
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  8
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  15
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  16
              Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
 Depth  24
               Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier	"DualMonitor"
Screen  	"Screen0" LeftOf "Screen1"
Screen  "Screen1"
Option  	"Xinerama"
InputDevice	"Generic Keyboard"
InputDevice	"Configured Mouse"
InputDevice	"Generic Mouse"
EndSection

Section "DRI"
Group	"video"
Mode	0666
EndSection

 

Takker for all tilbakemelding.

Endret av Fjoggs
Lenke til kommentar
Videoannonse
Annonse

Den største feilen er at du bare har en device, man må ha en device per skjerm.

 

Forslag (tror den skal være rett, men begynner å bli litt trøtt så jeg kan ha skrevet noe feil ;) )

 

Section "Device"
Identifier "Generic Video Card 1"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName    "Unknown Board"
BusID        "PCI:3:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Generic Video Card 2"
Driver  "ati"
VendorName  "ATI Technologies Inc"
BoardName    "Unknown Board"
BusID        "PCI:3:0:0"
Screen 1
EndSection

Section "Monitor"
Identifier "V70"
HorizSync 30-69
VertRefresh 50-150
Option  "DPMS"
EndSection

Section "Monitor"
Identifier "Microscan4G"
HorizSync 30-64
VertRefresh 50-100
Option  "DPMS"
EndSection

Section "Screen"
Identifier "Screen0"
Device  "Generic Video Card 1"
Monitor  "V70"
DefaultDepth 24
SubSection "Display"
Depth  24
Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device  "Generic Video Card 2"
Monitor  "Microscan4G"
DefaultDepth 24
SubSection "Display"
Depth  24
Modes           "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "DualMonitor"
Screen  0 "Screen0"
Screen  1 "Screen1" RightOf "Screen0"
Option  "Xinerama" "true"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection

Lenke til kommentar

Tusen takk!

Nå fungerer det, bortsett fra at det jeg trodde var screen0 er screen1 og omvendt (ikke at det er noe problem, raskt å endre )

 

Da kan jeg endelig legge meg, tusen takk.

 

Løsning

  • En Section "Device", for hver skjerm
  • Byttet ut driver navn ati med radeon (i følge www.xfree86.org heter drivern radeon for Ati Radeon og r128 for Ati Rage)
  • La til: Option "MonitorLayout" "CRT, CRT"

Edit

  • Tekst formatering

Endret av Fjoggs
Lenke til kommentar

Edit

I farten så jeg ikke at du ikke snakket om en XFConfig-4 fil så jeg var litt rakst ute, vet derfor ikke om du kan benytte deg min config fil.

 

-----------------------------------------------------

 

 

Det burde ikke være noe problem, men du bør endre driver-navn og skjerm opplysningene til å stemme overens med dine skjermer.

 

her er min nå fungererende dual monitor XFConfig-4

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
# if the local font server has problems, we can fall back on these
   FontPath  "unix/:7100"
   FontPath  "/usr/lib/X11/fonts/misc"
   FontPath  "/usr/lib/X11/fonts/100dpi:unscaled"
   FontPath  "/usr/lib/X11/fonts/75dpi:unscaled"
   FontPath  "/usr/lib/X11/fonts/Type1"
   FontPath  "/usr/lib/X11/fonts/Speedo"
   FontPath  "/usr/local/share/fonts"
   FontPath  "/usr/share/fonts"
   FontPath  "/usr/X11R6/lib/X11/fonts"
EndSection

Section "Module"
Load	"GLcore"
Load	"bitmap"
Load	"dbe"
Load	"ddc"
Load	"dri"
Load	"extmod"
Load	"freetype"
Load	"glx"
Load	"int10"
Load	"record"
Load	"speedo"
Load	"type1"
Load	"vbe"
EndSection

Section "InputDevice"
Identifier	"Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"	"xfree86"
Option  "XkbModel"	"pc105"
Option  "XkbLayout"	"no"
EndSection

Section "InputDevice"
Identifier	"Configured Mouse"
Driver	"mouse"
Option	"CorePointer"
Option	"Device"  "/dev/psaux"
Option	"Protocol"  "ImPS/2"
Option	"Emulate3Buttons"	"true"
Option	"ZAxisMapping"  "4 5"
EndSection
Section "InputDevice"
Identifier	"Generic Mouse"
Driver	"mouse"
Option	"SendCoreEvents"	"true"
Option	"Device"  "/dev/input/mice"
Option	"Protocol"  "ImPS/2"
Option	"Emulate3Buttons"	"true"
Option	"ZAxisMapping"  "4 5"
EndSection

Section  "Device"
Identifier  "Generic Video Card 1"
Driver    "radeon"
VendorName  	"ATI Technologies Inc"
BoardName    	"Unknown Board"
BusID          "PCI:3:0:0"
Screen 1
Option  	"MonitorLayout" "CRT, CRT"
EndSection

Section  "Device"
Identifier  	"Generic Video Card 2"
Driver  "radeon"
VendorName  	"ATI Technologies Inc"
BoardName    	"Unknown Board"
BusID          "PCI:3:0:0"
Screen 0
Option  	"MonitorLayout" "CRT, CRT"
EndSection

Section  "Monitor"
Identifier  "V70"
HorizSync  30-69
VertRefresh  50-150
Option  	"DPMS"
EndSection

Section "Monitor"
Identifier  "Microscan4G"
HorizSync  30-64
VertRefresh  50-100
Option  "DPMS"
EndSection

Section "Screen"
Identifier	"Screen0"
Device  	"Generic Video Card 1"
Monitor  	"V70"
DefaultDepth 24
SubSection  "Display"
Depth  24
Modes           "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device  "Generic Video Card 2"
Monitor  "Microscan4G"
DefaultDepth 24
SubSection "Display"
Depth  24
Modes           "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "DualMonitor"
Screen  0 "Screen0"
Screen  1 "Screen1" RightOf "Screen0"
Option  "Xinerama" "true"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection

Section "DRI"
Group "video"
Mode 0666
EndSection

Endret av Fjoggs
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
  • Hvem er aktive   0 medlemmer

    • Ingen innloggede medlemmer aktive
×
×
  • Opprett ny...