Bug 23474 - xrandr doesn't pick up on 1600x1200 modeline
Summary: xrandr doesn't pick up on 1600x1200 modeline
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-23 08:22 UTC by Michael de Lang
Modified: 2014-01-23 11:15 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg log, mainly for showing modelines. (66.23 KB, text/plain)
2009-08-23 08:22 UTC, Michael de Lang
no flags Details
Xorg configuration file with PreferredMode (5.20 KB, patch)
2009-09-03 18:51 UTC, Michael de Lang
no flags Details | Splinter Review
non-KMS Xorg log (24.51 KB, application/octet-stream)
2009-09-12 08:38 UTC, Michael de Lang
no flags Details

Description Michael de Lang 2009-08-23 08:22:22 UTC
After an update to 2.6.31-rc7, with radeon kernel modesetting enabled and a clean boot, screen does not start up in 1600x1200(highest possible), but 1152x864(used to work fine with non-KMS 2.6.30.2). xrandr also doesn't have the option so I have to manually add the modeline that xorg picks up.

Attached Xorg.0.log shows the modelines that the radeon driver picks up on.
Comment 1 Michael de Lang 2009-08-23 08:22:56 UTC
Created attachment 28866 [details]
Xorg log, mainly for showing modelines.
Comment 2 Alex Deucher 2009-09-01 09:27:46 UTC
The edid appears to have the 1600x1200 mode:
(II) RADEON(0): Modeline "1600x1200"x0.0  202.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (93.8 kHz)

You should be able to select it using xrandr or by setting it as your preferred mode in your xorg.cong.
Comment 3 Michael de Lang 2009-09-01 10:16:38 UTC
But that's the problem, I can't select it in xrandr unless I add the mode first. Haven't tried the preferred mode though. Will do that.
Comment 4 Michael de Lang 2009-09-03 14:35:55 UTC
PreferredMode didn't help either.

oipo [ ~ ]$ cat /var/log/Xorg.0.log | grep PreferredMode
(**) RADEON(0): Option "PreferredMode" "1600x1200"
(WW) RADEON(0): Option "PreferredMode" is not used
Comment 5 Alex Deucher 2009-09-03 15:07:56 UTC
(In reply to comment #4)
> PreferredMode didn't help either.
> 
> oipo [ ~ ]$ cat /var/log/Xorg.0.log | grep PreferredMode
> (**) RADEON(0): Option "PreferredMode" "1600x1200"
> (WW) RADEON(0): Option "PreferredMode" is not used
> 

Please attach your xorg config.
Comment 6 Michael de Lang 2009-09-03 18:51:13 UTC
Created attachment 29197 [details] [review]
Xorg configuration file with PreferredMode
Comment 7 Alex Deucher 2009-09-03 20:52:03 UTC
you need to add the modeline to your config:

Section "Monitor"
	#DisplaySize	  320   240	# mm
	Identifier   "Monitor0"
	VendorName   "IVM"
	ModelName    "1740"
	Option	    "DPMS"
        Modeline "1600x1200"  202.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync
        Option      "PreferredMode" "1600x1200"
EndSection
Comment 8 Michael de Lang 2009-09-05 04:21:40 UTC
Added it to my xorg.conf, works fine now. Just strange that I didn't need this before I switched to KMS.
Comment 9 Alex Deucher 2009-09-05 07:36:37 UTC
(In reply to comment #8)
> Added it to my xorg.conf, works fine now. Just strange that I didn't need this
> before I switched to KMS.
> 

Can you attach your non-kms log? You can disable kms by loading the radeon drm modules with the modeset=0 option.
Comment 10 Michael de Lang 2009-09-12 08:38:19 UTC
Sorry for the delay, I managed to get ill.

Here's the non-KMS log without the modeline added to the xorg.conf.
Comment 11 Michael de Lang 2009-09-12 08:38:45 UTC
Created attachment 29457 [details]
non-KMS Xorg log
Comment 12 Marek Olšák 2014-01-23 11:15:54 UTC
We don't support UMS anymore. Closing.


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.