[mythtv-users] Mythbuntu 96dpi driving me mad

Al Bates d2a at lineone.net
Sun Oct 6 09:06:55 UTC 2013


thanks - I should have included my xorg.conf. !edid is already present

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 304.37  (buildd at allspice)  Sun Sep  9 05:59:26 UTC 2012

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "TV-0"
    HorizSync       28.0 - 55.0
    VertRefresh    50
    DisplaySize 740 420
    Option "UseEdidDpi" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 8400 GS"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "Stereo" "0"
    Option         "metamodes" "TV-0: 1024x768 { ViewPortIn=1024x768, ViewPortOut=652x412+48+33 }"
SubSection     "Display"
        Depth       24
        Modes      "1024x768"
    EndSubSection
EndSection

and reported in log:

[    25.463] (**) NVIDIA(0): Option "UseEdidDpi" "false"
[    26.270] (**) NVIDIA(0): DPI set to (35, 48); computed from "DisplaySize" Monitor

and does not stop 96x96 being applied at startup.

i added the xrandr command to /etc/rc.local as a cludge but that does not work - it must be being overridden later in the startup

any other thoughts?

> Possibly the monitors EDID..
> DPI is calculated from EDID if resolution is forced (& vice versa).
> 
> When you use the "DisplaySize" & the monitor has EDID, the reported DPI
> is still used.
> 
> Need to add the following.
> Option "UseEDIDDpi" "FALSE"
> 
> This could get messy if you have multiple displays & are not using
> separate X screens.
> 
> Could use this to re-enable reported DPI (EDID) for specific monitor
> Option "UseEdidDpi" "DFP-1"
> 
> On 5 Oct 2013, at 14:40, Al Bates wrote:
> 
>> ignore that - changed it to another value and system still restarts with 96x96 dpi
>> 
>> On 5 Oct 2013, at 14:35, Al Bates wrote:
>> 
>>> turns out it may be being forced by gsettings
>>> 
>>> gsettings list-recursively | grep 96
>>> 
>>> reveals a setting:
>>> 
>>> com.canonical.unity-greeter xft-dpi 96.0
>>> 
>>> which may be the issue? not sure i can just remove the setting to force it to respect the xorg conf though...
>>> 
>>> On 5 Oct 2013, at 11:24, Al Bates wrote:
>>> 
>>>> I am running 0.26 mythbuntu.
>>>> 
>>>> I recently updated my system (including nvidia drivers) and one of the updates has left me with a fixed 96dpi and i can't find anywhere to override it
>>>> 
>>>> I've commented out the dpi from the lightdm conf files - /etc/lightdm/lightdm.conf
>>>> /etc/lightdm/mythbuntu-lightdm-gtk-greeter.conf etc.
>>>> 
>>>> grep -i dpi /var/log/Xorg.0.log
>>>> 
>>>> is reporting NVIDIA(0): DPI set to (35, 48); computed from "DisplaySize" Monitor
>>>> 
>>>> which is set in /etc/X11/xorg.conf
>>>> 
>>>> but when i run
>>>> 
>>>> xdpyinfo | grep resolution
>>>> 
>>>> it returns
>>>> 
>>>> resolution:    96x96 dots per inch
>>>> 
>>>> aargh!
>>>> 
>>>> i can force the resolution to change by running
>>>> 
>>>> xrandr --fbmm 736x406 && xdpyinfo | grep resolution
>>>> 
>>>> which results in:
>>>> 
>>>> resolution:    35x48 dots per inch
>>>> 
>>>> but what is forcing the 96dpi override in the first place?
>>>> 
>>>> thanks for any help
>>> 
>> 
> 


More information about the mythtv-users mailing list