home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Ask a Tech Support Question (free)!

Multiple Monitors w/ multiple WMs

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2166
Discussions: 200,915, Posts: 2,378,977, Members: 246,282
Old September 10th, 2003, 01:48 AM   Digg it!   #1 (permalink)
I am a banana!
 
originel's Avatar
 
Join Date: Jun 2002
Location: Texas Tech
Posts: 3,921
Send a message via AIM to originel
Multiple Monitors w/ multiple WMs

ok...so i've been running Twinview for a while now with KDE and it just isn't what i want.

basically i want to be able to watch a movie on one screen and be able to do whatever on the other (including going through multiple virtual desktops). so i decided to try and use multiple wms at once but i just can't get it to work.

Basically i'm driving it with a single video card (my geforce FX) and outputting to my main CRT monitor and then my tv. (i have the suspicion that this would work fine with a second video card...but i don't have another card w/ tv-out so i have to use just the one card)

The only thing i can get with my current XF86Config file is video on my main monitor (which is outputting fine) but i'm not getting any signal to my tv.

so here's the relevant sections of my XF86Config file.
Code:
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "Monitor_CRT"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   30.0 - 70.0

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 50-180

EndSection

Section "Monitor"
    Identifier "Monitor_TV"
    HorizSync 30-50
    VertRefresh 60
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
    Identifier  "NV_CRT"
    Driver      "nvidia"
    Screen	0
EndSection

Section "Device"
    Identifier  "NV_TV"
    Driver      "nvidia"
    Screen	1
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen_CRT"
    Device      "NV_CRT"
    Monitor     "Monitor_CRT"

# If your card can handle it, a higher default color depth (like 24 or 32)
# is highly recommended.

#   DefaultDepth 8
#   DefaultDepth 16
   DefaultDepth 24
#   DefaultDepth 32

# "1024x768" is also a conservative usable default resolution.  If you
# have a better monitor, feel free to try resolutions such as
# "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
# card/monitor can produce)

    Subsection "Display"
        Depth       8
        Modes "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1024x768" "800x600" "640x480"
    EndSubsection

EndSection

Section "Screen"

    Identifier 	"Screen_TV"
    Device 	"NV_TV"
    Monitor 	"Monitor_TV"
    
    Option 	"ConnectedMonitor" "TV"
    
    Option 	"TVStandard" "NTSC-M"
    Option 	"TVOutFormat" "SVIDEO"
    
    DefaultDepth 24
    Subsection 	"Display"
        Depth	24
        Modes "800x600"
    EndSubSection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "TwoScreens Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen 0 "Screen_CRT"
    Screen 1 "Screen_TV" RightOf "Screen_CRT"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"

EndSection
More relevant info

Slackware 9.0
XFree86 v4.3.0
KDE v3.1.0
Nvidia driver v4496
GeforceFX 5900 ultra
originel is offline   Reply With Quote
Old September 10th, 2003, 12:25 PM     #2 (permalink)
I am a banana!
 
originel's Avatar
 
Join Date: Jun 2002
Location: Texas Tech
Posts: 3,921
Send a message via AIM to originel
I had another thought.

my problem could be with how i start x-windows (i.e. just using startx with little or no arguments).

Maybe i need to go in and edit my xinitrc file some...or possibly use xdm/kdm/gdm/whatever.

I just checked in the xinitrc file (the global one cause i don't have a local one...yet), and i can't say i know much about shell scripting like that. i've been googling a lot but i can't find anything specific enough for my situation. any thoughts/ideas?
originel is offline   Reply With Quote
Old September 11th, 2003, 07:38 PM     #3 (permalink)
Real gangstas sip on Yacc
 
jkrohn's Avatar
 
Join Date: Oct 2001
Location: Suckas-ville
Posts: 4,552
Send a message via ICQ to jkrohn Send a message via AIM to jkrohn Send a message via Yahoo to jkrohn
Hmm, this probably isn't what you are looking for but it is worth a shot if you cannot find anything else

1) Keep the current setup. One large desktop over two screens.
2) Launch Xnest -ac :1
3) Drag that to monitor 2 and sticky it to all desktops.
4) Open a terminal
export DISPLAY=localhost:1
startkde (or other WM)
5) Play video/do stuff

Mplayer will not work using XV so you have to use X11 and you lose scaling. There are a ton of options to Xnest though so I am sur eif you play with them you will find a better combo.

Jkrohn
__________________
Signatures blow hard
If your signature contains an ad of any kind, congratulations, you're on my ignore list.
jkrohn is offline   Reply With Quote
Old September 13th, 2003, 05:00 AM     #4 (permalink)
I am a banana!
 
originel's Avatar
 
Join Date: Jun 2002
Location: Texas Tech
Posts: 3,921
Send a message via AIM to originel
well i played around with it some but it wasn't really what i was looking for. but thanks for the tip, i didn't know it existed.

I actually did make a lot of progress and managed to get twinview to work like i had wanted.

KDE has under advanced options in window behavior to enable xinerama support and you can make windows always open up on the primary monitor...it also allows for fullscreen of xinerama aware programs on either monitor.

Also i managed to get xine and mplayer to work well in these conditions, so i'm happy.

the only thing i haven't been able to get so far has been 1152x864 res (it still defaults to 1024 due to the tv-out). but i think i can fix that with a virtual desktop area.
originel is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2830)
Why is Khalid Sheikh Mohammed even .. (7)
Is the PSU I received dead? (10)
Install XP pro and a Vista laptop ?.. (8)
HIS HD5770 graphic card question (15)
A good PSU? (10)
Foreign voltage (7)
Print spooler problem (9)
New Computer wont recognize XP disc (7)
Dept. of HS: NSA 'Helped' Develop V.. (12)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (7)
Modern Warfare 2: Who Bought It? (60)
Mysterious Boot manager (9)
Recent Discussions
Problem with speed step/turbo boost? (0)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
Print spooler problem (9)
windows vista security holes (3)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Foreign voltage (7)
Asus P4G8X Mobo (3)
World's largest Monopoly Game using G.. (329)
EVGA 9800 gtx help with finding a goo.. (7)
Need hard disk drivers (4)
windows 7 internet problem (4)
What OS for a home server? (other tha.. (1)
Boot Problem? (0)
Logitech G9 laser gaming mouse $59.95.. (2)
$5 off any item with the purchase of .. (1)
Ideal cheap graph card for PC-Gaming? (15)
Install XP pro and a Vista laptop ?? (8)
Cloning old drive to new drive (6)
Amptron monitor G17FP-Black (0)
A good PSU? (10)
Is the PSU I received dead? (10)


All times are GMT -4. The time now is 12:42 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28