Bug 11169 - ati randr-1.2 comes up with wrong initial dimensions
Summary: ati randr-1.2 comes up with wrong initial dimensions
Status: RESOLVED DUPLICATE of bug 11272
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-06 01:11 UTC by Dag Bakke
Modified: 2007-06-22 09:33 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (4.85 KB, application/octet-stream)
2007-06-06 01:12 UTC, Dag Bakke
no flags Details
Xorg.0.log from git driver (57.99 KB, application/octet-stream)
2007-06-06 01:12 UTC, Dag Bakke
no flags Details
Xorg.0.log for ati driver ver 6.6.3 (54.35 KB, application/x-trash)
2007-06-06 01:13 UTC, Dag Bakke
no flags Details

Description Dag Bakke 2007-06-06 01:11:04 UTC
I have Xorg with all the latest released bits as of today + the randr 1.2 branch of the radeon driver up to and including commit 2d40fa55e8d7a1cfb204d66ca4a4d95a3b13d5b5.
"radeon: disable irqs at server start until 3D app starts"

On startup, the card runs my Dell Inspiron 8200 at 1024x768, while the native dimensions of the built-in panel is 1600x1200. I have no entries in xorg.conf which explains this. xrandr with this driver says:

 Screen 0: minimum 320 x 200, current 1024 x 768, maximum 2708 x 1152
VGA disconnected (normal left inverted right)
LVDS connected 1024x768+0+0 (normal left inverted right) 0mm x 0mm
   1600x1200      60.6 +
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  


Also note the alleged maximum.

'xrandr -s 1600x1200' sets it right, but the resolution (as reported by xdpyinfo) jumps from 96x96 to 150x151 dpi. 
This is a 15" panel. Is DPI for LCDs calculated as simple as 
(number of horizontal pixels)/(physical width)?
Comment 1 Dag Bakke 2007-06-06 01:12:17 UTC
Created attachment 10199 [details]
xorg.conf
Comment 2 Dag Bakke 2007-06-06 01:12:58 UTC
Created attachment 10200 [details]
Xorg.0.log from git driver
Comment 3 Dag Bakke 2007-06-06 01:13:48 UTC
Created attachment 10201 [details]
Xorg.0.log for ati driver ver 6.6.3
Comment 4 Alex Deucher 2007-06-06 06:42:06 UTC
(In reply to comment #0)
> 
> 'xrandr -s 1600x1200' sets it right, but the resolution (as reported by
> xdpyinfo) jumps from 96x96 to 150x151 dpi. 
> This is a 15" panel. Is DPI for LCDs calculated as simple as 
> (number of horizontal pixels)/(physical width)?
> 

Since you panel provides no edid info we don't know it's real size so the server falls back to the default behavior.
Comment 5 Dag Bakke 2007-06-06 07:10:20 UTC
I assume the latest comment relates to DPI only? As Xorg.0.log shows that the display dimensions are 1600x1200, as do get-edid.

Comment 6 Alex Deucher 2007-06-06 07:19:57 UTC
(In reply to comment #5)
> I assume the latest comment relates to DPI only? As Xorg.0.log shows that the
> display dimensions are 1600x1200, as do get-edid.
> 

Right DPI is usually based on the physical size of the monitor, not the resolution.  In the case of your laptop there is no edid block for your panel available to the xserver that contains the physical size info, so the server uses the default behavior.
Comment 7 Dag Bakke 2007-06-22 09:33:44 UTC
Doh. I managed to report this twice. Marking this as duplicate of  #11272.

*** This bug has been marked as a duplicate of bug 11272 ***


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.