LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Dual DIsplay Issues GeForce FX 5500 w/ New Nvidia Drivers Ubuntu Dapper 6.06 (https://www.linuxquestions.org/questions/ubuntu-63/dual-display-issues-geforce-fx-5500-w-new-nvidia-drivers-ubuntu-dapper-6-06-a-468997/)

pr0gr4mm3r 07-29-2006 09:18 PM

Dual DIsplay Issues GeForce FX 5500 w/ New Nvidia Drivers Ubuntu Dapper 6.06
 
I'm very sorry if I am asking stupid questions. I spent my whole Saturday off work trying to figure this out, and the only thing I acomplished was a headache. I was able to get Nvidia's drivers installed w/o a problem, but I can't get the dual display working for the life of me. I spent all day reading forums and How To's with no luck. The second monitor remains in power saving.

My primary screen is a Hyundai B70A flatpanel. My secondary screen is some KDS Avitron 17 inch CRT. Ubunto detects only the flat screen.

Since my second display wasn't able to be detected, I knew I had to enter that file information manually, but it still doesn't work. I will post the file below. If anybody could point out my mistake, I would greatly appreciate it.

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@rothera)  Thu Jan  5 15:32:31 UTC 2006

Section "ServerLayout"
    Identifier    "Layout0"
    Screen        "Screen0"
    Screen        "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
EndSection

Section "InputDevice"

    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName      "Unknown"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    VendorName    "Unknown"
    ModelName      "Unknown"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    Screen        0
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    Screen        1
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option        "ConnectedMonitor" "CRT,CRT"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option        "ConnectedMonitor" "CRT,CRT"
    SubSection    "Display"
        Depth      24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Thanks for any assistance.

myates1980 07-30-2006 08:11 AM

did you use the drivers from the nvidia site? or the drivers from the ubuntu cd?

HappyTux 07-30-2006 10:19 AM

Quote:

Originally Posted by pr0gr4mm3r
I'm very sorry if I am asking stupid questions. I spent my whole Saturday off work trying to figure this out, and the only thing I acomplished was a headache. I was able to get Nvidia's drivers installed w/o a problem, but I can't get the dual display working for the life of me. I spent all day reading forums and How To's with no luck. The second monitor remains in power saving.

My primary screen is a Hyundai B70A flatpanel. My secondary screen is some KDS Avitron 17 inch CRT. Ubunto detects only the flat screen.

Since my second display wasn't able to be detected, I knew I had to enter that file information manually, but it still doesn't work. I will post the file below. If anybody could point out my mistake, I would greatly appreciate it.

Try the file below it should give you two separate screens where you can move the mouse between them. Now I could not find the proper refresh rates for the KDS monitor so you should get out the manual to put them in or do a search on the model number/make to find them using too high a numbers can damage the monitor so it is important to get them right I used the specs found here for the LCD if it is not correct then don't use these either. If the file does not work when you change the CRT refresh rates then can you post the file /var/log/Xorg.0.log and a few more details like the physical positions of the monitors on your desk, whether you want two desktops of one big desktop spanning both monitors. You may need a BusID "PCI:1:0:0" in the Section Device for the video card you can find the proper numbers for this by looking in the /var/log/Xorg.0.log for a section like this.

Code:

(--) PCI:*(1:0:0) nVidia Corporation NV35 [GeForce FX 5900XT] rev 161, Mem @ 0xf8000000/24, 0xf0000000/27
BTW is this one or two video card you are using for the dualhead as you will need to use the different numbers for two cards.


Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@rothera)  Thu Jan  5 15:32:31 UTC 2006

Section "ServerLayout"
    Identifier    "Layout0"
    Screen    0    "Screen0" 0 0
    Screen    1    "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath        "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load          "dbe"
    Load          "extmod"
    Load          "type1"
    Load          "freetype"
    Load          "glx"
    Load            "xtrap"
EndSection

Section "InputDevice"

    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    Option        "Protocol" "auto"
    Option        "Device" "/dev/psaux"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Hyndai"
    ModelName      "B70A"
    HorizSync      31.0 - 80.0
    VertRefresh    56.0 - 75.0
    Option        "DPMS"
EndSection

Section "Monitor"
    Identifier    "Monitor1"
    VendorName    "KDS"
    ModelName      "Avitron 17 inch"
    HorizSync      30.0 - 110.0
    VertRefresh    50.0 - 150.0
    Option        "DPMS"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    Screen        0
EndSection

Section "Device"
    Identifier    "Device1"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    Screen        1
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier    "Screen1"
    Device        "Device1"
    Monitor        "Monitor1"
    DefaultDepth    24
    SubSection    "Display"
        Depth      24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection


pr0gr4mm3r 07-30-2006 02:28 PM

Success!!

I did change the sync ranges for my second monitor. The first time I restarted x, the second monitor still didn't come out of power saving, so I added the BusID, and I had the biggest smile when I saw the Nvidia logo flash on the second screen after I restarted it again :) :) . This config file it getting locked away and backed up so I don't have to go through this again. I also had to change the order of the screens (secondary RightOf primary). It's a single card with two VGA outs BTW.

Ok, so about the multiple desktops. I like having separate desktops for both displays, but I would like to be able to move windows from one display to another like I can move them across work spaces. For example, can I make workspaces 1-4 on my primary and 5-8 on my secondary? Then I can move windows across displays just like moving them across workspaces. So far, I haven't found a way to move a window from one display to another this way.

One of the problems with having the separate desktops is that I can't load FireFox in both screens at the same time. I get this error.

(tried to post URL to screenshot, but it wouldn't let me :( ) The error was "Firefox is already running. To open a new window, you must first close the existing FireFox process, or restart your system." It doesn't give me this error when I open multiple sessions on different workspaces, or even the same workspace, just different workspaces.

By the way, whenever I take screenshots in windows, I'm so used to hitting the key, opening paint, copying it in, and saving it. I was so amazed when I saw the save dialog come up when I hit the ss key for the first time in Linux. :)

Thank you so very very much for your help!

HappyTux 07-30-2006 04:07 PM

Quote:

Originally Posted by pr0gr4mm3r
Ok, so about the multiple desktops. I like having separate desktops for both displays, but I would like to be able to move windows from one display to another like I can move them across work spaces. For example, can I make workspaces 1-4 on my primary and 5-8 on my secondary? Then I can move windows across displays just like moving them across workspaces. So far, I haven't found a way to move a window from one display to another this way.

Moving across displays will not work you need to use Xinerama and have the one big desktop then you can move between them.
Quote:

One of the problems with having the separate desktops is that I can't load FireFox in both screens at the same time. I get this error.

(tried to post URL to screenshot, but it wouldn't let me :( ) The error was "Firefox is already running. To open a new window, you must first close the existing FireFox process, or restart your system." It doesn't give me this error when I open multiple sessions on different workspaces, or even the same workspace, just different workspaces.
Now that is just plain stupid I just tried the same here and get the error as well now using Konqueror it works perfectly.
Quote:

By the way, whenever I take screenshots in windows, I'm so used to hitting the key, opening paint, copying it in, and saving it. I was so amazed when I saw the save dialog come up when I hit the ss key for the first time in Linux. :)

Thank you so very very much for your help!
Your welcome if you like that then you will just love being able to select the text with your mouse pointer then either middle clicking with the scroll wheel button or both right and left buttons at the same time to paste it just drives me crazy anytime I use a windows machine and actually have to select copy then paste.

pr0gr4mm3r 08-06-2006 04:59 PM

Finally got time to work on it again. :)

I had luck with getting dual head with Xinerama working...well sort of. I have two screens working fine, but glx and gl doesn't work on the secondary screen. For example, if I take a screenshot, only the first screen shows up, or if I run glxgears or billard-gl, they don't display anything on the second screen. I only added `Option "Xinerama" "on"` to my xorg.conf file to disable multiple desktops. If there something else I need to change? Below if my conf file.

Code:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig:  version 1.0  (buildd@rothera)  Thu Jan  5 15:32:31 UTC 2006



Section "ServerLayout"

    Identifier    "Layout0"

    Screen    0    "Screen0" 0 0

    Screen    1    "Screen1" RightOf "Screen0"

    InputDevice    "Keyboard0" "CoreKeyboard"

    InputDevice    "Mouse0" "CorePointer"
    Option            "Xinerama" "on"

EndSection



Section "Files"

    RgbPath        "/usr/X11R6/lib/X11/rgb"

EndSection



Section "Module"

    Load          "dbe"

    Load          "extmod"

    Load          "type1"

    Load          "freetype"

    Load          "glx"

    Load            "xtrap"

EndSection



Section "InputDevice"



    # generated from default

    Identifier    "Mouse0"

    Driver        "mouse"

    Option        "Protocol" "auto"

    Option        "Device" "/dev/psaux"

    Option        "Emulate3Buttons" "no"

    Option        "ZAxisMapping" "4 5"

EndSection



Section "InputDevice"



    # generated from default

    Identifier    "Keyboard0"

    Driver        "kbd"

EndSection



Section "Monitor"

    Identifier    "Monitor0"

    VendorName    "Hyndai"

    ModelName      "B70A"

    HorizSync      31.0 - 80.0

    VertRefresh    56.0 - 75.0

    Option        "DPMS"

EndSection



Section "Monitor"

    Identifier    "Monitor1"

    VendorName    "KDS"

    ModelName      "Avitron 17 inch"

    HorizSync      30.0 - 70.0

    VertRefresh    40.0 - 120.0

    Option        "DPMS"

EndSection



Section "Device"

    Identifier    "Device0"

    Driver        "nvidia"

    VendorName    "NVIDIA Corporation"

    Screen        0
    BusID          "PCI:1:0:0"

EndSection



Section "Device"

    Identifier    "Device1"

    Driver        "nvidia"

    VendorName    "NVIDIA Corporation"

    Screen        1
    BusID          "PCI:1:0:0"

EndSection



Section "Screen"

    Identifier    "Screen0"

    Device        "Device0"

    Monitor        "Monitor0"

    DefaultDepth    24

    SubSection    "Display"

        Depth      24

        Modes      "1280x1024" "1024x768" "800x600" "640x480"

    EndSubSection

EndSection



Section "Screen"

    Identifier    "Screen1"

    Device        "Device1"

    Monitor        "Monitor1"

    DefaultDepth    24

    SubSection    "Display"

        Depth      24

        Modes      "1280x1024" "1024x768" "800x600" "640x480"

    EndSubSection

EndSection


spooge 08-18-2006 10:36 AM

i think you want twinview.
here's my cfg
Code:

Section "Monitor"

    Identifier  "Monitor0"
    HorizSync  31.5 - 100.0
    VertRefresh 100

EndSection
Section "Monitor"
    Identifier  "Monitor1"
    HorizSync  31.5 - 100.0
    VertRefresh 100

EndSection



Section "Device"
    Identifier  "NVIDIA"
    Driver      "nvidia"
    option "AGPfastWrite" "True"
    Option "RenderAccel" "True"
Option "DPMS" "true"
#Option "NoRenderExtension" "false"
    #Option "TwinViewOrientation" "RightOf"
    Option "TwinView"
    Option "MetaModes" "1280x1024,1280x1024; 1280x1024,1280x1024"
    #Option "MetaModes" "1280x1024; 1280x1024"
#  Option HorizSync" "30-100"
    Option "VertRefresh" "50-150"
    #VideoRam    65536
    VideoRam    126072
Option      "NoLogo" "true"
Option      "NvAGP" "3"
    Option        "Coolbits" "1"
    Option        "BackingStore" "True"
    Option        "ConstantFrameRateHint" "True"

    # Insert Clocks lines here if appropriate
#    Option HorizSync" "30-100"
    Option "VertRefresh" "50-150"
    #VideoRam    65536
#    VideoRam    126072
    VideoRam    441232
Option      "NoLogo" "true"
Option      "NvAGP" "3"
    Option        "Coolbits" "1"
    Option        "BackingStore" "True"
    Option        "ConstantFrameRateHint" "True"

    # Insert Clocks lines here if appropriate
EndSection
# **********************************************************************
# Screen sections
# **********************************************************************
Section "Screen"
    Identifier  "Screen 0"
    Device      "NVIDIA"
    Monitor    "Monitor0"
    DefaultDepth 24
#  DefaultDepth 32

    Subsection "Display"
        Depth      24
        Modes "1280x1024"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "NVIDIA"
    Monitor    "Monitor1"
    DefaultDepth 24
#  DefaultDepth 32

    Subsection "Display"
        Depth      24
        Modes "1280x1024"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 0"
    Screen "Screen 1" RightOf "Screen 0"
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Keyboard0" "CoreKeyboard"

EndSection

?

pr0gr4mm3r 08-18-2006 11:01 PM

Thanks for sharing your config file. I used some options that you had enabled, but the glx graphics on my second monitor are still non-existent. If I run glxgears on my primary, it renders 1100 fps. When I drag it over to my secondary display, the gears go away (window still there), and the fps goes up to 7000 fps. Weird.

Not a huge deal though. I don't do any games, let alone on my secondary display. If I have FireFox, Thunderbird, BlueFish, gFTP, and Instant Messenger, I'm happy :), even though I would like to know the issue out of my own curiosity.

By the way, a couple weeks ago, I felt like I was in a foreign enviornment in Linux, and I felt more confortable in Windows. Now, I get mad when I have to boot up to Windows to use certain apps, and I definately favor the Gnome enviornment over Windows :D :D :D .

spooge 08-18-2006 11:12 PM

why do you care about glxgears anyways?

pr0gr4mm3r 08-18-2006 11:17 PM

glxgears is just what I use to test the display. That program, some games, and the screensaver doesn't work on my second display.

HappyTux 08-18-2006 11:20 PM

Quote:

Originally Posted by pr0gr4mm3r

Not a huge deal though. I don't do any games, let alone on my secondary display. If I have FireFox, Thunderbird, BlueFish, gFTP, and Instant Messenger, I'm happy :), even though I would like to know the issue out of my own curiosity.

I believe the idea is that you have to have separate displays for glx/gl on each Xinerama only gives it to you on the primary display.

pr0gr4mm3r 08-18-2006 11:28 PM

Quote:

Originally Posted by HappyTux
I believe the idea is that you have to have separate displays for glx/gl on each Xinerama only gives it to you on the primary display.

That's interesting. I did a quick search and found this: http://lists.debian.org/debian-user/.../msg02935.html

It seems that some people are having the same problem, so I will have to research this. To Google I go. :)

spooge 08-20-2006 08:59 PM

have you tried twinview?
just curious

pr0gr4mm3r 08-20-2006 09:07 PM

Is twinview the two separate desktops? I've tried that, and I'd rather have the spanning desktop.

spooge 08-22-2006 08:07 AM

no just one single desktop spread across both screens


All times are GMT -5. The time now is 01:29 AM.