You are not logged in.

#1 2011-04-07 14:00:03

senkk
Member
Registered: 2011-04-07
Posts: 3

The screen resolution resets on startup

Hello from Bulgaria smile

I have NVidia card with the proprietary drivers installed. I can change my resolution to whatever I want but when Arch is rebooted the resolution is switched back to 1024x768.

This seems to be my default resolution and I can't change it. The problem will ocurr even if I explicitly write the resolution I want in xorg.conf. Changing the resolution from nvidia-settings and saving it to xorg.conf doesn't work either.

I want to set my resolution to 1152x864 and keep it that way. Any suggestions?

This is the Xorg.0.log file

[    28.885] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[    28.885] 
X.Org X Server 1.9.4.901 (1.9.5 RC 1)
Release Date: 2011-03-04
[    28.885] X Protocol Version 11, Revision 0
[    28.885] Build Operating System: Linux 2.6.37-ARCH i686 
[    28.885] Current Operating System: Linux nikolay 2.6.37-ARCH #1 SMP PREEMPT Tue Mar 15 11:40:49 UTC 2011 i686
[    28.886] Kernel command line: root=/dev/sda7 ro
[    28.886] Build Date: 14 March 2011  10:39:42AM
[    28.886]  
[    28.893] Current version of pixman: 0.20.2
[    28.893]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[    28.893] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    28.893] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr  7 15:48:09 2011
[    28.924] (==) Using config file: "/etc/X11/xorg.conf"
[    28.924] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    28.981] (==) ServerLayout "Layout0"
[    28.981] (**) |-->Screen "Screen0" (0)
[    28.981] (**) |   |-->Monitor "Monitor0"
[    28.981] (**) |   |-->Device "Device0"
[    28.981] (**) |-->Input Device "Keyboard0"
[    28.981] (**) |-->Input Device "Mouse0"
[    28.981] (==) Automatically adding devices
[    28.982] (==) Automatically enabling devices
[    29.015] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    29.015]     Entry deleted from font path.
[    29.050] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[    29.051] (==) ModulePath set to "/usr/lib/xorg/modules"
[    29.051] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[    29.051] (WW) Disabling Keyboard0
[    29.051] (WW) Disabling Mouse0
[    29.051] (II) Loader magic: 0x81f3280
[    29.051] (II) Module ABI versions:
[    29.051]     X.Org ANSI C Emulation: 0.4
[    29.051]     X.Org Video Driver: 8.0
[    29.051]     X.Org XInput driver : 11.0
[    29.051]     X.Org Server Extension : 4.0
[    29.055] (--) PCI:*(0:1:0:0) 10de:0326:0000:0000 rev 161, Mem @ 0xfb000000/16777216, 0xe0000000/268435456, BIOS @ 0x????????/131072
[    29.055] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    29.056] (II) LoadModule: "extmod"
[    29.121] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    29.129] (II) Module extmod: vendor="X.Org Foundation"
[    29.129]     compiled for 1.9.4.901, module version = 1.0.0
[    29.129]     Module class: X.Org Server Extension
[    29.129]     ABI class: X.Org Server Extension, version 4.0
[    29.129] (II) Loading extension MIT-SCREEN-SAVER
[    29.129] (II) Loading extension XFree86-VidModeExtension
[    29.129] (II) Loading extension XFree86-DGA
[    29.129] (II) Loading extension DPMS
[    29.129] (II) Loading extension XVideo
[    29.130] (II) Loading extension XVideo-MotionCompensation
[    29.130] (II) Loading extension X-Resource
[    29.130] (II) LoadModule: "dbe"
[    29.130] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    29.140] (II) Module dbe: vendor="X.Org Foundation"
[    29.140]     compiled for 1.9.4.901, module version = 1.0.0
[    29.140]     Module class: X.Org Server Extension
[    29.140]     ABI class: X.Org Server Extension, version 4.0
[    29.140] (II) Loading extension DOUBLE-BUFFER
[    29.140] (II) LoadModule: "glx"
[    29.141] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    29.683] (II) Module glx: vendor="NVIDIA Corporation"
[    29.683]     compiled for 4.0.2, module version = 1.0.0
[    29.683]     Module class: X.Org Server Extension
[    29.683] (II) NVIDIA GLX Module  173.14.28  Wed Sep 29 10:17:05 PDT 2010
[    29.683] (II) Loading extension GLX
[    29.683] (II) LoadModule: "record"
[    29.684] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    29.690] (II) Module record: vendor="X.Org Foundation"
[    29.690]     compiled for 1.9.4.901, module version = 1.13.0
[    29.690]     Module class: X.Org Server Extension
[    29.690]     ABI class: X.Org Server Extension, version 4.0
[    29.690] (II) Loading extension RECORD
[    29.690] (II) LoadModule: "dri"
[    29.691] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    29.699] (II) Module dri: vendor="X.Org Foundation"
[    29.699]     compiled for 1.9.4.901, module version = 1.0.0
[    29.699]     ABI class: X.Org Server Extension, version 4.0
[    29.699] (II) Loading extension XFree86-DRI
[    29.699] (II) LoadModule: "dri2"
[    29.700] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    29.710] (II) Module dri2: vendor="X.Org Foundation"
[    29.710]     compiled for 1.9.4.901, module version = 1.2.0
[    29.710]     ABI class: X.Org Server Extension, version 4.0
[    29.710] (II) Loading extension DRI2
[    29.710] (II) LoadModule: "nvidia"
[    29.711] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    29.753] (II) Module nvidia: vendor="NVIDIA Corporation"
[    29.753]     compiled for 4.0.2, module version = 1.0.0
[    29.753]     Module class: X.Org Video Driver
[    29.763] (II) NVIDIA dlloader X Driver  173.14.28  Wed Sep 29 09:55:18 PDT 2010
[    29.764] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    29.764] (++) using VT number 7

[    29.768] (II) Loading sub module "fb"
[    29.768] (II) LoadModule: "fb"
[    29.768] (II) Loading /usr/lib/xorg/modules/libfb.so
[    29.783] (II) Module fb: vendor="X.Org Foundation"
[    29.783]     compiled for 1.9.4.901, module version = 1.0.0
[    29.783]     ABI class: X.Org ANSI C Emulation, version 0.4
[    29.784] (II) Loading sub module "wfb"
[    29.784] (II) LoadModule: "wfb"
[    29.784] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    29.793] (II) Module wfb: vendor="X.Org Foundation"
[    29.793]     compiled for 1.9.4.901, module version = 1.0.0
[    29.794]     ABI class: X.Org ANSI C Emulation, version 0.4
[    29.794] (II) Loading sub module "ramdac"
[    29.794] (II) LoadModule: "ramdac"
[    29.794] (II) Module "ramdac" already built-in
[    29.807] (**) NVIDIA(0): Depth 16, (--) framebuffer bpp 16
[    29.807] (==) NVIDIA(0): RGB weight 565
[    29.807] (==) NVIDIA(0): Default visual is TrueColor
[    29.807] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    29.808] (**) NVIDIA(0): Enabling RENDER acceleration
[    29.809] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
[    29.809] (II) NVIDIA(0):     enabled.
[    30.429] (II) NVIDIA(0): NVIDIA GPU GeForce FX 5500 (NV34) at PCI:1:0:0 (GPU-0)
[    30.429] (--) NVIDIA(0): Memory: 262144 kBytes
[    30.429] (--) NVIDIA(0): VideoBIOS: 04.34.27.50.17
[    30.429] (II) NVIDIA(0): Detected AGP rate: 8X
[    30.429] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[    30.429] (--) NVIDIA(0): Connected display device(s) on GeForce FX 5500 at PCI:1:0:0:
[    30.429] (--) NVIDIA(0):     Samsung SyncMaster (CRT-0)
[    30.429] (--) NVIDIA(0):     NVIDIA TV Encoder (TV-0)
[    30.429] (--) NVIDIA(0): Samsung SyncMaster (CRT-0): 350.0 MHz maximum pixel clock
[    30.429] (--) NVIDIA(0): NVIDIA TV Encoder (TV-0): 350.0 MHz maximum pixel clock
[    30.430] (--) NVIDIA(0): TV encoder: NVIDIA
[    30.431] (II) NVIDIA(0): Assigned Display Device: CRT-0
[    30.431] (WW) NVIDIA(0): No valid modes for "1152x864_75.00"; removing.
[    30.431] Warning: Xrealloc: requesting unpleasantly large amount of memory: 0 bytes.
[    30.432] (WW) NVIDIA(0): 
[    30.432] (WW) NVIDIA(0): Unable to validate any modes; falling back to the default mode
[    30.432] (WW) NVIDIA(0):     "nvidia-auto-select".
[    30.432] (WW) NVIDIA(0): 
[    30.432] (II) NVIDIA(0): Validated modes:
[    30.432] (II) NVIDIA(0):     "nvidia-auto-select"
[    30.432] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[    30.435] (--) NVIDIA(0): DPI set to (83, 84); computed from "UseEdidDpi" X config
[    30.435] (--) NVIDIA(0):     option
[    30.435] (==) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
[    30.439] (II) NVIDIA(0): Initialized AGP GART.
[    30.444] (II) NVIDIA(0): Unable to connect to the ACPI daemon; the ACPI daemon may not
[    30.444] (II) NVIDIA(0):     be running or the "AcpidSocketPath" X configuration option
[    30.444] (II) NVIDIA(0):     may not be set correctly.  When the ACPI daemon is
[    30.444] (II) NVIDIA(0):     available, the NVIDIA X driver can use it to receive ACPI
[    30.445] (II) NVIDIA(0):     events.  For details, please see the "ConnectToAcpid" and
[    30.445] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[    30.445] (II) NVIDIA(0):     Config Options in the README.
[    30.445] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[    30.520] (II) Loading extension NV-GLX
[    30.541] (II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
[    30.563] (II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
[    30.563] (==) NVIDIA(0): Backing store disabled
[    30.563] (==) NVIDIA(0): Silken mouse enabled
[    30.565] (==) NVIDIA(0): DPMS enabled
[    30.565] (II) Loading extension NV-CONTROL
[    30.567] (==) RandR enabled
[    30.567] (II) Initializing built-in extension Generic Event Extension
[    30.567] (II) Initializing built-in extension SHAPE
[    30.567] (II) Initializing built-in extension MIT-SHM
[    30.567] (II) Initializing built-in extension XInputExtension
[    30.567] (II) Initializing built-in extension XTEST
[    30.567] (II) Initializing built-in extension BIG-REQUESTS
[    30.567] (II) Initializing built-in extension SYNC
[    30.567] (II) Initializing built-in extension XKEYBOARD
[    30.567] (II) Initializing built-in extension XC-MISC
[    30.567] (II) Initializing built-in extension SECURITY
[    30.567] (II) Initializing built-in extension XINERAMA
[    30.567] (II) Initializing built-in extension XFIXES
[    30.568] (II) Initializing built-in extension RENDER
[    30.568] (II) Initializing built-in extension RANDR
[    30.568] (II) Initializing built-in extension COMPOSITE
[    30.568] (II) Initializing built-in extension DAMAGE
[    30.573] (II) Initializing extension GLX
[    31.652] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[    31.653] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    31.653] (II) LoadModule: "evdev"
[    31.653] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    31.666] (II) Module evdev: vendor="X.Org Foundation"
[    31.666]     compiled for 1.9.4, module version = 2.6.0
[    31.667]     Module class: X.Org XInput Driver
[    31.667]     ABI class: X.Org XInput driver, version 11.0
[    31.667] (**) Power Button: always reports core events
[    31.667] (**) Power Button: Device: "/dev/input/event3"
[    31.670] (--) Power Button: Found keys
[    31.670] (II) Power Button: Configuring as keyboard
[    31.670] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[    31.670] (**) Option "xkb_rules" "evdev"
[    31.670] (**) Option "xkb_model" "evdev"
[    31.670] (**) Option "xkb_layout" "us"
[    31.750] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[    31.751] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    31.751] (**) Power Button: always reports core events
[    31.751] (**) Power Button: Device: "/dev/input/event1"
[    31.756] (--) Power Button: Found keys
[    31.756] (II) Power Button: Configuring as keyboard
[    31.757] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
[    31.757] (**) Option "xkb_rules" "evdev"
[    31.757] (**) Option "xkb_model" "evdev"
[    31.757] (**) Option "xkb_layout" "us"
[    31.759] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[    31.759] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    31.760] (**) Sleep Button: always reports core events
[    31.760] (**) Sleep Button: Device: "/dev/input/event2"
[    31.766] (--) Sleep Button: Found keys
[    31.766] (II) Sleep Button: Configuring as keyboard
[    31.767] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[    31.767] (**) Option "xkb_rules" "evdev"
[    31.767] (**) Option "xkb_model" "evdev"
[    31.767] (**) Option "xkb_layout" "us"
[    31.798] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event4)
[    31.798] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    31.798] (**)   USB Keyboard: always reports core events
[    31.798] (**)   USB Keyboard: Device: "/dev/input/event4"
[    31.803] (--)   USB Keyboard: Found keys
[    31.803] (II)   USB Keyboard: Configuring as keyboard
[    31.803] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD)
[    31.803] (**) Option "xkb_rules" "evdev"
[    31.803] (**) Option "xkb_model" "evdev"
[    31.804] (**) Option "xkb_layout" "us"
[    31.807] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event5)
[    31.807] (**)   USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    31.808] (**)   USB Keyboard: always reports core events
[    31.808] (**)   USB Keyboard: Device: "/dev/input/event5"
[    31.813] (--)   USB Keyboard: Found keys
[    31.813] (II)   USB Keyboard: Configuring as keyboard
[    31.813] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD)
[    31.813] (**) Option "xkb_rules" "evdev"
[    31.813] (**) Option "xkb_model" "evdev"
[    31.813] (**) Option "xkb_layout" "us"
[    31.819] (II) config/udev: Adding input device Microsoft Microsoft Wheel Mouse Optical® (/dev/input/event6)
[    31.819] (**) Microsoft Microsoft Wheel Mouse Optical®: Applying InputClass "evdev pointer catchall"
[    31.820] (**) Microsoft Microsoft Wheel Mouse Optical®: always reports core events
[    31.820] (**) Microsoft Microsoft Wheel Mouse Optical®: Device: "/dev/input/event6"
[    31.826] (--) Microsoft Microsoft Wheel Mouse Optical®: Found 3 mouse buttons
[    31.826] (--) Microsoft Microsoft Wheel Mouse Optical®: Found scroll wheel(s)
[    31.826] (--) Microsoft Microsoft Wheel Mouse Optical®: Found relative axes
[    31.827] (--) Microsoft Microsoft Wheel Mouse Optical®: Found x and y relative axes
[    31.827] (II) Microsoft Microsoft Wheel Mouse Optical®: Configuring as mouse
[    31.827] (II) Microsoft Microsoft Wheel Mouse Optical®: Adding scrollwheel support
[    31.827] (**) Microsoft Microsoft Wheel Mouse Optical®: YAxisMapping: buttons 4 and 5
[    31.827] (**) Microsoft Microsoft Wheel Mouse Optical®: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    31.827] (II) XINPUT: Adding extended input device "Microsoft Microsoft Wheel Mouse Optical®" (type: MOUSE)
[    31.827] (**) Microsoft Microsoft Wheel Mouse Optical®: (accel) keeping acceleration scheme 1
[    31.828] (**) Microsoft Microsoft Wheel Mouse Optical®: (accel) acceleration profile 0
[    31.828] (**) Microsoft Microsoft Wheel Mouse Optical®: (accel) acceleration factor: 2.000
[    31.828] (**) Microsoft Microsoft Wheel Mouse Optical®: (accel) acceleration threshold: 4
[    31.828] (II) Microsoft Microsoft Wheel Mouse Optical®: initialized for relative axes.
[    31.830] (II) config/udev: Adding input device Microsoft Microsoft Wheel Mouse Optical® (/dev/input/mouse0)
[    31.830] (II) No input driver/identifier specified (ignoring)
[    31.844] (II) config/udev: Adding input device PC Speaker (/dev/input/event0)
[    31.844] (II) No input driver/identifier specified (ignoring)
[  1265.418] Warning: Xalloc: requesting unpleasantly large amount of memory: 0 bytes.

This is my current xord.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Wed Sep 29 10:19:47 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
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     "Samsung"
    ModelName      "SyncMaster795DF"
    HorizSync       30.0 - 110.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 24
        Subsection "Display"
                Depth 24
        Option         "metamodes" "CRT-0: 1152x864_75 +0+0"
        EndSubSection
EndSection

And this is the output of xrandr

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
   1024x768       50.0*    51.0     52.0     53.0     54.0  
   896x672        55.0  
   832x624        56.0  
   800x600        57.0     58.0     59.0     60.0     61.0     62.0     63.0     64.0  
   720x400        65.0  
   640x512        66.0     67.0  
   640x480        68.0     69.0     70.0     71.0     72.0  
   640x400        73.0  
   640x350        74.0  
   576x432        75.0  
   512x384        76.0     77.0     78.0     79.0     80.0  
   416x312        81.0  
   400x300        82.0     83.0     84.0     85.0     86.0  
   360x200        87.0  
   320x240        88.0     89.0     90.0     91.0  
   320x200        92.0  
   320x175        93.0  

Last edited by senkk (2011-04-07 14:01:35)

Offline

#2 2011-04-07 14:38:49

murffatksig
Member
From: Atl
Registered: 2004-05-17
Posts: 358

Re: The screen resolution resets on startup

Hmm, i typically never mess with my xorg.conf and instead let HAL handle it.  Then from withing Gnome I choose a resolution.


"Oh, they have the internet on computers now."

Offline

#3 2011-04-07 16:30:06

Bregol
Member
Registered: 2008-08-15
Posts: 175

Re: The screen resolution resets on startup

If you wanted to set it in xorg conf, the problem is that the nvidia driver isn't figuring out what resolutions your monitor supports properly, so it takes a guess and guesses that 1024x768 is the maximum it can do, so it sets that.  Normally when X starts up, the driver looks through a big pool of modes (resolutions paired with refresh rates) and decides for each one if your monitor is capable of supporting that mode or not.  The monitor can also contain information about its modes that it supports.  For some reason, the mode that you want (1152x864) is being rejected when the driver is determining what modes your monitor is capable of.  Normally, the log file will show that information... a bunch of lines where Nvidia driver is going through things.  Not sure why I don't see that in your log here.

Other thing I just noticed... in the Device Section, you call the device:
Identifier     "Device0"

but in the screen layout you refer to something different
Device     "Card0"


Nai haryuvalyë melwa rë

Offline

#4 2011-04-07 17:54:11

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: The screen resolution resets on startup

Looks like the EDID doesn't contain a valid mode for the res you want. If your screen really supports the mode, try writing a modeline for it.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2011-04-08 08:09:59

senkk
Member
Registered: 2011-04-07
Posts: 3

Re: The screen resolution resets on startup

Breagol thanks for the info. I fixed the identificators in xorg.cong but still nothing.

Mr. Elendig. I never thought about the EDID. I will check what happens with a new modelline.

Offline

Board footer

Powered by FluxBB