Bug 710958 - XRandR rotate left/right produces error
Summary: XRandR rotate left/right produces error
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-server
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Jackson
QA Contact:
URL:
Whiteboard: [cat:others]
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-06 00:34 UTC by Jason Nelson
Modified: 2018-04-11 08:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-19 17:37:42 UTC
Type: ---


Attachments (Terms of Use)
xorg.conf (2.21 KB, text/plain)
2011-06-10 14:51 UTC, Jason Nelson
no flags Details
xorg.log (12.59 KB, text/plain)
2011-06-10 14:55 UTC, Jason Nelson
no flags Details
proposed patch for failing xrandr (666 bytes, patch)
2011-06-13 14:13 UTC, oncaphillis
no flags Details | Diff

Description Jason Nelson 2011-06-06 00:34:22 UTC
Description of problem:

Attempting to do an xrandr -o left will cause an X error.

Version-Release number of selected component (if applicable):

Fedora 15
xorg-x11-server-Xorg-1.10.2-1.fc15.x86_64

How reproducible:

Everytime

Steps to Reproduce:
1. DISPLAY=:0 xrandr -o left
2.
3.
  
Actual results:

X Error of failed request:  BadValue (integer parameter out of range for operation)
    Major opcode of failed request:  154 (RANDR)
    Minor opcode of failed request:  2 (RRSetScreenConfig)
    Value in failed request:  0x780
    Serial number of failed request:  14
    Current serial number in output stream:  14

Expected results:

Screen rotates left (counter clockwise)


Additional info:

This is fixed in patch 5427 at freedesktop.org:

http://patchwork.freedesktop.org/patch/5427/

This is a request to have this patch included in the next build.

Also of note, xrandr -o inverted works fine.

Comment 1 Matěj Cepl 2011-06-06 15:39:34 UTC
Thanks for the bug report.  We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue.

Please attach

* your X server config file (/etc/X11/xorg.conf, if available), and
* X server log file (/var/log/Xorg.*.log)

to the bug report as individual uncompressed file attachments using the bugzilla file attachment link above.

We will review this issue again once you've had a chance to attach this information.

Thanks in advance.

Comment 2 Jason Nelson 2011-06-10 14:51:04 UTC
Created attachment 504136 [details]
xorg.conf

Comment 3 Jason Nelson 2011-06-10 14:55:39 UTC
Created attachment 504137 [details]
xorg.log

Comment 4 Jason Nelson 2011-06-10 14:57:05 UTC
Sorry for the late response.  It's a work box, and I only work Fri-Sun.

Also, the Major opcode of failed request should be 153, as I just retested:

X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)
  Value in failed request:  0x834
  Serial number of failed request:  14
  Current serial number in output stream:  14

Thanks

Comment 5 oncaphillis 2011-06-13 14:13:49 UTC
Created attachment 504460 [details]
proposed patch for failing xrandr

It's a bug in the upstream code of x11-xorg-server which exists since the late Fedora 14 and also in Fedora 15. For me the attached patch works and it would be nice if it could be inserted into the binary distribution until the Xorg team patches the xorg server.

Comment 6 Jason Nelson 2011-07-19 17:33:41 UTC
Just updated to new version of Xorg, along with everything else.  Bug still persists:

[splat@TRS80 release]$ xrandr -o left                                                                                                                                                                          
X Error of failed request:  BadMatch (invalid parameter attributes)                                                                                                                                            
  Major opcode of failed request:  152 (RANDR)
  Minor opcode of failed request:  2 (RRSetScreenConfig)                                                                                                                                                       
  Serial number of failed request:  14                                                                                                                                                                         
  Current serial number in output stream:  14

At least the error is slightly different this time around.

Comment 7 Jason Nelson 2011-07-19 17:37:42 UTC
Nevermind, forgot to enable xrandr rotation.  I can confirm this is resolved now.


Note You need to log in before you can comment on or make changes to this bug.