Bug 17067 - [Q965]"xrandr --newmode" fail with nude X
Summary: [Q965]"xrandr --newmode" fail with nude X
Status: VERIFIED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Wang Zhenyu
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-11 00:26 UTC by lin, jiewen
Modified: 2009-01-15 21:42 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (3.57 KB, text/plain)
2008-08-11 00:26 UTC, lin, jiewen
no flags Details
Xorg.0.log (260.92 KB, text/plain)
2008-08-11 00:29 UTC, lin, jiewen
no flags Details

Description lin, jiewen 2008-08-11 00:26:52 UTC
Created attachment 18206 [details]
xorg.conf

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

--Platform: q965
--Architecture(32-bit,64-bit,compatiblity): 32-bit
--2D driver: master   fe90c0522f65f60c4c431787c889b7fb639ab61b
--3D driver: master 1724334d7c82abe55b6506dfe369df4facae6f06
--DRM:  master  e1b8e79796b172c356af98eb49107c8abbebfe5a
--Xserver: master 26d31ad1c7f4c550d73419ecf76912d844186b30
--Kernel: 2.6.26-rc8
--Display connector: VGA

Bug detailed description:
--------------------------
    When doing "xrandr --newmode "784x680_60.00"  43.25  784 824 904 1024  680 681 684 704  -HSync +Vsync",an error appeared:
error setting MTRR (base = 0xc0000000, size = 0x10000000, type = 1) Invalid argument (22)
error setting MTRR (base = 0xc0000000, size = 0x10000000, type = 1) Invalid argument (22)
X: rrmode.c:267: RRModeInit: Assertion `num_modes == 0' failed.

And then X exit.

Reproduce steps:
----------------
1 X &
2 gtf 784 680 60
2 xrandr --newmode "784x680_60.00"  43.25  784 824 904 1024  680 681 684 704  -HSync +Vsync

Current result:
----------------
fail

Expected result:
----------------
normal
Comment 1 lin, jiewen 2008-08-11 00:29:47 UTC
Created attachment 18207 [details]
Xorg.0.log
Comment 2 lin, jiewen 2008-08-11 00:31:12 UTC
But, with starting xterm ,it goes well.
Comment 3 Wang Zhenyu 2008-09-02 01:03:51 UTC
This doesn't make sense, check your environ setting.
Comment 4 lin, jiewen 2008-09-02 01:28:07 UTC
What special environment is needed? Thanks.
Comment 5 Wang Zhenyu 2008-09-02 01:31:37 UTC
Check you DISPLAY environ and make sure your ssh doesn't redirect your client. I've tested this fine.
Comment 6 lin, jiewen 2009-01-15 21:42:32 UTC
executing like this works:
DISPLAY=:0 xrandr --newmode "784x680_60.00"  43.25  784 824 904 1024  680 681 684 704 -HSync +Vsync


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.