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 |
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.
|
|
|
05-06-2006, 12:13 PM
|
#1
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Rep:
|
TwinView problem (very close too work)
im using ubuntu 6.06.
tried to follow the guide
to config the xorg.conf file.
its better now, works a little. only on the login stage, both monitor in right resolution.
but after i log in, one on the right, 19 inch(another is 15 inch), dfp(15 inch one is crt) shut off,
But it works perfect if i log in recovery mode a s root.
dont know where is the error.
hope someone can help me.
ection "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "ServerFlags"
Option "Xinerama" "false"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
Option "TwinView"
Option "MetaModes" "1024x768,1280x1024; 1280x1024; 1024x768,1024x768; 1024x768; 800x600,800x600; 800x600"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "UseEdidFreqs"
Option "SecondMonitorVertRefresh" "UseEdidFreqs"
Option "RenderAccel"
Option "HWcursor"
Option "CursorShadow"
Option "CursorShadowAlpha" "32"
Option "CursorShadowXOffset" "3"
Option "CursorShadowYOffset" "3"
Option "ConnectedMonitor" "CRT,DFP"
EndSection
Section "Screen"
Identifier "Screen0"
Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
|
|
|
05-07-2006, 10:26 AM
|
#2
|
LQ Newbie
Registered: May 2006
Distribution: ubuntu
Posts: 3
Rep:
|
Look in your /var/log/Xorg.0.log and see what warnings and errors you have.
I am also trying to get dual monitors to work, only I haven't gotten the 2nd monitor to work at all yet.
|
|
|
05-07-2006, 11:38 AM
|
#3
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
You only have one Screen line in your Serverlayout. You need one for each screen. You'll also need another Screen section for the second monitor, and a second Device section for the gfx card (you can just duplicate the existing one, but change the identifier of course). You might want "Screen 0" inthe first section and "Screen 1" in the second but I'm not sure if it's mandatory. The Serverlayout would then contain:
Code:
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" rightOf "Screen0"
Last edited by ioerror; 05-07-2006 at 11:40 AM.
|
|
|
05-07-2006, 11:38 PM
|
#4
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
i reinstalled the sysrem....
and nv diver, i think i didnt got the driver correct first time.
i only add up "flag" class(dont have in deful) and some options in "Divece" .
Did NOT change ANY thing (only add), all as deful.
works for me...
works very well this time.
new problem: im using two different size of monitor, (15 and 19)
how to set the screens in corret level? Right now the system think both screens top edge in the same level, but it shuold be almost same level as bottom edge(15 one shuold be a little bit higher)
any ideas???
|
|
|
05-08-2006, 06:32 AM
|
#5
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
Originally Posted by newpants2003
new problem: im using two different size of monitor, (15 and 19)
how to set the screens in corret level? Right now the system think both screens top edge in the same level, but it shuold be almost same level as bottom edge(15 one shuold be a little bit higher)
any ideas???
|
That is the default configuration, both screens are aligned along the top edge.
If you want them aligned at the bottom edge, you just need to tell X where you want the screens to start, so you just specify pixels values for the x/y coordinates of the top left of the screen, e.g. (I get the impression that your 15" is Screen 0 and is on the left, so I'll assume that is the case, if not just reverse the screen numbers):
Code:
Screen 0 "Screen0" 0 256
Screen 1 "Screen1" 1024 0
This assumes your 15" is at 1024x768 and your 19" is 1280x1024, which is what you have in your MetaModes line.
(256 = 1024 (height of 19") - 768 (height of 15"))
Last edited by ioerror; 05-08-2006 at 06:35 AM.
|
|
|
05-08-2006, 09:02 AM
|
#6
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
but i only have "screen 0"
this is what the xorg.conf looks like, it works very well, except the hight
so where shuold i add the hight config?
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
Section "ServerFlags"
Option "Xinerama" "false"
EndSection
Section "Files"
# path to defoma fonts
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
Section "Monitor"
Identifier "SyncMaster"
Option "DPMS"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV34 [GeForce FX 5200]"
Driver "nvidia"
Option "RenderAccel"
Option "HWcursor"
Option "CursorShadow"
Option "CursorShadowAlpha" "32"
Option "CursorShadowXOffset" "3"
Option "CursorShadowYOffset" "3"
Option "AllowGLXWithComposite"
Option "TwinView"
Option "MetaModes" "1024x768,1280x1024; "
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "UseEdidFreqs"
Option "SecondMonitorVertRefresh" "UseEdidFreqs"
Option "ConnectedMonitor" "CRT,DFP"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV34 [GeForce FX 5200]"
Monitor "SyncMaster"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "832x624" "800x600" "720x400" "640x480"
EndSubSection
EndSection
|
|
|
05-08-2006, 09:50 AM
|
#7
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
but i only have "screen 0"
|
And you have dual-head working? Hmmm, I have no experience of doing it like that. I have two Screen/Monitor/Device sections, one for each head. Though, I currently have a Radeon, so I don't know about Nvidia/TwinView specific options. I've used dual-head with a Geforce before with not TwinView, the config seems to be different. Looks like the nvidia driver handles the whole second head config itself.
EDIT:
EDIT: Ignore the rest, skip straight to Electro's post. Oops.
EDIT:
Looking at the nvidia README, the TwinViewOrientation option only supports values of "RightOf", "LeftOf", "Above", "Below" and "Clone". However, you can specify a "panning domain" in the MetaModes, as in
Quote:
Option "MetaModes" "1024x768 @ 1024x1024, 1280x1024"
|
But that will give the 15" a virtual vertical resolution which you can scroll up and down. I'm not sure if that's what you want, but I think that's about the best you're going to get with TwinView. I can't find anything in the README that allows an x/y offset to be specified. If you don't like the panning feature (virtual desktops are generally a PITA), then you might try standard dual-head (i.e. non-TwinView), but of course, then you have separate screens, which may not be what you want either.
Last edited by ioerror; 05-08-2006 at 01:31 PM.
|
|
|
05-08-2006, 12:52 PM
|
#8
|
LQ Guru
Registered: Jan 2002
Posts: 6,042
Rep:
|
In TwinView there is X and Y offsets.
An example from nVidia's README fie:
1600x1200 +0+0, 1024x768 +1600+0
You have to experiment with the values until you like the results.
|
|
|
05-08-2006, 01:25 PM
|
#9
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
Originally Posted by Electro
In TwinView there is X and Y offsets.
An example from nVidia's README fie:
1600x1200 +0+0, 1024x768 +1600+0
|
Hmmm....rereads the README... Duh!
I must've missed that, I only saw the panning malarkey (... @ ...).
Last edited by ioerror; 05-08-2006 at 01:28 PM.
|
|
|
05-08-2006, 03:40 PM
|
#10
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
Quote:
Originally Posted by Electro
In TwinView there is X and Y offsets.
An example from nVidia's README fie:
1600x1200 +0+0, 1024x768 +1600+0
You have to experiment with the values until you like the results.
|
could you explen the code more?
does the code in: Option "MetaModes" "1024x768,1280x1024; " ?
what does "+0+0" and "+1600+0" mean?
for example: accroding to my screen, if i want the monitor with 1024*768 lower 10cm, what
shuold the Option "MetaModes" be?
thanx
|
|
|
05-08-2006, 03:44 PM
|
#11
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
Quote:
Originally Posted by ioerror
And you have dual-head working? Hmmm, I have no experience of doing it like that. I have two Screen/Monitor/Device sections, one for each head. Though, I currently have a Radeon, so I don't know about Nvidia/TwinView specific options. I've used dual-head with a Geforce before with not TwinView, the config seems to be different. Looks like the nvidia driver handles the whole second head config itself.
EDIT:
EDIT: Ignore the rest, skip straight to Electro's post. Oops.
EDIT:
Looking at the nvidia README, the TwinViewOrientation option only supports values of "RightOf", "LeftOf", "Above", "Below" and "Clone". However, you can specify a "panning domain" in the MetaModes, as in
But that will give the 15" a virtual vertical resolution which you can scroll up and down. I'm not sure if that's what you want, but I think that's about the best you're going to get with TwinView. I can't find anything in the README that allows an x/y offset to be specified. If you don't like the panning feature (virtual desktops are generally a PITA), then you might try standard dual-head (i.e. non-TwinView), but of course, then you have separate screens, which may not be what you want either.
|
TwinView is the way i used in windows, both monitor works fine.
i dont really know what does non-TwinView mean, whats it looks like.
and the config for that is more complet.
whould like to try, if that is a better way for use two monitor.
|
|
|
05-08-2006, 06:04 PM
|
#12
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
what does "+0+0" and "+1600+0" mean?
|
That specifies the offset of the top left of the screen. So you'd want "1024x768 +0+256, 1280x1024 +1024+0".
Quote:
i dont really know what does non-TwinView mean, whats it looks like.
|
It uses two separate X screens, so e.g. you can't move window between the screens. With TwinView the screens are merged into one logical screen. Neither is "better", it just depends on what you want.
|
|
|
05-08-2006, 08:14 PM
|
#13
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
yeahs, i got it right, thanx.
really take me a while to find out the best value.
how to set two different wallpapers on each screen?
|
|
|
05-09-2006, 05:01 AM
|
#14
|
Member
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536
Rep:
|
Quote:
how to set two different wallpapers on each screen?
|
This is entirely dependant on whatever window manger/desktop you use (KDE?). Since TwinView/Xinerama has only one logical screen, the wm has to understand that there are two physical screens and offer the ability to use a different background for each. I use Window Maker and fvwm, so I'm not familiar with KDE/GNOME/etc, I don't know if they support that. In a pinch, I suppose you could combine two images together with montage!
|
|
|
05-09-2006, 01:21 PM
|
#15
|
LQ Newbie
Registered: Jun 2005
Posts: 15
Original Poster
Rep:
|
thanx. i just fing the TwinView still not working perfect:
in physicl my two monitor looks like this: one 15, one 19.
|---------|
______| |
| | |
| | |
|_____|_________|
but the system think the 15 one has more display area above. like this:
|-----|---------|
|_____| |
| | |
| | |
|_____|_________|
what can i do about?
Last edited by newpants2003; 05-09-2006 at 01:22 PM.
|
|
|
All times are GMT -5. The time now is 01:09 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
|
|