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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-20-05, 09:27 PM   #1
wendell
Registered User
 
Join Date: Oct 2004
Posts: 5
Default Separate X screens on AGP card

How can I get two separate X screens from one AGP nVidia card?

(I've done this successfully with PCI nvidia cards, but now I have
an AGP one, and something is not quite right).

If I follow the directions in Appendix G, 'Configuring Twinview',
the twinview version of X works fine.

However, I would like to use the two screens as separate X screens,
as described in Appendix P. I'm nearly there, but something seems
amiss.

In Appendix P of the readme, it says to put into the BusId line
of the Device section the results from the 'lspci'. For the pci-based
cards I've used, that works fine, as there are two different ID's
listed. For the AGP card, there is only one. I put that into
both Device sections, and that somewhat works. X starts, but
the nVidia splash screen only appears on one screen. The screens
appear as separate X screens, and My OpenGL program (i.e., flightgear)
seems to run fine, but the window manager (fvwm) acts 'funny'.

I'm not sure if it is the fvwm window manager or what, but it is
suspicious that the splash screen only appears on one terminal, not
both (as it does on the other pci-based systems).

The 'scanpci' command only lists one entry for nVidia.

Q: Why does the splash screen only appear on one screen, not
both? Is this normal?


card: PNY Verto GeForce FX 5500 (5600?) AGP 8x dual vga
cpu: amd athlon 64 3000+
driver: NVIDIA-Linux-x86_64-1.0-7676-pkg2.run
screens: Sharp 172CB 17" (2)
os: Fedora 4
wendell is offline   Reply With Quote
Old 09-21-05, 01:18 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: Separate X screens on AGP card

Separate X screens on one card are basicly some hack. On hardware from lets say Ati and Matrox one card advertises two device ids (in for instance lspci or scanpci) and it can act like two devices even split over two X sessions. In case of nvidia this isn't possible.

I think the splashscreen only appears once for each videocard and as you are using only one physical card you only get it one time. Further the nvidia splashscreen doesn't have anything to do with your window manager, basicly it is just a hack to replace the default gray background with their logo.
Thunderbird is offline   Reply With Quote
Old 09-21-05, 06:34 AM   #3
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Separate X screens on AGP card

Quote:
Originally Posted by wendell
For the pci-based cards I've used, that works fine, as there are two
different ID's listed.
Can you please tell which card that is? I guess you have a multi-GPU
nvidia card, so that there are two entries in lspci.

Quote:
Originally Posted by wendell
The screens appear as separate X screens, and My OpenGL program
(i.e., flightgear) seems to run fine, but the window manager (fvwm)
acts 'funny'.
Can you please post the xorg.conf file you are using (a full nvidia-bug-report.log
would be helpfull)? Do you have two device sections including the the "Screen"
option? If true, then seperate X screens (controlled by a single X-server
instance) is what I'd expect in this setup.

To my knowladge, it is not possible with (single GPU) nvidia cards to
have two seperate X servers running and displaying at the same time.

Quote:
Originally Posted by wendell
Q: Why does the splash screen only appear on one screen, not
both? Is this normal?
I guess the logo only shows up on the first screen (:0.0), like
gdm does (unless configured otherwise).

BTW.: you can use the xinerama option to tie the two screens
together (i.e. glxgears will work across both displays), but i'd
recommend using twinview for such a setup, instead.

Does somebody know if nvidia intends to add the capablilty to
the driver to operate two instances of the X-server on the same
card using different outputs? This features has been asked for
quite often, recently. However, i'm not sure how much sense that
makes unless the backstreet ruby patch becomes mainstream
and/or the "novtswitching" option for xorg becomes standard.

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 09-21-05, 12:44 PM   #4
wendell
Registered User
 
Join Date: Oct 2004
Posts: 5
Default Re: Separate X screens on AGP card

My xorg.conf is below.

The problem is that when switching themes in fvwm, the
switching never completes. It may be an fvwm problem,
but I was wondering if the lack of nVidia splash screen
on the 2nd display indicated a mis-configuration.

Wendell

-----------------------------------------------------------------
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
# twinview worked, but that resulted in one "large"
# screen, I want one screen on each display
#Identifier "AGPTwinView"
#Screen "Screen AGP TwinView"
Identifier "unknown"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
#
Screen 0 "Screen0"
Screen 1 "Screen1" leftOf "Screen0"
EndSection

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
#wt:Load "dri"
EndSection

Section "InputDevice"

Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1280x1024"
HorizSync 31.5 - 67.0
VertRefresh 50.0 - 75.0
Option "dpms"
EndSection

# lspci...
# 01:00.0 VGA compatible controller: nVidia Corporation NV36 [GeForce FX 5700LE] (rev a1)

Section "Device"
Identifier "nvidia0"
VendorName "nvidia"
Driver "nvidia"
BusID "PCI:01:0:0"
Screen 0
EndSection

Section "Device"
Identifier "nvidia1"
Driver "nvidia"
# Edit the BusID with the location of your graphics card
BusId "PCI:01:0:0"
Screen 1
EndSection


Section "Screen"
Identifier "Screen0"
Device "nvidia0"
Monitor "Monitor0"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1152x864" "1152x768" "1024x768" "800x6
00" "640x480"
EndSubsection
EndSection

Section "Screen"
Identifier "Screen1"
Device "nvidia1"
Monitor "Monitor1"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection
wendell is offline   Reply With Quote
Old 09-21-05, 05:00 PM   #5
JaXXoN
Registered User
 
Join Date: Jul 2005
Location: Munich
Posts: 910
Default Re: Separate X screens on AGP card

Quote:
Originally Posted by wendell
My xorg.conf is below.
The config file looks IMHO good for a two screen setup.

BTW.: What's the adventage of using seperate screens? I'm
having two LCDs connected to one PCIe card in twinview
mode and another LCD on a second PCIe card. Then all
displays are tied together using xinerama (so it's one big screen).
One drawback of this variant certainly is that when clicking the "fullsize"
button of an application, then the window will span over all three
LCDs, but on the other hand, you can easily move windows
between LCDs (which doesn't work out very well at least with
fvwm95).

regards

Bernhard
JaXXoN is offline   Reply With Quote
Old 09-29-05, 02:25 PM   #6
Intangir
Registered User
 
Join Date: Apr 2005
Posts: 29
Default Re: Separate X screens on AGP card

that novtswitching and sharevts patch IS going to be standard on xorg 6.9/7.0

i havent used it yet though.. it doesnt work on a single nvidia card?
Intangir 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
Gainward Unleashes the Sexy GeForce GTX 670 Phantom Graphics Card, Also launches the News Archived News Items 0 05-10-12 09:28 AM
Multi card acceleration Andrew01 NVIDIA Linux 4 11-01-02 06:01 PM
How much heat can a GeForce4 Ti 4600 handle? Velkator NVIDIA GeForce 7, 8, And 9 Series 4 09-03-02 04:41 PM
X freezes when agp 4x is enabled jinksed NVIDIA Linux 1 08-07-02 04:56 PM
Will AGP 8X increase performance over AGP 4X? sancheuz NVIDIA GeForce 7, 8, And 9 Series 10 07-29-02 08:37 PM

All times are GMT -5. The time now is 10:59 AM.


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