Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-16-11, 08:09 PM   #1
grai
Registered User
 
Join Date: Dec 2006
Posts: 3
Default RandR rotation fails with recent X-servers

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?
Attached Files
File Type: gz nvidia-bug-report.log.gz (61.7 KB, 81 views)
grai is offline   Reply With Quote
Old 03-17-11, 01:03 PM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default 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 is offline   Reply With Quote
Old 03-17-11, 01:04 PM   #3
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: RandR rotation fails with recent X-servers

Quote:
Originally Posted by grai View Post
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.
AaronP is offline   Reply With Quote
Old 05-13-11, 05:22 AM   #4
Cyborg16
Registered User
 
Join Date: Jan 2006
Posts: 5
Default Re: RandR rotation fails with recent X-servers

Looks like there's a patch to address this now: http://patchwork.freedesktop.org/patch/5427/
Cyborg16 is offline   Reply With Quote
Old 05-13-11, 10:39 AM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default 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.
AaronP is offline   Reply With Quote
Old 05-26-11, 05:59 AM   #6
Cyborg16
Registered User
 
Join Date: Jan 2006
Posts: 5
Default 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.)
Cyborg16 is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:11 AM.


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