Bug 12581 - radeon rv280: xorg 7.3 chooses 720x400 although 1280x1024 is available and requested via xorg.conf
Summary: radeon rv280: xorg 7.3 chooses 720x400 although 1280x1024 is available and re...
Status: RESOLVED DUPLICATE of bug 10304
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.3 (2007.09)
Hardware: x86-64 (AMD64) FreeBSD
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-26 14:03 UTC by Tilman Linneweh
Modified: 2007-10-11 17:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
corresponding xorg.conf (5.11 KB, patch)
2007-09-26 14:06 UTC, Tilman Linneweh
no flags Details | Splinter Review
Xorg.0.log (96.69 KB, patch)
2007-09-26 14:07 UTC, Tilman Linneweh
no flags Details | Splinter Review

Description Tilman Linneweh 2007-09-26 14:03:55 UTC
After upgrading from 7.2 to 7.3 xorg starts up with 720x400. It is possible to switch to 1280x1024 with xrandr -s, so the mode 1280x1024 is still available, but somehow the wrong default is chosen.

I don't know if it is related, but even after switching to 1280x1024 the desktop remains unusable, because the fonts are way too large. It looks like the fonts are still in 720x400, while everything else was switched to 1280x1024
Comment 1 Tilman Linneweh 2007-09-26 14:06:35 UTC
Created attachment 11770 [details] [review]
corresponding xorg.conf
Comment 2 Tilman Linneweh 2007-09-26 14:07:17 UTC
Created attachment 11771 [details] [review]
Xorg.0.log
Comment 3 Alex Deucher 2007-09-30 08:45:54 UTC
looks like your monitor has a funky edid.  Check out the image size: 33x27 mm?

(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 78.8 MHz   Image Size:  33 x 27 mm
(II) RADEON(0): h_active: 1024  h_sync: 1040  h_sync_end 1136 h_blank_end 1312 h_border: 0
(II) RADEON(0): v_active: 768  v_sync: 769  v_sync_end 772 v_blanking: 800 v_border: 0
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 65.0 MHz   Image Size:  33 x 27 mm
(II) RADEON(0): h_active: 1024  h_sync: 1048  h_sync_end 1184 h_blank_end 1344 h_border: 0
(II) RADEON(0): v_active: 768  v_sync: 771  v_sync_end 777 v_blanking: 806 v_border: 0
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 49.5 MHz   Image Size:  33 x 27 mm
(II) RADEON(0): h_active: 800  h_sync: 816  h_sync_end 896 h_blank_end 1056 h_border: 0
(II) RADEON(0): v_active: 600  v_sync: 601  v_sync_end 604 v_blanking: 625 v_border: 0
(II) RADEON(0): Supported additional Video Mode:
(II) RADEON(0): clock: 31.5 MHz   Image Size:  33 x 27 mm
(II) RADEON(0): h_active: 640  h_sync: 656  h_sync_end 720 h_blank_end 840 h_border: 0
(II) RADEON(0): v_active: 480  v_sync: 481  v_sync_end 484 v_blanking: 500 v_border: 0
Comment 4 Tilman Linneweh 2007-09-30 09:21:17 UTC
Well this same monitor has worked without special tweaks from XFree86 4.3 until Xorg 7.2. So i would guess the bug is either in the edid parsing, or earlier versions of X did not care about this bogus values.
Comment 5 Alex Deucher 2007-09-30 09:54:40 UTC
Older versions of X tended not to actually use the edid values...
Comment 6 Tilman Linneweh 2007-09-30 11:47:19 UTC
Is it possible to tell X to ignore them? 
I would have expected that if i set Modes "1280x1024" in xorg.conf, that this would override edid data.
Comment 7 Tilman Linneweh 2007-10-05 13:21:56 UTC
Okay, there is an Option IgnoreEDID, but it does not change anything. Still the wrong resolution.

Any other idea?
Comment 8 Tilman Linneweh 2007-10-06 08:57:02 UTC
I have upgraded to 6.7.194, but it did not change anything.
Comment 9 Alex Deucher 2007-10-06 09:23:40 UTC
you should be able to specify the preferred mode in a monitor section in your config linked to the output you want to use. See:
http://www.intellinuxgraphics.org/dualhead.html
However, you may hit bug 12476
Comment 10 Tilman Linneweh 2007-10-06 09:57:03 UTC
Thanks for your Reply.

With PreferredMode i don't need the xrandr call in .xinitrc, i get 1280x1024 again, BUT the fonts are still too large, as if they are still 720x400

It is definetly related to the display, i checked with another display, and this one works. 
Comment 11 Alex Deucher 2007-10-06 10:07:43 UTC
(In reply to comment #10)
> Thanks for your Reply.
> 
> With PreferredMode i don't need the xrandr call in .xinitrc, i get 1280x1024
> again, BUT the fonts are still too large, as if they are still 720x400
> 
> It is definetly related to the display, i checked with another display, and
> this one works. 
> 

Right.  It's because your edid is bogus:
Image Size:  33 x 27 mm
your monitor is obviously bigger than that.
you should be able to override the display dimensions in the monitor section, but that seems to be broken in the xserver at the moment.
you can also use xrandr to change the dpi:
xrandr --fbmm <width>x<height>
Comment 12 Alex Deucher 2007-10-06 10:09:44 UTC
We should probably add a quirk to the xserver for your monitor.  I'm guessing the physical size is probably 330 x 270 mm rather than 33 x 27 mm.
Comment 13 Tilman Linneweh 2007-10-06 10:29:41 UTC
Yes, i didn't wrote about this, i tried it with the DisplaySize values commented out in the xorg.conf, but that did not change anything. 

Thanks again for help. 
Comment 14 Alex Deucher 2007-10-11 17:18:35 UTC
Eric's commit to xserver should fix these issues.

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


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.