When starting X (x11-base/xorg-x11-7.4-r1) wrong display size is set: (II) RADEON(0): Setting screen physical size to 381 x 238 while it should be 304x190. I tried manually create xorg.conf and set the DisplaySize option but it was completely ignored! Reproducible: Always
Created attachment 252271 [details] Xorg.0.log
What is the output of the "xrandr" command when you are in X?
(In reply to comment #2) > What is the output of the "xrandr" command when you are in X? Hmmm... $ xrandr Screen 0: minimum 320 x 200, current 1440 x 900, maximum 8192 x 8192 DVI-0 disconnected (normal left inverted right x axis y axis) LVDS connected 1440x900+0+0 (normal left inverted right x axis y axis) 303mm x 190mm 1440x900 60.0*+ 50.0 1280x854 59.9 1280x800 59.8 1280x720 59.9 1152x768 59.8 1024x768 59.9 800x600 59.9 848x480 59.7 720x480 59.7 640x480 59.4 VGA-0 disconnected (normal left inverted right x axis y axis)
So it looks correct to me. I think the Xorg.0.log message might have come from the default 96 dpi which the X server uses when no hardware/EDID reported value is known yet. Resolving as WORKSFORME, please reopen if you find that applications see wrong dpi.
(In reply to comment #4) > So it looks correct to me. I think the Xorg.0.log message might have come from > the default 96 dpi which the X server uses when no hardware/EDID reported value > is known yet. > > Resolving as WORKSFORME, please reopen if you find that applications see wrong > dpi. I'm not sure if it' OK. 1440x900 per 303x190 display gives native resolution 120dpi. But my system sets it to 96dpi. Numerous applications like Inkscape need adjusting (custom rescaling).
What does xdpyinfo say about resolution, does that look consistent? e.g. mine says dimensions: 1280x800 pixels (303x190 millimeters) resolution: 107x107 dots per inch
(In reply to comment #6) > What does xdpyinfo say about resolution, does that look consistent? > > e.g. mine says > > dimensions: 1280x800 pixels (303x190 millimeters) > resolution: 107x107 dots per inch screen #0: dimensions: 1440x900 pixels (381x238 millimeters) resolution: 96x96 dots per inch
That does seem fishy. How about posting your xorg.conf?
Created attachment 253497 [details] xorg.conf
(In reply to comment #9) > Created an attachment (id=253497) [details] > xorg.conf The same with auto-configuration (no xorg.conf). Extra "DisplaySize" option in the Monitor section doesn't change anything. Seems to be completely ignored.
does "xrandr --dpi 107" help? (it will only affect newly started applications)
(In reply to comment #11) > does "xrandr --dpi 107" help? (it will only affect newly started applications) I suppose that you mean: xradr --dpi 120 ? (it is the correct dpi for this size and this resolution). It help in the same way as 'startx -- -dpi 120'. It's a workaround but not the solution of the problem.
An interesting detail: I tried Gentoo 10.1 DVD nad it set thos values (display size as well as DPI) *correctly*! Of course: different X version, different kernels and different configuration. Any idea how to debug it?
There's not really anything Gentoo developers can do to solve this. Please file a bug upstream https://bugs.freedesktop.org/enter_bug.cgi?product=DRI if the problem persists.