LinuxQuestions.org
Visit Jeremy's Blog.
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 05-16-2011, 10:23 AM   #1
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Rep: Reputation: 9
nVidia Series 8, Dual-Head, 2 X screens, KDE4, randr see one display


As in subject.
I have two Monitors, 2 X screens, GeForce 8800GTS.
Both screen have different resolutions. My CRT (CRT-1) is 1600x1200 by default (that is what I want), my TV is LCD, so I want to use native resolution, which is 1680x1050 and I am using it. The problem is XRandR see only one display and, because of that KDE4 is setting plasma to 1600x1200 for TV. I need to make XRandR see both displays normaly. It see one display and two screens.

there is my config:

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Dual0" 0 0
Screen 1 "Dual1" RightOf "Dual0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection


Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
EndSection

Section "Monitor"
Option "CRT-1" "LGeF700P"
Identifier "LGeF700P"
VendorName "LG Electronics"
ModelName "F700P"
HorizSync 30.0 - 96.0
VertRefresh 50.0 - 160.0
DisplaySize 330 250
Option "PreferredMode" "1600x1200"
Option "Primary" "1"
Option "DPMS"

EndSection

Section "Monitor"
Option "CRT-0" "Technika"
Identifier "Technika"
VendorName "CVT"
ModelName "CVT"
HorizSync 31.5 - 80.0
VertRefresh 60.0 - 75.0
Option "DPI" "120x120"
Option "PreferredMode" "1680x1050_CVT"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "nVidia GeForce 8800 GTS"
Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck"
Option "CursorShadow" "1"
Option "AllowDDCCI" "1"
Option "MultisampleCompatibility" "1"
Option "TripleBuffer" "1"
Option "BackingStore" "1"
Option "AllowSHMPixmaps" "1"
Option "UseEvents" "1"
Option "DamageEvents" "1"
Option "CoolBits" "5"
Screen 0
Option "DPI" "120x120"
EndSection

Section "Device"
Identifier "Device1"
Driver "nvidia"
VendorName "nVidia GeForce 8800 GTS"
Option "ModeValidation" "NoMaxPClkCheck, NoEdidMaxPClkCheck"
Option "CursorShadow" "1"
Option "AllowDDCCI" "1"
Option "MultisampleCompatibility" "1"
Option "TripleBuffer" "1"
Option "BackingStore" "1"
Option "AllowSHMPixmaps" "1"
Option "UseEvents" "1"
Option "DamageEvents" "1"
Option "CoolBits" "5"
Screen 1
EndSection

Section "Screen"
Identifier "Dual0"
Device "Device0"
Monitor "LGeF700P"
Option "TwinView" "0"
DefaultDepth 24
Option "MetaModes" "1600x1200@1600x1200"
SubSection "Display"
Depth 24
EndSubSection
EndSection

Section "Screen"
Identifier "Dual1"
Device "Device1"
Monitor "TV"
Option "TwinView" "0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1680x1050_CVT"
EndSubSection
EndSection


I removed all comments and TwinView sections (not minding ModeLines) from THIS listing.

I just need it to see both Monitors as display - now I have single one and two screens. Kinda peculiar.
 
Old 05-16-2011, 10:56 AM   #2
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
You are using the nVidia drivers, why not just install nvidia-settings and do things from there?
 
Old 05-16-2011, 12:42 PM   #3
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,737

Rep: Reputation: 196Reputation: 196
As posted...

If you are using the Nvidia driver, I believe that the Nvidia utility program "nvidia-xconfig" replaces most of the functions of "xrandr", making them invalid. See the README for how to proceed with using "nvidia-xconfig"

http://linux.die.net/man/1/nvidia-xconfig

http://us.download.nvidia.com/XFree8...DME/index.html

It gets interesting for you starting at Chapter 6.

Last edited by thorkelljarl; 05-16-2011 at 05:32 PM.
 
Old 05-17-2011, 08:25 AM   #4
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Original Poster
Rep: Reputation: 9
The point is I almost can recite nVidia How-To and I do not use automatic tools for configuration. Anyway just for sake of my curiosity I tried it out - it gave me same config as have!
 
Old 05-20-2011, 06:34 AM   #5
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
You might need to setup seperate x screens, not one big screen.

I'll check out the settings in a little while, I'm not using nvidia drivers at the moment and I forget the exact wording used in nvidia-settings.
 
Old 05-20-2011, 05:42 PM   #6
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,737

Rep: Reputation: 196Reputation: 196
?...

I thought that this would be useful, from man/1/nvidia-xconfig.

Quote:
--separate-x-screens, --no-separate-x-screens
A GPU that supports multiple simultaneous display devices can either drive these display devices in TwinView, or as separate X screens. When the '--separate-x-screens' option is specified, each GPU on which an X screen is currently configured will be updated to have two X screens configured. The '--no-separate-x-screens' option will remove the second configured X screen on each GPU. Please see the NVIDIA README description of "Separate X Screens on One GPU" for further details.
The last reference is to Chapter 15 in the README.

Am I correct in assuming that you are stuck in TwinView? This seems a way out.

Last edited by thorkelljarl; 05-21-2011 at 01:48 AM.
 
Old 10-25-2011, 09:17 AM   #7
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Original Poster
Rep: Reputation: 9
On one side side I really like TwinView, cause I am able to move windows without any problem. On the other side its not exactly what I want. I have 3 configurations:
1. 1 screen, 1 display, 1 monitor
2. TwinView, 2 displays, 2 monitors, 1 screen
3. 2 screens, 2 monitors, one screen in randr?
 
Old 12-30-2011, 09:58 AM   #8
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Original Poster
Rep: Reputation: 9
Separate screens aren't good at all. I get plasma-desktop on second screen with same resolution as on first, where:
1 screen: 1600x1200 4:3 monitor
2 screen: 1680x1050 16:10 tv
 
Old 12-30-2011, 08:03 PM   #9
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
I don't know if you've solved your xrandr problem; if not, you need to use the -d option.

I have a setup with two identical monitors as two X screens, :0.0 and :0.1. Here's what xrandr looks like:

Code:
root@gaz:~# xrandr
Screen 1: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
root@gaz:~# xrandr -d :0.0
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
DVI-I-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
root@gaz:~# xrandr -d :0.1
Screen 1: minimum 320 x 200, current 1280 x 1024, maximum 4096 x 4096
VGA-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
   1280x1024      60.0*+   75.0  
   1152x864       75.0  
   1024x768       75.1     60.0  
   800x600        75.0     60.3  
   640x480        75.0     60.0  
   720x400        70.1  
root@gaz:~#
The reason that xrandr with no arguments defaulted to Screen 1 is that I ran it from a terminal opened on Screen 1, so the terminal's DISPLAY contains :0.1. Had I run it from a terminal opened on Screen 0 DISPLAY would have been :0.0 and xrandr would have shown the status of Screen 0.

Last edited by jamesf; 12-30-2011 at 08:06 PM. Reason: clarification
 
Old 12-31-2011, 04:47 AM   #10
WizadNoNext
Member
 
Registered: Nov 2009
Posts: 125

Original Poster
Rep: Reputation: 9
See that is the problem: screen aren't identical. I shall stop trying, cause it is pointless, it is unsolvable
 
Old 01-01-2012, 12:27 AM   #11
jamesf
Member
 
Registered: Dec 2004
Location: USA
Distribution: Slackware 12 and higher
Posts: 229

Rep: Reputation: 51
Before you give up entirely consider using a WM/DE that doesn't take such firm control of your system.

KDE4 gave me no end of problems setting up my graphics because it wanted to re-apply so much of my configuration, especially in the early KDE4 releases.

Try a lighter window manager, something like XFCE (which has worked quite well for me in the past) or fluxbox that doesn't want such an iron grip on your display configuration.

Note that all of this post is opinion. The only real fact is that I had a much easier time specifying unusual X configurations, including TVs, when using a WM/DE other than KDE4. Perhaps my difficulties were the result of my own stupidity; perhaps not.

Most of my TV successes were with very different resolutions. To get readable text on the TV required quite different settings than on the monitor. I only pointed out that my monitors happened to be identical to avoid confusion, not because it is any sort of requirement.

good luck!
 
  


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
Dual head in X - dynamically enable/disable screens? mageus Linux - General 10 04-12-2007 04:29 AM
FC5 Dual Head Display lmcilwain Fedora 1 06-05-2006 09:28 PM
dual head display problem kpachopoulos Fedora 3 09-08-2005 08:32 PM
dual head display woes thekowgomoo Slackware 2 03-25-2005 05:24 AM
Dual head - move application between screens rottie Linux - Software 5 12-12-2004 01:40 PM


All times are GMT -5. The time now is 12:38 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration