LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-22-2003, 10:00 PM   #1
m_m
Member
 
Registered: Aug 2002
Posts: 37

Rep: Reputation: 15
Spanned Display Problem !!??


I have Mandrake 9 on a Toshiba Laptop. I can connect a monitor to the Svga port, but I can not get a spanned desktop display.
I tried to declare both monitors and screens and add Option Xinerama on, but it still doesnt work. It gives me an error message saying that there are 2 screens assigned to the same device. :-(

Please help me !!!!! All the documentation out there is about 2 videocards + 2 screens. All I have is 1 videocard with a Svga port +2 screens.


Thanks,
m_m
 
Old 02-23-2003, 05:03 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Post your XF86Config file and we can show you what to tweak. For a good example, try looking at this one:

Code:
Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        Screen      1  "Screen1" RightOf "Screen0"
        Option         "xinerama" "on"
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/local/"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "record"
        Load  "xtrap"
        Load  "speedo"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "PS/2"
        Option      "Device" "/dev/mouse"
EndSection

Section "Monitor"
        #DisplaySize      370   270     # mm
        Identifier   "Biggun"
        HorizSync    30.0 - 86.0
        VertRefresh  50-160
        VendorName   "MAG"
        ModelName    "986FS"
        Option      "DPMS"
EndSection


Section "Monitor"
        #DisplaySize      320   240     # mm
        Identifier   "Littun"
        HorizSync    31.0 - 69.0
        VertRefresh  50-160
        VendorName   "GWY"
        ModelName    "1b5b"
        Option      "DPMS"
EndSection

Section "Device"
        Identifier  "LeftHead"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G550 AGP"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection

Section "Device"
        Identifier  "RightHead"
        Driver      "mga"
        VendorName  "Matrox"
        BoardName   "MGA G550 AGP"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "LeftHead"
        Monitor    "Biggun"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes     "1024x768"
                ViewPort  0 0
        EndSubSection
EndSection

Section "Screen"
        Identifier "Screen1"
        Device     "RightHead"
        Monitor    "Littun"
        DefaultDepth     24
        SubSection "Display"
                Depth     24
                Modes     "1024x768"
                ViewPort  0 0
        EndSubSection
EndSection
Cheers,

Finegan
 
Old 02-24-2003, 01:58 PM   #3
m_m
Member
 
Registered: Aug 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Here is my XF86Config-4. Whenever I try to start the XServer with this, it tells me that I cant have "device1" and "device2" assign to the same hardware. Well I only have one hardware (videocard).

Thanks,
m_m

------------------------------------------------
# File generated by XFdrake.

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

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't 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
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "Generic"
ModelName "VGA 1024x768"
Option "DPMS"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 800x600"
HorizSync 31.5-37.9
VertRefresh 40-70
Option "DPMS"

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -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 "device1"
BoardName "ATI Rage LT PRO"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

Section "Device"
Identifier "device2"
BoardName "ATI Rage LT PRO"
Driver "ati"
BusID "PCI:1:0:0"
EndSection


Section "Screen"
Identifier "Screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen2"
Device "device2"
Monitor "monitor2"
SubSection "Display"
Depth 24
Modes "1024x768" "800x600"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen 0 "Screen1"
Screen 1 "Screen2" RightOf "Screen1"
Option "xinerama" "on"
EndSection
 
Old 02-24-2003, 09:05 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: London, UK
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Quote:
Originally posted by m_m


Section "Device"
Identifier "device1"
BoardName "ATI Rage LT PRO"
Driver "ati"
BusID "PCI:1:0:0"
EndSection

The only thing I can see missing is a screen declaration, compare the above to this:

Code:
Section "Device"
                                      Identifier  "RightHead"
                                      Driver      "mga"
                                      VendorName  "Matrox"
                                      BoardName   "MGA G550 AGP"
                                      BusID       "PCI:1:0:0"
                                      Screen      0
                              EndSection
Cheers,

Finegan
 
Old 02-26-2003, 10:40 AM   #5
m_m
Member
 
Registered: Aug 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Hi Finegan,

I add Screen0 and Screen1 but I still get that error saying that XF86Config cannot assign device 1 and device 2 to the same adaptor.

There is any way to make it see the Svga port for the second monitor?

Thanks,
m_m
 
Old 03-03-2003, 11:16 AM   #6
m_m
Member
 
Registered: Aug 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Unhappy

Is anyboby out there that tried to do a expanded display on a laptop? It works fine in Windows.
I've been reading on linux-laptop.net and nobody tried that Svga output with a second monitor.
I tried to see if the laptop's videocard is a dual-head but scanpci returns just only one video adapter.
Can somebody please help me ??

Thanks,
m_m
 
  


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
Problem withChanging DISPLAY environment variable to display on someone else's screen wantsri Linux - Networking 1 10-25-2005 11:14 AM
adding space - can it be 'spanned' danimalz Linux - Hardware 1 10-22-2005 06:45 PM
ati spanned desktop schneidz Linux - Hardware 1 08-28-2005 11:18 AM
Spanned Display ?! m_m Linux - Newbie 5 02-27-2003 01:19 PM
Spanned display for laptops? m_m Linux - Hardware 2 01-08-2003 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 09:21 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