Bug 20549 - [SDVO-TV] "xrandr --output TV-2 --mode xxx" gets BadMatch error
Summary: [SDVO-TV] "xrandr --output TV-2 --mode xxx" gets BadMatch error
Status: VERIFIED NOTABUG
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-08 23:21 UTC by liuhaien
Modified: 2009-03-10 23:01 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.0.log (124.69 KB, text/plain)
2009-03-08 23:21 UTC, liuhaien
no flags Details
xorg conf file (3.36 KB, text/plain)
2009-03-08 23:21 UTC, liuhaien
no flags Details

Description liuhaien 2009-03-08 23:21:37 UTC
Created attachment 23665 [details]
xorg.0.log

System Environment:
--------------------------

--Platform:g45

--Architecture:64-bit

Libdrm:	(master)391c92ae1799f0d1fddb2321c5713afc58575514
Mesa:	(mesa_7_4_branch)463ac421a53c769922f174b3a07f7014f64b3234		
Xserver:	(server-1.6-branch)f469726fec502ce29999eda6919c3c3d26c127d8
Xf86_video_intel:	(master)73aa23d9150121a4e4b70a78cab910acd164abf5
Kernel:       (for-airlied)edde72a59461d766997b469f6d20afdf5fe9b5b4


Bug detailed description:
--------------------------
  connect TV by ADD2 card,start X,when run "xrandr --output TV-2 --mode 1280x1024"(or 1280x960) to reset the mode, we will get the Badmatch error like below,but it works with these modes 1024x768 800x600 and 640x480.
*****************
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  149 (RANDR)
  Minor opcode of failed request:  21 ()
  Serial number of failed request:  24
  Current serial number in output stream:  24
******************
and the output of "xrandr -q" shows these two modes are supported:
****************
xrandr -q:
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 2048 x 2048
VGA disconnected (normal left inverted right x axis y axis)
TMDS-1 connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0 +
   800x600        60.3*
   640x480        59.9
TV-2 connected 800x600+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0 +
   1280x1024      60.0
   1280x1024@60.00   60.0
   1280x960       60.0
   1024x768@60.00   60.0
   920x766@60.00   60.0
   832x624@60.00   60.0
   800x600        60.3*
   800x600@60.00   60.0
   720x576@60.00   60.0
   704x576@60.00   60.0
   720x540@60.00   60.0
   720x480@60.00   60.0
   640x480        59.9
****************************
Comment 1 liuhaien 2009-03-08 23:21:56 UTC
Created attachment 23666 [details]
xorg conf file
Comment 2 Wang Zhenyu 2009-03-09 22:41:09 UTC
Change mode works on my 945 LF2 board. Could you check your xrandr tools or libs building?
Comment 3 liuhaien 2009-03-10 19:12:02 UTC
(In reply to comment #2)
> Change mode works on my 945 LF2 board. Could you check your xrandr tools or
> libs building?
> 

sorry,there is something wrong when building xrandr tools,it works now.so let me mark it as notabug.
Comment 4 liuhaien 2009-03-10 23:01:36 UTC
verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.