Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-09-06, 12:20 PM   #1
erijo254
Registered User
 
Join Date: Jan 2006
Posts: 1
Default TwinView - Xinerama with 2+1 display setup

Hello,

We have been using TwinView to successfully run our application for some time. Now we're trying to add a third, separate screen, to which the mouse/pointer intentionally cant get. We do this by adding a second PCI-E card to the system to which we attatch the third display. Part of the XF86Config looks like this:
Code:
Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Screen0" 0 0
	Screen         "Screen1"

Section "Device"
	Identifier  "Videocard0_0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA Quadro FX (generic)"
	Option	    "IgnoreEDID" "true"
	BusId	    "PCI:2:0:0"
	Option	    "TwinView" "ON"
	Option	    "TwinViewOrientation" "RightOf"
	Option	    "SecondMonitorHorizSync" "30-121"
	Option	    "SecondMonitorVertRefresh" "48-160"
	Option	    "Metamodes" "1600x1200,1600x1200"
EndSection

Section "Device"
	Identifier  "Videocard1_0"
	Driver      "nvidia"
	VendorName  "Videocard vendor"
	BoardName   "NVIDIA Quadro FX (generic)"
	Option	    "IgnoreEDID" "true"
	BusId	    "PCI:129:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0_0"

Section "Screen"
        Identifier "Screen1"
        Device     "Videocard1_0"
See attachments XF86Config.twinview.zip and log.XFree86.twinview.zip

This gives us an extra display (:0.1), and generally does what we want. However, no Xinerama information is available on the TwinView display. Is there a reason why it can't/wont be provided in this scenario? There is a flag to force them 'off', but can they be forced on?

In trying to work around this problem, I used the Xinerama functionality of the X server. However, it turns out that there is a huge (GL?) performance hit using Xinerama rather than TwinView. This can be seen using only two displays on one card.
Code:
Section "ServerLayout"
    Identifier  "Filmlight Baselight"
    Screen      0 "UIScreen" 0 0
    Screen      1 "ImageScreen" RightOf "UIScreen"
    Option      "Xinerama" "on"

Section "Device"
    Option        "ConnectedMonitor" "CRT-0"
    Identifier    "UIDevice"
    Driver        "nvidia"
    VendorName    "Videocard vendor"
    BoardName     "NVIDIA Quadro FX (generic)"
    BusId         "PCI:2:0:0"
    Screen        0
    Option        "IgnoreEDID" "true"
    Option        "NoLogo" "true"
    Option        "NoPowerConnectorCheck" "false"        
EndSection

Section "Device"
    Option        "ConnectedMonitor" "CRT-1"
    Identifier    "ImageDevice"
    Driver        "nvidia"
    VendorName    "Videocard vendor"
    BoardName     "NVIDIA Quadro FX (generic)"
    BusId         "PCI:2:0:0"
    Screen        1
    Option        "IgnoreEDID" "true"
    Option        "NoLogo" "true"
    Option        "NoPowerConnectorCheck" "false"        
EndSection
See attachments XF86Config.xinerama.zip and log.XFree86.xinerama.zip

Notably, glxgears runs equally well using TwinView and Xinerama. Our application, which does 'video' playback, only ever hits 15 fps on the Xinerama setup but easily does 24+ fps using TwinView. I have not put in the effort of narrowing this down to an easily reproducible case... yet. (Tried downgrading from 8178 to 7174, which I believe doesn't do acceleration under Xinerama. 7174 gave only 2 fps)

So basically, there are two problems present
1) No Xinerama extensions using TwinView with 'third' screen
2) Poor performance using Xinerama

Help towards a solution to either one of these would be very helpful. For now we get by using the 'TwinView without Xinerama info' setup.

Attachments are gzip'ed, despite the 'zip' ending.

Thank you,
Erik
Attached Files
File Type: zip XF86Config.twinview.zip (1.9 KB, 139 views)
File Type: zip log.XFree86.twinview.zip (8.2 KB, 128 views)
File Type: zip XF86Config.xinerama.zip (1.6 KB, 139 views)
File Type: zip log.XFree86.xinerama.zip (8.2 KB, 125 views)
File Type: zip nvidia-bug-report.log.zip (20.4 KB, 123 views)
erijo254 is offline   Reply With Quote
Old 01-09-06, 07:12 PM   #2
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: TwinView - Xinerama with 2+1 display setup

My experience is that Xinerama actually scales pretty well for OpenGL.
The overhead is only recoginzable for small GL windows, like the default
300x300 glxgears window. I also have a twinview+xinerama setup
with two cards and three displays:

When glxgears is displayed at default size (300x300), on the first card
(left+middle LCD), it has 16070 fps and on the second card (right LCD),
there are 16360 fps. When the window is placed "in between" the middle
and the right LCD (so that each card has to render 1/2 of the window),
frame rates drop to 10507 fps (-35%).

Situation is different for a glxgears windows size of 1600x1200: on the
first card, i get 1107 fps, on the second card, there are 1131 fps and
"in between" the result is 1990 fps (+80%).

I guess the first card is a little bit slower than the second one (both
7800GTX) because there are two RAMDACs active for the left and
the middle LCD while the second card only needs to feed the right LCD.

BTW.: UT2004 works also great at 3840x1024 (there is a size limit
of 4096x4096 pixels for OpenGL applications) - there are only a very
few maps that are extreme slow. I guess these maps have been
created on windows boxes using direct3d, and rendering on opengl
is slower because it tries to be more accurate!?

Concerning video playback: i can run three xine players simultaniously
at "full screen" (each player one display) and full speed (at least i
couldn't recognize a frame rate drop).

regards

Bernhard
JaXXoN is offline   Reply With Quote
Reply


Thread Tools

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
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Russian Masterpieces Put on Display Using NVIDIA GPU Technology News Archived News Items 0 06-25-12 04:10 PM
302.07 (beta) for Linux x86/x86_64 released AaronP NVIDIA Linux 0 05-02-12 09:55 AM
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM
Suse 8.0 Dual display on Quadro 4 700XGL TheCowStir NVIDIA Linux 3 08-10-02 12:16 PM
Dual Display with main CRT, and secondary TV-out BlackDogg NVIDIA Linux 3 08-10-02 09:52 AM

All times are GMT -5. The time now is 06:15 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.