Jump to content

xorg.conf issues... [solved]


jaraeez
 Share

Recommended Posts

Hi all,

 

Could somebody please, please take a look at my xorg.conf & tell me where i'm going wrong.

The problem: I have dual view setup with seperate KDE start menus etc.. All is working fine besides one thing I can't get my mouse to move over to the other screen!.

I've change the xorg by hand using bits from an old working xorg.conf from Fedora which was working. Carefully copying what seemed to be relevant to the new xorg.conf.

Here's my current xorg.conf

 

# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
Identifier "monitor0"
VendorName "Plug'n Play"
ModelName "DELL 1702FP"
HorizSync 30-80
VertRefresh 56-76

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"	 50.00  768  832  846 1000   576  590  595  630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"	 63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "DELL 1702FP"
HorizSync 30-80
VertRefresh 56-76

# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576"	 50.00  768  832  846 1000   576  590  595  630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576"	 63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
Identifier "device0"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce4 (generic)"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Device"
Identifier "device1"
VendorName "nVidia Corp."
BoardName "NVIDIA GeForce4 (generic)"
BusID	   "PCI:1:0:0"
Driver "nvidia"
Option "DPMS"
Screen	  1
EndSection

Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 16

Subsection "Display"
	Depth 8
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 15
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 16
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 24
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 16

Subsection "Display"
	Depth 8
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 15
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 16
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection

Subsection "Display"
	Depth 24
	Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection

Section "ServerLayout"
Identifier	 "Multihead layout"
Screen	  0  "Screen0" LeftOf "Screen1"
Screen	  1  "Screen1" 0 0
InputDevice	"Mouse1"
InputDevice	"Keyboard1"
Option		"Xinerama" "off"
Option		"Clone" "on"
EndSection

 

Can anyone spot the mistake I've made!!

 

TIA

Edited by jaraeez
Link to comment
Share on other sites

I am running a similar setup with no problems.

The only thing I can see is :-

 

Section "Device"

Identifier "device0"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce4 (generic)"

Driver "nvidia"

Option "DPMS"

EndSection

 

Section "Device"

Identifier "device1"

VendorName "nVidia Corp."

BoardName "NVIDIA GeForce4 (generic)"

BusID "PCI:1:0:0" Missing from first declaration

Driver "nvidia"

Option "DPMS"

Screen 1 Missing from first declaration : ' screen 0 '

EndSection

 

I checked my setup which was configured using nvidia utility, when installing the nvidia driver. I am using a different board mind you.

I don't know if that is it but everything else very familiar.

Link to comment
Share on other sites

Thanks for the feedback. I managed to get it sorted. Here is the xorg.conf now that it is working

 

# File generated by XFdrake (rev 57713)

# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************

Section "ServerLayout"
Identifier	 "Multihead layout"
Screen	  0  "Screen0" LeftOf "Screen1"
Screen	  1  "Screen1" 0 0
InputDevice	"Mouse1" "CorePointer"
InputDevice	"Keyboard1" "CoreKeyboard"
Option		"Xinerama" "off"
Option		"Clone" "on"
EndSection

Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"

# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "/usr/lib/xorg/modules/extensions/nvidia/libglx.so"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
Option "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName	"Dell 1702FP (Analog)"
DisplaySize  340	270
### Comment all HorizSync and VertSync values to use DDC:
HorizSync	30.0 - 80.0
VertRefresh  56.0 - 76.0
Option		"dpms"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
VendorName   "Monitor Vendor"
ModelName	"Dell 1702FP (Analog)"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync	30.0 - 80.0
VertRefresh  56.0 - 76.0
Option		"dpms"
EndSection

Section "Device"
Identifier  "Videocard0"
Driver	  "nvidia"
VendorName  "Videocard vendor"
BoardName   "nVidia Corporation NV17GL [Quadro4 200/400 NVS]"
EndSection

Section "Device"
Identifier  "Videocard1"
Driver	  "nvidia"
VendorName  "Videocard Vendor"
BoardName   "nVidia Corporation NV17GL [Quadro4 200/400 NVS]"
BusID	   "PCI:1:0:0"
Screen	  1
EndSection

Section "Screen"
Identifier "Screen0"
Device	 "Videocard0"
Monitor	"Monitor0"
DefaultDepth	 16
SubSection "Display"
	Viewport   0 0
	Depth	 16
	Modes	"1280x1024" "1024x768"
EndSubSection
EndSection

Section "Screen"
Identifier "Screen1"
Device	 "Videocard1"
Monitor	"Monitor1"
DefaultDepth	 16
SubSection "Display"
	Viewport   0 0
	Depth	 16
	Modes	"1280x1024" "1024x768"
EndSubSection
EndSection

Section "DRI"
Group		0
Mode		 0666
EndSection

 

only wierd thing now is that my screen1 will not let me change my wallpaper (I think i might rename .kde & see...)

 

Thanks again

Edited by jaraeez
Link to comment
Share on other sites

I think you need to remove the Clone

If you want them completey independent you end up with 2xDesktop (~/Desktop and @/Desktop1)

 

Fixed the other issue now. Just renamed .kde. I agree with your logic with regards to 'clone' option but it doesn't seem to matter. I have two independant desktops now even though I didn't remove that option. Probably a wrong input which xorg doesn't recongnise. Anyway thanks for the pointers - Im now a happy dual'er again :D

Link to comment
Share on other sites

Jareez,

Do you have 2x Desktop files or one?

Just wondering?

p.s. For anyone interested....

 

# /etc/X11/xorg.conf

 

Section "ServerLayout"

Identifier "layout1"

Screen 0 "screen0" 0 0

Screen 1 "screen1" RightOf "screen0"

InputDevice "keyboard1" "CoreKeyboard"

InputDevice "mouse1" "CorePointer"

InputDevice "USB_Mouse"

#Not core pointer

#wacom tablet

InputDevice "stylus" "SendCoreEvents"

InputDevice "eraser" "SendCoreEvents"

InputDevice "cursor" "SendCoreEvents"

EndSection

 

 

Section "Files"

# paths to defoma fonts

# FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

# FontPath "/usr/local/share/fonts"

EndSection

 

Section "Module"

# Load "GLcore"

Load "i2c"

Load "bitmap"

Load "ddc"

Load "dri"

Load "extmod"

Load "freetype"

Load "glx"

Load "int10"

Load "type1"

Load "vbe"

EndSection

 

Section "InputDevice"

Identifier "keyboard1"

Driver "kbd"

Option "CoreKeyboard"

Option "XkbRules" "xorg"

Option "XkbOptions" "altwin:super_win"

Option "XkbModel" "pc105"

Option "XkbLayout" "gb"

EndSection

 

Section "InputDevice"

Identifier "mouse1"

Driver "mouse"

Option "CorePointer"

Option "Device" "/dev/input/mice"

Option "Protocol" "ImPS/2"

Option "Emulate3Buttons" "true"

Option "ZAxisMapping" "4 5"

EndSection

 

#Radio USB mouse for using when on projector

 

Section "InputDevice"

Identifier "USB_Mouse"

Driver "mouse"

Option "Device" "/dev/input/mouse0"

Option "SendCoreEvents" "true"

Option "Protocol" "IMPS/2"

Option "ZAxisMapping" "4 5"

Option "Buttons" "5"

EndSection

 

 

##############3

Section "InputDevice"

Driver "wacom"

Identifier "stylus"

Option "Device" "/dev/ttyS0" #SERIAL ONLY

Option "Type" "stylus"

Option "PressCurve" "0,0,100,100"

EndSection

 

Section "InputDevice"

Driver "wacom"

Identifier "eraser"

Option "Device" "/dev/ttyS0" #SERIAL ONLY

Option "Type" "erasor"

EndSection

 

 

Section "InputDevice"

Driver "wacom"

Identifier "cursor"

Option "Device" "/dev/ttyS0" #SERIAL ONLY

Option "Type" "cursor"

Option "Mode" "relative"

EndSection

#############

 

Section "Device"

Identifier "NVIDIA0"

Driver "nvidia"

BusID "PCI:2:0:0"

Screen 0

 

EndSection

 

 

Section "Device"

Identifier "NVIDIA1"

Driver "nvidia"

BusID "PCI:2:0:0"

Screen 1

EndSection

 

Section "Monitor"

Identifier "monitor"

Option "DPMS"

EndSection

 

Section "Monitor"

Identifier "projector"

VendorName "Projector"

HorizSync 31.0 - 68.0

VertRefresh 60.0 - 85.0

 

EndSection

 

Section "Screen"

Identifier "screen0"

Device "NVIDIA0"

Monitor "monitor"

DefaultDepth 24

SubSection "Display"

Depth 24

Modes "1440x900" "1152x864" "1024x768" "800x600" "640x480"

EndSubSection

EndSection

 

 

Section "Screen"

Identifier "screen1"

Device "NVIDIA1"

Monitor "projector"

DefaultDepth 24

SubSection "Display"

Depth 24

Modes "1152x864" "1024x768" "800x600" "640x480"

EndSubSection

EndSection

 

 

Section "DRI"

Mode 0666

EndSection

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...