Discussion:
[Bug 59854] NEW: xrandr does not process --rmmode or --delmode options
Peter D.
2010-06-20 07:39:31 UTC
Permalink
https://qa.mandriva.com/show_bug.cgi?id=59854


Summary: xrandr does not process --rmmode or --delmode options
Classification: Mandriva Linux
Product: Mandriva Linux
Version: Cooker
Platform: i586
OS/Version: Linux
Status: NEW
Severity: minor
Priority: normal
Component: Hardware
AssignedTo: ***@mandriva.com
ReportedBy: ***@fastmail.com.au
QAContact: ***@mandrivalinux.org


Description of problem:

Options documented in "man xrandr" don't work.
Man radeon claims that the driver supports xrandr 1.2 and 1.3.

Delmode and rmmode are xrandr 1.2 options and do not work.
BTW newmode and addmode, which are also xrandr 1.2 options do work.

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

xrandr-1.3.2-2mdv2010.1 and
x11-driver-video-ati-6.13.0-3mdv2010.1.i586 on
2010.1 rc2 plus updates,
X550 video card.

How reproducible:

very

Steps to Reproduce:

[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm
x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource
denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource
denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !363
xrandr --rmmode 640x350
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 17 (RRDestroyMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# xrandr --newmode 160x120 5.3 160 168 184 192 120
121 123 125 -HSync +Vsync DoubleScan
[***@test 8G]# xrandr --addmode DVI-0 160x120
[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm
x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
160x120 208.3
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]#
--
Configure bugmail: https://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Ahmad Samir (triage team)
2010-06-20 11:26:41 UTC
Permalink
https://qa.mandriva.com/show_bug.cgi?id=59854

Summary : xrandr does not process --rmmode or --delmode options
Product : Mandriva Linux
Component : Hardware
Version : Cooker
RPM Package: xrandr
Keywords : NEEDINFO, Triaged
Status : NEW
Severity : minor
Priority : normal
Assigned To: ***@mandriva.com
Reported By: ***@fastmail.com.au


Ahmad Samir (triage team) <***@mandriva.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |NEEDINFO, Triaged
AssignedTo|***@mandriva.com |***@mandriva.com
RPM Package| |xrandr




--- Comment #1 from Ahmad Samir (triage team) <***@mandriva.org> 2010-06-20 13:26:39 CEST ---
This is not a bug according to upstream:
https://bugs.freedesktop.org/show_bug.cgi?id=10369#c2 :
“Modes created and managed by the X server cannot be deleted by the user. Only
user-created modes may be deleted.”

P.S. Please always try and fill the "RPM Package" field when filling a bug
report.



----------------------------------------------------------------------------
Original Bug Text:


Description of problem:

Options documented in "man xrandr" don't work.
Man radeon claims that the driver supports xrandr 1.2 and 1.3.

Delmode and rmmode are xrandr 1.2 options and do not work.
BTW newmode and addmode, which are also xrandr 1.2 options do work.

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

xrandr-1.3.2-2mdv2010.1 and
x11-driver-video-ati-6.13.0-3mdv2010.1.i586 on
2010.1 rc2 plus updates,
X550 video card.

How reproducible:

very

Steps to Reproduce:

[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !363
xrandr --rmmode 640x350
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 17 (RRDestroyMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# xrandr --newmode 160x120 5.3 160 168 184 192 120 121 123 125 -HSync +Vsync DoubleScan
[***@test 8G]# xrandr --addmode DVI-0 160x120
[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
160x120 208.3
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]#



--
Configure bugmail: https://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Peter D.
2010-07-03 02:11:12 UTC
Permalink
https://qa.mandriva.com/show_bug.cgi?id=59854

Summary : xrandr does not process --rmmode or --delmode options
Product : Mandriva Linux
Component : Hardware
Version : Cooker
RPM Package: xrandr
Keywords : NEEDINFO, Triaged
Status : NEW
Severity : minor
Priority : normal
Assigned To: ***@mandriva.com
Reported By: ***@fastmail.com.au





--- Comment #2 from Peter D. <***@fastmail.com.au> 2010-07-03 04:11:05 CEST ---
The upstream bug was wrongly closed.

It was claimed that only user added modes can be deleted. The reporter gave an
example of a user added mode that can not be removed. In the example given,
--delmode worked and --rmmode failed for a user defined mode.

Also there is at least a documentation error. The man page does not say "user
modes only".

BTW the nvidia driver removes of all but user defined modes if
Option "ModeValidation"
"NoVesaModes,NoEdidModes,NoXServerModes,NoPredefinedModes"
is added to the Monitor section of xorg.conf

So, Yes. These are the same bugs. The --delmode bug might or might not be a
real bug, but the --rmmode bug is genuine.



----------------------------------------------------------------------------
Original Bug Text:


Description of problem:

Options documented in "man xrandr" don't work.
Man radeon claims that the driver supports xrandr 1.2 and 1.3.

Delmode and rmmode are xrandr 1.2 options and do not work.
BTW newmode and addmode, which are also xrandr 1.2 options do work.

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

xrandr-1.3.2-2mdv2010.1 and
x11-driver-video-ati-6.13.0-3mdv2010.1.i586 on
2010.1 rc2 plus updates,
X550 video card.

How reproducible:

very

Steps to Reproduce:

[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !363
xrandr --rmmode 640x350
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 17 (RRDestroyMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# xrandr --newmode 160x120 5.3 160 168 184 192 120 121 123 125 -HSync +Vsync DoubleScan
[***@test 8G]# xrandr --addmode DVI-0 160x120
[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
160x120 208.3
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]#
--
Configure bugmail: https://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Peter D.
2010-08-02 01:48:13 UTC
Permalink
https://qa.mandriva.com/show_bug.cgi?id=59854

Summary : xrandr does not process --rmmode or --delmode options
Product : Mandriva Linux
Component : Hardware
Version : Cooker
RPM Package: xrandr
Keywords : NEEDINFO, Triaged
Status : NEW
Severity : minor
Priority : normal
Assigned To: ***@mandriva.com
Reported By: ***@fastmail.com.au





--- Comment #3 from Peter D. <***@fastmail.com.au> 2010-08-02 03:48:10 CEST ---
I have just tried this again myself. A user added mode can be deleted and
removed.

I have raised an upstream bug report as a documentation error.

<https://bugs.freedesktop.org/show_bug.cgi?id=29349>



----------------------------------------------------------------------------
Original Bug Text:


Description of problem:

Options documented in "man xrandr" don't work.
Man radeon claims that the driver supports xrandr 1.2 and 1.3.

Delmode and rmmode are xrandr 1.2 options and do not work.
BTW newmode and addmode, which are also xrandr 1.2 options do work.

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

xrandr-1.3.2-2mdv2010.1 and
x11-driver-video-ati-6.13.0-3mdv2010.1.i586 on
2010.1 rc2 plus updates,
X550 video card.

How reproducible:

very

Steps to Reproduce:

[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !362
xrandr --delmode VGA-0 640x350
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 19 (RRDeleteOutputMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# !363
xrandr --rmmode 640x350
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 151 (RANDR)
Minor opcode of failed request: 17 (RRDestroyMode)
Serial number of failed request: 25
Current serial number in output stream: 26
[***@test 8G]# xrandr --newmode 160x120 5.3 160 168 184 192 120 121 123 125 -HSync +Vsync DoubleScan
[***@test 8G]# xrandr --addmode DVI-0 160x120
[***@test 8G]# xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 1920 x 1920
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 352mm x 264mm
1600x1200 75.0*+ 70.0 65.0 60.0
1280x1024 85.0 + 85.0 75.0 60.0
1920x1440 60.0
1856x1392 60.0
1792x1344 60.0
1400x1050 74.8 60.0
1280x960 85.0 60.0
1152x864 75.0
1024x768 85.0 75.0 70.1 60.0
832x624 74.6
800x600 85.1 85.1 72.2 75.0 60.3 56.2
640x480 85.0 75.0 72.8 75.0 66.7 59.9
720x400 87.8 85.0 70.1
640x400 85.1
640x350 85.1
160x120 208.3
S-video disconnected (normal left inverted right x axis y axis)
[***@test 8G]#
--
Configure bugmail: https://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Loading...