nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   RandR rotation fails with recent X-servers (http://www.nvnews.net/vbulletin/showthread.php?t=160690)

grai 03-16-11 08:09 PM

RandR rotation fails with recent X-servers
 
1 Attachment(s)
Attempts to rotate the display to the left or right with nvidia-settings or /usr/bin/xrandr fail with a BadValue error:
Code:

$ xrandr -o left
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

Inverting works. (xrandr -o inverted)

It seems that this xorg commit from December causes the problem with nvidia drivers. For that reason it was reverted, but only on the 1.7 branch. Unfortunately, my distribution tracks the 1.9-branch of xorg-xserver.

Should that commit be reverted in all xserver branches, or is it the nvidia driver that needs fixing?

Interestingly, someone claimed on the debian bug report that gnome-display-properties succeeds where nvidia-settings and xrandr crash.

P.S. According to this FAQ page, bug reports can be emailed to linux-bugs@nvidia.com. Is that still true?

AaronP 03-17-11 01:03 PM

Re: RandR rotation fails with recent X-servers
 
That change doesn't take rotation into account correctly. The width/height check needs to be moved to before the rotation check, or modified to use the original mode->mode.width/height instead of the rotated width/height.

AaronP 03-17-11 01:04 PM

Re: RandR rotation fails with recent X-servers
 
Quote:

Originally Posted by grai (Post 2406055)
P.S. According to this FAQ page, bug reports can be emailed to linux-bugs@nvidia.com. Is that still true?

Sorry, I forgot to answer this: yes.

Cyborg16 05-13-11 05:22 AM

Re: RandR rotation fails with recent X-servers
 
Looks like there's a patch to address this now: http://patchwork.freedesktop.org/patch/5427/

AaronP 05-13-11 10:39 AM

Re: RandR rotation fails with recent X-servers
 
Yes, thanks for catching that. Jeremy asked for someone to test it before applying it, so if someone with this problem could give it a try, that would be awesome.

Cyborg16 05-26-11 05:59 AM

Re: RandR rotation fails with recent X-servers
 
That patch works for me: I can rotate the screen again with xrandr and with nvidia-settings. (Used debian xserver-xorg-core 2:1.10.1-2 as a base package.)


All times are GMT -5. The time now is 05:25 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.