LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-17-2005, 08:10 PM   #1
crazydark
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 11.0
Posts: 5

Rep: Reputation: 0
multiple monitors, laptop, one video card


Hiya ppl,

I need some help, im not a complete newbie but im stuck with a problem..

the basics:

I have compaq evo n1015v laptop, mandrake 10 and KDE all working fine, i have an FTP server running and lots of bells and whistles installed fine like Java and bittorrent

It contains the IGP 320m graphics chip set, for which ATI and compaq have no drivers for the 3D acceleration, but the general things work ok, correct resolution etc etc all fine no probs

I have plugged an additional monitor in to the back of my laptop. During boot and up to the text logon i use (think its bash or whatever) it works fine and i get a replica of the display on both screens..

When i go "kde " or "startx" the second monitor turns off...

I'd like to have "big desktop" or whatever but would be happy just to have the display mirrored on the second screen for starters.. Im sure i just need to edit my XF86Config-4 file which ive provided below:

Can some one please tell me, in simple terms, how i get this display to work?.. ive tried studying other people config files, but to be honest i dont know what im doing and ive already tried a couple of things and couldnt get KDE to work at all afterwards.. luckily (!?) i was savvy and had a backup which i restored as root via the console (this i was pleased about because ive spent quite a long time learning the commands and VIM etc)

So having a "big desktop" or whatever is secondary to just getting the thing working and displaying what i see here.. although i would like eventually be able to use them independantly..

Also im having a problem with mplayer and openoffice maximising just off the screen so i cant grab the top of them and move them down, if anyone knows what that might be that'd be great but im just really interested in the monitor at the moment - also thats a software problem and belongs somewhere else eh..

Thanks in advance!

# 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)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
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 "DRI"
Mode 0666
EndSection

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

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "monitor1"
HorizSync 31.5-57.0
VertRefresh 50-90

# 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"
VendorName "ATI"
BoardName "ATI Radeon"
Driver "radeon"
Option "DPMS"
EndSection

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

Subsection "Display"
Depth 8
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1024 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1024 768
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 03-17-2005, 11:49 PM   #2
crazydark
LQ Newbie
 
Registered: Mar 2005
Distribution: Slackware 11.0
Posts: 5

Original Poster
Rep: Reputation: 0
heh.. do i need to supply more information or anything, id be more than willing? - ive been trawling the web all night and i still cant get it working :*(
 
Old 03-17-2005, 11:54 PM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Per the LQ Rules, please do not bump your own thread until at least 24 hours have elapsed without a reply. Because the LQ membership is global, people in other time zones may not have seen this post yet, and thus it may take some time before a response is received.

http://www.linuxquestions.org/rules.php

crazydark -- Welcome to LQ. Please however allow for more than 3.5 hours to receive a reply. The LQ membership is global, and it could be that someone who can answer your question is in a very different time zone. If more than 24 hours elapse with no reply, you can bump your own thread but please not before then. Thanks and good luck with it -- J.W.
 
Old 03-18-2005, 06:40 AM   #4
MadOtis
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware, Fedora, Gentoo
Posts: 18

Rep: Reputation: 0
Here's a copy of my xorg.conf; you may need to adjust it a bit for XF86, as I run Xorg. But, I have it working on my laptop with one caveot; I can't get my flat panel to work with the DVI connector on my docking station... instead, I have to use the analog VGA port. Bascially, you have to set up a duplicate "screen", and video card "device" for the internal video card, and an appropriate "monitor" section for both monitors (the internal laptop lcd and the external monitor/panel).

Code:
        Section "Files"
                FontPath        "/usr/share/fonts/ttf-bitstream-vera/"
                FontPath        "/usr/share/fonts/terminus/"
                FontPath        "/usr/share/fonts/corefonts/"
                FontPath        "/usr/share/fonts/Type1/"
                FontPath        "/usr/share/fonts/freefont/"
                FontPath        "/usr/share/fonts/artwiz/"
                FontPath        "/usr/share/fonts/local/"
                FontPath        "/usr/share/fonts/misc/"
                FontPath        "/usr/share/fonts/100dpi/:unscaled"
                FontPath        "/usr/share/fonts/75dpi/:unscaled"
                FontPath        "/usr/share/fonts/Speedo/"
                FontPath        "/usr/share/fonts/CID/"
                FontPath        "/usr/share/fonts/encodings/"
                FontPath        "/usr/share/fonts/TTF/"
                FontPath        "/usr/share/fonts/util/"
                FontPath        "/usr/share/fonts/sharefont/"
                FontPath        "/usr/share/fonts/lfp-fix/"
                FontPath        "/usr/share/fonts/100dpi/"
                FontPath        "/usr/share/fonts/75dpi/"
                FontPath        "/usr/share/fonts/unifont/"
        EndSection
        Section "Module"
                Load    "ddc"
                Load    "GLcore"
                Load    "dri"
                Load    "record"
                Load    "bitmap"
                Load    "extmod"
                Load    "dbe"
                Load    "glx"
                Load    "freetype"
                Load    "speedo"
                Load    "type1"
                Load    "vbe"
                Load    "int10"
                Load    "synaptics"
        EndSection
        Section "InputDevice"
                Identifier      "Generic Keyboard"
                Driver          "kbd"
                Option          "CoreKeyboard"

                Option          "XkbModel"      "pc105"
                Option          "XkbLayout"     "en"
                Option          "XkbVariant"    "nodeadkeys"
        EndSection
        Section "InputDevice"
                Identifier      "Configured Mouse"
                Driver          "mouse"
                Option          "CorePointer"
                Option          "Device"        "/dev/input/mice"
                Option          "Protocol"      "ImPS/2"
                Option          "Buttons"       "6"
                Option          "ZAxisMapping"  "4 5"
        EndSection
        Section "InputDevice"
                Identifier      "mouse[1]"
                Driver          "synaptics"
                Option          "Device" "/dev/psaux"
                Option          "Protocol" "auto-dev"
                Option          "LeftEdge" "1700"
                Option          "RightEdge" "5300"
                Option          "TopEdge" "1700"
                Option          "BottomEdge" "4200"
                Option          "FingerLow" "25"
                Option          "FingerHigh" "30"
                Option          "MaxTapTime" "180"
                Option          "MaxTapMove" "220"
                Option          "VertScrollDelta" "100"
                Option          "MinSpeed" "0.06"
                Option          "MaxSpeed" "0.12"
                Option          "AccelFactor" "0.0010"
                Option          "SHMConfig" "on"
        EndSection
        Section "Monitor"
                Identifier      "Builtin Default Monitor"
                HorizSync       30-82
                VertRefresh     50-85
                Option          "DPMS"
        EndSection
        Section "Monitor"
                Identifier      "Builtin LCD Panel"
                HorizSync       50-70
                VertRefresh     60
                Option  "DPMS"
        EndSection
        Section "Device"
                Identifier      "Builtin Default ati Device 0"
                Driver  "radeon"
                BusID   "PCI:01:00:0"
                Screen  0
        EndSection
        Section "Device"
                Identifier      "Builtin Default ati Device 1"
                Driver  "radeon"
                BusID   "PCI:01:00:0"
                Screen  1
        EndSection
        Section "Screen"
                Identifier      "Builtin Default ati Screen 0"
                Device  "Builtin Default ati Device 0"
                Monitor "Builtin Default Monitor"
                DefaultDepth    24
                SubSection "Display"
                        Depth   24
                        #Modes  "1280x1024"
                        Modes   "1600x1200"
                EndSubSection
        EndSection
        Section "Screen"
                Identifier      "Builtin Default ati Screen 1"
                Device  "Builtin Default ati Device 1"
                Monitor "Builtin LCD Panel"
                DefaultDepth    24
                SubSection "Display"
                        Depth   24
                        Modes   "1400x1050"
                EndSubSection
        EndSection
        Section "ServerFlags"
                Option  "Xinerama"
        EndSection
        Section "ServerLayout"
                Identifier      "Builtin Default Layout"
                #Screen 0 "Builtin Default ati Screen 1"
                Screen  0 "Builtin Default ati Screen 0"
                Screen  1 "Builtin Default ati Screen 1" RightOf "Builtin Default ati Screen 0"
                InputDevice "mouse[1]" "CorePointer"
                InputDevice "Configured Mouse" "AlwaysCore"
                InputDevice "Generic Keyboard" "CoreKeyboard"
                Option "Xinerama" "on"
        EndSection
Hope this helps... now, if I can only find the answer to why my DVI port doesn't work...

Cheers,
Randy
 
  


Reply



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
Multiple Monitors on a single Multihead card MadCowDzz Linux - Hardware 8 11-05-2005 10:36 AM
Dual Monitors - One Video Card brokenflea Slackware 2 08-26-2005 06:02 AM
Setting up Dual monitors on one video card busaussie Linux - Hardware 4 06-11-2005 12:27 PM
help » dual video card and monitors bobbens Debian 1 11-08-2004 07:42 PM
Multiple Monitors: Can I choose the primary card in XFree86? SparceMatrix Linux - Hardware 3 10-15-2002 11:34 PM

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

All times are GMT -5. The time now is 04:56 AM.

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