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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-13-06, 09:17 AM   #1
tkmano
Registered User
 
Join Date: Aug 2006
Posts: 7
Default Problem with Twinview, metamodes, and games

I have a problem with Twinview and resolutions. This is my situation, I downloaded a game the other night called Trigger. When I launched Trigger my right screen went blank and the left screen played the game properly, when I stopped the game the right screen turned back on and everything was fine. Upon rebooting though a problem has occured. Both screens are up and functioning, but right after the login the right screen turns off. I have done a bunch of research on this and it appears others have had problems too, but don't post there solutions.

http://kubuntuforums.net/forums/inde...=7804.msg31452

After performing some experiments I have found the problem to be somewhere in the metamodes line of my xorg.conf file. I used to have a line like the following:

Option "Metamodes" "1280x1024,1280x1024;1024x768,1024x768;1280x1024,N ULL;1024x768,NULL"

But in order to keep both screens working I had to take out every option but one:

Option "Metamodes" "1280x1024,1280x1024"

The xserver seems to use any listing that has a NULL first? Why?
Is this just a situation that effects KDE?

I also found a post that claims you can change between metamode resolutions by using the ctl-alt-(numpad)+/-

http://wiki.serios.net/wiki/NVIDIA_T...aming_in_Linux

I tried this but it didn't work. Is there a way to changes between listed metamode resolutions?

I have included my complete xorg.conf for reference in case I have missed something in other sections that could be to blame.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon May 15 13:23:42 PDT 2006

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
  Identifier "Twinview Configuration"
  screen 0 "Default Screen" 0 0
  screen 1 "screen1" rightof "Default Screen"
  InputDevice "Generic Keyboard"
  InputDevice "Configured Mouse"
  #Option "Xinerama" "Off"
  Option "OffTime" "10"
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 "GLcore"
  Load "i2c"
  Load "bitmap"
  Load "ddc"
  Load "extmod"
  Load "freetype"
  Load "int10"
  Load "type1"
  Load "vbe"
  load "glx"
  load "v4l"
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 "NX85LCD"
  vendorname "Mitsubishi"
  modelname "Mitsubishi DiamondPoint NX85 LCD (Analog)"
  HorizSync 31.5-80.0
  VertRefresh 56.0-75.0
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline  "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline  "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
  gamma 1.0
  Option "DPMS"
EndSection

Section "Device"
  identifier "NVIDIA Corporation NV40 [GeForce 6800]"
  boardname "NVIDIA GeForce 6800"
  busid "PCI:1:0:0"
  driver "nvidia"
  screen 0
  Option "NvAGP" "3"
  Option "NoLogo" "0"
  Option "RenderAccel" "0"
  Option "CursorShadow" "1"
  Option "Coolbits" "1"
  Option "ConnectedMonitor" "crt, crt"
  Option "NoPowerConnectorCheck"
  Option "TwinView" "1"
  Option "Metamodes" "1280x1024,1280x1024"
  Option "SecondMonitorHorizSync" "31.5-80"
  Option "SecondMonitorVertRefresh" "56-75"
  # Option "NoTwinViewXineramaInfo"
EndSection

Section "Screen"
  Identifier "Default Screen"
  Device "NVIDIA Corporation NV40 [GeForce 6800]"
  Monitor "NX85LCD"
  DefaultDepth 24
  SubSection "Display"
    Viewport 0 0
    depth 24
    modes "1280x1024@75" "1280x960@60" "1152x864@75" "1280x1024@60" "1024x768@60" "1280x960@75" "1024x768@70" "1400x1050@60" "1024x768@75" "1400x1050@75" "832x624@75" "1600x1200@65" "800x600@60" "1600x1200@60" "800x600@75" "1792x1344@60" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
  EndSubSection
EndSection

Section "device" # 
  identifier "device1"
  boardname "NVIDIA GeForce 6800"
  busid "PCI:1:0:0"
  driver "nvidia"
  screen 1
EndSection

Section "screen" # 
  identifier "screen1"
  device "device1"
  defaultdepth 24
  monitor "monitor1"
  SubSection "Display"
    Viewport 0 0
    depth 24
     modes "1280x1024@75" "1280x960@60" "1152x864@75" "1280x1024@60" "1024x768@60" "1280x960@75" "1024x768@70" "1400x1050@60" "1024x768@75" "1400x1050@75" "832x624@75" "1600x1200@65" "800x600@60" "1600x1200@60" "800x600@75" "1792x1344@60" "800x600@72" "800x600@56" "640x480@75" "640x480@72" "640x480@60"
  EndSubSection
EndSection
Section "monitor" # 
  identifier "monitor1"
  vendorname "Mitsubishi"
  modelname "Mitsubishi DiamondPoint NX85 LCD (Analog)"
  HorizSync 31.5-80.0
  VertRefresh 56.0-75.0
  modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
  modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
  modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
  modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
  modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
  modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
  modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
  modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
  modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
  modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
  modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
  modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
  modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
  modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
  modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
  modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
  modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
  modeline  "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
  modeline  "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
  gamma 1.0
  Option "DPMS"
EndSection
Section "ServerFlags"
EndSection
tkmano is offline   Reply With Quote
Old 12-13-06, 11:45 AM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problem with Twinview, metamodes, and games

See: http://www.nvnews.net/vbulletin/showthread.php?t=46678
netllama is offline   Reply With Quote
Old 12-13-06, 03:38 PM   #3
tkmano
Registered User
 
Join Date: Aug 2006
Posts: 7
Default Re: Problem with Twinview, metamodes, and games

I've read though that entire thread and sub threads could you please elaborate on what you would like me to do. Thank you.
tkmano is offline   Reply With Quote
Old 12-13-06, 04:48 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problem with Twinview, metamodes, and games

Following 3a would be a useful start.
netllama is offline   Reply With Quote
Old 12-13-06, 06:38 PM   #5
tkmano
Registered User
 
Join Date: Aug 2006
Posts: 7
Default Re: Problem with Twinview, metamodes, and games

Here is the Nvidia-bug-report-log. I attached it to this reply. Thanks.

nvidia-bug-report.log
tkmano is offline   Reply With Quote
Old 12-13-06, 06:54 PM   #6
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problem with Twinview, metamodes, and games

The problem here is that you're running two X screens, with Twinview on both of them. The only way that can work is if you have 4 displays with two GPUs.

As root, you should get rid of your current xorg.conf and then run:
nvidia-xconfig --twinview

and you'd be fixed.
netllama is offline   Reply With Quote
Old 12-14-06, 10:20 AM   #7
tkmano
Registered User
 
Join Date: Aug 2006
Posts: 7
Default Re: Problem with Twinview, metamodes, and games

Well I did what you said and it still gives me problems. If I have any metamode listed with a NULL option it will only use these. However I can now CTL-ALT-(Num Pad)+/-. But it will only cycle through the metamode options with NULL, the second screen never activeates. Here is a copy of my new xorg.conf file.

Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Oct 16 22:13:07 PDT 2006

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option "OffTime" "10"
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"
    RgbPath         "/usr/X11R6/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    vendorname "Mitsubishi"
    modelname "Mitsubishi DiamondPoint NX85 LCD (Analog)"
    HorizSync 31.5-80.0
    VertRefresh 56.0-75.0
    modeline  "640x480@60" 25.2 640 656 752 800 480 490 492 525 -vsync -hsync
    modeline  "640x480@72" 31.5 640 664 704 832 480 489 491 520 -vsync -hsync
    modeline  "640x480@75" 31.5 640 656 720 840 480 481 484 500 -vsync -hsync
    modeline  "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
    modeline  "800x600@72" 50.0 800 856 976 1040 600 637 643 666 +hsync +vsync
    modeline  "800x600@75" 49.5 800 816 896 1056 600 601 604 625 +hsync +vsync
    modeline  "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
    modeline  "832x624@75" 57.284 832 864 928 1152 624 625 628 667 -vsync -hsync
    modeline  "1024x768@75" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
    modeline  "1024x768@70" 75.0 1024 1048 1184 1328 768 771 777 806 -vsync -hsync
    modeline  "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -vsync -hsync
    modeline  "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync +vsync
    modeline  "1280x1024@75" 135.0 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync
    modeline  "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync +vsync
    modeline  "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
    modeline  "1280x960@75" 129.86 1280 1368 1504 1728 960 961 964 1002 -hsync +vsync
    modeline  "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087 -hsync +vsync
    modeline  "1400x1050@75" 155.85 1400 1496 1648 1896 1050 1051 1054 1096 -hsync +vsync
    modeline  "1600x1200@65" 175.5 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    modeline  "1600x1200@60" 162.0 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
    modeline  "1792x1344@60" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
    gamma 1.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option "NvAGP" "3"
    Option "ConnectedMonitor" "crt, crt"
    Option "SecondMonitorHorizSync" "31.5-80"
    Option "SecondMonitorVertRefresh" "56-75"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "RightOf"
    Option         "UseEdidFreqs" "True"
    Option         "MetaModes" "1280x1024, 1280x1024; 1024x768, 1024x768; 1024x768, NULL; 800x600, NULL"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection
I have also attached a new copy of my Nvidia-bug-report-log. Again, everything works great until I login in.

nvidia-bug-report.log
tkmano is offline   Reply With Quote
Old 12-14-06, 12:37 PM   #8
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problem with Twinview, metamodes, and games

You stated "If I have any metamode listed with a NULL option it will only use these". That's not the behavior that I see in your bug report. Its clearly using 1280x1024,1280x1024. You originally stated that you were using KDE. Did you configure KDE to somehow only run on a single display (which is overriding what X is doing)? Does this problem persist if you're not using KDE?

Also, the xorg.conf that you posted wasn't generated with the command that I provided (or you manually edited it after it was generated). Specifically, it still has alot of (likely unnecessary) Modelines, as well as the ConnectedMonitor option.

I should also note that 1.0-8776 is no longer supported. It might be worthwhile to upgrade to 1.0-9631.

Thanks,
Lonni
netllama is offline   Reply With Quote

Old 12-14-06, 01:05 PM   #9
tkmano
Registered User
 
Join Date: Aug 2006
Posts: 7
Default Re: Problem with Twinview, metamodes, and games

Yes I did add a couple things to the Xorg.conf file, but I did try the origional with the same results. As far as the KDE thing goes, I do think my issue lies within it. Not only did I install the game, but I also tried to reset the monitor power off time increment through the display manager in KDE. This must have had some effect on a setting. It must be a file that gets read in my personal profile for KDE? I don't know anything about the details of this. Does KDE keep display settings too? Does KDE keep these settings in a profile somewhere? I think I have the problems fixed with Xorg.conf I just need to tackle the KDE thing?

By the way are you talking about the driver version? I checked for an upgrade using apt-get and it didn't show me an upgrade available?
tkmano is offline   Reply With Quote
Old 12-14-06, 01:55 PM   #10
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: Problem with Twinview, metamodes, and games

Yes, I'm referring to the driver version (1.0-8776 versus 1.0-9631). It sounds like whichever Debian apt-repo you're using doesn't have anything after 1.0-8776 yet.

KDE stores per-user settings under ~/.kde. I'm afraid that beyond that I don't have any suggestions on how to reconfigure it, as I don't use KDE all that often. You might want to inquire on a KDE forum or a Debian forum.

Thanks,
Lonni
netllama 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
TwinView in RedHat 8 nerfherder64 NVIDIA Linux 5 10-07-02 08:19 PM

All times are GMT -5. The time now is 08:20 AM.


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