LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-16-2003, 02:26 AM   #1
Iskendar
Member
 
Registered: Jul 2003
Posts: 30

Rep: Reputation: 15
Multiple X screens, multiple WM, TV-out


After messing around with TwinView without much success, I switched over to a multiple screens approach for my TV-out, with more success. But I'd like to find out whether I can run different window managers on the two screens attached to my nvidia.

First the setup: I've got an MSI Geforce4 Ti4200 card with TV-out, connected to a NEC
flatscreen and a TV. The XF86Config-4 file looks as follows (well, the relevant bits, that
is):

# Graphics Card
# =============
Section "Device"
Identifier "Nvidia LCD"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Nvidia TV"
Driver "nvidia"
BusID "PCI:1:0:0"
Screen 1
EndSection

# Monitors
# ========
Section "Monitor"
Identifier "LCD"
HorizSync 28-50
VertRefresh 43-75
Option "DPMS"
EndSection

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

# Screens
# =======
Section "Screen"
Identifier "Screen LCD"
Device "Nvidia LCD"
Monitor "LCD"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubSection
EndSection

Section "Screen"
Identifier "Screen TV"
Device "Nvidia TV"
Monitor "MyTV"
Option "TVStandard" "PAL-B"
Option "TVOutFormat" "COMPOSITE"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "800x600"
ViewPort 0 0
EndSubSection
EndSection

# Server Layout
# =============
Section "ServerLayout"
Identifier "TwoScreens Layout"
Screen 0 "Screen LCD"
Screen 1 "Screen TV" RightOf "Screen LCD"
InputDevice "Logitech Keyboard"
InputDevice "Logitech Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection

This works, but with a few quirks. First of all, when I run kde3.1 on it, my LCD displays a configured kde, and the tv shows a default, and unconfigurable kde (e.g. the configure panel window doesn't actually do anything). When I try other WM's such as icewm and ratpoison, the TV image remains a bare X, although things like mplayer file.avi -display :0/1work like a charm.

Now I found some references to running two window managers on the same card, one
for each screen, which might solve that problem, but how do I actually do this? Adapting the .xinitrc file, I suppose.

Secondly, before I log into X, the TV display is black, but after I've logged out of an X
session, the TV keeps flickering, sometimes in B&W, sometimes in color. This means
something is still sending signals (even if garbage) to the TV. How can I avoid this?

And last but not least: occasionally when I log out of X, the keyboard locks up. Maybe
the entire system hangs, I don't know, I haven't got another machine haning on it to
try a remote login. This is very annoying, since it means having to reset the machine.
Does anyone know what is causing this, and more importantly, how I can avoid it?
 
Old 07-08-2004, 10:46 AM   #2
KaptinKABOOM
Member
 
Registered: Jun 2004
Location: Morgantown, WV
Distribution: Slackware 10.0
Posts: 39

Rep: Reputation: 15
In the documentation for the nvidia drivers there is a section what talks about how to use Dualhead with their card and it talks about using 2 seperate desktops or clone.... I forget what is option is called but if you go to nvidias website and look at the documentation its towards the end in onfe of the appendicies.

As for the flcikering problem I have the same thing happening and I have TWO seperate GFX cards.... and the one screen just flickers alot... kinda odd IF you ask me..... maby there is a setting to shut down the other desktop then exit xwindows?? I dunno I am curoius to find a solution for that as well
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple mopuse control with touch screens Stephanie Linux - General 1 12-04-2005 02:07 PM
nvidia graphics driver with multiple screens miko3k Linux - Hardware 2 11-24-2005 05:58 AM
Multiple SCREENS, different WM's. And some other stuff... xeristian/null Linux - Software 1 04-25-2005 03:25 PM
Fast User Switching or Multiple X login screens - How? suslik Slackware 10 08-31-2004 07:50 AM
Multiple X login screens sbalasuriya Linux - General 3 04-29-2004 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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