You are not logged in.

#1 2008-12-27 23:30:42

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

[SOLVED] xrandr -o right "Failed to change screen configuration"

After upgrade to 2.6.28 from testing and the associated nvidia driver:

[rulatir@berbelek rulatir]$ xrandr --verbose -o right
 SZ:    Pixels          Physical       Refresh
*0   1280 x 1024   ( 382mm x 305mm )  *50   53
 1   1024 x 768    ( 382mm x 305mm )   51   59   60
 2    800 x 600    ( 382mm x 305mm )   52   69   70   71   72   73
 3   1280 x 960    ( 382mm x 305mm )   54
 4   1152 x 864    ( 382mm x 305mm )   55   56   57   58
 5    960 x 600    ( 382mm x 305mm )   61
 6    960 x 540    ( 382mm x 305mm )   62
 7    896 x 672    ( 382mm x 305mm )   63
 8    840 x 525    ( 382mm x 305mm )   64   65   66   67
 9    832 x 624    ( 382mm x 305mm )   68
 10   800 x 512    ( 382mm x 305mm )   74
 11   720 x 450    ( 382mm x 305mm )   75
 12   700 x 525    ( 382mm x 305mm )   76   77   78
 13   680 x 384    ( 382mm x 305mm )   79   80
 14   640 x 512    ( 382mm x 305mm )   81   82
 15   640 x 480    ( 382mm x 305mm )   83   84   85   86
 16   576 x 432    ( 382mm x 305mm )   87   88   89   90
 17   512 x 384    ( 382mm x 305mm )   91   92   93
 18   416 x 312    ( 382mm x 305mm )   94
 19   400 x 300    ( 382mm x 305mm )   95   96   97   98
 20   320 x 240    ( 382mm x 305mm )   99   100  101
Current rotation - normal
Current reflection - none
Rotations possible - normal left inverted right
Reflections possible - none
Setting size to 0, rotation to right
Setting reflection on neither axis
Failed to change the screen configuration!

No effect.

RandRRotation enabled. Nothing suspicious in logs. Changing resolution and refresh rate with xrandr works, only rotation fails.

My xorg.conf:

Section "ServerLayout"

# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
    Identifier     "Simple Layout"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
#    RgbPath    "/usr/share/X11/rgb"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# 
#    FontPath   "/usr/share/fonts/TTF"
#    FontPath   "/usr/share/fonts/Type1"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"
# The module search path.  The default path is shown here.
#    ModulePath "/usr/lib/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
#    Load        "type1"
# This loads the GLX module
#    Load       "glx"
# This loads the DRI module
#    Load       "dri"
#    Disable     "GLX"
    Load           "dbe"      # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "freetype"
#    Load        "xtt"
EndSection

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#    Option "NoTrapSignals"
# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
#    Option "DontVTSwitch"
# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.
#    Option "DontZap"
# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences.  This allows clients to receive these key events.
#    Option "Dont Zoom"
# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.
#    Option "DisableVidModeExtension"
# Uncomment this to enable the use of a non-local xvidtune client. 
#    Option "AllowNonLocalXvidtune"
# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 
#    Option "DisableModInDev"
# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).
#    Option "AllowNonLocalModInDev"
    Option         "AllowDeactivateGrabs"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

#    Option    "Xleds"      "1 2 3"
#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"
# These are the default XKB settings for Xorg
#    Option "XkbRules"    "xorg"
#    Option "XkbModel"    "pc105"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""
#    Option "XkbDisable"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "pl"
    Option         "XkbOptions" "compose:rwin"
EndSection

Section "InputDevice"

# Identifier and driver
#    Option "Resolution"    "256"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
#    Option "BaudRate"    "9600"
#    Option "SampleRate"    "150"
# Mouse wheel mapping.  Default is to map vertical wheel to buttons 4 & 5,
# horizontal wheel to buttons 6 & 7.   Change if your mouse has more than
# 3 buttons and you need to map the wheel to different button ids to avoid
# conflicts.
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
#    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"
# ChordMiddle is an option for some 3-button Logitech mice
#    Option "ChordMiddle"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "Protocol" "Auto"    # Auto detect
    Option         "Device" "/dev/input/mice"
# Mouse-speed setting for PS/2 mouse.
    Option         "Buttons" "11"
    Option         "ZAxisMapping" "4 5 6 7"
# Emulate3Buttons is an option for 2-button mice
EndSection

#Section "Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
#    HorizSync    30-64         # multisync
#    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
#    Identifier     "DELL P991"
#    DisplaySize     365    275
#    HorizSync       30.0 - 107.0
#    VertRefresh     48.0 - 120.0
#EndSection

Section "Monitor"
    Identifier     "HP L1955"
    VendorName     "HP"
    ModelName      "HP L1955"
    DisplaySize     376    301
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 76.0
EndSection

#Section "Device"
#
# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.
#    Chipset    "generic"
# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.
#    BusID      "PCI:0:10:0"
#    VideoRam    256
#    Clocks    25.2 28.3
#    Identifier     "Standard VGA"
#    Driver         "vga"
#    VendorName     "Unknown"
#    BoardName      "Unknown"
#EndSection

Section "Device"

    # Insert Clocks lines here if appropriate
    Identifier     "Galaxy GeForce 8600 GT"
    Driver         "nvidia"
    Option         "BackingStore" "true"
    Option         "Coolbits" "1"
    Option         "RandRRotation" "true"
    Option       "NoDDC"  "true"
    Option   "UseEdidDpi" "false"
    Option   "DPI" "85 x 85"
    #VideoRam    262144
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Galaxy GeForce 8600 GT"
    Monitor        "HP L1955"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "1280x1024_75 +0+0; 1024x768 +0+0; 800x600 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Any ideas?

Last edited by Rulatir (2009-01-11 10:55:46)

Offline

#2 2008-12-27 23:52:06

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Re: [SOLVED] xrandr -o right "Failed to change screen configuration"

Restarting the X server once didn't help, but restarting it again did. Now xrandr -o works. I will mark solved if the problem doesn't resurface within a few days.

edit: The problem went away and never occured again. Marking as solved.

Last edited by Rulatir (2009-01-11 10:56:58)

Offline

Board footer

Powered by FluxBB