Summary: | PreferredMode, TargetRefreshRate and DisplaySize in /etc/X11/xorg.conf.d/50-monitor.conf are ignored | ||
---|---|---|---|
Product: | xorg | Reporter: | Felix Miata <mrmazda> |
Component: | Server/General | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED MOVED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | CC: | shawn.t.rutledge |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Description
Felix Miata
2011-07-16 15:28:20 UTC
Created attachment 49188 [details]
xrandr output & 50-monitor.conf prepended to Xorg.0.log from Fedora 15 failing to produce 1792x1344@120DPI via DisplaySize, PreferredMode, TargetRefreshRate
I agree that's a bug; xorg.conf should really be able to override DisplaySize such that xrandr will show it. Created attachment 67382 [details]
/etc/X11/xorg.conf.d/20-nouveau.conf
I try to override DisplaySize 531 298 because for the HDMI monitor it is incorrectly detected; xrandr says this:
DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
HDMI-1 connected 1920x1080+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm
even though I tried to override it.
Created attachment 67383 [details]
log file after startx -- --dpi 96, with the attached /etc/X11/xorg.conf.d/20-nouveau.conf
I started X with startx -- --dpi 96. xrandr still reports the wrong physical size, but at least xdpyinfo gets the overridden dpi correctly:
dimensions: 3840x1200 pixels (1016x317 millimeters)
resolution: 96x96 dots per inch
I think xrandr should get the overridden physical size too. Otherwise programs which compute DPI for themselves by getting the physical display size and resolution, using xcb, will get it wrong. Qt does this for example, so Qt programs will have wrong font sizes in this case.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/413. |
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.