LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-13-2006, 02:52 PM   #1
tkman
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Rep: Reputation: 0
Problems with Twinview, Metamodes, and resolutions.


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,NULL;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
 
Old 12-14-2006, 12:07 PM   #2
tkman
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Well I followed some advice given in another forum. Evidently my xorg.conf file was a bit wrong so I was told to start over and build a new xorg.conf with the commnad : nvidia-xconfig --twinview

Anyway I did this 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
Again, everything works great until I login in. I'm beginning to think my issue lies within KDE itself. Before my problems started I installed 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?

Last edited by tkman; 12-14-2006 at 12:12 PM.
 
Old 12-14-2006, 07:17 PM   #3
tkman
LQ Newbie
 
Registered: Nov 2003
Posts: 16

Original Poster
Rep: Reputation: 0
Well it is definitely with KDE because I created a new user and both screens work just fine, and the display manager works. This tells me the problem has to be in my /home/"user"/.kde directory somewhere.

Anyone have any ideas what config file I need to look at?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Virtual resolutions + Magnifier = Higher Resolutions? equinoxe5 Linux - Software 1 01-14-2006 07:01 AM
Twinview with Different Resolutions! mmf144 Linux - Hardware 3 04-26-2005 10:18 AM
metamodes quetion amadkow Linux - Software 0 01-29-2005 04:46 PM
metamodes and twinview? sturla Linux - Hardware 0 12-22-2004 11:42 PM
problems with X and resolutions Tusnal Linux - Software 13 05-24-2003 06:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration