LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   3 Monitors in Mandriva 2007.0 (https://www.linuxquestions.org/questions/mandriva-30/3-monitors-in-mandriva-2007-0-a-539937/)

Gitzo645 03-23-2007 10:20 AM

3 Monitors in Mandriva 2007.0
 
Has anyone been able to get three heads running in Mandriva? I have been trying like crazy and can not get it to work, I am running one ATI card, and a dual head nVidia.. Here is my xorg.conf (The third head goes active, but is blank)

Code:


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 "Extensions"
    Option "Composite"
EndSection

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

Section "Module"
    Load "dbe" # Double-Buffering Extension
    Load "v4l" # Video for Linux
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx" # 3D layer
    Load "dri" # direct rendering
EndSection

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

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

Section "Monitor"
    Identifier "monitor1"
    VendorName "Plug'n Play"
    ModelName "AL1706"
    HorizSync 30-83
    VertRefresh 56-75
   
    # 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 "monitor2"
   
    # 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 "monitor3"
   
    # 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 "device1"
    VendorName "ATI Technologies Inc"
    BoardName "ATI Radeon"
    Driver "ati"
    Screen 0
    BusID "PCI:1:5:0"
    Option "DPMS"
    Option "XaaNoOffscreenPixmaps" "1"
EndSection

Section "Device"
    Identifier "device2"
    VendorName "nVidia"
    BoardName "NVIDIA GeForce FX (generic)"
    Driver "nv"
    Screen 0
    BusID "PCI:2:0:0"
    Option "DPMS"
    Option "IgnoreEDID" "1"
    # Everything below here added to enable 2nd monitor on this card
    Option "TwinView" "1"
    Option "Metamodes" "1280x1024,1280x1024;"
    Option "ConnectedMonitor" "DFP,DFP"
    Option "SecondMonitorHorizSync" "24-80"
    Option "SecondMonitorVertRefresh" "56-75"
    Option "NvAGP" "3"
EndSection


Section "Screen"
    Identifier "screen1"
    Device "device1"
    Monitor "monitor1"
    DefaultColorDepth 24
   
    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 "screen2"
    Device "device2"
    Monitor "monitor2"
    DefaultColorDepth 24
   
    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

    Subsection "Display"
        Depth 24
      Virtual 1280 1024
      # This needed to be changed to use the new doublewidth virtual screen with twinview enabled
      #Virtual 2560 1024
    EndSubsection
EndSection

Section "Screen"
    Identifier "screen3"
    Device "device2"
    Monitor "monitor3"
    DefaultColorDepth 24
   
    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 "layout1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "Mouse1" "CorePointer"
    Screen "screen1"
    Screen "screen2" RightOf "screen1"
    Screen "screen3" RightOf "screen2"
  #Option "Xinerama"
EndSection


GrapefruiTgirl 03-23-2007 11:51 AM

Have you had a look thru the log file /var/log/xorg.0.log to see if there are any indications of the problem? I am browsing your file, but it is quite different than I use, as you are using modelines. LOL, those confuse me, I prefer the 'other' way..
I have 2 screens on my nvidia card as we speak, without problems.
Have you considered getting the real nvidia drivers from nvidia, rather than using the default ones? Not sure if it would help the exact issue of no picture, but would surely help everything in general, performance-wise (is that nvidia an AGP card?).
:)
EDIT: Could you also tell me which monitors are what? as in, TV's or monitors, and are they CRT or LFP flatpanels?
I'd be happy to create a new file for you, both for your benefit, and for my own learning value. It may work, it may help, or it may not work, but I'd like to try if you would like.

EDIT: On further examination I can suggest 2 things:
1 - add a third device section for the second nvidia head. call it device3, and adjust the appropriate screen section as required.
2 - If one nvidia display is a TV, and you give it a mode it doesn't like, the card will kill the output to that device. Are you sure you are giving any TV's a valid resolution?
My TV, a big General electric, wont work with greater than 1024x768. It just goes black.
3 - I also see in the device sections, you have specified 'Screen 0' twice, yet there is no 'Screen 0' specified in the server layout.

Gitzo645 03-23-2007 12:55 PM

Quote:

Originally Posted by GrapefruiTgirl
Have you had a look thru the log file /var/log/xorg.0.log to see if there are any indications of the problem? I am browsing your file, but it is quite different than I use, as you are using modelines. LOL, those confuse me, I prefer the 'other' way..
I have 2 screens on my nvidia card as we speak, without problems.
Have you considered getting the real nvidia drivers from nvidia, rather than using the default ones? Not sure if it would help the exact issue of no picture, but would surely help everything in general, performance-wise (is that nvidia an AGP card?).
:)
EDIT: Could you also tell me which monitors are what? as in, TV's or monitors, and are they CRT or LFP flatpanels?
I'd be happy to create a new file for you, both for your benefit, and for my own learning value. It may work, it may help, or it may not work, but I'd like to try if you would like.

EDIT: On further examination I can suggest 2 things:
1 - add a third device section for the second nvidia head. call it device3, and adjust the appropriate screen section as required.
2 - If one nvidia display is a TV, and you give it a mode it doesn't like, the card will kill the output to that device. Are you sure you are giving any TV's a valid resolution?
My TV, a big General electric, wont work with greater than 1024x768. It just goes black.
3 - I also see in the device sections, you have specified 'Screen 0' twice, yet there is no 'Screen 0' specified in the server layout.



They are all Acer AL1706 19" Flat Panels, but I will try

Gitzo645 03-23-2007 01:02 PM

Adding third device Didnt work.. I Had tried that, but its on the same busID, I dont know what to put.

GrapefruiTgirl 03-23-2007 03:31 PM

Yes, they get the same BusID.. The main differences between your setup and mine (besides the OS's I mean) is:
1- you want to use twinview for whatever reason, where I use Xinerama
2 - You have an extra card besides the nvidia.

I couldn't get twinview to work on my system.. Either I had one black screen, or the 2 desktops overlapped. It was weird..
But with Xinerama, it's perfect.

The only thing I am uncertain about, is how for example, would one have modules and/or server-flags apply to one card (the ATI) but not the other. Which may be akin to your problem. Can you tell me, which screen is not working, the ATI-powered one, or an nVidia?
I ask because, it might be easiest to get the 2 nvidias working, and THEN work on adding the ATI..

Gitzo645 03-23-2007 11:52 PM

Quote:

Originally Posted by GrapefruiTgirl
Yes, they get the same BusID.. The main differences between your setup and mine (besides the OS's I mean) is:
1- you want to use twinview for whatever reason, where I use Xinerama
2 - You have an extra card besides the nvidia.

I couldn't get twinview to work on my system.. Either I had one black screen, or the 2 desktops overlapped. It was weird..
But with Xinerama, it's perfect.

The only thing I am uncertain about, is how for example, would one have modules and/or server-flags apply to one card (the ATI) but not the other. Which may be akin to your problem. Can you tell me, which screen is not working, the ATI-powered one, or an nVidia?
I ask because, it might be easiest to get the 2 nvidias working, and THEN work on adding the ATI..


The ATI works, and the first head on the dual nVidia, The reason I dont want Xinerama is I want them to be on seperate X sessions, not sharing :) I dont HAVE to use twin view, its the last thing I tried. So both cards are working, just the second head on the dual isnt... WEird :-P

GrapefruiTgirl 03-24-2007 08:41 AM

Weird indeed.. Well it seems you know what you're doing, especially based on the layout of the file.
I'm not really clear on the exact differences between Xinerama and Twinview -- I have the README file for the drivers, it provides a lot of detail, but still, it's a bit vague to me.
Not sure what you mean by 'separate X sessions'... Please explain. Like, do you want for example 2 different users to each have a screen of their own?
Using Xinerama the way I have, the X server sees my 2 displays as '2 separate X screens', but I don't know if that would equate to '2 different sessions'..
Also, as I mentioned, I did get weird results with twinview.
Currently, I can open applications on either screen, and maximize/fullscreen them, and have separate wallpapers for each screen. Using Twinview, I seemed to have both screens overlapping, but I may have learned a bit more since then, and maybe I could get it working now, but.. Not sure.
The innards are a little confusing, but if you could explain a bit more what you need of your setup, in the context of '2 separate sessions' I'd be happy to continue trying to help you sort it out.
I guess I have taken an interest in the various configurations of the nVidia cards.
If you don't have the README file, it's worth getting.
:)
PS- remember, a given device can only drive one display. So as far as the BusID's, you (I believe) need to specify a device for each screen. Where the Dual-card is technically 2-cards-in-one, they still should each have a device and screen and monitor section, but the devices DO get the same BusID. :)

Gitzo645 03-25-2007 01:00 AM

Quote:

Originally Posted by GrapefruiTgirl
Weird indeed.. Well it seems you know what you're doing, especially based on the layout of the file.
I'm not really clear on the exact differences between Xinerama and Twinview -- I have the README file for the drivers, it provides a lot of detail, but still, it's a bit vague to me.
Not sure what you mean by 'separate X sessions'... Please explain. Like, do you want for example 2 different users to each have a screen of their own?
Using Xinerama the way I have, the X server sees my 2 displays as '2 separate X screens', but I don't know if that would equate to '2 different sessions'..
Also, as I mentioned, I did get weird results with twinview.
Currently, I can open applications on either screen, and maximize/fullscreen them, and have separate wallpapers for each screen. Using Twinview, I seemed to have both screens overlapping, but I may have learned a bit more since then, and maybe I could get it working now, but.. Not sure.
The innards are a little confusing, but if you could explain a bit more what you need of your setup, in the context of '2 separate sessions' I'd be happy to continue trying to help you sort it out.
I guess I have taken an interest in the various configurations of the nVidia cards.
If you don't have the README file, it's worth getting.
:)
PS- remember, a given device can only drive one display. So as far as the BusID's, you (I believe) need to specify a device for each screen. Where the Dual-card is technically 2-cards-in-one, they still should each have a device and screen and monitor section, but the devices DO get the same BusID. :)


With Xinerama, the task bar is expanded thru both screens, like for instance your X server looks at the config like its a big widescreen and you share.. The way I am running now, with 2 is they each get their own instance of X, their own task bar, and so on... Only drawback is you can not drag between screens.. Id be fine with Xinerama tho if it can get my 3rd monitor up and running :)

Gitzo645 03-25-2007 01:01 AM

Quote:

Originally Posted by GrapefruiTgirl
Weird indeed.. Well it seems you know what you're doing, especially based on the layout of the file.

Heh thanks... Been on Mandriva since it was Linux Mandrake, first distro was Linux Mandrake 6.0 :)

GrapefruiTgirl 03-25-2007 09:16 AM

Quote:

Originally Posted by Gitzo645
With Xinerama, the task bar is expanded thru both screens, like for instance your X server looks at the config like its a big widescreen and you share..

Actually there are several setups of the taskbar; the way I like it, is with my taskbar only on my desktop. There IS an option to stretch it across both screens, but my second screnn is a TV where it's mainly used for movies and has a crappy picture when it's not displaying a DVD movie. So, the stretched taskbar is not ideal for me. I keep it just on one screen.
The taskbar is configurable (using KDE, I can't say for others) by using the 'Desktop Configuration' GUI, as in 'right-click desktop --> configure desktop'

You are correct that *somehow* the X server sees this as one wide-screen, something like 2624x1200. But the card apparently divvies up the input and simulates 2 screens.

Gitzo645 03-28-2007 08:50 AM

Well, I tried the new Xorg.conf... Still doesnt work, this is weird..

GrapefruiTgirl 03-28-2007 09:19 AM

OK, how about anything relevant from the log file? Maybe a hint or 2 in there..
/var/log/xorg.0.log


All times are GMT -5. The time now is 03:59 AM.