View previous topic :: View next topic |
Author |
Message |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Sat Jul 17, 2004 2:44 pm Post subject: X.org, nvidia, twinview, dpms problem |
|
|
Hi all,
i've recently swapped from xfree86 to x.org, and almost everything work fine.
For the record, I'm currently using an nvidia gf4 ti4200 card with the nvidia drivers (nvidia-kernel), and the whole thing is plugged on 2 17' monitors (via dualhead of my gfx card).
But since i've swapped from xfree to xorg, my main monitor doesn't enter in stand by mode. I know there's some issues with nvidia kernel drivers and dpms, but it worked with xfree, so i suppose it can work with x.org ... the only thing i don't know is how
Anyway, time to paste my xorg.conf:
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/afms/"
FontPath "/usr/share/fonts/artwiz/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/terminus/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/ukr/"
FontPath "/usr/share/fonts/unifont/"
FontPath "/usr/share/fonts/util/"
EndSection
Section "Module"
Load "extmod"
# Load "dri" # Disabling (Nvidia Driver)
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "speedo"
Load "type1"
Load "freetype"
EndSection
Section "ServerFlags"
Option "BlankTime" "20"
# Option "StandbyTime" "20"
# Option "SuspendTime" "20"
# Option "OffTime" "20"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "fr"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
Option "Resolution" "2000"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "IIYAMA"
ModelName "LS702U"
HorizSync 30.0-70.0
VertRefresh 50-160
Option "DPMS" "1"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "PageFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "WindowFlip" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
#Option "NoDDC" # [<bool>]
Option "ConnectedMonitor" "CRT,CRT" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
Option "RenderAccel" "1" # [<bool>]
Option "CursorShadow" "1" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
Option "TwinView" "1" # [<bool>]
Option "TwinViewOrientation" "rightOf" # <str>
Option "SecondMonitorHorizSync" "30.0-70.0" # <str>
Option "SecondMonitorVertRefresh" "50-160" # <str>
Option "MetaModes" "1152x864,1152x864;1024x768;800x600;640x480;512x384;400x300;320x240;320x200;" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "SwapReady" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "UseClipIDs" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV25 [GeForce4 Ti 4200]"
BusID "PCI:1:5:0"
Option "Xinerama" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 4
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240" "320x200"
ViewPort 0 0
EndSubSection
EndSection
|
Thanks in advance for your answer
cya _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Sat Jul 17, 2004 3:27 pm Post subject: |
|
|
mine works... check my config (its in my sig) _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Sun Jul 18, 2004 9:24 am Post subject: |
|
|
thanks a lot for your answer BlindSpy
I've only a little prob: i can't reach your box at blindspy.homelinux.com ... it's maybe down, or something ... i don't know ... so, can you paste your config files in this post ? ...
Thanks in advance _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Mon Jul 26, 2004 10:44 pm Post subject: |
|
|
Here's what you need to do:
- You need 2 "Monitor" sections - each set up for the different monitors you have.
- Next, You need 2 "Device" sections. Both devices should have:
and device0 should have:
and device1 should have:
- then you need 2 screen sections with the correct resolutions for each monitor
- finally you need a "Server Layout" section which should look something like this:
Code: | Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen0"
Screen 1 "Screen1" RightOf "Screen0" |
That should do it. As a side note, i think the "TwinView" options are obsolite cause i've never got them to work with xorg. _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Mon Jul 26, 2004 10:58 pm Post subject: |
|
|
hmm ... in fact, we don't have the same configuration
I'm using twinview, cos i want my second monitor to enter in standby mode when i play a game fullscreen or something like that ... and it works perfectly with xorg (except for the DPMS thingy)
your configuration is called Dual View ... which is a way to make X thinks he has 2 graphic cards ... on the contrary, twinview is an addon to the driver to make X thinks he has only 1 graphic card, but with a huge resolution (like 2304x864)
i prefer the second way (twinview) and then, if someone know how to make DPMS works with nvidia, twinview and x.org ... it'll be really cool  _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Tue Jul 27, 2004 11:41 pm Post subject: |
|
|
Yea your right but i've never got twinview working with xorg (or Xfree for that matter). Your way's got less overhead tho so I think i'm gunna try your way and try to fix the DPMS problem with you. _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Tue Jul 27, 2004 11:45 pm Post subject: |
|
|
something i just noticed - my xinerama "true" is in my "serverflags" and yours is in your "device" section. where does it erally go?
also - could someone help me set up my metamodes? I could never figure that out so maybe thats why i never got twinview working. I've got a 1280x1024 monitor and a 800x600 monitor. _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Tue Jul 27, 2004 11:59 pm Post subject: |
|
|
yep, you're right, my xinerama settings is misplaced ... but, in fact, this was if i remember well a workaround with an old nvidia driver version. Anyway, it's not useful anymore so, you can safely remove it completly (even from serverflags settings) from my xorg.conf ...
for the metamodes, it describes, as you maybe already know, associated resolution of the second screen compared to the first screen ...
for example, if i set my first screen to 1152x864, metamodes (in my configuration) says, set the second screen to 1152x864 (1152x864,1152x864;). On the contrary, when i downgrade my resolution (1st screen), and i set it to 1024x768, i want to have my second monitor in standbymode (metamodes "1024x768;")
so my metamodes settings are like that:
Option "MetaModes"
"1152x864,1152x864; <= first screen 1152x864, second screen 1152x864
1024x768; <= first screen 1024x768 second screen standby
800x600; <= first screen 800x600 second screen standby
640x480; <= first screen 640x480 second screen standby
512x384; <= first screen 512x384 second screen standby
400x300; <= first screen 400x300 second screen standby
320x240; <= first screen 320x240 second screen standby
320x200;" <= first screen 320x200 second screen standby
it seems to be a bit tricky i know, but it works exactly like i want
i hope my explanation will be useful ... anyway, thanks for helping me with this issue.
cya _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Wed Jul 28, 2004 2:21 am Post subject: |
|
|
that was an awesome explaination! i read the [url=ftp://download.nvidia.com/XFree86/Linux-x86/1.0-4349/README.txt
]nvidia readme.txt[/url] like 8 times and could not understand what the heck they were talking about.
I'll set up twinview tomorrow (cause that is initially what i wanted to do from the readme but i could never figure it out.) Maybe we'll fine a solution to the DPMS stuff then. I've got it working now... just gotta figure out how to get it to work while your in game (without changing resolution of the first screen i suppose?) _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Sun Aug 01, 2004 9:47 pm Post subject: |
|
|
I've got twinview working but fullscreen games actually take up both monitors like they are supposed to. How do i run a fullscreen game in just one monitor? _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Sun Aug 01, 2004 10:03 pm Post subject: |
|
|
hmm ... it's pretty easy ...
as you've seen with my config file, i've only set my dual screen to work on both screen when my resolution is set to 1152x864. In this case, i've the two screen available ... as it is in dual head config.
on the contrary, on the others resolutions (like 1024x768, 800x600, etc), i've configured my twinview only for 1 screen ... this way the second screen enter in stand by mode ...
then, when i work, i want the two screens, so i'm in 1152x864.
when i play a game or something, i use a 1024x768 resolution to have my second screen off.
i hope my explanation is clear  _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Sun Aug 01, 2004 10:33 pm Post subject: |
|
|
How do I play games in the full resolution then? I like to play in 1280x1024, the same that I work in. Is there any way to handle that? _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
mryoung_fr n00b


Joined: 17 Jul 2004 Posts: 43 Location: Reims, France
|
Posted: Sun Aug 01, 2004 10:42 pm Post subject: |
|
|
maybe, but i don't know how ... sorry :/ _________________ .: mRyOuNg :. |
|
Back to top |
|
 |
BlindSpy Apprentice


Joined: 20 Mar 2004 Posts: 263
|
Posted: Mon Aug 02, 2004 3:08 pm Post subject: |
|
|
This is what Catach told me to do for my problem - havent tried it yet tho cause im at work.
Catach wrote: | Change the line
Code: | Option "MetaModes" "1280x1024, 800x600; 1024x768; 800x600; 640x480;" |
To something like
Code: | Option "MetaModes" "1280x1024, 800x600; 1280x1024,NULL; 1024x768,NULL; 1024x768; 800x600; 640x480;" |
you can put the NULL entries on the left or right hand side depending on what screen you want your game on. This works for SDL based apps, not sure what America's Army runs with though, so may as well try it. |
As for DPMS on your monitors in twinview, did you get it working? I tried it last night and my DPMS worked on both monitors. My config is the same (except I commented out the twinview stuff to do single monitor mode - its all there). _________________ Symlinks to:
xorg.conf |
|
Back to top |
|
 |
frameRATE Guru


Joined: 28 Apr 2003 Posts: 386 Location: Orange County California
|
Posted: Fri Sep 10, 2004 3:38 am Post subject: |
|
|
did we get his working? My second monitor isn't entering suspend like it should be... =( _________________
Linux User | 364705
howto install coldfusion mx 7 under gentoo |
|
Back to top |
|
 |
pharaoh Apprentice


Joined: 20 Nov 2003 Posts: 211 Location: Pennsylvania
|
Posted: Sat Sep 11, 2004 4:47 pm Post subject: |
|
|
from
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6111/README.txt
o DPMS and TwinView
DPMS Modes "suspend" and "standby" do not work correctly on
a second CRT when using TwinView. The screen becomes blank
instead of the monitor being set to the requested DPMS state.
o DPMS and Flat Panel
DPMS modes "suspend" and "standby" do not work correctly on a
flat panel display. The screen becomes blank instead of the
flat panel being set to the requested DPMS state. _________________ RYZEN 5 3600 Matisse (Zen 2) 6-Core 3.6 GHz Socket AM4 65W
ASRock B550M PRO4
Crucial Ballistix 3200 MHz DDR4 DRAM 16GB
EVGA GeForce GTX 1060 6GB |
|
Back to top |
|
 |
frameRATE Guru


Joined: 28 Apr 2003 Posts: 386 Location: Orange County California
|
Posted: Tue Sep 14, 2004 7:41 am Post subject: |
|
|
Yeah I saw that... odd turnaround here, but as one of my monitors is standing by, the other is normally just blank... (still lit up)
BUT
if I do a
xscreensaver-command lock && xset dpms force standby
one will shut off, one will blank.. then in time, the other will shut off!!
Weird eh? _________________
Linux User | 364705
howto install coldfusion mx 7 under gentoo |
|
Back to top |
|
 |
|