Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-02-2005, 03:47 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17
Rep:
|
Xinerama/nVidia GeForce FX 5200
This is my current setup:
CPU: Athlon 64 (socket 754) 3200+
RAM: 512 MB PC3200
GFX: GeForce FX 5200
OS: Fedora Core 3 with all upgrades (just checkd YUM :-)
Monitors: 1 x AOC 9Glr+ (19" in VGA port) + 1 x Digital something (crappy 21" in converter that fits the DVI port)
What I want here is a spanned desktop - i.e. a single desktop that allows me to move programme windows from one monitor to another and not two seperate desktops with no option to move programme windows between the two monitors. I am not an ace when it comes to X configurations so the few attempts I have made to make this possible all failed resulting in a crashing X server.
A copy of my xorg.conf follows (minus notes):
Code:
Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 1 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "off
Option "Clone" "on
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"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "dk"
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 "AOC SPECTRUM 9Glr"
HorizSync 30.0 - 95.0
VertRefresh 47.0 - 150.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Digital 21 in. Color (SN-VRCX1-WA)"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 152.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce FX (generic)"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "Videocard Vendor"
BoardName "NVIDIA GeForce FX (generic)"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
What I have tried is simply to set Xinerama to true and clone to false - this is the only difference in xorg.conf when using the system utility for configuring the monitor I spotted, when I used that to set it.
|
|
|
02-02-2005, 04:36 PM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
you have two options, either using Xinerama or using the nvidia twinview extensions. Xinerama is higher level and not device dependent at all, and you're almost there already, so we'll go for that one... the config generally looks fine, you don't want that Clone option at all, just remove the line, and set Xinerama to true. there really shouldn't be anythign more to it than that, what are the actual errors coming from xorg though? check /var/log/Xorg.0.log.
|
|
|
02-02-2005, 07:28 PM
|
#3
|
Senior Member
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
|
change
Option "Xinerama" "off"
Option "Clone" "on"
to
Option "Xinerama" "on"
Option "Clone" "off"
|
|
|
02-03-2005, 02:14 AM
|
#4
|
LQ Newbie
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17
Original Poster
Rep:
|
to acid_kewpie: I'll try your suggestion - I doubt that it will work though, but I will make an attempt. To me it seems like doing the same as what I have already attempted.
to frieza: please read my post: what you are suggesting is what I have already attempted, which failed.
|
|
|
02-03-2005, 07:14 AM
|
#5
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
no, it can't see it'll guarentee a fix, but the errors in the log file are more important really.
|
|
|
02-03-2005, 09:13 AM
|
#6
|
LQ Newbie
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17
Original Poster
Rep:
|
Tested and tried your solution - it didn't crash but the second monitor didn't show anything either.
When I do it the clone off, xinerama on way I get one error: something about device already in use. I'm guessing this is my graphics card since both monitors are using it.
My guess is something like so:
Code:
Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 0 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
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"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "dk"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "AOC SPECTRUM 9Glr"
HorizSync 30.0 - 95.0
VertRefresh 47.0 - 150.0
Option "dpms"
EndSection
Section "Monitor"
Identifier "Monitor1"
VendorName "Monitor Vendor"
ModelName "Digital 21 in. Color (SN-VRCX1-WA)"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 152.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Albatron"
BoardName "NVIDIA GeForce FX 5200
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200" "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1600x1200"
EndSubSection
EndSection
As I said, I am no ace when it comes to X configurations, so you will probably find some errors. I'm going to test this in a few seconds, so I'll post straight away if this worked or not.
|
|
|
02-03-2005, 09:26 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Code:
Section "ServerLayout"
Identifier "Multihead layout"
Screen 0 "Screen0" LeftOf "Screen1"
Screen 0 "Screen1" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
EndSection
change that Screen1 like back to be numbered 1 like it originally was, and i never know if the order has any relevance, but put the first screen above the second one, as it's trying to use it in the LeftOf before it's been declared. don't think it matters really, but you never know....!
|
|
|
02-03-2005, 09:31 AM
|
#8
|
LQ Newbie
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17
Original Poster
Rep:
|
Ok, so there was no crash, but the second montior didn't show anything just like the clone off, xinerama on option - which leaves me back to square one: all the warnings/errors in the log was as follows:
Code:
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) NVIDIA: More than one matching Device section found: Videocard0
(WW) NVIDIA(0): Multiple displays connected, but only one display allowed;
(WW) NVIDIA(0): using first display
(WW) NVIDIA(0): The user specified VertRefresh "47.000-150.000" has been
(WW) NVIDIA(0): adjusted to "50.000-150.000" (the intersection with
(WW) NVIDIA(0): EDID-specified VertRefresh "50.000-160.000"
(WW) (1600x1200,Monitor0) mode clock 202.5MHz exceeds DDC maximum 200MHz
(WW) (1792x1344,Monitor0) mode clock 204.8MHz exceeds DDC maximum 200MHz
(WW) (1856x1392,Monitor0) mode clock 218.3MHz exceeds DDC maximum 200MHz
(WW) (1920x1440,Monitor0) mode clock 234MHz exceeds DDC maximum 200MHz
(WW) (1920x1200,Monitor0) mode clock 230MHz exceeds DDC maximum 200MHz
(WW) (2048x1536,Monitor0) mode clock 266.95MHz exceeds DDC maximum 200MHz
(WW) NVIDIA(0): OpenGL is not fully supported in Xinerama
results from cat /var/log/Xort.0.log.old | grep "(WW)"
Nothing special, as far as I can tell, except for the section about Multiple displays being connected - which I guess was the reason why two device where specified in the first place.
|
|
|
02-03-2005, 12:57 PM
|
#9
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
oh right... ok.... look, you have TWO Screens using ONE device. that's clearly not on. as you can see in the original configuration, you have two device entries one for each output on the single card. What the top might have been missing is the explicit reference to "Screen 0", which in the Device section literally means the first output, as opposed the declaration of "Screen 1" in the other device setion, meaning the secondary output. i would have thought that the first screen would be an implicit default, but for clarity, add that in anyway. but essentially if you're looking to correct that second config, it's the otehr device entry you are missing.
|
|
|
02-07-2005, 01:43 PM
|
#10
|
LQ Newbie
Registered: Feb 2005
Location: Denmark
Distribution: Fedora 27
Posts: 17
Original Poster
Rep:
|
I've more or less given up on xinerama - while it may be "the better option", not having proper opengl support really makes it a no-no - besides, I tried a hell of a lot of different ways of doing this. So, I'm gonna try with Twinview instead.
Thanks for your patience though.
|
|
|
02-23-2005, 04:11 PM
|
#11
|
LQ Newbie
Registered: Feb 2005
Distribution: Fedora Core 3
Posts: 1
Rep:
|
Before giving up, try to remove the line
BusID "PCI:1:0:0"
from your first device (videocard0) in your first posted xorg.conf. Then:
Option "Xinerama" "on"
Option "Clone" "off"
This works fine for ma with a very similar configutration. OpenGL did run for me only when forcing both displays to the same vertical refresh rate.
I've got the problem now, that if xinerama activated my gnome-terminal becomes so slow, that I also think about a different solution. Did you find one? Please report about ist 
|
|
|
All times are GMT -5. The time now is 10:05 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|