LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-03-2007, 09:04 AM   #1
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Rep: Reputation: 70
Dual Display Problem, or am I expecting to much?


OK, I've searched all night, hosed and restored xorg.conf at least a dozen times, and had to reinstall 3x because I couldn't get it fixed right(thank goodness I keep good backups).. lol. I think its time to accept this is out of my skill level and turn to you all for help, as I'm obviously missing something.

First, my Dual display is FINALLY working. I just have a couple minor issues/questions.... Just for reference, running Ubuntu 6.10, Geforce FX5200, HPvs19E 19in LCD on the left, 19in Proview MA982K LCD on the right. Both are running on standard VGA ports off the FX5200(no DVI)

1. My second monitor is not in my Xorg.conf. However when I run nvidia-settings... It is listed perfectly there(HPvs19e). I would like for the HP to be my "Main" monitor. What do I need to add to Xorg.conf to make this happen? I've tried just just change the monitor name in Xorg.conf, and realized Xorg.conf doesn't like that.

2. I'd like for the two monitors, to function as two separate desktops(Icons, menus, similar to using workplace switcher). Is this possible? As it is, my screens act as one huge desktop.

Thats really it, Thanks to anyone that can help...

Code:
 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Dec 15 10:12:14 PST 2006

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 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/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

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

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "MA982K"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NV34 [GeForce FX 5200]"
    Driver         "nvidia"
    Option "TwinView" "True"
    Option "TwinViewOrientation" "RightOf"   
    Option "UseEdidFreqs" "True"
    Option "MetaModes" "1280x1024,1280x1024; 1024x768,1024x768"
    Option "UseDisplayDevice" "CRT"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NV34 [GeForce FX 5200]"
    Monitor        "MA982K"
    DefaultDepth    24
    SubSection     "Display"
        Depth       1
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection
 
Old 03-03-2007, 11:35 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by IndyGunFreak
OK, I've searched all night, hosed and restored xorg.conf at least a dozen times, and had to reinstall 3x because I couldn't get it fixed right(thank goodness I keep good backups).. lol. I think its time to accept this is out of my skill level and turn to you all for help, as I'm obviously missing something.

First, my Dual display is FINALLY working. I just have a couple minor issues/questions.... Just for reference, running Ubuntu 6.10, Geforce FX5200, HPvs19E 19in LCD on the left, 19in Proview MA982K LCD on the right. Both are running on standard VGA ports off the FX5200(no DVI)

1. My second monitor is not in my Xorg.conf. However when I run nvidia-settings... It is listed perfectly there(HPvs19e). I would like for the HP to be my "Main" monitor. What do I need to add to Xorg.conf to make this happen? I've tried just just change the monitor name in Xorg.conf, and realized Xorg.conf doesn't like that.

2. I'd like for the two monitors, to function as two separate desktops(Icons, menus, similar to using workplace switcher). Is this possible? As it is, my screens act as one huge desktop.

Thats really it, Thanks to anyone that can help...
Try the file below in place of your working file having changed the HP monitor to be connected to the bottom (nearest the motherboard) connector on the card. Now you will need to find proper BusID numbers use something like this to find it.

Code:
>$ grep -i pci: /var/log/Xorg.0.log
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1106,0282 card 147b,1415 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:00:1: chip 1106,1282 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:00:2: chip 1106,2282 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:00:3: chip 1106,3282 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:00:4: chip 1106,4282 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:00:7: chip 1106,7282 card 0000,0000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1106,b188 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:07:0: chip 1106,3044 card 147b,1415 rev 46 class 0c,00,10 hdr 00
(II) PCI: 00:0a:0: chip 14f1,8800 card 0000,0000 rev 03 class 04,00,00 hdr 80
(II) PCI: 00:0c:0: chip 1102,0004 card 1102,0053 rev 03 class 04,01,00 hdr 80
(II) PCI: 00:0c:1: chip 1102,7003 card 1102,0040 rev 03 class 09,80,00 hdr 80
(II) PCI: 00:0c:2: chip 1102,4001 card 1102,0010 rev 00 class 0c,00,10 hdr 80
(II) PCI: 00:0e:0: chip 1106,3119 card 147b,1415 rev 11 class 02,00,00 hdr 00
(II) PCI: 00:0f:0: chip 1106,3149 card 147b,1415 rev 80 class 01,01,8f hdr 80
(II) PCI: 00:0f:1: chip 1106,0571 card 147b,1415 rev 06 class 01,01,8a hdr 00
(II) PCI: 00:10:0: chip 1106,3038 card 147b,1415 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:1: chip 1106,3038 card 147b,1415 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:2: chip 1106,3038 card 147b,1415 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:3: chip 1106,3038 card 147b,1415 rev 81 class 0c,03,00 hdr 80
(II) PCI: 00:10:4: chip 1106,3104 card 147b,1415 rev 86 class 0c,03,20 hdr 80
(II) PCI: 00:11:0: chip 1106,3227 card 147b,1415 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:11:5: chip 1106,3059 card 147b,1415 rev 60 class 04,01,00 hdr 00
(II) PCI: 00:18:0: chip 1022,1100 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:1: chip 1022,1101 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:2: chip 1022,1102 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 00:18:3: chip 1022,1103 card 0000,0000 rev 00 class 06,00,00 hdr 80
(II) PCI: 01:00:0: chip 10de,0332 card 0000,0000 rev a1 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(--) PCI: (0:10:0) unknown vendor (0x14f1) unknown chipset (0x8800) rev 3, Mem @ 0xfa000000/24
(--) PCI:*(1:0:0) nVidia Corporation NV35 [GeForce FX 5900XT] rev 161, Mem @ 0xf8000000/24, 0xf0000000/27
(II) OS-reported resource ranges after removing overlaps with PCI:
(II) NVIDIA(0): NVIDIA GPU GeForce FX 5900XT at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0):     PCI:1:0:0:
(II) NVIDIA(1): NVIDIA GPU GeForce FX 5900XT at PCI:1:0:0 (GPU-0)
(--) NVIDIA(1):     PCI:1:0:0:
In this output you see the line starting with (--) PCI:*(1:0:0) nVidia Corporation NV35 this is the line you need to look for and the 1:0:0 is the numbers part that you need to put into the BusID lines in the file below. If you cannot get it to work copy the /var/log/Xorg.0.log file to a backup before starting X with your working file and post it here in two separate posts as it is rather big.

Code:
 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Fri Dec 15 10:12:14 PST 2006

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Dual Head"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
    Load           "xtrap"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

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



Section "Monitor"
    Identifier     "HPvs19E"
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "MA982K"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier   "Card0"
    Driver        "nvidia"
    BoardName "NVIDIA Corporation NV34 [GeForce FX 5200]"
    Screen        0
    BusID       "PCI:1:0:0"
EndSection


Section "Device"
    Identifier  "Card1"
    Driver       "nvidia"
    BoardName "NVIDIA Corporation NV34 [GeForce FX 5200]"
    Screen       1
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "HPvs19E"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Card1"
    Monitor        "MA982K"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection

Last edited by HappyTux; 03-03-2007 at 01:21 PM.
 
Old 03-03-2007, 01:05 PM   #3
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Original Poster
Rep: Reputation: 70
OK... Thankfully I backed up my xorg.conf file. I'm getting a "Fatal Server error, No Screens found", error... Here's the message in its entirety.

Using config file: "/etc/X11/xorg.conf"
Parse error on line 109 of Section Screen in file /etc/X11/xorg.conf
"Depth" is not a valid keyword in this section
(EE) Problem parsing the config file
(EE)Error parsing the config file

Fatal Server Error:
No Screens found

Now all that above, I've saw before during this adventure
however this i have not...

(WW) xf86CloseConsole: KDSETMODE failed: Bad File Description
(WW) xf86CloseConsole: VT_GETMODE failed: Bad File Description
(WW) xf86OpenConsole: VT_GETSTATE failed: Bad File Description

Unfortunately this doesn't allow me to get to my desktop at all, I have to log in via CLI, startx doesn't work, etc. So once I get back to my GUI, I'll post the contents of my /var/log/Xorg.0.log

Thanks
IGF
 
Old 03-03-2007, 01:14 PM   #4
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Original Poster
Rep: Reputation: 70
Well, Id hoped I could just restore my xorg.conf from a Live CD, but it doesn't look like its gonna be that easy. Its on an exteral USB hard drive, is there anyway I can get it back in there? I'm not gonna freak out on you if you don't know/cant help me, I'll just format and reinstall(I keep good backups)...

Thanks..

IGF
 
Old 03-03-2007, 01:29 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by IndyGunFreak
OK... Thankfully I backed up my xorg.conf file. I'm getting a "Fatal Server error, No Screens found", error... Here's the message in its entirety.

Using config file: "/etc/X11/xorg.conf"
Parse error on line 109 of Section Screen in file /etc/X11/xorg.conf
"Depth" is not a valid keyword in this section
(EE) Problem parsing the config file
(EE)Error parsing the config file

Fatal Server Error:
No Screens found

Now all that above, I've saw before during this adventure
however this i have not...

(WW) xf86CloseConsole: KDSETMODE failed: Bad File Description
(WW) xf86CloseConsole: VT_GETMODE failed: Bad File Description
(WW) xf86OpenConsole: VT_GETSTATE failed: Bad File Description

Unfortunately this doesn't allow me to get to my desktop at all, I have to log in via CLI, startx doesn't work, etc. So once I get back to my GUI, I'll post the contents of my /var/log/Xorg.0.log

Thanks
IGF
Sorry about that I was a little zealous in my cut'n'paste I have fixed the missing lines in the original post. All you should need to do is boot let X fail then login as root or normal user for Ubuntu then use sudo nano /etc/X11/xorg.conf edit the file to add the two added lines above then sudo /etc/init.d/xdm start to start the X server, you can be using wdm, kdm, gdm in this start line depending on the display manager used. Also you can use the sudo cp newfile newfile.bak then sudo cp oldfile.bak oldfile of course using the proper path/names to copy the files around and then use the start command already mentioned.
 
Old 03-03-2007, 02:18 PM   #6
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Original Poster
Rep: Reputation: 70
OK, now here's what I'm getting.

(WW) Nvidia: No Matching device Section for Instance (BusID PCI:0:5:0)
(EE) No Devices Detected

Fatal Server error:
No Screens found

Thanks again... Worst that will happen is I'll have to retype xorg.conf... Not my idea of a great time, but no big deal in the whole scheme of things.
 
Old 03-03-2007, 02:28 PM   #7
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by IndyGunFreak
OK, now here's what I'm getting.

(WW) Nvidia: No Matching device Section for Instance (BusID PCI:0:5:0)
(EE) No Devices Detected

Fatal Server error:
No Screens found

Thanks again... Worst that will happen is I'll have to retype xorg.conf... Not my idea of a great time, but no big deal in the whole scheme of things.
Ok so did you change the BusID in the xorg.conf from the 1:0:0 to 0:5:0 like I mentioned in my first post as it seems to want to be using that.
 
Old 03-03-2007, 02:44 PM   #8
IndyGunFreak
Senior Member
 
Registered: Aug 2003
Location: Indpls
Distribution: Laptops: Debian Jessie XFCE, NAS: OpenMediaVault 3.0
Posts: 1,355

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by HappyTux
Ok so did you change the BusID in the xorg.conf from the 1:0:0 to 0:5:0 like I mentioned in my first post as it seems to want to be using that.
If you're ever in the Indpls area, I demand you let me know so I can buy you a drink(I dont drink, so I'll be the designated driver )! I've worked on this since around 5 oclock last night, only sleeping about 4hrs before getting up and starting again)

I was actually running that command you posted in your first post while in CLI while you were posting this final post, and sure enough, once I changed that the video device booted up and worked perfectly.

So Now all I have to do is set icons on the desktop number 2 the way I like it!

Thanks again

IGF

Last edited by IndyGunFreak; 03-03-2007 at 04:34 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Display problem madsporkmurderer Linux - Hardware 2 04-20-2006 03:28 PM
Problem with dual display endochrium Linux - Software 4 01-25-2006 01:37 AM
dual head display problem kpachopoulos Fedora 3 09-08-2005 08:32 PM
dual display problem trekgraham Fedora 3 06-07-2005 08:00 AM
Dual head display problem cioannou Linux - Hardware 2 05-30-2005 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration