You are not logged in.

#1 2010-01-08 01:32:31

markp1989
Member
Registered: 2008-10-05
Posts: 431

nvidia-settings getting resolution wrong (again)

some times after booting, the resolution of my screens (or 1 of them) will be wrong, i tried manualy editing the xorg file, and all that achieved was disabling me 2nd screen)

i dont think its too much to ask for to have a computer that wont randomly get the resolution wrong randomly?

any known fixes?

thanks Markp1989


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#2 2010-01-08 13:06:22

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

markp1989 wrote:

some times after booting, the resolution of my screens (or 1 of them) will be wrong, i tried manualy editing the xorg file, and all that achieved was disabling me 2nd screen)

i dont think its too much to ask for to have a computer that wont randomly get the resolution wrong randomly?

any known fixes?

thanks Markp1989

Hey there buddy can you post your xorg.conf?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#3 2010-01-08 14:38:11

clanger
Member
Registered: 2010-01-04
Posts: 33

Re: nvidia-settings getting resolution wrong (again)

I have a problem like this as well.

Using the NVIDIA driver both my monitors have the meta mode set to 1600x900 in xorg.conf.
However the first monitor displays at 1280x1024. It changed when I swapped round my monitors to different DVI ports on the graphics card. Previously, with exactly the same xorg.conf, both monitors displayed at 1600x900.

No xrandr support makes it hard to fix these things.

Here is my xorg.conf just in case:

Section "ServerLayout"
    Identifier     "Layout0"
    Screen         0  "Screen0" 0 0
    Screen         1  "Screen1" 1600 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "ServerFlags"
    Option         "DontZap"  "false"
    Option         "Xinerama" "1"
    Option         "AllowEmptyInput" "False"
    Option         "AutoAddDevices" "False"
    Option         "AutoEnableDevices" "False"
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"
    Option         "XkbLayout"     "gb"
EndSection

Section "Monitor"
    Identifier     "right"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 65.0
    VertRefresh     56.0 - 60.0
    Option         "DPMS"
EndSection

Section "Monitor"
    Identifier     "left"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 65.0
    VertRefresh     56.0 - 60.0
    Option          "RandRRotation" "on"
    Option          "Rotate" "CW"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9500 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 9500 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"

# Removed Option "TwinView" "1"
# Removed Option "metamodes" "DFP-0: 1600x900 +1600+0, DFP-1: 1600x900 +0+0"
#
    Option        "AddARGBGLXVisuals" "True"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "right"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-0: 1600x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Option         "AddARGBGLXVisuals"  "True"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "left"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-1: 1600x900 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by clanger (2010-01-08 14:39:23)

Offline

#4 2010-01-08 14:41:30

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

How about nvidia-xconfig?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#5 2010-01-08 15:08:32

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: nvidia-settings getting resolution wrong (again)

JuseBox wrote:
markp1989 wrote:

some times after booting, the resolution of my screens (or 1 of them) will be wrong, i tried manualy editing the xorg file, and all that achieved was disabling me 2nd screen)

i dont think its too much to ask for to have a computer that wont randomly get the resolution wrong randomly?

any known fixes?

thanks Markp1989

Hey there buddy can you post your xorg.conf?

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:26:01 PDT 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:25:04 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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     "Unknown"
    ModelName      "DELL IN1910N"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: nvidia-auto-select +0+0, CRT-1: nvidia-auto-select +1366+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

both screens are ment to be 1366*768 crt-0 has the correct resolution, crt-1 is running at 1204*768


I tried manualy setting both resolutions to 1366*768 in the xorg config, that left me with crt-0 being used at correct resolution, and crt-1 not being used atal

i have also tried deleting my xorg config, using nvidia-xconfig to make a basic one, then re running nvidia-settings, but it still gave me the same problem

Last edited by markp1989 (2010-01-08 15:12:53)


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#6 2010-01-08 15:12:23

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

Try to hardcode the resolutions:

Option         "metamodes" "CRT-0: 1366x768_60 +0+0, CRT-1: 1366x768_60 +1366+0"

60 being my refresh rate. Just switch out your metamode with this. Maybe there is an issue with nvidia auto select feature?

Edit: switched the Option code.

Last edited by JuseBox (2010-01-08 15:14:16)


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#7 2010-01-08 15:17:48

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: nvidia-settings getting resolution wrong (again)

i got the correct resolution back again , deleted the xorg config file, and used nvidia-xconfig to generate a new one, then used nvidia-settings to change it ( i had tried this yesterday, but it didnt want to work then)

i donk know why this happens randomly, it makes no sence


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#8 2010-01-08 15:18:48

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

markp1989 wrote:

i got the correct resolution back again , deleted the xorg config file, and used nvidia-xconfig to generate a new one, then used nvidia-settings to change it ( i had tried this yesterday, but it didnt want to work then)

i donk know why this happens randomly, it makes no sence

Did you hardcore the config like I have in the post above?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#9 2010-01-08 15:27:01

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: nvidia-settings getting resolution wrong (again)

JuseBox wrote:
markp1989 wrote:

i got the correct resolution back again , deleted the xorg config file, and used nvidia-xconfig to generate a new one, then used nvidia-settings to change it ( i had tried this yesterday, but it didnt want to work then)

i donk know why this happens randomly, it makes no sence

Did you hardcore the config like I have in the post above?

i have now, so hopefully next time it auto detects it wrong it should still give me the correct resolution smile

thanks smile


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#10 2010-01-08 15:27:21

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

If you did it just that way then that isn't the correct resolution for the monitor.  I have two monitors hooked up using 1080p resolutions with no issues.


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#11 2010-01-08 15:28:08

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

JuseBox wrote:

If you did it just that way then that isn't the correct resolution for the monitor.  I have two monitors hooked up using 1080p resolutions with no issues.

Post your currect xorg conf now please?


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#12 2010-01-08 20:45:01

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: nvidia-settings getting resolution wrong (again)

i have the resolutions set in the xorg file, before i set nvidia-settings to auto , now i set it to hte correct resolution of the screens. im hoping that by doing this the next time it miss detects the resolution, i wont be affected

edit: i didnt manualy type it in to the config file, for some reason now the monitors are detected as they should.

here is how it looks now :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:26:01 PDT 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:25:04 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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     "Unknown"
    ModelName      "DELL IN1910N"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1366x768 +0+0, CRT-1: 1366x768 +1366+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Last edited by markp1989 (2010-01-08 20:46:50)


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#13 2010-01-08 20:51:50

JuseBox
Member
Registered: 2009-11-27
Posts: 260

Re: nvidia-settings getting resolution wrong (again)

markp1989 wrote:

i have the resolutions set in the xorg file, before i set nvidia-settings to auto , now i set it to hte correct resolution of the screens. im hoping that by doing this the next time it miss detects the resolution, i wont be affected

edit: i didnt manualy type it in to the config file, for some reason now the monitors are detected as they should.

here is how it looks now :

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:26:01 PDT 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Tue Oct 20 21:25:04 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
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     "Unknown"
    ModelName      "DELL IN1910N"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "1"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "metamodes" "CRT-0: 1366x768 +0+0, CRT-1: 1366x768 +1366+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Glad it works now


Linux ArchLinux 3.2.8-1-ARCH
#1 SMP PREEMPT Mon Feb 27 21:51:46 CET 2012 x86_64 AMD FX(tm)-8120 Eight-Core Processor AuthenticAMD GNU/Linux
8192MB DDR3 1300MHz | Asus m5a97 | GeForce GTX 550 Ti | 120 GB SSD

Offline

#14 2010-01-11 13:17:23

clanger
Member
Registered: 2010-01-04
Posts: 33

Re: nvidia-settings getting resolution wrong (again)

I had a similar-ish but different problem so I will post my solution here in the hopes that someone else finds it useful.

I have two identical monitors on one GPU (2 DVI ports). However, I wanted one monitor to go through a VGA KVM switch so used a DVI-VGA convertor. When the nvidia driver was doing it's thing it saw my KVM'd monitor as a CRT and said (in Xorg.0.log) that there was no valid mode for 1600x900 (my monitors native resolution and what I had it set in metamode). Note, I wasn't using TwinView like the examples above. 

To get my monitor running through the DVI-VGA adapter working at it's native resolution I did the following:

ran nvidia-settings, under the GPU-0 heading went to DFP-1 (the monitor which nvidia configured correctly), and did a "Acquire EDID". I saved this in ~/.nvidia/CRT-edid.bin and added the following to the Screen section describing my faux-CRT monitor.

Option   "CustomEDID"  "CRT-0:/home/clang/.nvidia/CRT-edid.bin".

A quick restart of X and it works perfectly.

Hope this helps someone else. My source: http://forums.nvidia.com/lofiversion/in … 73027.html

Offline

Board footer

Powered by FluxBB